/**
 * Nexura AI Search Optimizer - Official Production Stylesheet
 * Design Language: Next-Gen AI / Generative Engine Optimization (GEO) Dark Elegance
 * Accent Palette: Electric Violet (#8b5cf6), Cyan AI (#06b6d4), Emerald (#10b981)
 */

:root {
  --bg-main: #060913;
  --bg-surface-1: #0b1021;
  --bg-surface-2: #11182f;
  --bg-surface-3: #17203d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(139, 92, 246, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --violet: #8b5cf6;
  --violet-hover: #7c3aed;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --amber: #f59e0b;
  --pink: #ec4899;
  --grad-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #06b6d4 100%);
  --grad-text: linear-gradient(135deg, #c4b5fd 0%, #38bdf8 50%, #34d399 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1240px;
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(6, 9, 19, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-title .text-accent {
  color: #38bdf8;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover {
  color: #fff;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 9px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s ease;
}

.mobile-nav-drawer {
  display: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(139, 92, 246, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(6, 182, 212, 0.14) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

.hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.12;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.ai-engines-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.engine-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-meta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Interactive Hero Terminal / Audit Card */
.hero-preview-card {
  background: linear-gradient(160deg, #0d1428 0%, #080c19 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 92, 246, 0.15);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.preview-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
}

.preview-body {
  padding: 1.5rem;
}

.geo-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.score-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: conic-gradient(#10b981 96%, rgba(255,255,255,0.1) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.score-circle-inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0b1021;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #34d399;
}

.metric-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.metric-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-primary);
}

.code-snippet-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.55;
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: #cbd5e1;
  overflow-x: auto;
}

/* Section Headers */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Companion Banner (Yoast & Rank Math Harmony) */
.companion-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(145deg, rgba(17, 24, 47, 0.8), rgba(11, 16, 33, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.companion-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.companion-card.highlight {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.05);
}

.plus-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
}

/* Interactive Simulator Tabs */
.sim-wrapper {
  background: var(--bg-surface-2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.sim-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6, 9, 19, 0.6);
  overflow-x: auto;
}

.sim-tab {
  flex: 1;
  min-width: 190px;
  padding: 1.1rem 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.sim-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.sim-tab.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
  background: rgba(6, 182, 212, 0.06);
}

.sim-panel {
  display: none;
  padding: 2.25rem;
}

.sim-panel.active {
  display: block;
}

.bot-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.bot-card {
  background: rgba(6, 9, 19, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bot-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}

.bot-status-pill.allowed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.bot-status-pill.blocked {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(155deg, rgba(17, 24, 47, 0.85) 0%, rgba(11, 16, 33, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -15px rgba(139, 92, 246, 0.25);
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
}

.tier-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.tier-free {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tier-pro {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Comparison Table */
.table-wrap {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th,
.comp-table td {
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.comp-table th {
  background: rgba(6, 9, 19, 0.7);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.comp-table th.col-pro,
.comp-table td.col-pro {
  background: rgba(139, 92, 246, 0.07);
  text-align: center;
}

.comp-table th.col-free,
.comp-table td.col-free {
  text-align: center;
}

.check-yes {
  color: #34d399;
  font-weight: 700;
}

.check-no {
  color: #64748b;
}

/* Pricing Section */
.billing-switcher-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.billing-switcher {
  display: inline-flex;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem;
  border-radius: 999px;
  gap: 0.35rem;
}

.billing-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-btn.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: linear-gradient(160deg, #11182f 0%, #090d1b 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card.pro-featured {
  border: 2px solid #8b5cf6;
  box-shadow: 0 25px 60px -15px rgba(139, 92, 246, 0.3);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}

.price-box {
  margin: 1.25rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.bfcm-inline-box {
  background: rgba(243, 211, 122, 0.08);
  border: 1px dashed rgba(243, 211, 122, 0.5);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: #fde68a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open {
  border-color: rgba(139, 92, 246, 0.4);
}

/* Footer */
.site-footer {
  background: #04060d;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .desktop-nav .nav-links {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.84rem;
  }
  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .companion-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem;
  }
  .plus-badge {
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-cta-group {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .mobile-nav-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 99;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  .mobile-nav-drawer.open {
    display: flex;
  }
}

@media (max-width: 768px) {
  .features-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 2.5rem 0 3rem;
  }
  .section {
    padding: 3.75rem 0;
  }
  .sim-panel {
    padding: 1.25rem;
  }
  .pricing-card {
    padding: 1.75rem;
  }
  .price-amount {
    font-size: 2.75rem;
  }
  .geo-score-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-desc {
    font-size: 0.96rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .billing-switcher {
    width: 100%;
    flex-direction: column;
    border-radius: 14px;
  }
  .billing-btn {
    width: 100%;
  }
  .bfcm-inline-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
