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

:root {
  --blue: #317AE7;
  --blue-light: #EFF5FE;
  --blue-dark: #1a56b0;
  --orange: #FB5607;
  --navy: #0d0f1a;
  --navy-light: #1a1d2e;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--white);
  transition: color 0.3s;
}
.nav.scrolled .nav-logo { color: var(--gray-900); }
.logo-drop {
  width: 24px; height: 24px; border-radius: 50% 50% 50% 0;
  background: var(--blue); transform: rotate(-45deg);
  display: inline-block; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--gray-500); }
.nav.scrolled .nav-links a:hover { color: var(--gray-900); }
.nav-cta {
  background: var(--blue) !important; color: var(--white) !important;
  padding: 8px 20px; border-radius: 99px; font-weight: 600 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: all 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--gray-900); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0f1a3a 50%, #122448 100%);
  padding: 140px 24px 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(49,122,231,0.15); color: var(--blue);
  padding: 6px 16px; border-radius: 99px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 52px; font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.65);
  margin-bottom: 32px; max-width: 480px;
}
.hero-actions { margin-bottom: 24px; }
.app-store-badge { display: inline-block; transition: opacity 0.2s; }
.app-store-badge:hover { opacity: 0.85; }
.hero-social-proof {
  font-size: 14px; color: rgba(255,255,255,0.4); font-weight: 500;
}

/* Phone Mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 560px;
  background: var(--navy-light);
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.phone-screen {
  background: var(--navy);
  border-radius: 24px;
  height: 100%;
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 16px;
}
.mock-header {
  text-align: center; color: var(--blue);
  font-weight: 700; font-size: 15px;
}
.mock-mic-area {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 0;
}
.mock-mic-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 4px 20px rgba(255,107,107,0.4);
  animation: pulse-mock 2s ease-in-out infinite;
}
@keyframes pulse-mock {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.mock-waveform {
  display: flex; gap: 3px; align-items: center; height: 24px;
}
.mock-waveform span {
  width: 3px; border-radius: 2px; background: var(--blue);
  animation: wave 1.2s ease-in-out infinite;
}
.mock-waveform span:nth-child(1) { height: 8px; animation-delay: 0s; }
.mock-waveform span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.mock-waveform span:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.mock-waveform span:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.mock-waveform span:nth-child(5) { height: 10px; animation-delay: 0.4s; }
.mock-waveform span:nth-child(6) { height: 18px; animation-delay: 0.5s; }
.mock-waveform span:nth-child(7) { height: 14px; animation-delay: 0.6s; }
.mock-waveform span:nth-child(8) { height: 22px; animation-delay: 0.7s; }
.mock-waveform span:nth-child(9) { height: 10px; animation-delay: 0.8s; }
.mock-waveform span:nth-child(10) { height: 16px; animation-delay: 0.9s; }
@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.6); }
}
.mock-card {
  background: var(--navy-light);
  border-radius: 10px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.mock-card-bar {
  width: 4px; height: 100%; border-radius: 2px;
  background: #7c3aed; position: absolute; left: 0; top: 0;
}
.mock-card { position: relative; padding-left: 18px; }
.mock-card-bar {
  position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 2px; background: #7c3aed;
}
.mock-card-bar.green { background: var(--blue); }
.mock-card-title {
  width: 60%; height: 10px; border-radius: 4px;
  background: rgba(255,255,255,0.2);
}
.mock-card-line {
  width: 90%; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.mock-card-line.short { width: 50%; }

/* ── Section Common ── */
.section-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 13px; font-weight: 600; color: var(--blue);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-inner > h2 {
  font-size: 40px; font-weight: 800; line-height: 1.15;
  color: var(--gray-900); margin-bottom: 48px;
}

/* ── Features ── */
.features {
  padding: 100px 24px;
  background: var(--white);
}
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.mic { background: #fff0f0; color: #ff6b6b; }
.feature-icon.globe { background: #e8faf7; color: #00c9a7; }
.feature-icon.doc { background: #f0edff; color: #7c5cfc; }
.feature-icon.cam { background: #e8f4fd; color: var(--blue); }
.feature-card h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 10px;
  color: var(--gray-900);
}
.feature-card p {
  font-size: 15px; line-height: 1.65; color: var(--gray-500);
}

/* ── How It Works ── */
.how-it-works {
  padding: 100px 24px;
  background: var(--blue-light);
}
.steps {
  max-width: 640px;
}
.step {
  display: flex; gap: 24px; align-items: flex-start;
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content { padding-top: 4px; }
.step-content h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 6px;
  color: var(--gray-900);
}
.step-content p {
  font-size: 15px; line-height: 1.65; color: var(--gray-500);
}
.step-connector {
  width: 2px; height: 32px; background: var(--blue);
  opacity: 0.2; margin-left: 23px;
}

/* ── CTA ── */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(160deg, var(--navy) 0%, #122448 100%);
  text-align: center;
}
.cta-section h2 {
  font-size: 40px; font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 16px;
}
.cta-section > .section-inner > p {
  font-size: 18px; color: rgba(255,255,255,0.6);
  max-width: 520px; margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-button {
  display: inline-block;
  background: var(--blue); color: var(--white);
  padding: 16px 40px; border-radius: 99px;
  font-size: 16px; font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.cta-button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.cta-note {
  font-size: 13px; color: rgba(255,255,255,0.35);
  margin-top: 16px;
}

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-logo-text {
  font-size: 18px; font-weight: 700; color: var(--white);
}
.footer-tagline {
  font-size: 14px; color: var(--gray-500);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 {
  font-size: 13px; font-weight: 600; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 13px; color: var(--gray-500);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--gray-700) !important; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav { background: rgba(13,15,26,0.95); backdrop-filter: blur(12px); }
  .nav.scrolled { background: rgba(255,255,255,0.97); }

  .hero { padding: 120px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 220px; height: 440px; }

  .section-inner > h2 { font-size: 30px; }

  .features-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .cta-section h2 { font-size: 30px; }
}

/* ── Legal page styles (shared) ── */
.legal-page {
  padding: 120px 24px 80px;
  max-width: 720px; margin: 0 auto;
}
.legal-page h1 {
  font-size: 36px; font-weight: 800; margin-bottom: 8px;
  color: var(--gray-900);
}
.legal-page .legal-date {
  font-size: 14px; color: var(--gray-500); margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 22px; font-weight: 700; margin-top: 40px; margin-bottom: 12px;
  color: var(--gray-900);
}
.legal-page p, .legal-page li {
  font-size: 15px; line-height: 1.75; color: var(--gray-700);
  margin-bottom: 12px;
}
.legal-page ul {
  padding-left: 20px; margin-bottom: 16px;
}
.legal-page a {
  color: var(--blue); text-decoration: underline;
}
