@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root, [data-theme="light"] {
  --bg: #F8F6F0;
  --c1: #FFFFFF;
  --c2: #EDE8DE;
  --c3: #E2DDD2;
  --border: rgba(46, 42, 37, 0.12);
  --text: #1C201E;
  --dim: #8F887D;
  --mid: #5E584F;
  --radius: 18px;
  --accent: #1E856D;
  --accent-glow: rgba(30, 133, 109, 0.20);
  --teal: #1E856D;
  --rose: #D64564;
  --jade: #1E856D;
  --purple: #6C5CE7;
  --header-bg: rgba(248, 246, 240, 0.88);
  --button-bg: #1E856D;
  --button-text: #FFFFFF;
  --button-hover: #166452;
  --logo-text: #1C201E;
  --shadow: 0 20px 40px rgba(46, 42, 37, 0.08);
}

[data-theme="dark"] {
  --bg: #16221F;
  --c1: #1C2B27;
  --c2: #243732;
  --c3: #2E453F;
  --border: rgba(180, 255, 230, 0.14);
  --text: #F0FDF8;
  --dim: #5E7A72;
  --mid: #8EABA2;
  --radius: 18px;
  --accent: #B4FFE6;
  --accent-glow: rgba(180, 255, 230, 0.25);
  --teal: #B4FFE6;
  --rose: #FF7597;
  --jade: #B4FFE6;
  --purple: #B8A9FF;
  --header-bg: rgba(22, 34, 31, 0.88);
  --button-bg: #B4FFE6;
  --button-text: #16221F;
  --button-hover: #D4FFF2;
  --logo-text: #FFFFFF;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; transition: 0.2s ease; }
a:hover { opacity: 0.8; }

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--logo-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.logo-dark {
  display: none;
}
.logo-light {
  display: block;
}

[data-theme="dark"] .logo-dark {
  display: block;
}
[data-theme="dark"] .logo-light {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark {
    display: block;
  }
  :root:not([data-theme="light"]) .logo-light {
    display: none;
  }
}

nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--mid);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.theme-toggle-btn {
  background: var(--c2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle-btn:hover {
  background: var(--c3);
  transform: scale(1.06);
  border-color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: var(--c2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mobile-menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a {
    font-size: 17px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
}

main { flex: 1; }

/* Hero Section */
.hero-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(162,155,254,0.15) 0%, transparent 60%);
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
}

.hero-text {
  max-width: 800px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 18px;
  color: var(--mid);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.button {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,255,255,0.2);
}

/* Hero Media */
.hero-media {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 9/19.5;
  background: var(--c1);
  border: 1px solid var(--border);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--dim);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.media-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 100%);
}

/* Features */
.features-section {
  padding: 100px 0;
  background: var(--c1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.philosophy-section {
  padding: 90px 0;
}
.philosophy-section .container { max-width: 760px; }
.philosophy-section h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  text-align: center;
}
.philosophy-section p {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 16px;
}

.about-section {
  padding: 70px 0 90px;
  background: var(--c1);
  border-top: 1px solid var(--border);
}
.about-section .container { max-width: 680px; }
.about-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-section p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-section a { color: var(--accent); text-decoration: underline; }

.data-section {
  padding: 90px 0;
  background: var(--c1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.data-section .container { max-width: 820px; }
.data-section h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-align: center;
}
.data-section .lead {
  font-size: 17px;
  color: var(--mid);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}
.data-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.data-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--c2);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.data-item .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(134, 197, 158, 0.18);
  color: var(--jade);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  margin-top: 1px;
}
.data-item .cross {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(226, 125, 140, 0.18);
  color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  margin-top: 1px;
}
.data-item strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 3px;
}
.data-item span {
  color: var(--mid);
  font-size: 15px;
  line-height: 1.5;
}

.requirement-note {
  margin-top: 32px;
  padding: 18px 22px;
  background: rgba(232, 184, 109, 0.08);
  border: 1px solid rgba(232, 184, 109, 0.25);
  border-radius: 14px;
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
}
.requirement-note strong { color: var(--text); }

.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  padding: 8px 14px;
  background: var(--c2);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-top: 18px;
}
.health-badge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
}

