/* ===== DESIGN TOKENS — GOOGLE ONE AI DARK THEME ===== */
:root {
  /* Dark palette */
  --color-bg: #0e1117;
  --color-bg-elevated: #161b22;
  --color-surface: #1c2128;
  --color-surface-alt: #21262d;
  --color-surface-hover: #262c36;

  /* Text */
  --color-text: #e6edf3;
  --color-text-secondary: #9aa0a6;
  --color-text-tertiary: #6e7681;
  --color-text-muted: #484f58;

  /* Accent */
  --color-primary: #8ab4f8;
  --color-primary-dark: #669df6;
  --color-primary-light: rgba(138,180,248,0.12);
  --color-accent-green: #81c995;
  --color-accent-red: #f28b82;
  --color-accent-yellow: #fdd663;

  /* Borders */
  --color-border: rgba(255,255,255,0.08);
  --color-border-light: rgba(255,255,255,0.05);

  /* AI Gradient colors */
  --ai-blue: #4285f4;
  --ai-purple: #9b72cb;
  --ai-pink: #d96570;
  --ai-yellow: #fbbc04;

  /* Typography */
  --font-primary: 'Google Sans', 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 30px rgba(138,180,248,0.15);

  /* Transition */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-y;
}
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  touch-action: pan-y;
}
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #aecbfa; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grouped items */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ===== ANIMATED AI GRADIENT KEYFRAMES ===== */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

@keyframes fadeUpDelay1 {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpDelay2 {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpDelay3 {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up-delay-1 { animation: fadeUpDelay1 0.8s cubic-bezier(0.4,0,0.2,1) 0.2s both; }
.animate-fade-up-delay-2 { animation: fadeUpDelay2 0.8s cubic-bezier(0.4,0,0.2,1) 0.4s both; }
.animate-fade-up-delay-3 { animation: fadeUpDelay3 0.8s cubic-bezier(0.4,0,0.2,1) 0.6s both; }

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

@keyframes sparkle {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* ===== NAVBAR — GLASSMORPHIC DARK ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 28px;
  background: rgba(14, 17, 23, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(14, 17, 23, 0.92);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}
.navbar-brand svg { width: 30px; height: 30px; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.navbar-nav a {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}
.navbar-nav a:hover { color: var(--color-text); }
.navbar-cta {
  background: var(--color-primary);
  color: #0e1117 !important;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.navbar-cta:hover {
  background: #aecbfa;
  color: #0e1117 !important;
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO — AI GRADIENT BACKGROUND ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  overflow: hidden;
  background: var(--color-bg);
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(66,133,244,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 50%, rgba(155,114,203,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 30% 60%, rgba(217,101,112,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 30% 25% at 80% 70%, rgba(251,188,4,0.1) 0%, transparent 45%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite;
  z-index: 0;
}

/* Subtle grid/noise overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, transparent 0%, rgba(14,17,23,0.3) 70%, var(--color-bg) 100%);
  z-index: 0;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.06; filter: saturate(0.3); }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
}

/* Gemini sparkle icon above title */
.hero-content::before {
  content: '';
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--ai-blue), var(--ai-purple), var(--ai-pink));
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 0C14 7.732 7.732 14 0 14c7.732 0 14 6.268 14 14 0-7.732 6.268-14 14-14C20.268 14 14 7.732 14 0z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 0C14 7.732 7.732 14 0 14c7.732 0 14 6.268 14 14 0-7.732 6.268-14 14-14C20.268 14 14 7.732 14 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  animation: sparkle 3s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(138, 180, 248, 0.08);
  border: 1px solid rgba(138, 180, 248, 0.2);
  color: var(--color-text-secondary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(129, 201, 149, 0.8);
  animation: pulse 1.6s infinite;
}
.hero-badge strong {
  color: var(--color-text);
  font-weight: 700;
}
.hero-badge .sold-highlight {
  color: var(--color-primary);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-text);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--ai-blue) 0%, var(--ai-purple) 50%, var(--ai-pink) 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-primary);
}
.btn-primary {
  background: var(--color-primary);
  color: #0e1117;
  box-shadow: 0 4px 16px rgba(138,180,248,0.25);
}
.btn-primary:hover {
  background: #aecbfa;
  color: #0e1117;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138,180,248,0.3);
}
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: rgba(255,255,255,0.15);
}
.btn-icon { width: 18px; height: 18px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 44px 24px;
}
.stats-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  align-items: center;
}
.stat-item {
  padding: 12px 16px;
  border-right: 1px solid var(--color-border);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--ai-blue), var(--ai-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ===== SECTION COMMON ===== */
.section { padding: 80px 24px; }
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== PRICING SECTION — GOOGLE ONE AI STYLE ===== */
.pricing-section {
  position: relative;
  background: var(--color-bg);
}

/* AI radial gradient behind cards */
.pricing-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 600px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(66,133,244,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 30% 50%, rgba(155,114,203,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 35% 25% at 70% 40%, rgba(217,101,112,0.06) 0%, transparent 45%);
  z-index: 0;
  pointer-events: none;
}

.pricing-section > * { position: relative; z-index: 1; }

.toggle-container {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.pill-toggle {
  display: inline-flex;
  background: var(--color-surface);
  padding: 4px;
  border-radius: var(--radius-full);
  gap: 4px;
  border: 1px solid var(--color-border);
}
.pill-btn {
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-family: var(--font-primary);
  transition: var(--transition);
}
.pill-btn.active {
  background: var(--color-primary);
  color: #0e1117;
}

.pricing-cards-row {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ===== GOOGLE ONE CARD — DARK STYLE ===== */
.google-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle top gradient line */
.google-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple), var(--ai-pink));
  opacity: 0;
  transition: var(--transition);
}

.google-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(138,180,248,0.2);
}
.google-card:hover::before { opacity: 1; }

.google-card.recommended {
  border: 1.5px solid rgba(138,180,248,0.3);
  background: linear-gradient(180deg, rgba(66,133,244,0.06) 0%, var(--color-surface) 30%);
}
.google-card.recommended::before { opacity: 1; }

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.card-badge.placeholder { opacity: 0; }

.card-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}
.card-title .text-blue { color: var(--color-primary); }
.card-title .text-green { color: var(--color-accent-green); }

