/* ═══════════════════════════════════════════════════════
   vAIcation – Apple-inspired Design System
   Colors matched to Flutter AppColors
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #2563EB;
  --primary-light: #60A5FA;
  --primary-dark: #1D4ED8;
  --primary-pale: #DBEAFE;
  --accent: #0EA5E9;
  --bg: #FBFCFE;
  --bg-alt: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-hover: #F1F5F9;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --success: #10B981;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-pill: 980px;
  --nav-h: 52px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Dark Mode Variables ─────────────────────────────── */
[data-theme="dark"] {
  --bg: #0F172A;
  --bg-alt: #1E293B;
  --bg-card: #1E293B;
  --bg-hover: #334155;
  --text: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: #334155;
  --border-light: #1E293B;
  --primary-pale: rgba(37,99,235,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 2rem); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}

::selection { background: var(--primary); color: white; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── Scroll Animations ─────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,252,254,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(251,252,254,0.92);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
[data-theme="dark"] .navbar {
  background: rgba(15,23,42,0.72);
  border-bottom-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(15,23,42,0.92);
  box-shadow: 0 1px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 2rem; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.625rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-logo:hover .nav-logo-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.nav-logo-text {
  font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text-secondary); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .link-login {
  font-size: 0.8125rem; font-weight: 500;
  color: var(--text-secondary); text-decoration: none;
  transition: color 0.2s;
}
.nav-cta .link-login:hover { color: var(--primary); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: inherit; font-weight: 600; letter-spacing: -0.01em;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  padding: 0.625rem 1.375rem; font-size: 0.8125rem;
  border-radius: var(--radius-pill);
  background: var(--primary); color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-secondary {
  padding: 0.625rem 1.375rem; font-size: 0.8125rem;
  border-radius: var(--radius-pill);
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-hover); border-color: var(--primary-light);
  color: var(--primary-dark);
}

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-icon { width: 20px; height: 20px; }

.btn-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; font-size: 1rem; font-weight: 600;
  border-radius: var(--radius-pill); background: white; color: var(--primary);
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.2s; font-family: inherit;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ─── Mobile Menu ────────────────────────────────────── */
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--text); cursor: pointer; padding: 0.25rem;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu {
  display: none; padding: 0.75rem 2rem 1.5rem;
  background: rgba(251,252,254,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .mobile-menu {
  background: rgba(15,23,42,0.98);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.875rem 0; font-size: 1rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--primary); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 6rem; text-align: center;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg) 60%);
}
[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #1E293B 0%, var(--bg) 60%);
}
.hero::before {
  content: ''; position: absolute;
  top: -40%; left: 50%; transform: translateX(-50%);
  width: 140%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 52rem; margin: 0 auto; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--primary); margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); display: inline-block;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.035em;
  margin: 0 0 1.5rem; color: var(--text);
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary); line-height: 1.6;
  max-width: 36rem; margin: 0 auto 2.5rem;
  font-weight: 400; letter-spacing: -0.01em;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center; margin-bottom: 4rem;
}

.hero-visual {
  position: relative; max-width: 640px; margin: 0 auto;
}
.hero-mockup {
  width: 100%; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
  padding: 2.5rem 2rem; text-align: center; color: white;
  box-shadow: 0 32px 64px rgba(37,99,235,0.2), 0 0 0 1px rgba(37,99,235,0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}
.hero-mockup:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 40px 80px rgba(37,99,235,0.25), 0 0 0 1px rgba(37,99,235,0.12);
}
.hero-mockup-inner {
  background: rgba(255,255,255,0.12); border-radius: 16px;
  padding: 3rem 2rem; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-mockup-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,0.2); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.5rem;
}
.hero-mockup h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.hero-mockup p { font-size: 0.875rem; opacity: 0.8; }

.hero-stats {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 3.5rem;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text);
}
.hero-stat-label {
  font-size: 0.8125rem; color: var(--text-muted);
  font-weight: 500; margin-top: 0.125rem;
}

