@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-variable.woff2') format('woff2-variations'), url('/fonts/inter-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit-latin-variable.woff2') format('woff2-variations'), url('/fonts/outfit-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2554eb;
  --blue-dark: #1a3fc4;
  --blue-light: #eef3ff;
  --green: #16a866;
  --ink: #161b29;
  --muted: #5d6679;
  --border: #e6e9f1;
  --bg-soft: #f6f8fd;
  --radius: 16px;
  --font-heading: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--muted); }
strong { color: var(--ink); }

.icon-outline { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37,84,235,.55);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-nav { padding: 9px 20px; font-size: .92rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.main-nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: radial-gradient(120% 100% at 50% 0%, var(--blue-light), #fff 60%);
  padding: 76px 0 64px;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 380px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-text h1 { font-size: 2.6rem; }
.hero-text h1 .h1-sub { display: block; font-size: .55em; color: var(--muted); font-weight: 600; margin-top: .25em; }
.hero-text .lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-text .lead-secondary { font-size: 1rem; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 1.6em; }

.play-badge { height: 54px; display: block; }
.play-badge-link { display: inline-flex; }
.play-badge-soon { opacity: .55; filter: grayscale(.4); }
.cta-badge-wrap { position: relative; display: inline-block; margin: 4px 0 22px; }
.soon-ribbon {
  position: absolute;
  top: -10px;
  right: -16px;
  background: var(--green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  transform: rotate(8deg);
}

.hero-art { flex: 1 1 260px; display: flex; justify-content: center; }
.phone-mock {
  width: 230px;
  height: 460px;
  background: var(--ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 60px -24px rgba(22,27,41,.5);
  position: relative;
}
.phone-mock::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.25);
}
.screen-stack {
  position: relative;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
}
.phone-mock .screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 22px;
  text-align: center;
}
.phone-mock .screen-lock {
  background: linear-gradient(180deg, #fff, var(--blue-light));
  z-index: 2;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,.4);
  animation: lockSlide 9s ease-in-out infinite;
}
.phone-mock .lock-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mock .screen strong { font-family: var(--font-heading); font-size: 1.05rem; }
.phone-mock .screen span { font-size: .85rem; color: var(--muted); }
.phone-mock .quiz-btn {
  margin-top: 6px;
  background: var(--green);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}

.phone-mock .screen-app {
  z-index: 1;
  justify-content: space-between;
  gap: 0;
  padding: 18px 14px;
  background: linear-gradient(180deg, #14151c, #05060a);
  color: #fff;
}
.app-topbar {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}
.app-topbar-active {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
}
.app-video { flex: 1; display: flex; align-items: center; justify-content: center; }
.app-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.app-video-kitsch {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, #ff9a9e 0%, #fecfef 30%, #a18cd1 65%, #6dd5ed 100%);
  background-size: 220% 220%;
  animation: kitschGradientShift 9s ease-in-out infinite;
}
.app-video-kitsch .app-play { background: rgba(255,255,255,.4); color: #3a2a4d; }
.kitsch-unicorn, .kitsch-cat {
  position: absolute;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
}
.kitsch-unicorn {
  top: 14%; left: 16%; width: 52px; height: 52px;
  animation: kitschBobUnicorn 3.4s ease-in-out infinite;
}
.kitsch-unicorn svg { width: 100%; height: 100%; }
.kitsch-cat {
  bottom: 14%; right: 14%; width: 44px; height: 44px;
  animation: kitschBobCat 3.8s ease-in-out infinite .4s;
}
.kitsch-cat svg { width: 100%; height: 100%; }
.kitsch-sparkle { position: absolute; display: block; width: 18px; height: 18px; animation: kitschTwinkle 2.4s ease-in-out infinite; }
.kitsch-sparkle svg { width: 100%; height: 100%; }
.kitsch-sparkle-1 { top: 10%; right: 20%; }
.kitsch-sparkle-2 { bottom: 24%; left: 12%; width: 14px; height: 14px; animation-delay: .7s; }
.kitsch-sparkle-3 { top: 42%; right: 10%; width: 16px; height: 16px; animation-delay: 1.3s; }

.kitsch-watermark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  opacity: .9;
}
.kitsch-watermark svg { width: 100%; height: 100%; }

.kitsch-comments {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 20px;
  pointer-events: none;
}
.kitsch-comment {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: .68rem;
  line-height: 1.3;
  padding: 4px 9px;
  border-radius: 999px;
  opacity: 0;
  animation: kitschCommentIn 12s ease-in-out infinite;
}
.kitsch-comment strong { color: #fff; font-weight: 700; margin-right: 3px; }
.kitsch-comment:nth-child(1) { animation-delay: 0s; }
.kitsch-comment:nth-child(2) { animation-delay: 2s; }
.kitsch-comment:nth-child(3) { animation-delay: 4s; }
.kitsch-comment:nth-child(4) { animation-delay: 6s; }
.kitsch-comment:nth-child(5) { animation-delay: 8s; }
.kitsch-comment:nth-child(6) { animation-delay: 10s; }

@keyframes kitschGradientShift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
@keyframes kitschBobUnicorn {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-7px); }
}
@keyframes kitschBobCat {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-5px); }
}
@keyframes kitschTwinkle {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes kitschCommentIn {
  0% { opacity: 0; transform: translateY(10px); }
  4%, 13% { opacity: 1; transform: translateY(0); }
  17%, 100% { opacity: 0; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .app-video-kitsch,
  .kitsch-unicorn,
  .kitsch-cat,
  .kitsch-sparkle,
  .kitsch-comment {
    animation: none;
  }
  .kitsch-comment:first-child { opacity: 1; }
}
.app-meta { width: 100%; text-align: left; }
.app-user { display: block; font-weight: 700; font-size: .85rem; }
.app-caption { display: block; font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.app-actions { display: flex; justify-content: center; gap: 24px; padding-top: 12px; color: #fff; }

@keyframes lockSlide {
  0%, 44% { transform: translateY(-105%); }
  56%, 89% { transform: translateY(0); }
  100% { transform: translateY(-105%); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-mock .screen-lock { animation: none; transform: translateY(0); }
}

.hero-compact { padding: 56px 0 16px; text-align: center; }
.hero-compact .section-head { margin-bottom: 0; }

.download-extra {
  text-align: center;
  margin: 32px 0 0;
  font-size: .95rem;
}

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: 1.9rem; }

/* Problem section */
.problem-section { background: var(--bg-soft); }
.problem-text {
  max-width: 720px;
  margin: 0 auto;
}
.problem-text p { font-size: 1.04rem; }

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.why-block h3 {
  font-size: 1.08rem;
  position: relative;
  padding-left: 18px;
}
.why-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--blue);
}
.why-block p { font-size: .96rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.step:hover { box-shadow: 0 16px 32px -20px rgba(22,27,41,.18); transform: translateY(-2px); }
.step .step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; }

/* Features */
.features-bg { background: var(--bg-soft); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.feature:hover { box-shadow: 0 16px 32px -20px rgba(22,27,41,.18); transform: translateY(-2px); }
.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .35em; }
.feature p { margin: 0; font-size: .95rem; }

/* Screenshots */
.screens {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.screen-card {
  width: 190px;
  height: 350px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
  padding: 18px;
}
.screen-card .placeholder-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: .4em; }
.faq-item p { margin: 0; }

/* Download CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), #1a3fc4);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 56px 28px;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #dbe6ff; }
.cta-banner .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.cta-banner .btn-primary:hover { background: #f1f5ff; }
.cta-note { font-size: .85rem; color: #c7d9ff; margin-top: 16px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a { color: var(--muted); font-size: .9rem; }
.footer-meta {
  width: 100%;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* Legal pages */
.legal-page { padding: 60px 0 84px; }
.legal-page h1 { font-size: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-page .updated { color: var(--muted); font-size: .9rem; }
.legal-page ul { color: var(--muted); }
.legal-page .placeholder { color: var(--blue); font-style: italic; }

/* Contact page */
.contact-form-wrap {
  max-width: 560px;
  margin: 56px 0 0;
}
.contact-form-wrap h2 { font-size: 1.3rem; margin-top: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: .92rem; }
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: .98rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.contact-form .btn { align-self: flex-start; }
.form-field-honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-success {
  background: #ecfdf3;
  border: 1px solid #b8ebcd;
  color: #146c43;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
}
.form-errors {
  background: #fef2f2;
  border: 1px solid #fbd2d2;
  color: #b42318;
  padding: 14px 18px 14px 34px;
  border-radius: 10px;
  margin: 0;
}
.form-errors li { margin-bottom: 4px; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 24px;
    box-shadow: 0 16px 32px -20px rgba(22,27,41,.25);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta-mobile {
    display: block;
    margin-top: 12px;
    background: var(--blue);
    color: #fff;
    text-align: center;
    padding: 13px;
    border-radius: 999px;
    font-weight: 600;
    border-bottom: none;
  }
  .nav-cta-mobile:hover { background: var(--blue-dark); text-decoration: none; }

  .hero-inner { text-align: center; justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-text .lead { margin: 0 auto; }
}

@media (max-width: 420px) {
  .header-inner { padding: 12px 16px; gap: 10px; }
  .header-actions { gap: 8px; }
  .logo span { display: none; }
  .btn-nav { padding: 8px 14px; font-size: .85rem; }
  .hero-text h1 { font-size: 2.1rem; }
}