.card-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  min-height: 48px;
  margin-bottom: 16px;
}

/* Product Store Meta Bar (Top Right Sleek E-Commerce Style) */
.product-store-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.76rem;
  color: var(--color-text-secondary);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.product-store-meta:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.meta-item strong {
  color: var(--color-text);
  font-weight: 700;
}
.meta-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34a853;
  box-shadow: 0 0 6px rgba(52, 168, 83, 0.7);
  flex-shrink: 0;
}
.meta-item.out-of-stock .meta-dot {
  background: #ea4335;
  box-shadow: none;
}
.meta-item.out-of-stock .meta-label {
  color: #f28b82;
}
.meta-svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.rating-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rating-item em {
  font-style: normal;
  color: var(--color-text-tertiary);
  font-size: 0.74rem;
}

/* Price box */
.price-box { margin-bottom: 24px; }
.price-strikethrough {
  font-size: 0.92rem;
  color: var(--color-text-tertiary);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent-green);
}
.price-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent-green);
  letter-spacing: -0.02em;
}
.price-duration {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}
.save-badge {
  display: inline-block;
  background: rgba(129,201,149,0.12);
  color: var(--color-accent-green);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 8px;
  border: 1px solid rgba(129,201,149,0.15);
}
.save-badge.manager-badge {
  background: rgba(253,214,99,0.1);
  color: var(--color-accent-yellow);
  border-color: rgba(253,214,99,0.15);
}

/* Storage chips */
.storage-selector { margin-bottom: 24px; }
.storage-label {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.storage-chips { display: flex; gap: 8px; }
.chip {
  border: 1.5px solid rgba(138,180,248,0.3);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-primary);
  transition: var(--transition);
}
.chip:hover {
  background: rgba(138,180,248,0.2);
  border-color: var(--color-primary);
}

/* Card action buttons */
.card-action { margin-bottom: 24px; }
.g-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
}
.g-btn-primary {
  background: var(--color-primary);
  color: #0e1117;
}
.g-btn-primary:hover {
  background: #aecbfa;
  box-shadow: 0 4px 20px rgba(138,180,248,0.3);
}
.g-btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid rgba(138,180,248,0.3);
}
.g-btn-outline:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