/* ─── Sections ───────────────────────────────────────── */
.section { padding: 7rem 2rem; }
.section-alt { background: var(--bg-alt); }
.section-white { background: white; }
[data-theme="dark"] .section-white { background: var(--bg-card); }
.section-inner { max-width: 1120px; margin: 0 auto; }

.section-label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 4rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.12; margin: 0 0 1rem;
}
.section-header h2 .gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header p {
  font-size: 1.125rem; color: var(--text-secondary);
  line-height: 1.65; font-weight: 400;
}

/* ─── Feature Grid ───────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.feature-card {
  padding: 2rem; border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
  cursor: default;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--primary); opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 0 0 1px rgba(37,99,235,0.08);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-emoji {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  background: var(--bg-hover);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover .feature-emoji { transform: scale(1.1) rotate(-3deg); }

.feature-card h3 {
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem; color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature big (2 column) variant */
.feature-big {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; padding: 4rem 0;
}
.feature-big-text .label {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--primary); margin-bottom: 0.75rem;
}
.feature-big-text h3 {
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.2; margin-bottom: 1rem;
}
.feature-big-text p {
  font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.65;
}
.feature-big-visual {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-pale), var(--bg-hover));
  padding: 3rem; display: flex; align-items: center; justify-content: center;
  min-height: 320px; font-size: 5rem;
}

/* ─── Pricing ────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; max-width: 52rem; margin: 0 auto;
}
.pricing-card {
  padding: 2.5rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  position: relative; transition: all 0.35s;
}
.pricing-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(37,99,235,0.12);
}
.pricing-card.featured:hover {
  box-shadow: 0 12px 48px rgba(37,99,235,0.18);
  transform: translateY(-4px);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 0.375rem 1.25rem; border-radius: 980px;
  background: var(--primary); color: white;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.pricing-label {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.5rem;
}
.pricing-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.pricing-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 2rem; }
.pricing-price .amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; }
.pricing-price .period { font-size: 1rem; color: var(--text-muted); }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--text-secondary); padding: 0.5rem 0;
}
.pricing-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.75rem; font-weight: 700; margin-top: 1px;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text); transition: color 0.2s; gap: 1rem;
}
.faq-question:hover { color: var(--primary); }
.faq-chevron {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7;
}

/* ─── Contact ────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; max-width: 56rem; margin: 0 auto; align-items: start;
}
.contact-info h3 {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.contact-info p { font-size: 1rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0; font-size: 0.9375rem;
}
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary-pale); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; flex-shrink: 0;
}
.contact-detail a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { color: var(--primary); }

.contact-card {
  padding: 2.5rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label {
  display: block; font-size: 0.8125rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text); font-size: 0.9375rem; font-family: inherit;
  transition: all 0.2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
  background: white;
}
[data-theme="dark"] .form-input:focus, [data-theme="dark"] .form-textarea:focus {
  background: var(--bg-hover);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: none; min-height: 140px; }

/* ─── CTA Banner ─────────────────────────────────────── */
.cta-banner {
  text-align: center; padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
  color: white; border-radius: var(--radius-xl);
  max-width: 1120px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 60%; height: 200%; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 40%; height: 150%; border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.cta-banner p {
  font-size: 1.125rem; opacity: 0.85; max-width: 32rem;
  margin: 0 auto 2rem; position: relative; z-index: 1;
}
.cta-banner .btn-white {
  position: relative; z-index: 1;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border); background: white;
  padding: 4rem 2rem 2rem;
}
[data-theme="dark"] .footer { background: var(--bg-alt); }
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand p {
  font-size: 0.875rem; color: var(--text-secondary);
  max-width: 260px; margin-top: 1rem; line-height: 1.6;
}
.footer h4 {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.625rem; }
.footer ul a {
  font-size: 0.875rem; color: var(--text-secondary);
  text-decoration: none; transition: color 0.2s;
}
.footer ul a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1120px; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--text-muted); }

