:root {
  --bg: #0c0c0d;
  --surface: #161618;
  --surface-2: #1d1d20;
  --stroke: #2a2a2e;
  --stroke-2: #38383d;
  --cyan: #00F0FF;
  --water: #00DBE9;
  --mint: #00E297;
  --energy: #FFB59A;
  --text: #f5f6f8;
  --muted: #9ea3ad;
  --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, .brand, .stat strong { font-family: 'Sora', system-ui, sans-serif; letter-spacing: -0.025em; }
a { color: inherit; text-decoration: none; }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 26px; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(12,12,13,.78); backdrop-filter: blur(14px); border-bottom-color: var(--stroke); }
.brand { font-weight: 800; font-size: 21px; display: flex; align-items: center; gap: 9px; }
.brand-dot { width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--cyan), var(--water));
  box-shadow: 0 0 18px var(--cyan); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 14px var(--cyan); } 50% { box-shadow: 0 0 26px var(--cyan); } }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.lang-toggle { background: var(--surface-2); color: var(--text); border: 1px solid var(--stroke-2);
  border-radius: 999px; padding: 7px 15px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: 14px; transition: .2s; }
.lang-toggle:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(0,240,255,.25); }

/* aurora */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.blob.b1 { width: 520px; height: 520px; background: var(--cyan); top: -160px; left: -80px; animation: drift1 18s ease-in-out infinite; }
.blob.b2 { width: 460px; height: 460px; background: var(--mint); top: -60px; right: -120px; opacity: .32; animation: drift2 22s ease-in-out infinite; }
.blob.b3 { width: 380px; height: 380px; background: var(--energy); bottom: -180px; left: 30%; opacity: .18; animation: drift1 26s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,30px) scale(1.08); } }

/* hero */
.hero { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 70px 26px 0; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: clamp(520px, 74vh, 780px); padding: 30px 0 50px; }
.pill { display: inline-block; padding: 7px 15px; border-radius: 999px; background: rgba(0,240,255,.09);
  color: var(--cyan); border: 1px solid rgba(0,240,255,.3); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; line-height: 1.02; margin: 20px 0 18px; }
