/* ==========================================================================
   Web Authority Cloud Portal — UI/UX Design System
   Pristine Light Mode Default + Dark Mode Theme Switcher
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600;700&family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  /* Common Palette */
  --primary: #0f172a;           /* Dark Charcoal */
  --primary-hover: #1e293b;
  --accent: #4f46e5;            /* Restrained Brand Indigo */
  --accent-hover: #4338ca;
  --accent-light: rgba(79, 70, 229, 0.08);
  --accent-border: rgba(79, 70, 229, 0.2);
  
  --success: #059669;
  --success-light: rgba(5, 150, 105, 0.08);
  --warning: #d97706;
  --warning-light: rgba(217, 119, 6, 0.08);
  --danger: #dc2626;
  --danger-light: rgba(220, 38, 38, 0.08);

  --radius-xl: 18px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;

  /* LIGHT MODE (Universal Page Color, Off-White, Grey) */
  --bg: #f6f7f9;                /* Universal neutral off-white canvas — zero gradient */
  --card-bg: #ffffff;           /* Left Card & Content Card White */
  --card-hover: #ffffff;
  --card-pro-bg: #eceff3;       /* Solid Neutral Grey Right Tile */
  --card-pro-border: #d4dae2;
  --card-sub: #f1f4f8;
  --border: #e2e8f0;
  --border-sub: #edf2f7;
  --border-focus: #0f172a;

  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;

  --sim-bg: #f8fafc;
  --input-bg: #ffffff;
  
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 2px 8px rgba(15, 23, 42, 0.06), 0 14px 28px -6px rgba(15, 23, 42, 0.06);
}

/* DARK MODE OVERRIDES */
[data-theme="dark"] {
  --primary: #f8fafc;
  --primary-hover: #e2e8f0;
  --accent: #818cf8;
  --accent-hover: #6366f1;
  --accent-light: rgba(129, 140, 248, 0.12);
  --accent-border: rgba(129, 140, 248, 0.3);

  --bg: #0d1117;                /* Flat Neutral Dark — zero gradient */
  --card-bg: #131720;
  --card-hover: #171c26;
  --card-pro-bg: #181d28;       /* Solid Contrasting Slate Grey Right Tile */
  --card-pro-border: rgba(255, 255, 255, 0.1);
  --card-sub: #161b24;
  --border: rgba(255, 255, 255, 0.09);
  --border-sub: rgba(255, 255, 255, 0.05);
  --border-focus: #818cf8;

  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #8b949e;

  --sim-bg: #0a0d14;
  --input-bg: #0a0d14;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 12px 32px -6px rgba(0, 0, 0, 0.65);
}

/* BASE RESETS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Universal Page Canvas: Absolutely Non-Gradient */
body::before {
  display: none;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  padding: 24px 24px 64px 24px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.store-badge-link:hover {
  color: var(--text-main);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* HERO SECTION (Clean, Bold, Western Editorial — Zero AI Pill) */
.hero-section {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 8px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.65;
}

.hero-cta-line {
  display: block;
  margin-top: 8px;
}

.hero-pro-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hero-link-text {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}

.hero-link-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 35%, #8b5cf6 70%, #4f46e5 100%);
  background-size: 200% 100%;
  animation: heroUnderlineFlow 3.5s linear infinite;
  transition: height 0.2s ease, filter 0.2s ease;
}

@keyframes heroUnderlineFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.hero-pro-highlight:hover {
  color: var(--accent);
}

.hero-pro-highlight:hover .hero-link-text::after {
  height: 2.5px;
  filter: brightness(1.2) drop-shadow(0 2px 6px rgba(79, 70, 229, 0.45));
}

[data-theme="dark"] .hero-link-text::after {
  background: linear-gradient(90deg, #818cf8 0%, #38bdf8 35%, #c084fc 70%, #818cf8 100%);
  background-size: 200% 100%;
}

[data-theme="dark"] .hero-pro-highlight:hover .hero-link-text::after {
  filter: brightness(1.25) drop-shadow(0 2px 8px rgba(129, 140, 248, 0.5));
}

.hero-arrow {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  animation: heroArrowNudge 2.2s ease-in-out infinite;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

@keyframes heroArrowNudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.hero-pro-highlight:hover .hero-arrow {
  animation: none;
  transform: translateX(7px);
}

/* DUAL STAGE GRID (Above the fold) */
.dual-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 72px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-subtext {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* CARD 1: BROWSER TOOLBAR MOCKUP */
.browser-toolbar-mock {
  background: var(--sim-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 24px;
  position: relative;
}

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

.sim-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-sub);
  flex: 1;
}

.sim-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sim-icon-btn.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 1px 3px rgba(99, 102, 241, 0.15);
}

.sim-icon-btn.active img {
  width: 18px;
  height: 18px;
}

.pin-popover {
  margin-top: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.pin-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.pin-step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-sub);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card-sub);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
}

/* LEFT STAGE STACK (Natural Height Pin Card + Companion Box) */
.left-stage-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.pin-card {
  padding: 24px 26px 20px 26px;
  flex-shrink: 0;
  justify-content: flex-start;
}

