/* ==========================================================================
   青云梯机场官网 (qingyuntivip.cfd) — Pure Native CSS Stylesheet
   Zero external frameworks, zero blocking fonts, pure CSS dynamic background.
   ========================================================================== */

:root {
  --bg-base: #040b10;
  --bg-elevated: #08151d;
  --bg-card: rgba(10, 25, 34, 0.78);
  --bg-card-solid: #0a1922;
  --bg-card-hover: rgba(13, 33, 45, 0.92);
  --border-subtle: rgba(45, 212, 191, 0.16);
  --border-strong: rgba(56, 189, 248, 0.42);
  --text-primary: #ecfeff;
  --text-secondary: #a5c4cc;
  --text-muted: #6f939e;
  --accent-emerald: #10b981;
  --accent-teal: #2dd4bf;
  --accent-cyan: #22d3ee;
  --accent-amber: #fbbf24;
  --grad-cta: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-cta-hover: linear-gradient(135deg, #34d399 0%, #22d3ee 100%);
  --grad-text: linear-gradient(110deg, #f0fdfa 10%, #2dd4bf 55%, #67e8f9 100%);
  --shadow-glow: 0 18px 46px -14px rgba(6, 182, 212, 0.35);
  --shadow-card: 0 12px 32px -12px rgba(0, 0, 0, 0.65);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container-max: 1320px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-primary);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--text-primary);
  background: transparent;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-cyan);
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Pure CSS Dynamic Background (Aurora Orbs + Drifting Coordinate Mesh)
   ========================================================================== */

.dynamic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, #0a2533 0%, #040b10 70%);
}

.bg-grid {
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(to right, rgba(45, 212, 191, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 40%, transparent 100%);
  animation: gridDrift 26s linear infinite;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(76px);
  opacity: 0.55;
  will-change: transform;
}

.bg-orb-1 {
  width: 560px;
  height: 560px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.55), rgba(6, 182, 212, 0.05) 70%);
  animation: floatOrbOne 18s ease-in-out infinite alternate;
}

.bg-orb-2 {
  width: 620px;
  height: 620px;
  top: 22%;
  right: -180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.48), rgba(14, 116, 144, 0.05) 70%);
  animation: floatOrbTwo 22s ease-in-out infinite alternate;
}

.bg-orb-3 {
  width: 480px;
  height: 480px;
  bottom: -140px;
  left: 28%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.35), rgba(16, 185, 129, 0.04) 70%);
  animation: floatOrbThree 24s ease-in-out infinite alternate;
}

.bg-beam {
  position: absolute;
  top: -20%;
  left: 15%;
  width: 70%;
  height: 360px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.14), rgba(34, 211, 238, 0.18), transparent);
  transform: rotate(-12deg);
  filter: blur(48px);
  animation: beamSweep 14s ease-in-out infinite alternate;
}

@keyframes gridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(56px, 56px, 0); }
}

@keyframes floatOrbOne {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(90px, 70px, 0) scale(1.12); }
}

@keyframes floatOrbTwo {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-100px, 60px, 0) scale(1.08); }
}

@keyframes floatOrbThree {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(70px, -60px, 0) scale(1.15); }
}

@keyframes beamSweep {
  0% { opacity: 0.35; transform: rotate(-12deg) translateX(-4%); }
  100% { opacity: 0.72; transform: rotate(-8deg) translateX(6%); }
}

/* Pure CSS Floating Green Leaves Layer */

.bg-leaves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.leaf {
  position: absolute;
  top: -10%;
  width: 26px;
  height: 26px;
  border-radius: 2% 76% 4% 76%;
  background: linear-gradient(135deg, rgba(134, 239, 172, 0.78) 0%, rgba(34, 197, 94, 0.62) 52%, rgba(16, 185, 129, 0.46) 100%);
  border: 1px solid rgba(187, 247, 208, 0.42);
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.35);
  will-change: transform, opacity;
  animation: leafDriftA 18s linear infinite;
}

.leaf::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 20%;
  width: 62%;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(220, 252, 231, 0.75), transparent);
  transform: rotate(45deg);
  transform-origin: left center;
}