/* Features divider & benefit list */
.features-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 24px;
}
.benefit-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}
.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.benefit-logo {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.benefit-list li:hover .benefit-logo {
  background: var(--color-primary-light);
  border-color: rgba(138,180,248,0.2);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(138,180,248,0.1);
}
.benefit-logo svg { display: block; }
.benefit-list li span { padding-top: 7px; }

/* Feature expand/collapse */
.features-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-primary);
  border-top: 1px solid var(--color-border);
  transition: var(--transition);
}
.features-toggle-btn:hover {
  color: var(--color-text);
}
.features-toggle-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}
.features-toggle-btn.expanded svg {
  transform: rotate(180deg);
}

.card-features-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-features-collapsible.expanded {
  max-height: 2000px;
}

/* Initially visible features (first group) */
.card-features-visible {
  /* always shown */
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  background: var(--color-bg-elevated);
}
.comparison-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.comparison-table th {
  background: var(--color-surface-alt);
  font-weight: 700;
  color: var(--color-text);
}
.comparison-table td {
  color: var(--color-text-secondary);
}
.comparison-table th.col-highlight,
.comparison-table td.col-highlight {
  background: rgba(138,180,248,0.04);
}
.comparison-table tbody tr:hover td {
  background: rgba(138,180,248,0.03);
}

.badge-role {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.badge-role.head {
  background: rgba(129,201,149,0.12);
  color: var(--color-accent-green);
}
.badge-check {
  color: var(--color-accent-green);
  font-weight: 700;
}

/* ===== FEATURES GRID ===== */
.features {
  background: var(--color-bg);
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(138,180,248,0.15);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(138,180,248,0.2);
  box-shadow: 0 0 16px rgba(138,180,248,0.1);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ===== FAQ — DARK ===== */
.faq-section {
  background: var(--color-bg);
}
.faq-container {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  transition: var(--transition);
}
.faq-question:hover { color: var(--color-primary); }
.faq-question svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-text-secondary);
  stroke-width: 2;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--color-primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
  max-height: 800px;
}
.faq-answer p {
  padding-bottom: 22px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ===== CTA BANNER — AI GRADIENT ===== */
.cta-section {
  position: relative;
  background: var(--color-bg);
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(66,133,244,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 30% 40%, rgba(155,114,203,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 35% 30% at 75% 60%, rgba(217,101,112,0.1) 0%, transparent 45%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease-in-out infinite;
  z-index: 0;
}
.cta-content {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}
.cta-content p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
.btn-white {
  background: var(--color-primary);
  color: #0e1117;
  font-weight: 700;
}
.btn-white:hover {
  background: #aecbfa;
  color: #0e1117;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138,180,248,0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0c10;
  color: var(--color-text-secondary);
  padding: 60px 24px 30px;
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand-name {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-tertiary);
}
.footer h4 {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer ul a {
  color: var(--color-text-tertiary);
  font-size: 0.86rem;
  transition: var(--transition);
}
.footer ul a:hover { color: var(--color-text); }
.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-tertiary);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a { color: var(--color-text-tertiary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .pricing-cards-row {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
  }
  .mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .navbar-nav {
    display: flex;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(14, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.4);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    z-index: 99;
  }

  .navbar-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-nav a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 8px 0;
    display: block;
  }

  .navbar-cta {
    text-align: center;
    margin-top: 8px;
    padding: 12px 20px !important;
  }

  .hero { min-height: 70vh; padding: 100px 20px 50px; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }

  .cta-content h2 { font-size: 1.6rem; }

  .comparison-table-wrapper { border-radius: var(--radius-md); }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 1.5rem; }
  .google-card { padding: 28px 20px; }
  .price-val { font-size: 2rem; }
  .hero-content::before { width: 56px; height: 56px; }
}

/* ===== SCROLLBAR DARK ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface-alt); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-tertiary); }

/* ===== SELECTION ===== */
::selection {
  background: rgba(138,180,248,0.3);
  color: var(--color-text);
}
