/* =========================================================
   Lasha — Design System
   Brand tokens derived from the Lasha style guide
   ========================================================= */

:root {
  /* Primary */
  --primary-1: #4F1D9B;
  --primary-2: #6F1CB3;
  --primary-3: #9630A1;
  --primary-4: #BB438F;
  --primary-5: #EEEAFE;

  /* Secondary */
  --secondary-1: #E77874;
  --secondary-2: #FFCF52;
  --secondary-3: #5BC1F0;
  --secondary-4: #F6E9E7;

  /* Neutrals */
  --neutral-1: #FDFCFC;
  --neutral-2: #F9F9F9;
  --neutral-3: #F0EFF4;
  --neutral-4: #ADADAD;
  --neutral-5: #606060;
  --neutral-6: #2E2E2E;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-soft: var(--neutral-3);
  --ink: #1c1326;
  --ink-soft: var(--neutral-5);
  --line: #e9e6f0;

  --brand-gradient: linear-gradient(135deg, #4F1D9B 0%, #9630A1 55%, #BB438F 100%);
  --brand-gradient-soft: linear-gradient(135deg, #f6f1ff 0%, #fdeef7 100%);

  /* Type scale (px / line-height) from style guide */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / radius */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(28, 19, 38, .06), 0 2px 8px rgba(28, 19, 38, .04);
  --shadow: 0 10px 30px rgba(79, 29, 155, .10), 0 2px 8px rgba(28, 19, 38, .05);
  --shadow-lg: 0 30px 70px rgba(79, 29, 155, .18), 0 8px 24px rgba(28, 19, 38, .08);

  --container: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--primary-3); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--neutral-2); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary-3); margin-bottom: 16px;
}
.lead { font-size: 20px; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.text-gradient {
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Type scale */
h1, .h1 { font-size: clamp(2.4rem, 5.2vw, 3.4rem); }
h2, .h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
h3, .h3 { font-size: 1.4rem; }
h4, .h4 { font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand-gradient); color: #fff; box-shadow: 0 8px 22px rgba(123, 31, 176, .30); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(123, 31, 176, .40); color: #fff; }
.btn--ghost { background: #fff; color: var(--primary-2); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--primary-4); color: var(--primary-2); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: rgba(255,255,255,.24); color: #fff; }

/* App Store badge */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .15s ease, box-shadow .2s ease;
}
.appstore:hover { text-decoration: none; color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.26); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore img { width: clamp(150px, 11vw, 165px); height: auto; display: block; }
.appstore .as-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .as-small { font-size: 11px; opacity: .85; letter-spacing: .02em; }
.appstore .as-big { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--neutral-5); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--primary-2); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 600px at 85% -10%, #f4ecff 0%, rgba(244,236,255,0) 60%),
  radial-gradient(900px 500px at 5% 110%, #fdeef7 0%, rgba(253,238,247,0) 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 72px 0 64px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--neutral-5); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--primary-3); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img { filter: drop-shadow(0 40px 60px rgba(79,29,155,.22)); width: 100%; max-width: 520px; }
.hero-blob { position: absolute; inset: 0; z-index: -1; }

/* ---------- Stat band ---------- */
.statband { background: var(--brand-gradient); color: #fff; }
.statband .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 24px; }
.stat { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: 14px; opacity: .9; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e3d8f5; }
.feature-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-gradient-soft); color: var(--primary-2);
}
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.feature-card p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 110px; }
.showcase--rev .showcase-text { order: 2; }
.showcase--rev .showcase-art { order: 1; }
.showcase-art { display: flex; justify-content: center; }
.showcase-art img { width: 100%; max-width: 340px; filter: drop-shadow(0 30px 50px rgba(28,19,38,.18)); }
.showcase-text h2 { margin-bottom: .35em; }
.showcase-text .lead { margin-bottom: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--ink); font-size: 16px; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--primary-3); margin-top: 1px; }
.showcase-art--wide img { max-width: 560px; }

/* ---------- Security band ---------- */
.security-ico svg { width: 42px; height: 42px; color: var(--secondary-3); }
.security h2 { color: #fff; }
.security p { color: rgba(255,255,255,.78); margin: 0; max-width: 64ch; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card--featured { border: 2px solid var(--primary-3); box-shadow: var(--shadow); position: relative; }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-gradient); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card .tag { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-sub { font-size: 14px; color: var(--primary-3); font-weight: 600; min-height: 20px; margin: 8px 0 10px; }
.launch-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #b45309; background: #fef3c7; border: 1px solid #fde68a; border-radius: 999px; padding: 3px 10px; margin-bottom: 16px; }
.price-card .check-list { margin-bottom: 26px; flex: 1; }
.price-card .check-list li { font-size: 15px; margin-bottom: 12px; }
.price-card .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; position: relative; font-family: inherit; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--primary-3); transition: transform .2s; }
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a { padding: 0 0 22px; color: var(--ink-soft); font-size: 16px; max-width: 70ch; }
details.faq-item > summary { list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-card { background: var(--brand-gradient-soft); border-radius: var(--radius-xl); padding: 40px; }
.about-people { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.person { display: flex; gap: 14px; align-items: center; }
.person-av { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-gradient); color: #fff; display: grid; place-items: center; font-weight: 700; }
.person b { display: block; }
.person div span { color: var(--ink-soft); font-size: 14px; }

/* ---------- Final CTA ---------- */
.cta-band { background: var(--brand-gradient); border-radius: var(--radius-xl); color: #fff; text-align: center; padding: 72px 32px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact form ---------- */
.contact-form { max-width: 600px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 20px; }
.contact-honeypot { display: none !important; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-field label span { color: var(--primary-2); margin-left: 2px; }
.contact-field input,
.contact-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; resize: vertical; }
.contact-field input:focus,
.contact-field textarea:focus { outline: none; border-color: var(--primary-3); box-shadow: 0 0 0 3px rgba(150, 48, 161, .12); }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--ink-muted, #b0a8bf); }
.contact-status { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 500; }
.contact-status--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.contact-status--error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.contact-submit { align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--neutral-6); color: #cfc8da; padding: 64px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand img { filter: brightness(0) invert(1); }
.footer-brand p { color: #a59cb5; max-width: 34ch; margin-top: 14px; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { color: #cfc8da; display: block; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8e85a0; font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--neutral-4); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 17px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 8px; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 32px; font-weight: 600; }

/* ---------- Page entrance animation ---------- */
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: fadein-up 1.1s ease both; }
.hero-art  { animation: fadein-up 1.1s .15s ease both; }
.legal     { animation: fadein-up 1.1s ease both; }
.fadein-up { animation: fadein-up 1.1s ease both; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 360px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .statband .container { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .showcase, .about { grid-template-columns: 1fr; gap: 32px; }
  .showcase--rev .showcase-text, .showcase--rev .showcase-art { order: initial; }
  .showcase-art { order: -1; }
  .showcase + .showcase { margin-top: 72px; }
  .security { grid-template-columns: 1fr; padding: 40px; text-align: center; justify-items: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  body { font-size: 17px; }
  .nav-links, .nav-actions .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav[data-open="true"] .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 18px; align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .security { padding: 32px 22px; }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .hero-cta .appstore { width: 100%; justify-content: center; }
}