/* ─── Legal Pages ────────────────────────────────────── */
.legal { padding: 8rem 2rem 5rem; }
.legal-inner { max-width: 42rem; margin: 0 auto; }
.legal-inner .breadcrumb {
  font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 2rem;
}
.legal-inner .breadcrumb a { color: var(--primary); text-decoration: none; }
.legal h1 {
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.legal .subtitle { font-size: 1rem; color: var(--text-muted); margin-bottom: 3rem; }
.legal h2 {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal p, .legal li {
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.75;
}
.legal p { margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.375rem; }
.legal a { color: var(--primary); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .date { font-size: 0.8125rem; color: var(--text-muted); margin-top: 3rem; }

/* ─── Blog ───────────────────────────────────────────── */
.blog-grid { display: grid; gap: 1.5rem; max-width: 48rem; margin: 0 auto; }
.blog-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  padding: 1.75rem; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.35s; text-decoration: none; color: inherit;
  cursor: pointer;
}
.blog-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.blog-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: var(--primary-pale); flex-shrink: 0;
}
.blog-meta {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.blog-tag {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--primary);
}
.blog-date { font-size: 0.75rem; color: var(--text-muted); }
.blog-card h2 {
  font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 0.375rem; transition: color 0.2s;
}
.blog-card:hover h2 { color: var(--primary); }
.blog-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── 404 ────────────────────────────────────────────── */
.page-404 {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem; text-align: center;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg) 60%);
}
[data-theme="dark"] .page-404 {
  background: linear-gradient(180deg, #1E293B 0%, var(--bg) 60%);
}
.page-404 h1 {
  font-size: 8rem; font-weight: 800; letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--border) 0%, rgba(226,232,240,0.4) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem; line-height: 1;
}
.page-404 h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.page-404 p { font-size: 1.0625rem; color: var(--text-secondary); margin-bottom: 2rem; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-big { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 28rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .section { padding: 5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-icon { width: 48px; height: 48px; font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .cta-banner { border-radius: 0; margin: 0 -1.5rem; }
  .page-404 h1 { font-size: 5rem; }
  .contact-card { padding: 1.5rem; }
  .pricing-card { padding: 1.75rem; }
}

/* ─── Utilities ─────────────────────────────────────── */
.gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Dark Mode Toggle Button ────────────────────────── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-hover); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.2s;
  color: var(--text-secondary); font-size: 1rem;
  padding: 0; line-height: 1;
}
.theme-toggle:hover {
  background: var(--primary-pale); color: var(--primary);
  border-color: var(--primary-light);
  transform: scale(1.08);
}
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline; }

/* ─── Feature big visual dark ────────────────────────── */
[data-theme="dark"] .feature-big-visual {
  background: linear-gradient(135deg, rgba(37,99,235,0.15), var(--bg-hover));
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(37,99,235,0.15);
}

[data-theme="dark"] .pricing-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

[data-theme="dark"] .pricing-card.featured {
  box-shadow: 0 8px 40px rgba(37,99,235,0.2);
}

[data-theme="dark"] .blog-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

[data-theme="dark"] .contact-card {
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

[data-theme="dark"] ::selection { background: var(--primary); color: white; }

/* ─── Cookie Banner ─────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-card); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-text p {
  font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0;
}
.cookie-banner-text a { color: var(--primary); text-decoration: none; }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.625rem 1.25rem; font-size: 0.8125rem; font-weight: 600;
  border-radius: var(--radius-pill); cursor: pointer; font-family: inherit;
  transition: all 0.2s; border: none;
}
.cookie-btn-accept {
  background: var(--primary); color: white;
}
.cookie-btn-accept:hover {
  background: var(--primary-dark); box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.cookie-btn-settings {
  background: transparent; color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.cookie-btn-settings:hover {
  background: var(--bg-hover); border-color: var(--primary-light); color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner { padding: 1rem 1.25rem; }
  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
}

/* ─── Print ──────────────────────────────────────────── */
@media print {
  .navbar, .mobile-menu, .cta-banner, .footer { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { background: white; }
}