.leaf-1  { left: 5%;  width: 24px; height: 24px; animation-duration: 16s; animation-delay: -2s; }
.leaf-2  { left: 14%; width: 32px; height: 32px; animation-name: leafDriftB; animation-duration: 21s; animation-delay: -9s; }
.leaf-3  { left: 25%; width: 22px; height: 22px; animation-duration: 15s; animation-delay: -5s; }
.leaf-4  { left: 36%; width: 30px; height: 30px; animation-name: leafDriftB; animation-duration: 23s; animation-delay: -14s; }
.leaf-5  { left: 47%; width: 26px; height: 26px; animation-duration: 19s; animation-delay: -7s; }
.leaf-6  { left: 58%; width: 34px; height: 34px; animation-name: leafDriftB; animation-duration: 24s; animation-delay: -16s; }
.leaf-7  { left: 68%; width: 22px; height: 22px; animation-duration: 17s; animation-delay: -11s; }
.leaf-8  { left: 77%; width: 29px; height: 29px; animation-name: leafDriftB; animation-duration: 20s; animation-delay: -4s; }
.leaf-9  { left: 86%; width: 25px; height: 25px; animation-duration: 18s; animation-delay: -13s; }
.leaf-10 { left: 93%; width: 20px; height: 20px; animation-name: leafDriftB; animation-duration: 16s; animation-delay: -8s; }

@keyframes leafDriftA {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg) scale(0.9);
    opacity: 0;
  }
  10% {
    opacity: 0.78;
  }
  50% {
    transform: translate3d(55px, 52vh, 0) rotate(165deg) scale(1.06);
    opacity: 0.68;
  }
  90% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(-25px, 114vh, 0) rotate(330deg) scale(0.92);
    opacity: 0;
  }
}

@keyframes leafDriftB {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(25deg) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 0.74;
  }
  50% {
    transform: translate3d(-65px, 50vh, 0) rotate(-145deg) scale(0.88);
    opacity: 0.62;
  }
  88% {
    opacity: 0.52;
  }
  100% {
    transform: translate3d(35px, 116vh, 0) rotate(-310deg) scale(1.05);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid, .bg-orb, .bg-beam, .pulse-dot, .leaf {
    animation: none !important;
  }
}

/* ==========================================================================
   Layout Utilities & Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 76px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: var(--accent-teal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-cta);
  color: #03201b;
  box-shadow: 0 10px 26px -8px rgba(16, 185, 129, 0.55);
}

.btn-primary:hover {
  background: var(--grad-cta-hover);
  color: #021814;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(34, 211, 238, 0.6);
}

.btn-outline {
  background: rgba(10, 25, 34, 0.72);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: rgba(20, 48, 63, 0.86);
  color: #ffffff;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Sticky Top Header (Logo on Top Left)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(4, 11, 16, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-emblem-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.32);
  flex-shrink: 0;
  background: transparent;
}

.brand-emblem-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f0fdf4;
  letter-spacing: 2px;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.brand-logo-img {
  height: 46px;
  width: auto;
}

.brand-domain-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-teal);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent-teal);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-cta);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(8, 25, 34, 0.85);
  border: 1px solid var(--border-strong);
  font-size: 0.84rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.1vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.hero-title .gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 1.07rem;
  color: var(--text-secondary);
  max-width: 630px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.metric-chip strong {
  display: block;
  font-size: 1.18rem;
  color: var(--accent-teal);
  font-weight: 800;
}

.metric-chip span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Telemetry Panel */

.telemetry-panel {
  background: linear-gradient(160deg, rgba(11, 30, 41, 0.92), rgba(6, 16, 23, 0.96));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.telemetry-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-cta);
}

.telemetry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.telemetry-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.status-online {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.14);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.node-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(4, 12, 18, 0.75);
  border: 1px solid rgba(45, 212, 191, 0.12);
  font-size: 0.9rem;
}

.node-name {
  font-weight: 600;
  color: var(--text-primary);
}

