/* Sububu landing page. Colors and type follow lib/core/theme/tokens.dart. */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/InterTight-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #121310;
  --ink-2: #3A3B36;
  --muted: #57574F;
  --bg: #F6F5F1;
  --card: #FFFFFF;
  --line: #E6E4DC;
  --mint: #EAF7F0;
  --mint-2: #CDEFD9;
  --blue: #2F5BEA;
  --blue-2: #5B7CF7;
  --blue-soft: #E4EAFE;
  --coral: #D33A21;
  --coral-soft: #FFE6DE;
  --amber: #FFB020;
  --amber-soft: #FFF1D2;
  --green: #1A7F45;
  --green-soft: #DDF3E5;
  --violet: #7B5CF0;
  --violet-soft: #ECE6FF;
  --night: #0F1630;
  --night-2: #1B2550;
  --radius: 24px;
  --shadow-sm: 0 2px 8px rgba(18, 19, 16, .06);
  --shadow: 0 10px 30px rgba(18, 19, 16, .08), 0 2px 6px rgba(18, 19, 16, .05);
  --shadow-lg: 0 40px 80px rgba(18, 30, 60, .18), 0 12px 24px rgba(18, 30, 60, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ---------- buttons, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges--center { justify-content: center; }
.store { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 22px 10px 16px; border-radius: 16px; background: #0B0C0A; color: #fff; text-decoration: none; border: 1px solid #2B2C28; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .25s var(--ease), box-shadow .25s var(--ease); overflow: hidden; }
.store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.24); }
.store:hover::after { transform: translateX(120%); }
.store__logo { width: 28px; height: 28px; flex: none; }
.store__txt { display: flex; flex-direction: column; line-height: 1.1; }
.store__txt small { font-size: .72rem; opacity: .8; letter-spacing: .02em; }
.store__txt b { font-family: var(--display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; }
.store--apple { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.store--apple .store__txt small { opacity: .65; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.eyebrow--light { color: #9DEBBC; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(26,127,69,.5); animation: ping 2s infinite; }
.grad { background: linear-gradient(90deg, var(--blue), var(--violet) 55%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.fine--light { color: rgba(255,255,255,.7); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav.is-scrolled { background: rgba(246,245,241,.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 rgba(18,19,16,.06); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.04em; }
.brand img { border-radius: 10px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav__links a:hover { background: rgba(18,19,16,.06); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 0; background: linear-gradient(180deg, var(--mint) 0%, #F1FAF5 55%, var(--bg) 100%); overflow: hidden; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
.blob--a { width: 520px; height: 520px; background: #BFD0FF; top: -160px; right: -120px; }
.blob--b { width: 420px; height: 420px; background: #FFE2A8; top: 260px; right: 28%; animation-delay: -6s; }
.blob--c { width: 360px; height: 360px; background: #BDEFD0; top: 40px; left: -140px; animation-delay: -12s; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: calc(100vh - 130px); padding-bottom: 120px; }
.hero__title { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 850; letter-spacing: -.045em; line-height: .98; margin-top: 18px; }
.hl { position: relative; display: inline-block; color: var(--blue); }
.hl svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.hl path { fill: none; stroke: var(--amber); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .7s var(--ease) forwards; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 34em; margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid rgba(18,19,16,.06); font-weight: 600; font-size: .9rem; color: var(--ink-2); backdrop-filter: blur(8px); }
.ico { width: 16px; height: 16px; display: inline-block; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; color: var(--green); }
.ico--lock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ico--phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.ico--globe { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.8 3 2.8 15 0 18M12 3c-2.8 3-2.8 15 0 18'/%3E%3C/svg%3E"); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(47,91,234,.22); animation: spin 60s linear infinite; }
.ring--1 { width: 520px; height: 520px; }
.ring--2 { width: 660px; height: 660px; border-color: rgba(26,127,69,.16); animation-duration: 90s; animation-direction: reverse; }

/* phone mockup */
.phone { position: relative; width: 300px; aspect-ratio: 540 / 1169; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2A2B27, #0B0C0A); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08); transform-style: preserve-3d; }
.phone::before { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 64px; border-radius: 3px; background: #1A1B18; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #0B0C0A; }
.phone--hero { width: 320px; animation: floaty 7s ease-in-out infinite; z-index: 2; }
.phone--sm { width: 240px; border-radius: 38px; padding: 9px; }
.phone--sm .phone__screen { border-radius: 30px; }
.phone--sm .phone__notch { top: 16px; width: 70px; height: 20px; }
.shot { position: absolute; inset: 0; opacity: 0; z-index: 0; transform: translateY(18px) scale(1.03); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.shot.is-on { opacity: 1; z-index: 2; transform: none; }
.shot.was-on { opacity: 1; z-index: 1; transform: none; transition: none; }

/* notification toasts */
.toast { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; width: 270px; padding: 12px 16px 12px 12px; border-radius: 20px; background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow); opacity: 0; }
.toast img { width: 42px; height: 42px; flex: none; }
.toast div { display: flex; flex-direction: column; line-height: 1.25; }
.toast b { font-size: .92rem; }
.toast span { font-size: .8rem; color: var(--muted); }
.toast__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; font-weight: 800; color: #fff; }
.toast__ico--coral { background: var(--coral); }
.toast__ico--green { background: var(--green); }
.toast--1 { top: 70px; left: -30px; animation: toastIn 9s 1s var(--ease) infinite; }
.toast--2 { top: 300px; right: -40px; animation: toastIn 9s 4s var(--ease) infinite; }
.toast--3 { bottom: 90px; left: -10px; animation: toastIn 9s 7s var(--ease) infinite; }
.hero__owl { position: absolute; z-index: 4; width: 140px; right: 0; bottom: 20px; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0,0,0,.12)); }
.hero__scene { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: url("img/scene_mint.svg") center bottom / cover no-repeat; opacity: .4; z-index: -1; mask: linear-gradient(transparent, #000 60%); -webkit-mask: linear-gradient(transparent, #000 60%); }

/* ---------- marquee ---------- */
.marquee { direction: ltr; overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__row { display: flex; }
.marquee span { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.marquee span::after { content: "✦"; color: var(--amber); font-size: .9rem; }

/* ---------- stats ---------- */
.stats { padding: 80px 0 30px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat b { display: inline-block; direction: ltr; font-family: var(--display); font-size: 3rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; background: linear-gradient(135deg, var(--ink), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg), #EEF2FB 30%, #EEF2FB 70%, var(--bg)); }
.head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.head p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; margin-top: 16px; }
.head h2 { margin-top: 12px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), border-color .3s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(47,91,234,.08), transparent 40%); opacity: 0; transition: opacity .3s; }
.card:hover { box-shadow: var(--shadow); border-color: #D6D9E8; }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 20px; }
.card p { margin-top: 10px; color: var(--muted); }
.card__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; }
.card__ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card__ico--blue { background: var(--blue-soft); color: var(--blue); }
.card__ico--coral { background: var(--coral-soft); color: var(--coral); }
.card__ico--amber { background: var(--amber-soft); color: #A86A00; }
.card__ico--green { background: var(--green-soft); color: var(--green); }
.card__ico--violet { background: var(--violet-soft); color: var(--violet); }
.card__ico--ink { background: #ECEBE5; color: var(--ink); }
.card:hover .card__ico svg { animation: wiggle .6s var(--ease); }

/* spotlights */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 50px 0; }
.spot--flip .spot__copy { order: 2; }
.spot__copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-top: 18px; }
.spot__copy > p { color: var(--ink-2); font-size: 1.08rem; margin-top: 16px; max-width: 32em; }
.spot__media { position: relative; display: grid; place-items: center; padding: 30px 0; }
.spot__media::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,91,234,.18), transparent 65%); z-index: -1; }
.spot--flip .spot__media::before { background: radial-gradient(circle, rgba(255,176,32,.25), transparent 65%); }
.step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }

.timeline { list-style: none; padding: 0; margin: 28px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-block: 6px 14px; padding-inline: 40px 0; opacity: 0; transform: translateX(-12px); transition: all .6s var(--ease) calc(var(--i) * .25s + .3s); }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline li.is-hot::before { border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 0 rgba(211,58,33,.45); animation: ping 1.8s infinite; }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: .95rem; }
.is-in .timeline li { opacity: 1; transform: none; }

.float-note { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .95rem; animation: floaty 6s ease-in-out infinite; }
.float-note img { width: 36px; height: 36px; }
.float-note--tl { top: 60px; left: 0; }
.float-note--br { bottom: 70px; right: 0; animation-delay: -3s; }
.float-note.jar b { color: var(--green); font-family: var(--display); font-size: 1.2rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(47,91,234,.5); animation: ping 1.8s infinite; }

/* swipe demo */
.swipe { position: relative; height: 170px; margin-top: 30px; max-width: 380px; }
.swipe__card { position: absolute; inset: 0; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.swipe__card--back { transform: translateY(18px) scale(.9); opacity: .6; }
.swipe__card--mid { transform: translateY(9px) scale(.95); opacity: .85; }
.swipe__card--top { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.is-in .swipe__card--top { animation: swipeAway 5s 1s var(--ease) infinite; }
.swipe__row { display: flex; align-items: center; gap: 14px; }
.swipe__row b { display: block; font-size: 1.05rem; }
.swipe__row small { color: var(--coral); font-weight: 600; }
.swipe__row em { margin-left: auto; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; }
.tile--red { background: linear-gradient(135deg, #E9483A, #B71C1C); }
.swipe__actions { display: flex; gap: 8px; }
.pill { flex: 1; text-align: center; padding: 10px 0; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.pill--coral { background: var(--coral-soft); color: var(--coral); }
.pill--ghost { background: #F1F0EB; color: var(--ink-2); }
.pill--green { background: var(--green-soft); color: var(--green); }

/* mail demo */
.mail { margin-top: 28px; max-width: 460px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.mail__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #F4F3EE; border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.mail__bar i { width: 11px; height: 11px; border-radius: 50%; background: #E0DED6; }
.mail__bar i:nth-child(1) { background: #FF6159; } .mail__bar i:nth-child(2) { background: #FFBD2E; } .mail__bar i:nth-child(3) { background: #28C941; }
.mail__bar span { margin-left: 8px; }
.mail__body { padding: 16px 18px 20px; font-size: .95rem; display: grid; gap: 10px; }
.type { min-height: 4.8em; color: var(--ink-2); }
.type::after { content: ""; display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--blue); animation: blink 1s steps(1) infinite; }

/* bars */
.bars { display: flex; align-items: flex-end; gap: 14px; height: 200px; margin-top: 30px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 440px; }
.bars div { position: relative; flex: 1; height: 0; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #A9BCFB, #7D97F5); transition: height 1s var(--ease); }
.bars div:nth-child(2) { transition-delay: .08s; } .bars div:nth-child(3) { transition-delay: .16s; } .bars div:nth-child(4) { transition-delay: .24s; } .bars div:nth-child(5) { transition-delay: .32s; } .bars div:nth-child(6) { transition-delay: .4s; }
.bars div.is-now { background: linear-gradient(180deg, var(--blue-2), var(--blue)); }
.bars span { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-size: .78rem; color: var(--muted); font-weight: 600; }
.is-in .bars div { height: var(--h); }
.bars { padding-bottom: 36px; }

/* ---------- privacy ---------- */
.privacy { position: relative; padding: 130px 0; color: #fff; background: radial-gradient(1200px 600px at 80% 0%, #2A3A80, transparent 60%), linear-gradient(180deg, var(--night), var(--night-2)); overflow: hidden; isolation: isolate; }
.privacy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: url("img/scene_night.svg") center bottom / cover no-repeat; opacity: .5; z-index: -1; mask: linear-gradient(transparent, #000 70%); -webkit-mask: linear-gradient(transparent, #000 70%); }
.privacy__sky i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .6; animation: twinkle 3s ease-in-out infinite; }
.privacy__sky i:nth-child(1) { top: 12%; left: 8%; } .privacy__sky i:nth-child(2) { top: 22%; left: 30%; animation-delay: -1s; } .privacy__sky i:nth-child(3) { top: 8%; left: 55%; animation-delay: -2s; }
.privacy__sky i:nth-child(4) { top: 30%; left: 78%; animation-delay: -.5s; } .privacy__sky i:nth-child(5) { top: 16%; left: 92%; animation-delay: -1.5s; } .privacy__sky i:nth-child(6) { top: 45%; left: 4%; animation-delay: -2.4s; }
.privacy__sky i:nth-child(7) { top: 60%; left: 45%; animation-delay: -.8s; } .privacy__sky i:nth-child(8) { top: 38%; left: 62%; animation-delay: -1.2s; } .privacy__sky i:nth-child(9) { top: 70%; left: 90%; animation-delay: -2s; }
.privacy__sky i:nth-child(10) { top: 5%; left: 20%; animation-delay: -.3s; } .privacy__sky i:nth-child(11) { top: 52%; left: 25%; animation-delay: -1.7s; } .privacy__sky i:nth-child(12) { top: 26%; left: 47%; animation-delay: -2.7s; }
.privacy__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.privacy h2 { margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.ticks li { position: relative; padding-inline-start: 40px; color: rgba(255,255,255,.78); }
.ticks li b { color: #fff; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(157,235,188,.16); color: #9DEBBC; font-weight: 800; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 700; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #A8BCFF; }
.vault { position: relative; width: min(380px, 80vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.vault__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(168,188,255,.25); animation: spin 30s linear infinite; }
.vault__ring::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #A8BCFF; box-shadow: 0 0 20px #A8BCFF; }
.vault__ring--2 { inset: 14%; border-style: dashed; animation-duration: 45s; animation-direction: reverse; border-color: rgba(157,235,188,.3); }
.vault__ring--2::before { background: #9DEBBC; box-shadow: 0 0 20px #9DEBBC; }
.vault img { width: 52%; animation: bob 5s ease-in-out infinite; }
.vault__lock { position: absolute; bottom: 14%; right: 14%; width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, #5B7CF7, #2F5BEA); box-shadow: 0 12px 30px rgba(47,91,234,.5); }
.vault__lock svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }

/* ---------- themes fan ---------- */
.fan { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 560px; }
.fan .phone { position: absolute; bottom: 0; transition: transform 1s var(--ease); }
.fan__c { z-index: 2; transform: translateY(-20px); }
.fan__l { transform: translateX(0) rotate(0); }
.fan__r { transform: translateX(0) rotate(0); }
.fan.is-in .fan__l { transform: translateX(-210px) rotate(-8deg); }
.fan.is-in .fan__r { transform: translateX(210px) rotate(8deg); }
.fan.is-in .fan__c { transform: translateY(-30px) scale(1.05); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; padding: 36px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.4rem; }
.plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.plan__price b { font-family: var(--display); font-size: 3.4rem; font-weight: 850; letter-spacing: -.04em; }
.plan__price span { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-inline-start: 30px; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 800; }
.plan--pro { color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(255,176,32,.35), transparent 60%), linear-gradient(160deg, #1A1B18, #0B0C0A); border-color: #2B2C28; box-shadow: var(--shadow-lg); }
.plan--pro li { color: rgba(255,255,255,.85); }
.plan--pro li::before { color: var(--amber); }
.plan--pro .plan__price span { color: rgba(255,255,255,.65); }
.plan__tag { position: absolute; top: 22px; inset-inline-end: 22px; padding: 6px 12px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.crown { color: var(--amber); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 24px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 1.3rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }
.faq details[open] p { animation: fadeUp .4s var(--ease); }

/* ---------- final cta ---------- */
.cta { position: relative; padding: 130px 0 120px; text-align: center; overflow: hidden; background: linear-gradient(180deg, var(--bg), var(--mint)); isolation: isolate; }
.cta__glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(47,91,234,.18), transparent); z-index: -1; animation: breathe 6s ease-in-out infinite; }
.cta__owl { width: 150px; margin: 0 auto 20px; animation: bob 4s ease-in-out infinite; }
.cta h2 { max-width: 14em; margin: 0 auto; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { color: var(--ink-2); font-size: 1.15rem; margin-top: 16px; }
.cta__mail { font-size: .98rem !important; color: var(--muted) !important; margin-top: 30px !important; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.foot__in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; }
.foot .brand { color: #fff; }
.foot__brand p { margin-top: 14px; max-width: 26em; font-size: .95rem; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; letter-spacing: 0; }
.foot__cols a { display: block; color: rgba(255,255,255,.7); text-decoration: none; padding: 6px 0; font-size: .95rem; overflow-wrap: anywhere; }
.foot__cols a:hover { color: #fff; }
.foot__fine { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; display: grid; gap: 6px; }

/* ---------- reveal + tilt ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.tilt { transition: transform .4s var(--ease); will-change: transform; }

/* ---------- language picker ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang::before { content: ""; position: absolute; inset-inline-start: 12px; width: 16px; height: 16px; pointer-events: none; background: currentColor; color: var(--ink-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.8 3 2.8 15 0 18M12 3c-2.8 3-2.8 15 0 18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.8 3 2.8 15 0 18M12 3c-2.8 3-2.8 15 0 18'/%3E%3C/svg%3E") center/contain no-repeat; }
.lang__select { appearance: none; -webkit-appearance: none; min-height: 44px; padding-block: 0; padding-inline: 36px 14px; border-radius: 999px; border: 1px solid rgba(18,19,16,.12); background: rgba(255,255,255,.7); color: var(--ink); font: 600 .9rem var(--body); cursor: pointer; max-width: 170px; }
.lang__select:hover { background: #fff; }
.foot__langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; }
.foot__langs a { display: inline-block; padding: 4px 0; font-size: .88rem; }

/* ---------- right-to-left (Arabic) ---------- */
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .hero__title, :lang(ar) .brand span { letter-spacing: 0; }
:lang(ar) .hero__title { line-height: 1.15; }
:lang(ar) h2 { line-height: 1.25; }
:lang(ar) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
:lang(ar) body, :lang(ar) .hero__lead { line-height: 1.75; }

/* ---------- keyframes ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,91,234,.45); } 80%, 100% { box-shadow: 0 0 0 12px rgba(47,91,234,0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes breathe { 0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes toastIn {
  0% { opacity: 0; transform: translateY(16px) scale(.94); }
  6%, 34% { opacity: 1; transform: none; }
  42%, 100% { opacity: 0; transform: translateY(-10px) scale(.97); }
}
@keyframes swipeAway {
  0%, 30% { transform: none; opacity: 1; }
  48% { transform: translateX(-130%) rotate(-14deg); opacity: 0; }
  49% { transform: translateY(18px) scale(.9); opacity: 0; }
  62%, 100% { transform: none; opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__in { justify-content: space-between; gap: 10px; }
  .lang { margin-inline-start: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-bottom: 90px; }
  .hero__lead { margin-inline: auto; }
  .badges, .chips { justify-content: center; }
  .hero__stage { min-height: 600px; margin-top: 20px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .spot, .spot--flip { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .spot--flip .spot__copy { order: 0; }
  .spot__copy > p, .timeline, .swipe, .mail, .bars { margin-inline: auto; }
  .timeline { max-width: 340px; text-align: left; }
  .mail { text-align: left; }
  .privacy__grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .ticks { text-align: left; max-width: 560px; margin-inline: auto; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav__cta { display: none; }
  .lang__select { max-width: 150px; }
  .hero { padding-top: 104px; }
  .hero__stage { min-height: 540px; }
  .phone--hero { width: 250px; }
  .ring--1 { width: 380px; height: 380px; } .ring--2 { width: 480px; height: 480px; }
  .toast { width: 230px; padding: 10px 12px 10px 10px; }
  .toast img, .toast__ico { width: 34px; height: 34px; }
  .toast--1 { left: 0; top: 30px; }
  .toast--2 { right: 0; top: 250px; }
  .toast--3 { left: 0; bottom: 60px; }
  .hero__owl { width: 96px; right: 4px; bottom: 0; }
  .stats__grid, .cards, .plans { grid-template-columns: 1fr; }
  .stat b { font-size: 2.5rem; }
  .section { padding: 80px 0; }
  .phone { width: 250px; }
  .phone--sm { width: 170px; }
  .fan { height: 400px; }
  .fan.is-in .fan__l { transform: translateX(-100px) rotate(-8deg) scale(.9); }
  .fan.is-in .fan__r { transform: translateX(100px) rotate(8deg) scale(.9); }
  .float-note { font-size: .82rem; padding: 10px 14px; }
  .float-note--tl { left: 0; top: 20px; }
  .float-note--br { right: 0; bottom: 40px; }
  .store { min-height: 56px; padding: 8px 18px 8px 14px; }
  .plan { padding: 28px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-property: opacity !important; transition-duration: .3s !important; }
  .reveal { transform: none; }
  .toast { opacity: 1; }
  .toast--2, .toast--3 { display: none; }
  .hl path { stroke-dashoffset: 0; }
  .marquee__track { transform: none; }
}
