/* ==========================================================================
   VERA Vault Landing Page - Brand Design System
   Matches extension: Deep darks, Indigo/Purple accents, JetBrains Mono
   ========================================================================== */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── Design Tokens (Matching popup.css) ───────────────────── */
:root {
  /* Surfaces */
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  --bg-elevated: #1e1e24;

  /* Borders */
  --border-default: #3f3f46;
  --border-muted: #27272a;
  --border-accent: rgba(129, 140, 248, 0.3);

  /* Text */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Brand */
  --accent-primary: #818cf8;
  --accent-secondary: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #818cf8, #a78bfa);
  --accent-muted: rgba(129, 140, 248, 0.15);

  /* Semantic */
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.1);
  --error: #f87171;
  --error-bg: rgba(248, 113, 113, 0.1);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(129, 140, 248, 0.2);
}

/* ─── Base ─────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
  color: var(--accent-primary);
  background: var(--accent-muted);
  padding: 2px 6px;
  border-radius: 4px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

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

/* ─── Meet the Team ────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 24px;
  margin-top: 60px;
}

.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.team-avatar-wrapper {
  position: relative;
  width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-tertiary);
  margin: 0 auto;
}

.team-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.3s ease;
  filter: grayscale(0%) contrast(1);
}

.team-card:hover .team-avatar-wrapper img {
  transform: scale(1.05);
  filter: grayscale(100%) contrast(1.1);
}

.team-social-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-social-overlay {
  opacity: 1;
}

.team-social-overlay a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.team-social-overlay a:hover {
  background: var(--accent-primary);
  transform: scale(1.1);
}

.team-social-overlay svg {
  width: 18px;
  height: 18px;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.team-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* ─── Responsive Adjustments ───────────────────────────────── */

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-muted);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}
.logo svg {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
}

/* Nav CTA Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.nav-cta-btn svg {
  width: 14px;
  height: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--accent-primary); /* Base color, hover uses gradient */
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent-muted);
  border-color: var(--accent-primary);
}

/* ─── Hero Section ─────────────────────────────────────────── */
.hero {
  padding: 120px 0 40px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-content {
  text-align: left;
}

/* Subtle ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 150vw;
  height: 150vh;
  max-width: 1600px;
  max-height: 1600px;
  background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.12) 0%, rgba(9, 9, 11, 0) 50%);
  z-index: -1;
  pointer-events: none;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 0 30px;
  color: var(--text-secondary);
}

.cta-group {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-interactive {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  perspective: 1000px;
  transform: scale(1.3);
  transform-origin: center center;
}

.ext-card {
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.ext-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(129, 140, 248, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}

.ext-header {
  padding: 12px 16px;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ext-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ext-body {
  padding: 24px;
  position: relative;
}

.review-mock {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 16px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.r-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-tertiary);
}

.r-stars {
  color: #FBBF24;
  font-size: 12px;
  letter-spacing: 2px;
}

.r-line {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  margin-bottom: 8px;
  width: 100%;
}

.r-line.short {
  width: 60%;
}

.scanner {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
  animation: scan 3s infinite ease-in-out;
  opacity: 0.8;
}

@keyframes scan {
  0% { top: 10%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

.verified-stamp {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  animation: stampFade 3s infinite;
  white-space: nowrap;
}

@keyframes stampFade {
  0%, 60% { opacity: 0; transform: translate(-50%, 10px) scale(0.9); }
  70%, 90% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 0) scale(1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ─── Hero Floating Badges ─────────────────────────────────── */
.hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
}

.badge-1 { top: 10%; right: -10%; animation-delay: 0s; }
.badge-2 { bottom: 20%; left: -10%; animation-delay: 1.5s; }
.badge-3 { bottom: -5%; right: 5%; animation-delay: 3s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ─── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ─── Sections & Cards ─────────────────────────────────────── */
.section {
  padding: 80px 0;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vh;
  max-width: 1200px;
  max-height: 1200px;
  background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.05) 0%, rgba(9, 9, 11, 0) 50%);
  z-index: -1;
  pointer-events: none;
}

.section::after {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: var(--accent-gradient);
  margin: 0 auto;
  margin-top: 80px;
  opacity: 0.5;
  border-radius: 2px;
}

.section:last-child::after {
  display: none;
}

.section-header {
  margin-bottom: 64px;
  max-width: 700px;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-muted);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* ─── Interactive Timeline Component ───────────────────────── */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.timeline-nav {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Vertical line connecting dots */
.timeline-nav::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--border-muted);
  z-index: 0;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.timeline-step.active {
  opacity: 1;
}