.node-route {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.unlock-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unlock-pill {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Feature Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--accent-teal);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Pricing Section — ALL 5 PLANS STRICTLY ON ONE ROW ON DESKTOP
   ========================================================================== */

.pricing-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.price-card.is-popular {
  background: linear-gradient(175deg, rgba(13, 42, 52, 0.96), rgba(8, 22, 30, 0.96));
  border: 1.5px solid var(--accent-teal);
  box-shadow: var(--shadow-glow);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-cta);
  color: #03201b;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  margin: 4px 0 4px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-subtitle {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 2.6em;
}

.plan-price-main {
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.price-amount {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}

.price-unit {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.plan-traffic {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cycle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(4, 11, 16, 0.7);
  border: 1px solid rgba(45, 212, 191, 0.12);
  font-size: 0.76rem;
}

.cycle-item {
  color: var(--text-secondary);
  line-height: 1.35;
}

.cycle-item strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.8rem;
}

.plan-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.plan-features li {
  position: relative;
  padding-left: 18px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.pricing-note-bar {
  margin-top: 22px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: rgba(8, 24, 32, 0.82);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.coupon-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(251, 191, 36, 0.12);
  border: 1px dashed rgba(251, 191, 36, 0.45);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   Clients & Authoritative External Links Section
   ========================================================================== */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.client-card h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.client-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.client-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.ext-link-badge {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   Articles Hub Grid & Single Article Page
   ========================================================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.article-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.article-card h3 a {
  color: var(--text-primary);
}

.article-card h3 a:hover {
  color: var(--accent-teal);
}

.article-card p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.article-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Single Article Layout */

.article-shell {
  padding: 44px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.article-body-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.article-body-card h1 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  line-height: 1.3;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body-card h2 {
  margin: 28px 0 12px;
  font-size: 1.32rem;
  color: var(--accent-teal);
}

.article-body-card h3 {
  margin: 20px 0 8px;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.article-body-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 1.01rem;
  line-height: 1.85;
}

.article-body-card ul, .article-body-card ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.article-callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--accent-emerald);
}

.article-callout strong {
  color: var(--text-primary);
}

.article-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 94px;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sidebar-box h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text-primary);
}

.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sidebar-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(4, 11, 16, 0.55);
  border: 1px solid transparent;
}

.sidebar-links a:hover {
  color: var(--accent-teal);
  border-color: var(--border-subtle);
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.pager-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.pager-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pager-card strong {
  color: var(--text-primary);
  font-size: 0.94rem;
}

/* ==========================================================================
   User Reviews Section
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: var(--accent-amber);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.72;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.review-author strong {
  color: var(--text-primary);
}

.review-plan {
  color: var(--accent-teal);
  background: rgba(45, 212, 191, 0.1);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
}

/* ==========================================================================
   FAQ Accordion (Pure HTML <details>/<summary> + CSS)
   ========================================================================== */

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent-teal);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.78;
  border-top: 1px solid rgba(45, 212, 191, 0.1);
  padding-top: 14px;
}

/* ==========================================================================
   Bottom CTA Banner & Footer
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 182, 212, 0.16));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
}

.cta-banner p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 680px;
}

.site-footer {
  margin-top: 48px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 9, 13, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.96rem;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-col a {
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(45, 212, 191, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Standalone Page Hero & Comparison Table
   ========================================================================== */

.page-hero {
  padding: 52px 0 32px;
  border-bottom: 1px solid rgba(45, 212, 191, 0.12);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.22;
}

.page-hero p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 780px;
  font-size: 1.03rem;
}

.compare-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

.compare-table th {
  background: rgba(8, 25, 34, 0.9);
  color: var(--accent-teal);
  font-weight: 700;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.subpage-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1120px) {
  .pricing-row {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .features-grid,
  .clients-grid,
  .articles-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .main-nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 6px 0 2px;
    border-top: 1px solid rgba(45, 212, 191, 0.1);
  }
  .main-nav a {
    white-space: nowrap;
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .clients-grid,
  .articles-grid,
  .reviews-grid,
  .footer-grid,
  .hero-metrics,
  .article-pager {
    grid-template-columns: 1fr;
  }
  .article-body-card {
    padding: 24px 20px;
  }
  .brand-domain-pill {
    display: none;
  }
  .cta-banner {
    padding: 28px 20px;
  }
}
