:root {
  --bg: #0C0916;
  --surface: #151022;
  --surface-2: #1B1526;
  --border: rgba(255,255,255,.09);
  --text: #FFFFFF;
  --muted: #9E97AD;
  --faint: #6B6478;
  --primary: #4D13EC;
  --coral: #E8785C;
  --green: #22C55E;
  --grad-text: linear-gradient(90deg,#C9B6FF 0%,#8B5CFF 45%,#4D13EC 100%);
  --frame: linear-gradient(160deg,#2c2a33,#0f0e13 60%,#25232b);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--muted); text-decoration: none; }
a:hover { color: var(--text); }
::selection { background: var(--primary); color: #fff; }
img { max-width: 100%; }
.page { min-height: 100vh; overflow-x: clip; position: relative; }
.wrap { max-width: 1200px; margin: 0 auto; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { display: block; line-height: 0; }
.badge img { height: 60px; width: auto; display: block; }
.eyebrow { font: 500 12px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phone { padding: 9px; border-radius: 52px; background: var(--frame); box-shadow: 0 0 0 1px var(--border), 0 40px 100px -30px rgba(0,0,0,.9); }
.phone img { width: 100%; display: block; border-radius: 43px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(12,9,22,.72); border-bottom: 1px solid var(--border); }
.site-header .wrap { padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.brand span { font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.site-header nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; }
.btn { background: linear-gradient(135deg,#2C0B86,#4D13EC); color: #fff; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.btn:hover { color: #fff; }

/* Hero (variant A) */
.hero { position: relative; padding: 96px 24px 0; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; left: 50%; top: 380px; width: 1100px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side,rgba(77,19,236,.55),rgba(77,19,236,.12) 55%,transparent); pointer-events: none; }
.hero-copy { position: relative; max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero-copy .eyebrow { border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; }
.hero h1 { margin: 0; max-width: 820px; font-size: clamp(36px,5.6vw,72px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.hero p { margin: 0; max-width: 620px; font-size: clamp(17px,2vw,20px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.hero-visual { position: relative; max-width: 760px; margin: 64px auto 0; display: flex; justify-content: center; }
.hero-phone { width: min(330px,78vw); padding: 10px; border-radius: 58px; background: var(--frame); box-shadow: 0 0 0 1px var(--border), 0 60px 140px -30px rgba(77,19,236,.8); margin-bottom: -180px; }
.hero-phone img { width: 100%; display: block; border-radius: 48px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: rgba(21,16,34,.88); border: 1.5px solid var(--primary); font-weight: 700; font-size: clamp(15px,2vw,20px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.chip i { width: 10px; height: 10px; border-radius: 50%; }
.chip-streak { left: max(0px, calc(50% - 300px)); top: 150px; }
.chip-streak i { background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.chip-today { right: max(0px, calc(50% - 310px)); top: 420px; }
.chip-today i { background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero-fade { position: relative; height: 180px; background: linear-gradient(transparent, var(--bg) 70%); z-index: 2; }

/* Philosophy (scroll-driven scenes) */
.philo { position: relative; height: 560vh; scroll-margin-top: 70px; }
.philo-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.philo-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%,-50%); background: radial-gradient(closest-side,rgba(77,19,236,.22),transparent); pointer-events: none; }
.scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 24px; opacity: 0; transform: translateY(48px); pointer-events: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.scene.past { transform: translateY(-48px); }
.scene.on { opacity: 1; transform: none; pointer-events: auto; }
.scene-inner { max-width: 1120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.scene h2 { margin: 0; font-size: clamp(34px,4.6vw,60px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.scene h2.big { font-size: clamp(30px,4.6vw,64px); }
.scene h2 .grad { display: inline-block; text-wrap: balance; padding-bottom: .14em; margin-bottom: -.14em; }
.scene p { margin: 0; max-width: 720px; color: var(--muted); font-size: clamp(19px,2.4vw,26px); line-height: 1.6; text-wrap: pretty; }
.scene p strong { color: #fff; font-weight: 600; }
.in-app { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.in-app i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.scene-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.scene-dots span { height: 4px; width: 8px; border-radius: 999px; background: rgba(255,255,255,.18); transition: width .4s, background .4s; }
.scene-dots span.on { width: 28px; background: #fff; }

/* Method */
.section-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.method { padding: 96px 24px; scroll-margin-top: 70px; }
.method .wrap { display: flex; flex-direction: column; gap: 48px; }
.method h2 { margin: 0; font-size: clamp(34px,4.6vw,60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 720px; text-wrap: balance; }
.method .section-head p { margin: 0; max-width: 380px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.step { background: var(--surface); padding: 20px 20px 36px; display: flex; flex-direction: column; gap: 16px; }
.step-img { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 12px; }
.step-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.step-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, var(--surface)); }
.step-meta { display: flex; align-items: center; justify-content: space-between; }
.step-meta span:first-child { font: 500 13px Inter, sans-serif; color: var(--coral); }
.step-meta span:last-child { font: 400 18px Inter, sans-serif; color: #5a5668; }
.step h3 { margin: 8px 0 0; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* Features */
.features { padding: 48px 24px 64px; scroll-margin-top: 70px; }
.features .wrap { display: flex; flex-direction: column; gap: 32px; }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 56px clamp(24px,5vw,72px); border-radius: 24px; background: linear-gradient(180deg,#1B1526,#151022); border: 1px solid var(--border); overflow: hidden; position: relative; }
.feature.rev { flex-direction: row-reverse; }
.feature-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: relative; }
.feature-copy .eyebrow { color: var(--accent); }
.feature h3 { margin: 0; font-size: clamp(32px,4vw,52px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.feature-copy p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 480px; text-wrap: pretty; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pills span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--border); font-size: 14px; }
.feature-visual { flex: 0 1 300px; margin: 0 auto; position: relative; }
.feature-visual::before { content: ""; position: absolute; inset: -60px; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.feature-visual .phone { position: relative; width: min(290px,72vw); }

/* Extras list */
.extras { padding: 96px 24px; }
.extras .wrap { display: flex; flex-direction: column; gap: 44px; }
.extras h2 { margin: 0; font-size: clamp(30px,3.6vw,48px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; max-width: 640px; text-wrap: balance; }
.count { font: 500 13px Inter, sans-serif; color: var(--faint); letter-spacing: .06em; }
.extra-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.extra { position: relative; display: grid; grid-template-columns: 56px minmax(0,1fr) minmax(0,min(380px,40%)); align-items: center; gap: 24px; padding: 18px 8px; border-bottom: 1px solid var(--border); overflow: hidden; }
.extra::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(77,19,236,.22),rgba(77,19,236,0) 70%); opacity: 0; transition: opacity .35s; }
.extra > * { position: relative; }
.extra .n { font: 500 13px Inter, sans-serif; color: var(--faint); transition: color .3s; }
.extra h3 { margin: 0; font-size: clamp(20px,2.4vw,30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; transition: transform .45s cubic-bezier(.2,.7,.2,1), color .3s; }
.extra p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); transition: color .3s; text-wrap: pretty; }
@media (hover: hover) {
  .extra-list:hover .extra h3, .extra-list:hover .extra p { color: var(--faint); }
  .extra-list .extra:hover::before { opacity: 1; }
  .extra-list .extra:hover .n { color: var(--coral); }
  .extra-list .extra:hover h3 { color: #fff; transform: translateX(14px); }
  .extra-list .extra:hover p { color: #fff; }
}

/* Gallery */
.gallery { padding: 48px 0 112px; scroll-margin-top: 70px; }
.gallery .section-head { max-width: 1200px; margin: 0 auto; padding: 0 24px 36px; gap: 16px; }
.gallery h2 { margin: 0; font-size: clamp(30px,4vw,48px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.gallery .hint { font-size: 13px; color: var(--faint); }
.tiles { display: flex; gap: 18px; overflow-x: auto; padding: 0 max(24px, calc((100vw - 1152px) / 2)) 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #2a2540 transparent; }
.tiles img { flex: none; width: 250px; aspect-ratio: 660/1434; border-radius: 24px; display: block; scroll-snap-align: start; border: 1px solid var(--border); }

/* Final CTA */
.final { padding: 0 24px 112px; }
.final-card { max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(120deg,#4A1FC0,#B23A8E 55%,#E8785C); padding: clamp(48px,8vw,104px) clamp(24px,6vw,80px); display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.final-card::before { content: ""; position: absolute; right: -120px; bottom: -200px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side,rgba(255,255,255,.28),transparent); pointer-events: none; }
.final-copy { flex: 1 1 460px; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 20px; }
.final h2 { margin: 0; font-size: clamp(38px,5.6vw,72px); line-height: 1; letter-spacing: -.04em; font-weight: 800; color: #fff; text-wrap: balance; }
.final p { margin: 0; font-size: 19px; line-height: 1.5; color: #fff; max-width: 520px; }
.final .badge { position: relative; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 24px 40px; }
.site-footer > .wrap { display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.footer-brand .brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-brand p { margin: 0; color: var(--faint); font-size: 14px; line-height: 1.55; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-cols h4 { margin: 0; font: 500 11px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.5; color: var(--faint); }
.footer-bottom span:first-child { flex-basis: 100%; max-width: 820px; }
.footer-bottom span:last-child { max-width: 620px; }

@media (max-width: 420px) {
  .site-header .wrap { gap: 14px; padding: 12px 16px; }
  .brand span { font-size: 13px; }
}
@media (max-width: 640px) {
  .extra { grid-template-columns: 36px minmax(0,1fr); gap: 6px 16px; }
  .extra p { grid-column: 2; }
  .chip-streak { top: 90px; }
  .chip-today { top: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene, .extra h3 { transition: none; }
}
