/* Mobile-first, fluid across all resolutions. */
:root {
  --indigo: #4b3ff5;
  --teal: #199ee0;
  --bg: #0a0c11;
  --bg-soft: #0e1017;
  --card: #14171f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f0f2f7;
  --muted: #9aa0ad;
  --muted2: #6b7280;
  --radius: 16px;
  --max: 1240px;
  --pad: clamp(18px, 5vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(100deg, var(--indigo), var(--teal));
  color: #fff; font-weight: 600; border-radius: 12px;
  padding: 13px 22px; white-space: nowrap;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  box-shadow: 0 10px 26px rgba(75, 63, 245, 0.32);
}
.btn:active { transform: translateY(1px); }
.btn-alt { background: #1b1f28; box-shadow: none; border: 1px solid var(--line-strong); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-ic { font-size: 16px; opacity: 0.85; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(75, 63, 245, 0.42); }
  .btn-alt:hover { background: #222736; box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin-inline: auto; padding: 12px var(--pad);
  backdrop-filter: saturate(160%) blur(14px);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 12, 17, 0.72); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 16px; font-size: 14.5px; color: var(--muted); }
.nav-links a:not(.btn) { display: none; }

/* Hero */
.hero {
  max-width: var(--max); margin-inline: auto; padding: clamp(40px, 8vw, 96px) var(--pad) clamp(48px, 7vw, 80px);
  display: grid; gap: clamp(30px, 5vw, 56px); position: relative;
}
.hero::before {
  content: ""; position: absolute; left: -6%; top: -8%;
  width: min(680px, 90%); aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(75, 63, 245, 0.32), transparent 60%);
  filter: blur(24px); pointer-events: none;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.pill {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(42px, 7.5vw, 68px); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: clamp(16px, 2.1vw, 19px); color: var(--muted); max-width: 40ch; margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.cta .btn { flex: 1 1 auto; min-width: 210px; }
.cta-note { font-size: 13.5px; color: var(--muted2); margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font-size: 13px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
}

/* Hero screenshot with gradient frame + glow */
.hero-shot { position: relative; }
.hero-shot::after {
  content: ""; position: absolute; inset: -8% -6% -14%; z-index: -1;
  background: radial-gradient(60% 60% at 60% 40%, rgba(25, 158, 224, 0.25), transparent 70%);
  filter: blur(30px);
}
.hero-shot img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* Sections */
section h2 {
  font-size: clamp(27px, 5vw, 40px); font-weight: 800; text-align: center;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.features { max-width: var(--max); margin-inline: auto; padding: clamp(44px, 7vw, 80px) var(--pad); }
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 26px); transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
@media (hover: hover) { .card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: #171b24; } }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 15px; }
.ic-a { background: rgba(10,132,255,.16); color: #4aa3ff; }
.ic-b { background: rgba(52,199,89,.16); color: #46d16a; }
.ic-c { background: rgba(191,90,242,.16); color: #cd7bf5; }
.ic-d { background: rgba(255,159,10,.16); color: #ffb340; }
.ic-e { background: rgba(100,210,255,.16); color: #7ddbff; }
.ic-f { background: rgba(255,100,130,.16); color: #ff8199; }
.card h3 { font-size: 18px; margin-bottom: 7px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* Screens — uniform, horizontally-scrollable strip (same on desktop & mobile) */
.screens { padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 7vw, 80px); }
.screens h2 { padding-inline: var(--pad); }
.shots-scroll {
  display: flex; gap: clamp(14px, 2.5vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--pad) 18px;
  scroll-padding-inline: var(--pad);
  -webkit-overflow-scrolling: touch;
}
.shots-scroll::-webkit-scrollbar { height: 8px; }
.shots-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.shots-scroll::-webkit-scrollbar-track { background: transparent; }
.shot-card {
  flex: 0 0 min(86%, 520px); scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 14px;
}
.shot-card img {
  width: 100%; aspect-ratio: 1100 / 720; object-fit: cover; object-position: top left;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.shot-card figcaption { font-size: 16px; color: var(--muted); padding-inline: 2px; }
.shot-card figcaption strong { color: var(--text); display: block; font-size: 19px; margin-bottom: 4px; }

/* Download CTA */
.download-cta {
  text-align: center; padding: clamp(56px, 8vw, 88px) var(--pad);
  background: radial-gradient(120% 100% at 50% 0%, rgba(75,63,245,.14), transparent 60%);
  border-top: 1px solid var(--line);
}
.download-cta img { border-radius: 16px; margin: 0 auto 16px; }
.download-cta h2 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 10px; }
.download-cta p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.cta-center { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 480px; margin-inline: auto; }
.cta-center .btn { flex: 1 1 200px; }

/* Footer */
.footer {
  max-width: var(--max); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 30px var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center;
}
.footer .heart { color: #ff5b7a; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; margin-inline: auto; padding: clamp(40px, 7vw, 80px) var(--pad); }
.legal h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--muted2); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: clamp(19px, 3vw, 23px); font-weight: 700; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: #7ddbff; }
.legal .back { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.legal .back:hover { color: var(--text); }

/* ===== Tablet ===== */
@media (min-width: 620px) {
  .nav-links a:not(.btn) { display: inline; }
  .nav-links a:hover { color: var(--text); }
  .cta .btn { flex: 0 0 auto; }
  .grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Hero side-by-side (there's room) ===== */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.08fr; align-items: center; }
  .hero-copy { padding-right: 10px; }

  /* Desktop "See it": alternating image/description rows, uniform image size */
  .shots-scroll {
    flex-direction: column; overflow: visible; scroll-snap-type: none;
    gap: clamp(30px, 4vw, 52px);
    max-width: var(--max); margin-inline: auto;
    padding: 8px var(--pad) 0;
  }
  .shot-card {
    flex: none; display: grid; grid-template-columns: 1.45fr 1fr;
    gap: clamp(30px, 4vw, 54px); align-items: center;
  }
  /* Alternate sides — swap the columns so the IMAGE stays in the wide one
     (keeps every screenshot the same size). */
  .shot-card:nth-child(even) { grid-template-columns: 1fr 1.45fr; }
  .shot-card:nth-child(even) img { grid-column: 2; grid-row: 1; }
  .shot-card:nth-child(even) figcaption { grid-column: 1; grid-row: 1; }
  .shot-card figcaption { font-size: 18px; }
  .shot-card figcaption strong { font-size: clamp(21px, 2.6vw, 26px); margin-bottom: 6px; }
}

/* ===== Desktop / large ===== */
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer { flex-direction: row; justify-content: space-between; }
}
