/* Mora — marketing site. Tracker-free: system fonts, no third-party requests. */

:root {
  --violet: #6c5ce7;
  --violet-2: #8b5cf6;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --ink: #0b1020;
  --body: #4b5566;
  --muted: #8a93a6;
  --bg: #ffffff;
  --bg-soft: #faf9ff;
  --lilac: #f1edff;
  --line: rgba(15, 23, 42, 0.07);
  --card: #ffffff;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 34px rgba(72, 64, 168, 0.12);
  --shadow-lg: 0 30px 70px rgba(72, 64, 168, 0.20);
  --grad: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
  --grad-soft: linear-gradient(135deg, #eef2ff, #f5f0ff);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--violet); background: var(--lilac);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(108,92,231,0.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: 0.98rem; padding: 13px 22px;
  border-radius: 13px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: rgba(108,92,231,0.4); }

.appstore-badge { display: inline-block; transition: transform 0.18s ease; }
.appstore-badge:hover { transform: translateY(-2px); text-decoration: none; }
.appstore-badge img { height: 52px; width: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img.icon { width: 32px; height: 32px; border-radius: 9px; box-shadow: var(--shadow-xs); }
.brand .wordmark { height: 20px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--body); font-weight: 550; font-size: 0.94rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { margin-left: 2px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background: linear-gradient(180deg, var(--bg-soft), #fff 70%); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none;
}
.hero::before { width: 540px; height: 540px; background: radial-gradient(circle, rgba(167,139,250,0.55), transparent 62%); top: -200px; left: -140px; animation: drift1 20s ease-in-out infinite; }
.hero::after { width: 480px; height: 480px; background: radial-gradient(circle, rgba(96,165,250,0.45), transparent 62%); top: 10px; right: -160px; animation: drift2 24s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-36px, 24px); } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 1.16rem; color: var(--body); margin: 20px 0 30px; max-width: 30em; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }

/* ---------- Animated product demo (replaces screenshots) ---------- */
.demo { position: relative; display: flex; justify-content: center; }
.demo-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 12px;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.demo-spark { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--violet); }
.demo-lang { font-size: 0.78rem; font-weight: 600; color: var(--muted); background: var(--lilac); padding: 4px 10px; border-radius: 999px; }
.demo-input {
  display: flex; align-items: center; gap: 10px;
  background: #f7f6fd; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; margin-bottom: 18px;
}
.demo-input .ic { color: var(--violet); flex: 0 0 auto; }
.demo-typed { font-size: 1.18rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; min-height: 1.4em; }
.demo-caret { display: inline-block; width: 2px; height: 1.15em; background: var(--violet); margin-left: 1px; vertical-align: -0.18em; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.demo-tense { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); margin: 0 4px 10px; opacity: 0; transition: opacity 0.4s ease; }
.demo-tense.show { opacity: 1; }
.demo-rows { list-style: none; margin: 0; padding: 0; }
.demo-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 4px; border-bottom: 1px solid rgba(15,23,42,0.05);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.demo-row:last-child { border-bottom: 0; }
.demo-row.show { opacity: 1; transform: translateY(0); }
.demo-person { font-size: 0.92rem; color: var(--muted); width: 92px; flex: 0 0 auto; }
.demo-form { font-size: 1rem; font-weight: 650; color: var(--ink); flex: 1; }
.demo-audio { display: flex; align-items: flex-end; gap: 2px; height: 16px; flex: 0 0 auto; }
.demo-audio span { width: 3px; border-radius: 2px; background: var(--violet); animation: eq 1.1s ease-in-out infinite; }
.demo-audio span:nth-child(1) { height: 6px; animation-delay: 0s; }
.demo-audio span:nth-child(2) { height: 13px; animation-delay: 0.18s; }
.demo-audio span:nth-child(3) { height: 9px; animation-delay: 0.36s; }
@keyframes eq { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
.reveal.d5 { transition-delay: 0.30s; }

/* ---------- Languages marquee ---------- */
.marquee { position: relative; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-label { text-align: center; color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-bottom: 18px; }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-weight: 600; color: var(--ink); font-size: 0.96rem;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section ---------- */
.section { position: relative; padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { font-size: 1.1rem; margin-top: 14px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(108,92,231,0.22); }
.feature .ic { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #fff; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: 0.96rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.step .num { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: 0.96rem; }

/* ---------- Statement band (effort reversal) ---------- */
.statement { text-align: center; max-width: 760px; margin: 0 auto; }
.statement h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; }
.statement h2 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statement p { font-size: 1.18rem; margin-top: 18px; color: var(--body); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 740px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-xs); }
.plan.featured { border: 1.5px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-md); }
.plan .plan-badge { position: absolute; top: -13px; left: 28px; background: var(--grad); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.03em; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.plan .price { font-size: 2.5rem; font-weight: 800; color: var(--ink); margin: 10px 0 2px; letter-spacing: -0.04em; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .sub { font-size: 0.94rem; color: var(--body); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; font-size: 0.96rem; }
.plan li svg { flex: 0 0 auto; margin-top: 3px; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 28px auto 0; max-width: 620px; }

/* ---------- FAQ ---------- */
.faq { max-width: 740px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 2px 20px; margin-bottom: 12px; box-shadow: var(--shadow-xs); transition: box-shadow 0.2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); padding: 17px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform 0.25s ease; flex: 0 0 auto; color: var(--muted); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: 84px 0; }
.cta-card { position: relative; overflow: hidden; background: var(--grad); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.cta-card p { color: rgba(255, 255, 255, 0.94); font-size: 1.1rem; max-width: 30em; margin: 14px auto 28px; }
.cta-card .glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); filter: blur(30px); top: -140px; right: -70px; animation: drift1 16s ease-in-out infinite; }
.cta-card .appstore-badge img { height: 56px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0b18; color: #c7cbe0; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.site-footer .brand .wordmark { height: 20px; }
.site-footer p { color: #9aa0c0; font-size: 0.94rem; }
.site-footer h4 { color: #fff; font-size: 0.92rem; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #c7cbe0; font-size: 0.94rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #8a90b4; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 800px; }
.legal-head { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; }
.legal-head .updated { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
.legal h2 { font-size: 1.3rem; font-weight: 800; margin: 38px 0 12px; }
.legal h3 { font-size: 1.06rem; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 1rem; color: var(--body); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .callout { background: var(--lilac); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 22px 0; }
.legal .callout p { margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .demo { order: -1; }
  .features, .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; box-shadow: var(--shadow-md); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 11px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .section { padding: 64px 0; }
  .cta-card { padding: 44px 24px; }
  .hero { padding: 56px 0 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
