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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #FAFAF9;
  color: #111827;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Entrance Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.6; }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Screen-reader only (visually hidden, SEO-visible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Navigation ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  max-width: 960px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 26px;
  font-weight: 700;
  color: #14B8A6;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  color: #9CA3AF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111827;
}

/* ---- Hero ---- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 0;
  text-align: center;
  position: relative;
}

h1.brand {
  font-size: 52px;
  font-weight: 700;
  color: #14B8A6;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease-out both;
}

.hero-description {
  font-size: 18px;
  color: #6B7280;
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s ease-out 0.12s both;
}

.hero-description strong {
  color: #4B5563;
  font-weight: 500;
}

/* ---- Phone Video ---- */
.phone-container {
  position: relative;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease-out 0.28s both;
}

/* Soft teal glow behind the phone */
.phone-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: softPulse 6s ease-in-out infinite;
}

.phone-frame {
  position: relative;
  width: min(270px, 72vw);
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(20, 10, 5, 0.10),
    0 8px 24px rgba(20, 10, 5, 0.06),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 30px 70px rgba(20, 10, 5, 0.13),
    0 10px 28px rgba(20, 10, 5, 0.07),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

.phone-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- CTA Badge ---- */
.cta-badge {
  margin-bottom: 56px;
  animation: fadeInUp 0.6s ease-out 0.42s both;
}

.cta-badge a,
.bottom-cta a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-badge a:hover,
.bottom-cta a:hover {
  transform: scale(1.04);
  opacity: 0.85;
}

.cta-badge a img,
.bottom-cta a img {
  height: 52px;
}

/* ---- Divider ---- */
.divider {
  width: 40px;
  height: 1.5px;
  background: #D1D5DB;
  margin: 0 auto 56px;
}

/* ---- Bottom CTA ---- */
.bottom-cta {
  text-align: center;
  padding: 0 24px 80px;
}

.bottom-headline {
  font-size: 22px;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

/* ---- Footer ---- */
footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: #9CA3AF;
  border-top: 1px solid #F0F0EE;
}

footer .links {
  margin-bottom: 12px;
}

footer a {
  color: #9CA3AF;
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #14B8A6;
}

footer .company {
  font-size: 12px;
  color: #D1D5DB;
}

/* ---- Page Header ---- */
.page-header {
  text-align: center;
  padding: 48px 24px 16px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -1px;
}

/* ---- Features Page ---- */
.features-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 0;
}

.feature-section {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  margin-bottom: 80px;
}

.feature-section.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 0 0 260px;
}

.feature-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  box-shadow:
    0 16px 48px rgba(20, 10, 5, 0.08),
    0 4px 12px rgba(20, 10, 5, 0.04);
}

.feature-text {
  flex: 1;
  padding-top: 40px;
}

.feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.feature-text p {
  font-size: 17px;
  color: #6B7280;
  line-height: 1.8;
}

/* ---- Prose (Why Voice section) ---- */
.prose {
  max-width: 580px;
  margin: 0 auto;
  padding: 16px 24px 48px;
}

.prose h2 {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.prose h3 {
  font-size: 19px;
  font-weight: 600;
  color: #111827;
  margin-top: 28px;
  margin-bottom: 10px;
}

.prose p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  h1.brand {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .hero {
    padding: 48px 24px 0;
  }

  .hero-description {
    font-size: 17px;
    margin-bottom: 36px;
  }

  .phone-container::before {
    width: 260px;
    height: 260px;
  }

  .bottom-headline {
    font-size: 19px;
  }

  .bottom-cta {
    padding-bottom: 56px;
  }
}

@media (max-width: 768px) {
  .feature-section {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 56px;
  }

  .feature-image {
    flex: 0 0 auto;
    width: 240px;
  }

  .feature-text {
    padding-top: 0;
  }
}

/* ---- Desktop ---- */
@media (min-width: 768px) {
  .hero {
    padding: 64px 24px 0;
  }

  .hero-description {
    margin-bottom: 56px;
  }

  .phone-frame {
    width: 320px;
    border-radius: 40px;
  }

  .phone-container::before {
    width: 400px;
    height: 400px;
  }

  h1.brand {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
}
