/* ==========================================================================
   CleanSpeed — Modern SaaS Dark Mode Stylesheet
   Pure CSS3 • Mobile-First • Zero Dependencies • Cloudflare Pages Ready
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Core Palette */
  --bg-base: #0B0F19;
  --bg-elevated: #111827;
  --bg-card: rgba(17, 24, 39, 0.62);
  --bg-card-hover: rgba(23, 32, 53, 0.78);
  --bg-glass-strong: rgba(15, 23, 42, 0.82);

  /* Brand Accents */
  --accent-blue: #3B82F6;
  --accent-blue-hover: #2563EB;
  --accent-blue-soft: rgba(59, 130, 246, 0.14);
  --accent-emerald: #10B981;
  --accent-emerald-soft: rgba(16, 185, 129, 0.14);
  --accent-cyan: #06B6D4;
  --accent-cyan-soft: rgba(6, 182, 212, 0.14);

  /* Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(59, 130, 246, 0.35);
  --shadow-card: 0 20px 50px -15px rgba(0, 0, 0, 0.55);
  --shadow-blue: 0 10px 30px -8px rgba(59, 130, 246, 0.45);
  --shadow-emerald: 0 0 24px rgba(16, 185, 129, 0.28);

  /* Layout & Radii */
  --container-max: 1160px;
  --container-narrow: 800px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --header-height: 72px;

  /* Typography Family */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Scrollbar theming */
  scrollbar-color: #334155 #0B0F19;
  accent-color: var(--accent-blue);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
}

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

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

button {
  font: inherit;
  color: inherit;
}

/* Focus Accessibility */
:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Ambient Background */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
}

.bg-orb--blue {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  top: -160px;
  left: -120px;
}

.bg-orb--emerald {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #10B981 0%, transparent 70%);
  top: 120px;
  right: -140px;
  opacity: 0.2;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
}

/* Glassmorphism Utility */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4F92FF 0%, var(--accent-blue) 100%);
  box-shadow: 0 14px 36px -8px rgba(59, 130, 246, 0.62);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: translateY(-1px);
  }
  .btn:active {
    transform: translateY(0);
  }
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

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

.btn-block {
  width: 100%;
  padding: 0.85rem 1.25rem;
}

/* ==========================================================================
   Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.22);
}

.brand-logo-img--sm {
  width: 28px;
  height: 28px;
}

.brand-name span {
  color: var(--accent-blue);
}

.site-nav {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link[aria-current="page"] {
  color: var(--text-primary);
  background: var(--accent-blue-soft);
  box-shadow: inset 0 -2px 0 var(--accent-blue);
}

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

/* Language Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.lang-icon {
  color: var(--accent-blue);
  flex-shrink: 0;
}

.lang-option {
  transition: color 0.2s ease;
}

.lang-option.is-active {
  color: var(--text-primary);
}

.lang-sep {
  opacity: 0.35;
}

.nav-cta {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
}

.menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-drawer-inner {
  padding-block: 1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-link:hover,
.mobile-nav-link[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-block: 3.5rem 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #93C5FD;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.text-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 45%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 56ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.hero-trust {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-compat {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Chrome Extension Popup Mockup (Pure HTML/CSS)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.popup-glow {
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle at 50% 45%, rgba(59, 130, 246, 0.25), rgba(16, 185, 129, 0.14) 55%, transparent 75%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.extension-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(19, 28, 49, 0.94) 0%, rgba(11, 15, 25, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 65px -18px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mockup-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.38);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mockup-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.mockup-version {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.68rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  color: #34D399;
  background: var(--accent-emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mockup-status.is-paused {
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* Speed Card */
.mockup-speed-card {
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.24);
  margin-bottom: 1rem;
}

.speed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.speed-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.speed-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #34D399;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.18);
}

.speed-metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.speed-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald);
  letter-spacing: -0.02em;
}

.speed-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.speed-bar {
  height: 7px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.speed-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-emerald) 100%);
  border-radius: var(--radius-pill);
  transition: width 0.35s ease;
}

.mockup-mini-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stat {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mini-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mini-stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.mini-stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  margin-inline: 0.85rem;
}

/* Mockup Toggles */
.mockup-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.mockup-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mockup-toggle-row:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

.toggle-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.toggle-icon--blue {
  background: var(--accent-blue-soft);
  color: #60A5FA;
}

.toggle-icon--emerald {
  background: var(--accent-emerald-soft);
  color: #34D399;
}

.toggle-icon--cyan {
  background: var(--accent-cyan-soft);
  color: #22D3EE;
}

.toggle-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}

.toggle-desc {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* Custom CSS Toggle Switch */
.switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.switch-slider {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: #334155;
  transition: background-color 0.22s ease;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease;
}

.switch input:checked + .switch-slider {
  background: var(--accent-emerald);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(18px);
}

.switch input:focus-visible + .switch-slider {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* Mockup Action Button */
.mockup-clean-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.14);
  color: #93C5FD;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mockup-clean-btn:hover {
  background: rgba(59, 130, 246, 0.24);
  border-color: rgba(59, 130, 246, 0.55);
  color: #FFFFFF;
}