.grad { background: linear-gradient(100deg, var(--cyan), var(--mint) 60%, var(--water)); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.hero-sub { color: var(--muted); font-size: 19px; max-width: 30em; margin-bottom: 30px; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 18px; }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badges.center { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff;
  border: 1px solid #34343a; padding: 11px 19px; border-radius: 15px; transition: transform .18s, border-color .2s, box-shadow .2s; }
.store-badge:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 12px 30px rgba(0,240,255,.18); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.12; }
.store-badge small { font-size: 11px; color: #cfd2d8; }
.store-badge strong { font-size: 18px; font-weight: 700; font-family: 'Sora', sans-serif; }

/* hero stage / phone */
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.orbit { position: absolute; width: 440px; height: 440px; opacity: .5; animation: spin 28s linear infinite; }
.orbit circle { fill: none; stroke: url(#g); stroke: var(--cyan); stroke-width: .3; stroke-dasharray: 2 4; filter: drop-shadow(0 0 6px var(--cyan)); }
@keyframes spin { to { transform: rotate(360deg); } }
.phone-frame { position: relative; width: 290px; aspect-ratio: 1320 / 2868; border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #2a2a2f, #0e0e0f); border: 1px solid var(--stroke-2);
  box-shadow: 0 40px 90px rgba(0,0,0,.65), 0 0 0 1px rgba(0,240,255,.08), inset 0 1px 1px rgba(255,255,255,.06); z-index: 2; }
.phone-frame.floating { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(.6deg); } }
.notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 88px; height: 24px; background: #000; border-radius: 14px; z-index: 3; }
.notch.sm { width: 60px; height: 16px; top: 11px; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; background: linear-gradient(165deg, #00323a, #0e0e0f); }
.phone-frame.noimg img { opacity: 0; }
.phone-frame.noimg::after { content: "Sipone"; position: absolute; inset: 11px; display: grid; place-items: center;
  border-radius: 34px; background: linear-gradient(165deg, #07343b, #0e0e0f); color: rgba(0,240,255,.5);
  font-family: 'Sora'; font-weight: 700; letter-spacing: .1em; }
.phone-frame.sm { width: 220px; }

.chip { position: absolute; z-index: 3; padding: 10px 15px; border-radius: 14px; font-weight: 600; font-size: 14px;
  background: rgba(22,22,24,.72); backdrop-filter: blur(10px); border: 1px solid var(--stroke-2);
  box-shadow: 0 10px 30px rgba(0,0,0,.4); white-space: nowrap; }
.chip-a { top: 12%; left: -2%; color: var(--cyan); animation: floatc 5s ease-in-out infinite; }
.chip-b { top: 46%; right: -6%; color: var(--energy); animation: floatc 5.6s ease-in-out infinite .5s; }
.chip-c { bottom: 12%; left: 2%; color: var(--mint); animation: floatc 6.2s ease-in-out infinite .2s; }
@keyframes floatc { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* marquee */
.marquee { position: relative; z-index: 2; margin-top: 56px; padding: 18px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
  overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollx 26s linear infinite; }
.marquee-track span { font-family: 'Sora'; font-weight: 600; font-size: 22px; color: var(--muted); white-space: nowrap; opacity: .55; }
@keyframes scrollx { to { transform: translateX(-33.33%); } }

/* stats */
.stats { position: relative; z-index: 2; max-width: 1180px; margin: 64px auto; padding: 0 26px; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.stat strong { display: block; font-size: 34px; font-weight: 800; color: var(--cyan); }
.stat span { color: var(--muted); font-size: 14px; }

/* sections */
.section { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 80px 26px; }
.section-alt { background: var(--surface); border-radius: 36px; margin: 0 12px; }
.section-title { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-top: 12px; font-size: 17px; }

/* bento */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cell { position: relative; background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s, transform .25s, box-shadow .25s; overflow: hidden; }
.cell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(0,240,255,.07), transparent 60%); opacity: 0; transition: opacity .3s; }
.cell:hover { border-color: rgba(0,240,255,.45); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.cell:hover::before { opacity: 1; }
.cell.big { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1.05fr auto; align-items: center; gap: 26px;
  background: linear-gradient(150deg, #10302f, var(--surface) 58%); }
.cell.big h3 { font-size: 26px; } .cell.big .feat-icon { width: 64px; height: 64px; font-size: 32px; }
.cell.big .big-visual { display: flex; justify-content: center; align-items: center; }
.phone-frame.xs { width: 196px; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(0,240,255,.08); }
.tag { position: absolute; top: 20px; right: 20px; background: var(--cyan); color: #00191b; font-weight: 700; font-size: 11px;
  letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; }
.feat-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 25px;
  background: rgba(0,240,255,.1); border: 1px solid rgba(0,240,255,.25); margin-bottom: 16px; }
.cell h3 { font-size: 19px; margin-bottom: 9px; }
.cell p { color: var(--muted); font-size: 15px; }

/* steps */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step { background: var(--bg); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 30px 26px; }
.step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-family: 'Sora';
  font-weight: 800; font-size: 20px; color: var(--bg); background: linear-gradient(135deg, var(--cyan), var(--mint)); margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; } .step p { color: var(--muted); font-size: 15px; }

/* shots */
.shots { margin-top: 44px; display: flex; gap: 30px; overflow-x: auto; padding: 12px 4px 26px; scroll-snap-type: x mandatory; }
.shot { scroll-snap-align: center; text-align: center; flex: 0 0 auto; }
.shot figcaption { margin-top: 16px; color: var(--muted); font-weight: 500; }

/* download */
.download { position: relative; z-index: 2; text-align: center; overflow: hidden; padding: 100px 26px; margin: 40px 12px 0; border-radius: 36px; background: var(--surface); }
.download .store-badges { margin-top: 30px; position: relative; z-index: 2; }
.download .section-title, .download .section-sub { position: relative; z-index: 2; }

/* footer */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--stroke); margin-top: 60px; padding: 46px 26px; text-align: center; color: var(--muted); }
.footer-brand { font-family: 'Sora'; font-weight: 800; font-size: 19px; color: var(--text); display: inline-flex; align-items: center; gap: 9px; }
.footer-nav { display: flex; gap: 24px; justify-content: center; margin: 18px 0; }
.footer-nav a { color: var(--muted); transition: color .2s; } .footer-nav a:hover { color: var(--cyan); }
.footer-note { font-size: 14px; } .footer-disclaimer { font-size: 12px; opacity: .65; margin-top: 6px; }

/* privacy page */
.legal { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 56px 26px 80px; }
.legal h1 { font-size: clamp(28px,4vw,42px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; color: var(--cyan); }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; } .legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.legal a.back { display: inline-block; margin-bottom: 24px; color: var(--cyan); }
[data-lang-block] { display: none; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 10px; min-height: auto; padding-bottom: 20px; }
  .hero-copy { order: 1; } .hero-stage { order: 2; min-height: 520px; margin-top: 10px; }
  .hero-sub { margin-left: auto; margin-right: auto; } .store-badges { justify-content: center; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .bento { grid-template-columns: 1fr 1fr; } .cell.big { grid-column: span 2; grid-row: auto; grid-template-columns: 1fr; }
  .cell.big .big-visual { display: none; }
  .steps { grid-template-columns: 1fr; }
  .nav a:not(.lang-toggle) { display: none; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; } .cell.big { grid-column: auto; }
  .chip-a, .chip-c { left: -2%; } .chip-b { right: -2%; }
}
