/* MOVA 2.0 — landing page styles */

:root {
  --maroon: #820004;
  --maroon-dark: #5c0003;
  --maroon-light: #a3252a;
  --accent-red: #c7242b;
  --gold: #f39237;
  --gold-light: #ffddb0;
  --bg: #fafafa;
  --bg-alt: #f3ece7;
  --surface: #ffffff;
  --text: #241615;
  --text-muted: #6b5a58;
  --border: #e9ddd6;
  --shadow: 0 20px 45px -20px rgba(130, 0, 4, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-display: "Yeseva One", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--maroon);
}

p { margin: 0 0 1em; }

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

section { position: relative; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-red);
  margin-bottom: 0.6em;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--maroon-dark); }

.btn-ghost {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-ghost:hover { background: rgba(130, 0, 4, 0.06); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--maroon);
  color: #fff;
  padding: 0.8em 1.2em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand img { height: 28px; width: 28px; }

.main-nav {
  display: none;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.3em 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--maroon);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  border: none;
  padding: 0.35em 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--maroon);
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--maroon);
  color: #fff;
}
.lang-switch button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

.header-actions .btn { display: none; }

@media (min-width: 480px) {
  .brand { font-size: 1.25rem; }
  .brand img { height: 34px; width: 34px; }
  .header-actions { gap: 0.8rem; }
  .header-actions .btn {
    display: inline-flex;
    padding: 0.6em 1.3em;
    font-size: 0.9rem;
  }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
}
.hero .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 42ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.6rem;
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.store-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.store-badges img { display: block; width: auto; height: 46px; border-radius: 8px; }
.store-badges a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-visual img {
  max-width: 280px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.sun-decor {
  position: absolute;
  color: var(--maroon);
  opacity: 0.08;
  width: 480px;
  height: 480px;
  right: -140px;
  top: -120px;
  z-index: 0;
  pointer-events: none;
}
.sun-decor.small {
  width: 160px;
  height: 160px;
  right: auto;
  left: -60px;
  top: auto;
  bottom: -60px;
  opacity: 0.1;
}

/* Divider */
.sun-divider {
  display: flex;
  justify-content: center;
  padding: 2.5rem 0;
}
.sun-divider svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

/* Features */
.features { padding: 2rem 0 4rem; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(130, 0, 4, 0.25);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(243, 146, 55, 0.16), rgba(130, 0, 4, 0.08));
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 0.4em;
}
.feature-card p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* Why */
.why { background: var(--maroon); color: #fff; padding: 4rem 0; }
.why .section-head h2, .why .eyebrow { color: #fff; }
.why .eyebrow { color: var(--gold-light); }
.why .section-head p { color: rgba(255,255,255,0.78); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 1.6rem;
}
.why-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1.05rem;
}
.why-card p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.96rem; }

/* Screenshots */
.screens { padding: 4rem 0; }
.screen-strip {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding: 1rem 0.2rem 1.4rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.screen-strip picture, .screen-strip img {
  border-radius: 20px;
}
.screen-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 220px;
}
.screen-item img {
  width: 100%;
  height: auto;
  box-shadow: 0 18px 40px -18px rgba(130,0,4,0.3);
  border: 1px solid var(--border);
}
.screen-item .caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Ratings */
.ratings { padding: 0 0 4rem; }
.rating-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
}
.rating-item .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 0.1em; }
.rating-item .score { font-family: var(--font-display); font-size: 1.6rem; color: var(--maroon); }
.rating-item .meta { color: var(--text-muted); font-size: 0.9rem; }

/* Testimonial */
.testimonial { padding: 1rem 0 4rem; }
.testimonial blockquote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--maroon);
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Download CTA */
.download {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 auto 4rem;
  max-width: var(--container);
  padding: 3.2rem 1.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download .container { max-width: 640px; padding: 0; position: relative; z-index: 1; }
.download .eyebrow { color: var(--gold-light); }
.download h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.download p { color: rgba(255,255,255,0.85); }
.download .store-badges { justify-content: center; margin-top: 1.6rem; }
.download .store-badges img { height: 56px; }
.download .sun-decor { opacity: 0.12; color: #fff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  color: var(--maroon);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.footer-brand img { height: 28px; width: 28px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.8em;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5em; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: var(--maroon); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  justify-content: space-between;
  align-items: center;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; color: var(--maroon); }

/* Responsive */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 860px) {
  .main-nav { display: block; }
  .hero .container { grid-template-columns: 1.1fr 0.9fr; }
  .hero-copy { text-align: left; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero-visual img { max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature-card { transition: none; }
}

/* Legal pages (privacy / terms) */
.legal-header {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.legal-header .back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}
.legal-header .back-link:hover { color: var(--maroon); }
.legal-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.3rem; }
.legal-header .updated { color: var(--text-muted); font-size: 0.9rem; }

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 4rem;
}
.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 2.4rem;
  margin-bottom: 0.7rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text); font-size: 1rem; line-height: 1.7; }
.legal-body ul { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body a { color: var(--maroon); }
.legal-body strong { color: var(--text); }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.6rem;
  font-size: 0.95rem;
}
.legal-body th, .legal-body td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
}
.legal-body th { background: var(--bg-alt); font-weight: 700; }
.legal-body .contact-block {
  margin-top: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.legal-body .contact-block strong { display: block; margin-bottom: 0.2rem; }
