:root {
  --color-bg: #F0F7FF;
  --color-bg-alt: #E4F2EC;
  --color-primary: #4A9BD9;
  --color-primary-light: #6DB8E8;
  --color-accent: #E8706A;
  --color-accent-warm: #F0C060;
  --color-text: #2B3E50;
  --color-text-light: #627A8C;
  --color-white: #FFFFFF;
  --color-border: #D0E3F0;
  --font-display: 'Baloo 2', cursive;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(74, 155, 217, .1);
  --shadow-lg: 0 12px 40px rgba(74, 155, 217, .15);
  --max-width: 1120px;
  --nav-height: 72px;
  --gradient: linear-gradient(135deg, #4A9BD9, #7C6CE0, #E8706A);
  --gradient-warm: linear-gradient(135deg, #F0C060, #E8706A, #D05EAA);
  --gradient-btn: linear-gradient(135deg, #4A9BD9 0%, #6C6CE0 50%, #D05EAA 100%);
}

/* ---- DARK THEME (twilight over meadows) ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #141828;
    --color-bg-alt: #1B2136;
    --color-primary: #7EB8E0;
    --color-primary-light: #A8D4F0;
    --color-accent: #F0887A;
    --color-accent-warm: #F2CA6E;
    --color-text: #ECF0F8;
    --color-text-light: #9AABC4;
    --color-white: #1C2238;
    --color-border: #2D3752;
    --shadow: 0 4px 24px rgba(10, 10, 30, .4);
    --shadow-lg: 0 12px 40px rgba(10, 10, 30, .5);
    --gradient: linear-gradient(135deg, #7EB8E0, #A88CE8, #F0887A);
    --gradient-warm: linear-gradient(135deg, #F2CA6E, #F0887A, #C882D0);
    --gradient-btn: linear-gradient(135deg, #7EB8E0 0%, #9A8CE8 50%, #C882D0 100%);
  }
}
[data-theme="dark"] {
  --color-bg: #141828;
  --color-bg-alt: #1B2136;
  --color-primary: #7EB8E0;
  --color-primary-light: #A8D4F0;
  --color-accent: #F0887A;
  --color-accent-warm: #F2CA6E;
  --color-text: #ECF0F8;
  --color-text-light: #9AABC4;
  --color-white: #1C2238;
  --color-border: #2D3752;
  --shadow: 0 4px 24px rgba(10, 10, 30, .4);
  --shadow-lg: 0 12px 40px rgba(10, 10, 30, .5);
  --gradient: linear-gradient(135deg, #7EB8E0, #A88CE8, #F0887A);
  --gradient-warm: linear-gradient(135deg, #F2CA6E, #F0887A, #C882D0);
  --gradient-btn: linear-gradient(135deg, #7EB8E0 0%, #9A8CE8 50%, #C882D0 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-light); }

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

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.nav .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}
.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-text);
  transition: color .2s;
}
.nav-links a:hover { color: var(--color-primary); }

.nav-cta {
  background: var(--gradient-btn);
  background-size: 200% 200%;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: background-position .4s, transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  background-position: 100% 100%;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 108, 224, .3);
}

.theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: border-color .2s, transform .2s, color .2s;
  flex-shrink: 0;
}
.theme-toggle svg { display: block; }
.theme-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); transform: scale(1.1); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: flex; }
[data-theme="dark"] .theme-toggle .icon-sun { display: flex; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: flex; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ---- HERO ---- */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(109,184,232,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -80px;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(130,200,140,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto 20px;
}

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

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-light);
  max-width: 520px;
  margin: 0 auto 36px;
}

.app-store-badge {
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}
.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.app-store-badge img { height: 54px; width: auto; }

/* ---- DECORATIVE CLOUDS ---- */
.clouds {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: var(--color-white);
  border-radius: 50px;
  opacity: .45;
  animation: drift linear infinite;
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud:nth-child(1) {
  width: 90px; height: 30px; top: 18%; left: -100px;
  animation-duration: 28s;
}
.cloud:nth-child(1)::before { width: 40px; height: 40px; top: -20px; left: 15px; }
.cloud:nth-child(1)::after { width: 30px; height: 30px; top: -12px; left: 45px; }

.cloud:nth-child(2) {
  width: 70px; height: 24px; top: 35%; left: -80px;
  animation-duration: 35s; animation-delay: 6s; opacity: .3;
}
.cloud:nth-child(2)::before { width: 32px; height: 32px; top: -16px; left: 12px; }
.cloud:nth-child(2)::after { width: 24px; height: 24px; top: -10px; left: 36px; }

.cloud:nth-child(3) {
  width: 60px; height: 20px; top: 55%; left: -70px;
  animation-duration: 40s; animation-delay: 12s; opacity: .25;
}
.cloud:nth-child(3)::before { width: 28px; height: 28px; top: -14px; left: 10px; }
.cloud:nth-child(3)::after { width: 20px; height: 20px; top: -8px; left: 30px; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 200px)); }
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
}
.section--alt { background: var(--color-bg-alt); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  text-align: center;
  margin-bottom: 12px;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.feature-icon--blue { background: #DBEEFA; color: #4A9BD9; }
.feature-icon--coral { background: #FDE8E7; color: #E8706A; }
.feature-icon--amber { background: #FEF3D6; color: #D49520; }
.feature-icon--green { background: #D8F0DB; color: #48A555; }


.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: .95rem;
  line-height: 1.55;
}

/* ---- HOW IT WORKS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--color-text-light);
  font-size: .93rem;
  max-width: 260px;
  margin: 0 auto;
}

/* ---- TRY IT ---- */
.tryit {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.tryit-gender {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
  padding: 16px;
}

.tryit-option {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  width: 140px;
  border-radius: 28px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.tryit-option img { width: 100%; height: auto; display: block; }
.tryit-option:hover { transform: translateY(-2px); }
.tryit-option.selected {
  background: var(--color-primary);
  box-shadow: 0 4px 20px rgba(74, 155, 217, .35);
  transform: scale(1.05);
}

.tryit-name { margin-bottom: 24px; }

.tryit-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--color-border);
  border-radius: 50px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  text-align: center;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.tryit-input::placeholder { color: var(--color-text-light); opacity: .6; }
.tryit-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74, 155, 217, .15);
}

.tryit-btn {
  display: inline-block;
  background: var(--gradient-btn);
  background-size: 200% 200%;
  color: #fff !important;
  padding: 14px 40px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  transition: background-position .4s, transform .2s, box-shadow .2s;
}
.tryit-btn:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 108, 224, .3);
  color: #fff !important;
}

/* ---- REVIEWS ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  font-size: 1.2rem;
  letter-spacing: 2px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.review-text {
  color: var(--color-text-light);
  font-size: .95rem;
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-author strong {
  font-size: .95rem;
  color: var(--color-text);
}
.review-author span {
  font-size: .85rem;
  color: var(--color-text-light);
}

/* ---- CTA ---- */
.cta {
  text-align: center;
  padding: 80px 0 100px;
  position: relative;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}
.cta p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand p {
  font-size: .9rem;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.55;
}

.footer-links h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
  width: 100%;
}