.mockup-clean-btn.is-cleaned {
  background: var(--accent-emerald-soft);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34D399;
}

/* ==========================================================================
   Quick Benefits / Metrics Bar
   ========================================================================== */
.metrics-bar {
  padding-block: 1.5rem;
  border-block: 1px solid var(--border-subtle);
  background: rgba(17, 24, 39, 0.38);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-blue-soft);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60A5FA;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.metric-icon--emerald {
  background: var(--accent-emerald-soft);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34D399;
}

.metric-title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

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

/* ==========================================================================
   Generic Sections & Headers
   ========================================================================== */
.section {
  padding-block: 4.5rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.35) 0%, rgba(11, 15, 25, 0) 100%);
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-blue);
  margin-bottom: 0.65rem;
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

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

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover {
    transform: translateY(-4px);
  }
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.feature-icon--blue {
  background: var(--accent-blue-soft);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #60A5FA;
}

.feature-icon--emerald {
  background: var(--accent-emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34D399;
}

.feature-icon--cyan {
  background: var(--accent-cyan-soft);
  border: 1px solid rgba(6, 182, 212, 0.28);
  color: #22D3EE;
}

.feature-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #60A5FA;
  margin-bottom: 0.5rem;
}

.feature-tag--emerald {
  color: #34D399;
}

.feature-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.feature-desc {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

.feature-stat {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.feature-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #93C5FD;
  background: var(--accent-blue-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

.feature-stat-pill--emerald {
  color: #34D399;
  background: var(--accent-emerald-soft);
}

/* ==========================================================================
   How It Works Steps
   ========================================================================== */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step-card {
  padding: 2rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-blue-soft);
  border: 1px solid rgba(59, 130, 246, 0.32);
  color: #60A5FA;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.step-number--emerald {
  background: var(--accent-emerald-soft);
  border-color: rgba(16, 185, 129, 0.32);
  color: #34D399;
}

.step-title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
}

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

/* ==========================================================================
   Pricing Section (Freemium: Free + PRO)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 900px;
  margin-inline: auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card--pro {
  border-color: rgba(59, 130, 246, 0.55);
  background: linear-gradient(180deg, rgba(22, 35, 64, 0.85) 0%, rgba(15, 23, 42, 0.78) 100%);
  box-shadow:
    0 24px 60px -16px rgba(59, 130, 246, 0.28),
    inset 0 1px 0 rgba(147, 197, 253, 0.22);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  right: 1.75rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-blue) 0%, #2563EB 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.45);
}

.pricing-card-head {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-plan-name {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-plan-desc {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.pricing-amount {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.pricing-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-note--emerald {
  color: #34D399;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.check-icon {
  color: #60A5FA;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon--emerald {
  color: var(--accent-emerald);
}

.pricing-cta {
  margin-top: auto;
  padding-block: 0.9rem;
  font-size: 0.98rem;
}

/* ==========================================================================
   FAQ Accordion (Modern Accessible <details>)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.35);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

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

.faq-question::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: var(--accent-blue);
}

.faq-answer {
  padding: 0 1.45rem 1.35rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.faq-answer p {
  margin: 0;
}

/* Modern progressive-enhancement smooth slide for <details> */
.faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-item:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    transition: block-size 0.28s ease, content-visibility 0.28s ease;
    transition-behavior: allow-discrete;
  }
}

/* ==========================================================================
   Final CTA Box
   ========================================================================== */
.cta-section {
  padding-top: 2rem;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.75rem;
  text-align: center;
  border-color: rgba(59, 130, 246, 0.26);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.cta-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(16, 185, 129, 0.14) 55%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-title {
  position: relative;
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.cta-subtitle {
  position: relative;
  margin: 0 auto 2rem;
  max-width: 52ch;
  color: var(--text-secondary);
  font-size: 1.03rem;
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.cta-footnote {
  position: relative;
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.privacy-main {
  padding-block: 3rem 5rem;
}

.privacy-header {
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

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

.privacy-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.privacy-updated {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.privacy-summary {
  padding: 1.65rem;
  margin-bottom: 1.5rem;
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(17, 24, 39, 0.72) 100%);
}

.privacy-summary h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: #34D399;
}

.privacy-summary p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.privacy-content {
  padding: 2rem;
}

.policy-section + .policy-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.policy-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.policy-section p {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.inline-link {
  color: #60A5FA;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: #93C5FD;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 11, 19, 0.85);
  padding-block: 3rem 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-tagline {
  margin: 0.65rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 36ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link[aria-current="page"] {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.copyright,
.footer-note {
  margin: 0;
}

/* ==========================================================================
   Scroll Reveal (Progressive Enhancement — Respects Reduced Motion)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .js-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First)
   ========================================================================== */
@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .cta-box {
    padding: 4rem 3rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-block: 5rem 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

@media (min-width: 1080px) {
  .site-nav {
    display: block;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .nav-links {
    gap: 0.35rem;
  }

  .nav-link {
    padding: 0.45rem 0.8rem;
    font-size: 0.92rem;
  }
}