.pin-card .card-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.pin-card .card-subtext {
  font-size: 13.5px;
  margin-bottom: 18px;
}

.pin-card .browser-toolbar-mock {
  margin-bottom: 18px;
  padding: 12px 14px;
}

/* COMPANION BOX (Active Tab Core Diagnostics) */
.pin-companion-card {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.companion-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.companion-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-top: 5px;
}

.rating-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rating-score-text {
  font-size: 12.5px;
  color: var(--text-main);
}

.rating-score-text strong {
  font-weight: 800;
  color: var(--text-main);
}

.rating-store-pill {
  font-size: 10.5px;
  font-weight: 600;
  background: var(--card-sub);
  color: var(--text-sub);
  padding: 2px 7px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.store-reviews-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sim-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.store-reviews-link-btn:hover {
  background: var(--primary);
  color: var(--card-bg);
  border-color: var(--primary);
}

.companion-signals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 14px;
}

.companion-signal-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sim-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}

.chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.chip-text strong {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
}

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

.companion-footer {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-sub);
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 10.5px;
}

/* CARD 2: 30-DAY PRO TILE (Solid Grey Tile) */
.pro-card {
  position: relative;
  background-color: var(--card-pro-bg);
  border: 1px solid var(--card-pro-border);
}

.pro-card:hover {
  border-color: #cbd5e1;
}

[data-theme="dark"] .pro-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Inside .pro-card: Clean contrasting telemetry box on the solid grey tile */
.pro-card .telemetry-mock-box {
  background-color: #ffffff;
  border: 1px solid #dbe1e8;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

[data-theme="dark"] .pro-card .telemetry-mock-box {
  background-color: #0d1117;
  border-color: rgba(255, 255, 255, 0.08);
}

.telemetry-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.telemetry-domain-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
}

.dr-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--success-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--success);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.telemetry-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.pro-card .telemetry-mini-stat {
  background-color: #f7f9fb;
  border: 1px solid #e2e7ee;
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  text-align: center;
}

[data-theme="dark"] .pro-card .telemetry-mini-stat {
  background-color: #161b22;
  border-color: rgba(255, 255, 255, 0.06);
}

.telemetry-stat-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.telemetry-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

/* Pro Feature Tabs */
.pro-card .pro-feature-tabs {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.95fr 1.25fr;
  gap: 4px;
  background-color: #f0f3f6;
  border: 1px solid #e1e7ed;
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: 12px;
}

[data-theme="dark"] .pro-card .pro-feature-tabs {
  background-color: #161b22;
  border-color: rgba(255, 255, 255, 0.08);
}

.pro-feature-tab {
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 600;
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.pro-card .pro-feature-tab.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .pro-card .pro-feature-tab.active {
  background: #f8fafc;
  color: #0f172a;
}

.pro-tab-content {
  display: none;
}

.pro-tab-content.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.pro-card .telemetry-chart-wrap {
  background-color: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: var(--radius-sm);
  padding: 12px;
}

[data-theme="dark"] .pro-card .telemetry-chart-wrap {
  background-color: #131720;
  border-color: rgba(255, 255, 255, 0.06);
}

.chart-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  margin-bottom: 6px;
}

.chart-title {
  font-weight: 600;
  color: var(--text-sub);
}

.chart-delta {
  font-weight: 700;
  color: var(--success);
  font-family: 'JetBrains Mono', monospace;
}

.sparkline-svg {
  width: 100%;
  height: 48px;
  overflow: visible;
}

.sparkline-point-hover {
  cursor: pointer;
  transition: r 0.15s ease;
}

.sparkline-point-hover:hover {
  r: 4.5;
}

.chart-x-axis {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pro-action-box {
  margin-top: auto;
}

.btn-claim-pro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
  transition: all 0.2s ease;
}

.btn-claim-pro:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

[data-theme="dark"] .btn-claim-pro {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}

[data-theme="dark"] .btn-claim-pro:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.pro-trust-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.pro-target-flash {
  animation: targetGlow 1.6s ease;
}

@keyframes targetGlow {
  0% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(15, 23, 42, 0.15); }
  100% { box-shadow: 0 0 0 0 rgba(15, 23, 42, 0); }
}

/* SECTION 2: EDITORIAL FEATURES SECTION */
.editorial-features-section {
  margin-bottom: 72px;
}

.section-main-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-main-heading h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3.8vw, 36px);
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-main-heading p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

.feature-row-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.feature-row-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

[data-theme="dark"] .feature-row-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.feature-row-card.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.feature-badge-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.feature-row-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
}

.feature-row-desc {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-checkmarks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-sub);
}

.feature-check-item svg {
  flex-shrink: 0;
  color: var(--success);
}

.feature-cta-wrap {
  display: flex;
  margin-top: 4px;
}

.feature-row-card:not(.reverse) .feature-cta-wrap {
  justify-content: flex-start;
}

.feature-row-card.reverse .feature-cta-wrap {
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .feature-row-card.reverse .feature-cta-wrap {
    justify-content: flex-start;
  }
}