.footer-brand .nav-brand span { color: #fff; }
.footer-brand .nav-brand img { height: 28px; width: 28px; }

/* Dark mode footer */
[data-theme="dark"] .footer { background: #0D1018; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer { background: #0D1018; }
}

/* Dark mode hero -- twilight gradient */
[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse, rgba(126,184,224,.12) 0%, rgba(100,80,180,.06) 50%, transparent 70%);
}
[data-theme="dark"] .hero::after {
  background: radial-gradient(ellipse, rgba(242,202,110,.08) 0%, rgba(240,136,122,.04) 50%, transparent 70%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero::before {
    background: radial-gradient(ellipse, rgba(126,184,224,.12) 0%, rgba(100,80,180,.06) 50%, transparent 70%);
  }
  :root:not([data-theme="light"]) .hero::after {
    background: radial-gradient(ellipse, rgba(242,202,110,.08) 0%, rgba(240,136,122,.04) 50%, transparent 70%);
  }
}

/* Dark mode clouds */
[data-theme="dark"] .cloud { opacity: .08; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cloud { opacity: .08; }
}

/* Dark mode feature icon colors -- warmer tints */
[data-theme="dark"] .feature-icon--blue { background: rgba(126,184,224,.15); color: #7EB8E0; }
[data-theme="dark"] .feature-icon--coral { background: rgba(240,136,122,.12); color: #F0887A; }
[data-theme="dark"] .feature-icon--amber { background: rgba(242,202,110,.12); color: #F2CA6E; }
[data-theme="dark"] .feature-icon--green { background: rgba(100,190,110,.12); color: #6ABE6E; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feature-icon--blue { background: rgba(126,184,224,.15); color: #7EB8E0; }
  :root:not([data-theme="light"]) .feature-icon--coral { background: rgba(240,136,122,.12); color: #F0887A; }
  :root:not([data-theme="light"]) .feature-icon--amber { background: rgba(242,202,110,.12); color: #F2CA6E; }
  :root:not([data-theme="light"]) .feature-icon--green { background: rgba(100,190,110,.12); color: #6ABE6E; }
}

/* ---- SUPPORT / FAQ ---- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 40px;
  text-align: center;
  background: var(--color-bg-alt);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.page-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-top: 8px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}
.faq-question:hover { color: var(--color-primary); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform .3s;
}
.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer p {
  padding: 0 0 20px;
  color: var(--color-text-light);
  font-size: .95rem;
  line-height: 1.65;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}

.contact-box {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-box h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.contact-box p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}
.contact-box a.email-link {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.contact-box a.email-link:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* ---- LEGAL PAGES ---- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 32px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--color-text-light);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 20px;
  color: var(--color-text-light);
  font-size: .95rem;
  line-height: 1.7;
}
.legal-content .last-updated {
  font-style: italic;
  color: var(--color-text-light);
  font-size: .9rem;
  margin-bottom: 32px;
}

/* ---- MOBILE NAV ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }
  .nav-links a:hover { background: var(--color-bg-alt); }

  .nav-links .nav-cta {
    display: inline-block;
    margin: 8px 24px 12px;
    text-align: center;
    width: auto;
  }

  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

  .hero { padding: calc(var(--nav-height) + 48px) 0 60px; }

  .section { padding: 60px 0; }

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

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

  .footer .container { flex-direction: column; text-align: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }

  .contact-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .feature-card { padding: 24px 20px; }
}
