/* CordCloud.click - Pure Native CSS (Zero external frameworks, instant FCP) */
:root {
  --bg-base: #040814;
  --bg-elevated: rgba(11, 18, 36, 0.72);
  --bg-card: rgba(12, 20, 40, 0.62);
  --bg-card-hover: rgba(18, 30, 58, 0.8);
  --border-subtle: rgba(148, 163, 184, 0.18);
  --border-accent: rgba(34, 211, 238, 0.42);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --indigo: #818cf8;
  --emerald: #34d399;
  --amber: #fbbf24;
  --grad-brand: linear-gradient(135deg, #22d3ee 0%, #3b82f6 55%, #818cf8 100%);
  --grad-surface: linear-gradient(180deg, rgba(34, 211, 238, 0.12) 0%, rgba(59, 130, 246, 0.03) 100%);
  --shadow-card: 0 18px 45px rgba(2, 6, 23, 0.55);
  --shadow-glow: 0 0 32px rgba(34, 211, 238, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1220px;
  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: #67e8f9;
}

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

/* =========================================================
   Dynamic Pure-CSS Painterly Mountains & Moonlight River
   ========================================================= */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 48% at 78% 18%, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(ellipse 65% 45% at 22% 14%, rgba(99, 102, 241, 0.16), transparent 62%),
    radial-gradient(ellipse 80% 35% at 50% 62%, rgba(20, 184, 166, 0.12), transparent 70%),
    linear-gradient(180deg, #030712 0%, #091730 42%, #0a203e 68%, #041022 100%);
}

/* Soft Luminous Moon behind distant peaks */
.bg-canvas::before {
  content: "";
  position: absolute;
  top: 11vh;
  right: 14vw;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #f8fafc 0%, #bae6fd 42%, rgba(56, 189, 248, 0.25) 70%, transparent 100%);
  box-shadow:
    0 0 55px 16px rgba(186, 230, 253, 0.26),
    0 0 120px 42px rgba(56, 189, 248, 0.14);
  opacity: 0.78;
}

/* Moonlight reflection column shimmering over the flowing river */
.bg-canvas::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: calc(14vw - 40px);
  width: 176px;
  height: 24vh;
  background: radial-gradient(ellipse 50% 85% at 50% 25%, rgba(165, 243, 252, 0.22), rgba(56, 189, 248, 0.06) 58%, transparent 82%);
  filter: blur(10px);
  animation: river-glint 5s ease-in-out infinite alternate;
}

.bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 14%, rgba(248, 250, 252, 0.8), transparent),
    radial-gradient(1px 1px at 18% 26%, rgba(186, 230, 253, 0.65), transparent),
    radial-gradient(1.8px 1.8px at 26% 9%, rgba(224, 242, 254, 0.78), transparent),
    radial-gradient(1.2px 1.2px at 35% 19%, rgba(248, 250, 252, 0.6), transparent),
    radial-gradient(2px 2px at 44% 12%, rgba(165, 243, 252, 0.82), transparent),
    radial-gradient(1px 1px at 53% 24%, rgba(248, 250, 252, 0.55), transparent),
    radial-gradient(1.6px 1.6px at 62% 10%, rgba(224, 242, 254, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 71% 21%, rgba(186, 230, 253, 0.62), transparent),
    radial-gradient(1.8px 1.8px at 87% 13%, rgba(248, 250, 252, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 93% 28%, rgba(165, 243, 252, 0.58), transparent);
  animation: stars-twinkle 6s ease-in-out infinite alternate;
}

.bg-mist {
  position: absolute;
  left: 0;
  bottom: 20vh;
  width: 200%;
  height: 240px;
  background:
    radial-gradient(ellipse 24% 55% at 15% 65%, rgba(125, 211, 252, 0.18), transparent 72%),
    radial-gradient(ellipse 28% 50% at 40% 50%, rgba(94, 234, 212, 0.13), transparent 72%),
    radial-gradient(ellipse 26% 55% at 68% 62%, rgba(129, 140, 248, 0.15), transparent 72%),
    radial-gradient(ellipse 24% 55% at 90% 55%, rgba(56, 189, 248, 0.16), transparent 72%);
  filter: blur(28px);
  will-change: transform;
  animation: landscape-scroll 54s linear infinite;
}

.bg-mountain {
  position: absolute;
  left: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  will-change: transform;
}

.bg-mountain--far {
  bottom: 16vh;
  height: 48vh;
  min-height: 260px;
  background-image: url("../assets/bg-mountain-far.svg");
  opacity: 0.94;
  animation: landscape-scroll 105s linear infinite;
}

.bg-mountain--mid {
  bottom: 12vh;
  height: 40vh;
  min-height: 220px;
  background-image: url("../assets/bg-mountain-mid.svg");
  opacity: 0.98;
  animation: landscape-scroll 68s linear infinite reverse;
}

.bg-river {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  will-change: transform;
}

.bg-river--back {
  height: 25vh;
  min-height: 165px;
  background-image: url("../assets/bg-river.svg");
  animation: landscape-scroll 20s linear infinite;
}

.bg-river--front {
  height: 18vh;
  min-height: 120px;
  background-image: url("../assets/bg-river-front.svg");
  animation: landscape-scroll 13s linear infinite reverse;
}

@keyframes landscape-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes stars-twinkle {
  0% { opacity: 0.65; }
  100% { opacity: 1; }
}

@keyframes river-glint {
  0% { opacity: 0.55; transform: scaleX(0.94); }
  100% { opacity: 0.95; transform: scaleX(1.08); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-canvas::after,
  .bg-stars,
  .bg-mist,
  .bg-mountain,
  .bg-river,
  .status-dot {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Layout Containers & Utilities
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 76px 0;
}

.section--compact {
  padding: 56px 0;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

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

/* =========================================================
   Buttons & CTAs
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  color: #04101d;
  background: var(--grad-brand);
  box-shadow: 0 10px 26px rgba(34, 211, 238, 0.28);
}

.btn--primary:hover {
  color: #020914;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(34, 211, 238, 0.42);
}

.btn--secondary {
  color: var(--text-primary);
  background: rgba(30, 41, 59, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
}

.btn--secondary:hover {
  color: var(--cyan);
  border-color: var(--border-accent);
  background: rgba(30, 41, 59, 0.95);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--full {
  width: 100%;
}

/* =========================================================
   Top Header & Top-Left Logo
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text-primary);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.brand-tld {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--cyan);
}

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

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 230px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(11, 18, 36, 0.98);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-panel a {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 8px;
}

.mobile-nav-panel a:hover {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero {
  padding: 76px 0 58px;
}

.hero-grid {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 2s infinite;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 700px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
}

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

.stat-chip strong {
  display: block;
  font-size: 18px;
  color: var(--cyan);
  font-weight: 800;
}

.stat-chip span {
  font-size: 12.5px;
  color: var(--text-muted);
}

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

.feature-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  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(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.26);
  color: var(--cyan);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

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

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

/* =========================================================
   Pricing Section — ALL 4 PLANS IN ONE SINGLE ROW ON DESKTOP
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

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

.price-card--featured {
  background: linear-gradient(180deg, rgba(22, 40, 74, 0.92) 0%, rgba(12, 20, 40, 0.95) 100%);
  border: 1.5px solid rgba(34, 211, 238, 0.65);
  box-shadow: var(--shadow-glow);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #04101d;
  background: var(--grad-brand);
}

.price-tier {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.price-tagline {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted);
  min-height: 38px;
}

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

.price-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
}

.price-value {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.price-cycle {
  font-size: 14px;
  color: var(--text-muted);
}

.price-quota {
  display: inline-block;
  margin: 8px 0 18px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.price-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-features li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 900;
  flex-shrink: 0;
}

.price-cta {
  margin-top: auto;
}

.pricing-note {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* =========================================================
   GEO Spec Table & Client External Links
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  margin: 26px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table th {
  background: rgba(15, 23, 42, 0.9);
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
}

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

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

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

.client-card h3 {
  margin: 0;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.client-os {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--indigo);
  background: rgba(129, 140, 248, 0.14);
  padding: 3px 8px;
  border-radius: 6px;
}

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

.ext-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
}

/* =========================================================
   Articles Hub Grid
   ========================================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

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

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.article-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

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

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

.article-excerpt {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.article-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================================
   User Reviews Section
   ========================================================= */
.rating-summary {
  max-width: 780px;
  margin: 0 auto 30px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 26, 52, 0.85), rgba(13, 20, 38, 0.85));
  border: 1px solid var(--border-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rating-score strong {
  font-size: 36px;
  font-weight: 900;
  color: var(--amber);
}

.stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 16px;
}

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

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

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #04101d;
  background: var(--grad-brand);
}

.review-name {
  font-weight: 700;
  font-size: 14.5px;
}

.review-role {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.review-body {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.review-plan {
  margin-top: auto;
  font-size: 12px;
  color: var(--cyan);
}

/* =========================================================
   Pure-CSS Native <details> FAQ Accordion
   ========================================================= */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item[open] {
  border-color: var(--border-accent);
  background: rgba(18, 29, 56, 0.85);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  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: 20px;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 14.5px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 14px;
}

/* =========================================================
   CTA Banner & Footer
   ========================================================= */
.cta-banner {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 32, 66, 0.92), rgba(15, 23, 42, 0.94));
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.8vw, 30px);
}

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

.site-footer {
  margin-top: 56px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 7, 16, 0.85);
}

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

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================
   Article Page Layout
   ========================================================= */
