:root {
  color-scheme: light;
  --bg: #f5f6fa;
  --surface: rgba(255,255,255,.78);
  --surface-solid: #ffffff;
  --surface-blue: #eaf3ff;
  --surface-violet: #f0eaff;
  --text: #17191f;
  --muted: #727886;
  --line: rgba(18,22,30,.075);
  --blue: #3c89f7;
  --violet: #9750f3;
  --shadow: 0 16px 42px rgba(37,45,68,.08);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --wrap: min(1120px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: var(--wrap); margin-inline: auto; }

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
}
.ambient-one { width: 360px; height: 360px; top: -140px; left: -120px; background: rgba(61,185,244,.20); }
.ambient-two { width: 430px; height: 430px; top: 180px; right: -220px; background: rgba(154,73,244,.13); }

.topbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.logo-shell {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(38,49,75,.07);
  backdrop-filter: blur(20px);
  overflow: visible;
}
.logo-shell img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
}
.brand-copy { min-width: 0; }
.brand-copy strong { display: block; letter-spacing: -.025em; font-size: 1.08rem; white-space: nowrap; }
.brand-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: .84rem; white-space: nowrap; }

.nav {
  display: flex;
  gap: 8px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.nav a {
  padding: 10px 15px;
  border-radius: 13px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
}
.nav a:hover { background: rgba(255,255,255,.82); color: var(--text); }

.hero {
  text-align: center;
  max-width: 920px;
  padding: 68px 10px 74px;
  overflow: visible;
}
.pill, .overline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}
.hero h1 {
  margin: 20px auto 18px;
  max-width: 100%;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
  overflow: visible;
}
.hero-line, .hero-gradient {
  display: block;
  max-width: 100%;
  padding-inline: .03em;
}
.hero-gradient {
  margin-top: .06em;
  background: linear-gradient(110deg, #42b9ef 4%, #4787f8 46%, #9d4ef3 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: visible;
}
.hero > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.action {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease;
}
.action:hover { transform: translateY(-1px); }
.action-primary {
  color: #fff;
  background: linear-gradient(135deg, #3f98f7, #785ff4);
  box-shadow: 0 13px 28px rgba(77,108,238,.20);
}
.action-secondary {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.free-note {
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  color: #505663;
  font-size: .9rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #2cc56b;
  box-shadow: 0 0 0 5px rgba(44,197,107,.10);
}

.section { padding: 28px 0 44px; }
.section-title { max-width: 700px; margin-bottom: 24px; }
.section-title h2 {
  margin: 11px 0 8px;
  font-size: clamp(2.15rem, 4.5vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.section-title p { margin: 0; color: var(--muted); line-height: 1.55; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.tile {
  min-height: 212px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}
.tile-wide { grid-column: span 2; }
.tile-shield { background: linear-gradient(145deg, rgba(234,243,255,.95), rgba(255,255,255,.75)); }
.tile-pro { background: linear-gradient(145deg, rgba(240,234,255,.96), rgba(255,255,255,.76)); }
.tile-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  font-size: 1.55rem;
  box-shadow: 0 7px 18px rgba(35,45,70,.06);
}
.tile h3 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -.035em; }
.tile p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .96rem; max-width: 590px; }

.screens {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 2px 14px;
}
.screens::-webkit-scrollbar { display: none; }
.screen {
  flex: 0 0 min(420px, 80vw);
  margin: 0;
  padding: 14px;
  scroll-snap-align: start;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}
.screen-media {
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(180deg, #f0f2f8, #eaedf5);
}
.screen-media img { width: 100%; max-height: 565px; object-fit: contain; }
.screen figcaption { padding: 15px 5px 5px; display: grid; gap: 5px; }
.screen figcaption strong { font-size: 1.08rem; letter-spacing: -.02em; }
.screen figcaption span { color: var(--muted); line-height: 1.45; font-size: .92rem; }

.carousel-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
}
.progress-segment {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(70,90,130,.14);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, transform .2s ease;
}
.progress-segment.active {
  width: 42px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.progress-segment:focus-visible {
  outline: 2px solid rgba(60,137,247,.35);
  outline-offset: 4px;
}

.footer {
  min-height: 150px;
  margin-top: 24px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-left { display: flex; align-items: center; gap: 12px; }
.logo-shell-small { width: 43px; height: 43px; border-radius: 14px; }
.logo-shell-small img { width: 32px; height: 32px; }
.footer strong { display: block; letter-spacing: -.025em; }
.footer p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.creator a { color: var(--blue); font-weight: 700; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .nav { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tile-wide { grid-column: span 2; }
}

@media (max-width: 680px) {
  :root { --wrap: min(100% - 24px, 560px); }
  .topbar { min-height: 76px; }
  .logo-shell { width: 46px; height: 46px; border-radius: 15px; }
  .logo-shell img { width: 35px; height: 35px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .78rem; }

  .hero {
    padding: 38px 6px 46px;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.15rem);
    line-height: 1.01;
    letter-spacing: -.052em;
    padding-inline: 4px;
  }
  .hero-gradient {
    margin-inline: auto;
    max-width: 10.8em;
    padding-inline: .08em;
  }
  .hero > p { font-size: .98rem; line-height: 1.58; }
  .hero-actions { gap: 9px; margin-top: 22px; }
  .action { min-height: 49px; padding: 0 16px; border-radius: 16px; font-size: .94rem; }
  .free-note { font-size: .84rem; align-items: flex-start; text-align: left; }

  .section { padding: 18px 0 32px; }
  .section-title { margin-bottom: 18px; }
  .section-title h2 { font-size: 2.25rem; }

  .tiles {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 10px;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile, .tile-wide {
    grid-column: auto;
    flex: 0 0 82%;
    min-height: 190px;
    padding: 21px;
    scroll-snap-align: start;
  }

  .screen {
    flex-basis: 84%;
    padding: 12px;
  }
  .screen-media { min-height: 430px; border-radius: 23px; }
  .screen-media img { max-height: 520px; }

  .carousel-progress {
    justify-content: center;
    margin-top: 2px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 28px 0 36px;
    gap: 12px;
  }
}

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