/* Shillo marketing site — shares the app's own design tokens
   (see lib/design/tokens.dart) for brand consistency. Dark-theme-first
   by deliberate choice: the captured screenshots are dark, and the
   logo-derived deep-teal/mint palette is the app's more distinctive
   identity. */

:root {
  --ink: #F2EDDF;
  --muted: #8CA39D;
  --separator: #2C4A45;
  --background: #0E2B29;
  --surface: #16403B;
  --surface-alt: rgba(242, 237, 223, 0.06);
  --primary: #5BE2AC;
  --on-primary: #0E2B29;
  --primary-tint: rgba(91, 226, 172, 0.14);
  --negative: #FF6B5E;
  --radius-card: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --max-width: 1120px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 43, 41, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--separator);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--primary);
  color: var(--on-primary) !important;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
}

/* ── Hero ── */
.hero {
  padding: 88px 0 48px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(91, 226, 172, 0.16), transparent);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero h1 span { color: var(--primary); }
.hero p.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--radius-md);
  display: inline-block;
  box-shadow: 0 10px 30px rgba(91, 226, 172, 0.25);
}
.btn-secondary {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--separator);
}
.coming-soon-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.hero-art { display: flex; justify-content: center; gap: 18px; perspective: 1400px; }
.phone-frame {
  width: 220px;
  border-radius: 30px;
  overflow: hidden;
  border: 6px solid #06201e;
  box-shadow: var(--shadow-soft);
  background: var(--background);
}
.phone-frame img { display: block; width: 100%; }
.phone-front { transform: rotate(-4deg) translateY(6px); z-index: 2; }
.phone-back { transform: rotate(6deg) translateY(28px) scale(0.94); opacity: 0.85; z-index: 1; margin-left: -70px; }

/* ── Sections ── */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .eyebrow { display: inline-flex; }
.section-head h2 {
  font-size: 34px;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 12px;
}
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ── Feature grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--radius-card);
  padding: 28px 26px;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.feature-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ── Showcase (screenshot row) ── */
.showcase-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 8px 4px 4px;
}
.showcase-item {
  flex: 0 0 auto;
  width: 220px;
}
.showcase-item .phone-frame { width: 220px; margin: 0 auto 14px; }
.showcase-item p {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--separator);
  padding: 40px 0;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.footer-brand img { height: 18px; opacity: 0.8; }

/* ── Legal / content pages ── */
.legal {
  padding: 64px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { color: #D9E4E1; font-size: 15.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--primary); font-weight: 600; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}
.back-link:hover { color: var(--ink); }

/* ── Mobile nav toggle ── */
.nav-toggle { display: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-art { margin-top: 24px; }
  .features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 38px; }
  .cta-band { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .phone-frame { width: 170px; }
  .phone-back { margin-left: -50px; }
  .hero { padding: 56px 0 32px; }
  section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .legal h1 { font-size: 28px; }
}