.article-page {
  padding: 36px 0 64px;
}

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

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

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

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

.article-main {
  padding: 34px 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.article-main h1 {
  margin: 12px 0 14px;
  font-size: clamp(25px, 3.2vw, 35px);
  line-height: 1.28;
  font-weight: 900;
}

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

.geo-summary {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(34, 211, 238, 0.08);
  border-left: 4px solid var(--cyan);
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--text-secondary);
}

.geo-summary strong {
  color: var(--cyan);
  display: block;
  margin-bottom: 6px;
}

.article-body h2 {
  margin: 30px 0 12px;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text-primary);
  padding-left: 12px;
  border-left: 3px solid var(--cyan);
}

.article-body h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  color: #e2e8f0;
}

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

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

.article-body li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.article-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--amber);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.article-cta-inline {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(22, 40, 74, 0.9), rgba(15, 23, 42, 0.92));
  border: 1px solid var(--border-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.article-nav-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-nav-card:hover {
  border-color: var(--border-accent);
}

.article-nav-card span {
  font-size: 12px;
  color: var(--text-muted);
}

.article-nav-card strong {
  font-size: 14.5px;
  color: var(--text-primary);
}

.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.sidebar-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.related-section {
  margin-top: 40px;
}

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

/* =========================================================
   Responsive Breakpoints
   Note: Pricing cards remain 4-in-a-row on desktop (>= 900px)
   ========================================================= */
@media (max-width: 1060px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .nav-links {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  /* Keep pricing on one scrollable horizontal row even on tablet/mobile so prices stay aligned */
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(235px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }
  .price-card {
    scroll-snap-align: start;
  }
  .features-grid,
  .clients-grid,
  .reviews-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }
  .header-actions .btn {
    display: none;
  }
  .hero {
    padding: 48px 0 36px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .clients-grid,
  .articles-grid,
  .reviews-grid,
  .related-grid,
  .article-nav,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-main {
    padding: 22px 18px;
  }
}