.coming-soon-pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  padding: 14px 22px;
  background: var(--c2);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.feature {
  background: var(--c2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover { 
  transform: translateY(-6px); 
  border-color: var(--accent-glow);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  width: 56px; height: 56px;
  background: var(--c3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
}

.feature h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.feature p { font-size: 16px; color: var(--mid); line-height: 1.6; }

/* Secondary Media */
.secondary-media {
  padding: 100px 0;
}
.secondary-media .media-placeholder {
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 24px;
}

/* Footer */
footer {
  padding: 48px 0;
  text-align: center;
}
footer p { font-size: 14px; color: var(--dim); margin-bottom: 16px; }
footer .links { display: flex; justify-content: center; gap: 24px; }
footer .links a { font-size: 14px; color: var(--mid); font-weight: 500; }
footer .links a:hover { color: var(--text); }

/* Privacy Policy */
.privacy-section {
  padding: 80px 0;
}
.prose {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--mid);
  line-height: 1.8;
  background: var(--c1);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.prose h1 { color: var(--text); font-size: 40px; margin-bottom: 24px; letter-spacing: -1px; }
.prose h2 { color: var(--text); font-size: 24px; margin-top: 40px; margin-bottom: 16px; }
.prose p { margin-bottom: 20px; }
.prose ul { margin-bottom: 20px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--accent); text-decoration: underline; }

/* Desktop Breakpoints */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-text {
    flex: 1;
    padding-right: 40px;
  }
  .hero-text p {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 360px;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-text h1 {
    font-size: 64px;
  }
  .hero-text p {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .prose { padding: 32px 24px; }
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
}
.faq-section h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  text-align: center;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--c2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item:hover {
  border-color: var(--dim);
}
.faq-item[open] {
  background: var(--c1);
  border-color: var(--accent-glow);
}
.faq-question {
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none; /* Removes default triangle in Firefox */
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none; /* Removes default triangle in Chrome/Safari */
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--mid);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 16px;
  color: var(--mid);
  line-height: 1.6;
}

/* Feature Spotlight Sections */
.spotlight-section {
  padding: 100px 0;
  position: relative;
}
.spotlight-section.alt {
  background: var(--c1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spotlight-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}
@media (min-width: 900px) {
  .spotlight-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }
  .spotlight-grid.reverse {
    flex-direction: row-reverse;
  }
  .spotlight-text {
    flex: 1;
    max-width: 540px;
  }
  .spotlight-media {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 440px;
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.badge-tag.rose {
  background: rgba(214, 69, 100, 0.12);
  color: var(--rose);
  border: 1px solid rgba(214, 69, 100, 0.25);
}
.badge-tag.teal {
  background: rgba(30, 133, 109, 0.12);
  color: var(--teal);
  border: 1px solid rgba(30, 133, 109, 0.25);
}
.badge-tag.gold {
  background: rgba(217, 119, 6, 0.12);
  color: var(--orange);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.spotlight-text h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.spotlight-text p.lead-text {
  font-size: 18px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 28px;
}

.spotlight-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bullet-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--c2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.bullet-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.bullet-content p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}

.voice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.voice-chip {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: var(--c2);
  border: 1px solid var(--border);
  color: var(--text);
}
.voice-chip.highlight {
  background: rgba(214, 69, 100, 0.15);
  border-color: var(--rose);
  color: var(--rose);
}

.screenshot-card {
  width: 100%;
  max-width: 340px;
  border-radius: 36px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.screenshot-card img {
  width: 100%;
  display: block;
}

/* Comparison Layout */
.comparison-section {
  padding: 100px 0;
  text-align: center;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 50px;
  text-align: left;
}
@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.comparison-card {
  background: var(--c1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}
.comparison-card:hover {
  transform: translateY(-4px);
}
.comparison-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.comparison-card p {
  color: var(--mid);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 380px;
}
.comparison-card img {
  width: 100%;
  max-width: 280px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Beta Signup & Early Access */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(30, 133, 109, 0.7);
  animation: pulseAnimation 2s infinite;
  display: inline-block;
}

@keyframes pulseAnimation {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 133, 109, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(30, 133, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 133, 109, 0);
  }
}

.beta-signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  width: 100%;
  max-width: 480px;
}

.beta-input {
  flex: 1 1 240px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  background: var(--c1);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.beta-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.beta-input::placeholder {
  color: var(--dim);
}

.beta-submit-btn {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.beta-submit-btn:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.beta-success-msg {
  display: none;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(30, 133, 109, 0.12);
  border: 1px solid var(--teal);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  line-height: 1.5;
  width: 100%;
  max-width: 480px;
}

.beta-cta-section {
  padding: 80px 0;
}

.beta-cta-card {
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 60px 32px;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