.feature-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.feature-cta-link:hover {
  color: var(--accent);
}

.feature-cta-link .cta-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-cta-link:hover .cta-arrow {
  transform: translateX(4px);
}

[data-theme="dark"] .feature-cta-link {
  color: var(--text-main);
}

[data-theme="dark"] .feature-cta-link:hover {
  color: var(--accent);
}

/* HIGH-TECH FEATURE UI VISUAL CARDS (Replaces cheesy Pexels stock photos) */
.feature-ui-visual {
  background: var(--sim-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ui-visual-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-visual-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}

.ui-visual-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.pill-success {
  background: var(--success-light);
  color: var(--success);
}

.pill-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.ui-metric-meter-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.ui-meter-track {
  height: 7px;
  background: var(--card-sub);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0;
}

.ui-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #10b981);
}

.ui-hop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 6px 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}

.ui-pdf-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--danger-light);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--danger);
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SECTION 3: TELEMETRY MODULES SECTION */
.telemetry-modules-section {
  margin-bottom: 72px;
}

.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-headline span:first-child {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

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

.module-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.module-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-border);
}

.module-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.module-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}

.module-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.tile-infographic {
  background: var(--sim-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-sub);
}

.tile-infographic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.tile-badge-success {
  color: var(--success);
  font-weight: 700;
}

.tile-badge-accent {
  color: var(--accent);
  font-weight: 700;
}

.tile-badge-warning {
  color: var(--warning);
  font-weight: 700;
}

.tile-badge-danger {
  color: #ef4444;
  font-weight: 700;
}

.tile-badge-muted {
  color: var(--text-muted);
}

/* SECTION 4: NEWSLETTER BAR */
.newsletter-bar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.newsletter-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.newsletter-info p {
  font-size: 14px;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.input-field {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .input-field:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.btn-submit:hover {
  background: #1e293b;
  border-color: #1e293b;
}

[data-theme="dark"] .btn-submit {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}

[data-theme="dark"] .btn-submit:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.feedback-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 24px;
  display: none;
  align-items: center;
  gap: 8px;
}

.feedback-alert.success {
  display: flex;
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.feedback-alert.error {
  display: flex;
  background: var(--danger-light);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

/* FOOTER SECTION & WATERMARK */
footer.site-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 68px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2; /* Sits directly overlapped on top of background watermark */
}

.footer-brand-wrap {
  margin-bottom: 8px;
}

.footer-brand-link {
  color: var(--text-main);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.footer-brand-link .external-icon {
  color: var(--text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-brand-link:hover {
  color: var(--accent);
}

.footer-brand-link:hover .external-icon {
  color: var(--accent);
  transform: translate(1.5px, -1.5px);
}

.footer-mini-logo {
  height: 16px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-brand-link:hover .footer-mini-logo {
  opacity: 1;
}

.logo-dark {
  display: none !important;
}

.logo-light {
  display: inline-block !important;
}

[data-theme="dark"] .logo-dark {
  display: inline-block !important;
}

[data-theme="dark"] .logo-light {
  display: none !important;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-dot {
  color: var(--border);
  user-select: none;
}

/* 100% Full Width Edge-to-Edge Watermark in Background (No Margin, Overlapped) */
.footer-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 19.8vw;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.035em;
  text-align: center;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}

[data-theme="dark"] .footer-watermark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgba(255, 255, 255, 0.045);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .dual-stage-grid {
    grid-template-columns: 1fr;
  }
  .feature-row-card,
  .feature-row-card.reverse {
    grid-template-columns: 1fr;
  }
  .modules-visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .wrapper {
    padding: 16px 16px 48px 16px;
  }
  .modules-visual-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .telemetry-stat-row {
    grid-template-columns: 1fr;
  }
  .pro-feature-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   UPDATE ANNOUNCEMENT & PRO APPRECIATION MODAL
   Triggered dynamically by ?update=v3.0.0
   ========================================================================== */
.update-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.update-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.update-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 30px 26px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.24s ease;
}

.update-modal-backdrop.is-active .update-modal-dialog {
  transform: translateY(0);
}

.update-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-sub);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.update-modal-close:hover {
  background: var(--card-hover);
  color: var(--text-main);
  border-color: var(--text-muted);
}

.update-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin: 12px 0 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.update-modal-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.update-modal-lead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.update-modal-lead strong {
  color: var(--text-main);
}

.update-features-card {
  background: var(--card-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin: 18px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.update-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-sub);
}

.update-feature-row strong {
  color: var(--text-main);
}

.update-check-icon {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.update-modal-actions {
  display: flex;
  width: 100%;
  margin-top: 6px;
}

.btn-update-claim-pro {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  border: 1px solid transparent;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .btn-update-claim-pro {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-update-claim-pro:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

[data-theme="dark"] .btn-update-claim-pro:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.update-modal-footnote {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .update-modal-dialog {
    padding: 24px 18px 20px 18px;
  }
  .update-modal-title {
    font-size: 19px;
    gap: 8px;
  }
  .update-modal-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }
}