.step-dot {
  width: 40px;
  height: 40px;
  background: var(--bg-primary);
  border: 2px solid var(--border-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.timeline-step.active .step-dot {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Visualizer Panel */
.timeline-visualizer {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.vis-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}
.vis-content.active {
  display: block;
}

.vis-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.vis-icon-wrapper svg {
  width: 80px;
  height: 80px;
  color: var(--accent-primary);
}

/* ─── Data Flow Interactive Infographic ────────────────────── */
.data-flow-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.data-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.data-zone {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-muted);
  background: var(--bg-tertiary);
  transition: all 0.3s;
}

.zone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-default);
}
.zone-header svg {
  color: var(--text-secondary);
}

.zone-local.highlight { border-color: var(--success); box-shadow: 0 0 15px rgba(52,211,153,0.15); }
.zone-local.highlight svg { color: var(--success); }

.zone-proof.highlight { border-color: var(--accent-primary); box-shadow: var(--shadow-glow); }
.zone-proof.highlight svg { color: var(--accent-primary); }

.zone-web.highlight { border-color: var(--error); box-shadow: 0 0 15px rgba(248,113,113,0.15); }
.zone-web.highlight svg { color: var(--error); }

.data-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.data-pill {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.data-pill:hover, .data-pill.active {
  background: var(--accent-muted);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

/* ─── Before / After Comparison ────────────────────────────── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comp-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-muted);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comp-before {
  background: var(--bg-tertiary);
}
.comp-before:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(248, 113, 113, 0.05);
  border-color: rgba(248, 113, 113, 0.2);
}

.comp-after {
  background: var(--bg-secondary);
  border-color: var(--border-accent);
  position: relative;
}
.comp-after:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(129, 140, 248, 0.15);
  border-color: var(--accent-secondary);
}
.comp-after::before {
  content: 'VERA Solution';
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--accent-primary);
  color: white;
  padding: 2px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comp-list {
  list-style: none;
  margin-top: 24px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.comp-before .comp-list svg { color: var(--error); flex-shrink: 0; }
.comp-after .comp-list svg { color: var(--success); flex-shrink: 0; }


/* ─── FAQ Accordion ────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-muted);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
}

/* ─── Contact Section ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(129, 140, 248, 0.15);
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 80px 0 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-muted);
}

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-init {
  /* JS initializes this, but fallback is defined in .animate-on-scroll */
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ─── Tablet Breakpoint ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .cta-group { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Mobile Breakpoint ────────────────────────────────────── */
@media (max-width: 768px) {
  /* Navigation */
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .nav-cta-btn { display: none; }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 48px;
    gap: 32px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
  }
  
  .nav-links.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  /* Layout */
  .container {
    padding: 0 32px;
  }
  
  /* Typography */
  h1 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 1.75rem); }
  p, .btn { font-size: 0.95rem; }
  .hero-subtitle {
    margin: 0 auto 32px auto;
    padding: 0 16px;
  }

  /* Hero Section */
  .hero { 
    padding: 120px 0 60px; 
    min-height: auto; 
  }
  .hero-grid { 
    grid-template-columns: 1fr; 
    gap: 40px; 
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .btn { 
    width: auto;
    min-width: 220px;
    justify-content: center;
  }
  .hero-banner-card {
    padding: 32px 24px;
  }
  .hero-interactive {
    transform: scale(1);
    max-width: 320px;
  }
  .hero-badge { display: none; }

  /* Sections & Layout */
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  
  /* Grids */
  .timeline-grid, .comparison-grid, .data-zones {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Components */
  .timeline-nav::before { display: none; }
  .comp-card { padding: 24px; }
  .data-zone { padding: 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; grid-column: 1 / -1; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ─── Small Phone Breakpoint ───────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 24px; }
  .section { padding: 60px 0; }
  .stats-bar { grid-template-columns: 1fr; padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 40px; }
  .comparison-grid { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand { max-width: 100%; }
  .footer-logo { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── Premium Compatibility Cards ──────────────────────────── */
.premium-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .premium-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.premium-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-tertiary);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--duration-normal) ease;
}

.premium-card:hover .premium-card-icon {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.05);
}

.premium-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.premium-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.browser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: auto;
}

.browser-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all var(--duration-normal) ease;
}

.browser-item img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%) opacity(70%);
  transition: all var(--duration-normal) ease;
}

.browser-item:hover {
  background: var(--bg-primary);
  border-color: var(--border-color);
  transform: translateY(-2px);
}

.browser-item:hover img {
  filter: grayscale(0%) opacity(100%);
}
