/* =========================================================
   شارژینو — Light, playful, bento. Operator-themed.
   ========================================================= */
:root {
  --bg: #F6F6FA;
  --surface: #FFFFFF;
  --ink: #14142B;
  --ink-2: #3D3D5C;
  --muted: #6B6B85;
  --line: #E4E4EE;
  --danger: #E5484D;
  --success: #12A150;

  /* operator (default: همراه اول) */
  --brand: #0095DA;
  --brand-2: #00C2D1;
  --brand-ink: #FFFFFF;
  --brand-soft: #E3F4FC;
  --brand-deep: #005E8A;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-1: 0 1px 2px rgba(20,20,43,.04), 0 4px 16px rgba(20,20,43,.06);
  --shadow-2: 0 2px 6px rgba(20,20,43,.05), 0 24px 60px -12px rgba(20,20,43,.18);
  --ease: cubic-bezier(.16,1,.3,1);
  --font: "Vazirmatn", system-ui, sans-serif;
  --display: "Lalezar", "Vazirmatn", sans-serif;
}
html[data-op="irancell"] {
  --brand: #FFC20E;
  --brand-2: #FF9F1C;
  --brand-ink: #1A1400;
  --brand-soft: #FFF6D6;
  --brand-deep: #8A6200;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease);
}
img, svg { display: block; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 400; }
h2 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-weight: 800; font-size: 1.2rem; }
p { margin: 0; }
.muted { color: var(--muted); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.brand-text { color: var(--brand); transition: color .5s var(--ease); }
html[data-op="irancell"] .brand-text { color: var(--brand-deep); }
html[data-op="irancell"] .hero .brand-text, html[data-op="irancell"] h2 .brand-text {
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--brand) 58% 92%, transparent 92%);
}
.kicker { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .9rem; color: var(--brand-deep); background: var(--brand-soft); padding: 4px 14px; border-radius: 99px; margin-bottom: 14px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 16px; font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .4s var(--ease), color .4s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn--brand { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 30px -10px var(--brand); }
.btn--brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(120%); transition: transform .8s var(--ease); z-index: -1; }
.btn--brand:hover::after { transform: translateX(-120%); }
.btn--brand:hover { box-shadow: 0 16px 40px -10px var(--brand); transform: translateY(-2px); }
.btn--ghost { background: var(--surface); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px) scale(1.02); }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-4px); }
.btn__amount { font-weight: 500; opacity: .8; font-size: .9rem; }
.btn__amount:empty { display: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.icon-btn:hover { background: var(--bg); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; inset-inline: 0; z-index: 50; display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; transition: transform .6s var(--ease), top .5s var(--ease); }
.nav.is-hidden { transform: translateY(-140%); }
.nav.is-scrolled { top: 10px; }
.nav__bar {
  pointer-events: auto; position: relative; width: min(1200px, 100%);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  height: 68px; padding: 0 12px; padding-inline-start: 18px;
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.9); border-radius: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 40px -12px rgba(20,20,43,.18);
  transition: width .7s var(--ease), height .5s var(--ease), border-radius .5s var(--ease), background-color .4s;
}
.nav.is-scrolled .nav__bar { width: min(1120px, 100%); height: 60px; background: rgba(255,255,255,.82); border-radius: 20px; }
.nav__progress { position: absolute; inset-inline: 22px; bottom: -1px; height: 2px; border-radius: 2px; overflow: hidden; pointer-events: none; }
.nav__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transform-origin: right; transform: scaleX(0); transition: background .5s; }

.logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.logo__mark { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, var(--brand-2), var(--brand)); color: var(--brand-ink); box-shadow: 0 6px 18px -6px var(--brand), inset 0 1px 0 rgba(255,255,255,.4); transition: background .5s var(--ease), transform .6s var(--ease), box-shadow .5s; }
.logo:hover .logo__mark { transform: rotate(-14deg) scale(1.06); }
.logo__mark svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.logo__text { font-family: var(--display); font-size: 1.55rem; line-height: 1; padding-top: 4px; }

.nav__links { justify-self: center; position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 16px; background: rgba(20,20,43,.04); }
.nav__links a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .3s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand); }
.nav__hover { position: absolute; top: 4px; bottom: 4px; right: 4px; width: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px -2px rgba(20,20,43,.12); opacity: 0; transition: right .45s var(--ease), width .45s var(--ease), opacity .3s; }

.nav__end { display: flex; align-items: center; gap: 8px; justify-self: end; flex: none; }
.op-switch { position: relative; display: flex; flex: none; padding: 4px; border-radius: 15px; background: rgba(20,20,43,.05); }
.op-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border-radius: 11px; font-weight: 700; font-size: .86rem; white-space: nowrap; flex: none; color: var(--muted); transition: color .4s var(--ease); }
.op-switch button[aria-checked="true"] { color: var(--ink); }
.op-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.op-dot--mci { background: #0095DA; } .op-dot--irc { background: #FFC20E; }
.op-switch__thumb { position: absolute; top: 4px; bottom: 4px; right: 4px; width: 0; border-radius: 11px; background: #fff; box-shadow: 0 2px 10px -2px rgba(20,20,43,.15); transition: right .5s var(--ease), width .5s var(--ease); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; font-size: .92rem; white-space: nowrap; transition: background-color .4s var(--ease), color .4s, transform .3s var(--ease); }
.nav__cta svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.nav__cta:hover { background: var(--brand); color: var(--brand-ink); }
.nav__cta:hover svg { transform: translateX(-4px); }
.nav__cta:active { transform: scale(.96); }

.nav__burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; right: 20px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; right: 14px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: -1; pointer-events: auto; background: rgba(20,20,43,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: flex-end; }
.drawer[hidden] { display: none; }
.drawer__sheet { width: 100%; background: #fff; border-radius: 28px 28px 0 0; padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 4px; box-shadow: 0 -20px 60px -20px rgba(20,20,43,.3); }
.drawer__grip { justify-self: center; width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin-bottom: 10px; }
.drawer a:not(.btn) { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 14px; border-radius: 16px; font-weight: 800; font-size: 1.15rem; }
.drawer a:not(.btn) small { font-family: var(--display); font-weight: 400; color: var(--brand-deep); font-size: 1rem; }
.drawer a:not(.btn) svg { margin-inline-start: auto; color: var(--muted); }
.drawer a:not(.btn):hover { background: var(--brand-soft); }
.drawer .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px 0 80px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; transition: background-color .8s var(--ease); }
.blob--1 { width: 520px; height: 520px; background: var(--brand); top: -140px; left: -120px; }
.blob--2 { width: 420px; height: 420px; background: var(--brand-2); bottom: -120px; right: 10%; opacity: .35; }
.blob--3 { width: 260px; height: 260px; background: #FF7AB6; top: 30%; left: 40%; opacity: .2; }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(20,20,43,.09) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 99px; font-size: .9rem; font-weight: 700; box-shadow: var(--shadow-1); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(18,161,80,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(18,161,80,0); } 100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); } }

.hero__title { font-family: var(--display); font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1.12; margin: 22px 0 18px; }
.hero__title .line { display: block; overflow: hidden; padding-block: .06em; }
.hero__title .word { display: inline-block; }
.rot-wrap { height: 1.24em; }
.rot { display: inline-grid; color: var(--brand); transition: color .5s var(--ease); }
html[data-op="irancell"] .rot { color: var(--ink); -webkit-text-stroke: 0; background: linear-gradient(transparent 55%, var(--brand) 55% 90%, transparent 90%); }
.rot > span { grid-area: 1 / 1; display: inline-block; }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34ch; }
.hero__trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.hero__trust svg { color: var(--brand); width: 20px; height: 20px; }
html[data-op="irancell"] .hero__trust svg { color: var(--brand-deep); }

.sims { position: relative; height: 150px; margin-top: 36px; perspective: 900px; }
.sim { position: absolute; width: 220px; height: 136px; border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-2); transform-style: preserve-3d; will-change: transform; }
.sim b { font-family: var(--display); font-size: 1.4rem; font-weight: 400; line-height: 1.2; }
.sim small { font-size: .8rem; opacity: .8; direction: ltr; text-align: right; letter-spacing: .1em; }
.sim__chip { position: absolute; top: 18px; right: 20px; width: 38px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #f5e0a3, #c9a24b); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.sim__chip::after { content: ""; position: absolute; inset: 6px 10px; border: 1px solid rgba(0,0,0,.25); border-radius: 3px; }
.sim--mci { background: linear-gradient(135deg, #0095DA, #00C2D1); color: #fff; right: 0; top: 0; transform: rotate(-6deg); }
.sim--irc { background: linear-gradient(135deg, #FFC20E, #FF9F1C); color: #1A1400; right: 170px; top: 14px; transform: rotate(7deg); }
.sim.is-active { z-index: 2; }

/* ---------- Widget ---------- */
.widget { background: var(--surface); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-2); border: 1px solid rgba(255,255,255,.9); position: relative; }
.widget::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: linear-gradient(160deg, var(--brand), transparent 40%, transparent 60%, var(--brand-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .6; }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); padding: 5px; border-radius: 18px; margin-bottom: 20px; }
.tabs button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 14px; font-weight: 800; color: var(--muted); transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button svg { width: 18px; height: 18px; }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-1); transition: right .45s var(--ease), width .45s var(--ease); }

.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--ink-2); }
.phone-input { position: relative; }
.phone-input input { width: 100%; height: 60px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); padding: 0 18px; padding-inline-end: 120px; font-size: 1.35rem; font-weight: 800; letter-spacing: .12em; direction: ltr; text-align: right; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.phone-input input::placeholder { color: #B5B5C8; font-weight: 500; }
.phone-input input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 5px var(--brand-soft); }
.phone-input input[aria-invalid="true"] { border-color: var(--danger); }
.op-badge { position: absolute; left: 10px; top: 50%; transform: translateY(-50%) scale(.6); opacity: 0; padding: 6px 12px; border-radius: 10px; font-size: .82rem; font-weight: 800; background: var(--brand); color: var(--brand-ink); transition: all .4s var(--ease); pointer-events: none; }
.op-badge.is-on { opacity: 1; transform: translateY(-50%) scale(1); }
.hint { display: block; color: var(--muted); font-size: .82rem; margin-top: 6px; }
.err { display: block; color: var(--danger); font-weight: 700; font-size: .88rem; min-height: 1.4em; margin-top: 8px; text-align: center; }

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { min-height: 50px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-weight: 800; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brand); }
.chip small { font-weight: 500; color: var(--muted); font-size: .75rem; }

.switch-row { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; margin-bottom: 18px; user-select: none; }
.switch-row small { color: var(--muted); font-weight: 500; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 48px; height: 28px; border-radius: 99px; background: var(--line); position: relative; transition: background-color .3s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.switch-row input:checked + .switch { background: var(--brand); }
.switch-row input:checked + .switch::after { transform: translateX(-20px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--brand); outline-offset: 2px; }

.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { min-height: 40px; padding: 0 14px; border-radius: 12px; font-weight: 700; font-size: .9rem; background: var(--bg); color: var(--muted); transition: all .25s var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.seg--lg button { min-height: 46px; padding: 0 20px; background: #fff; border: 1.5px solid var(--line); }

.net-list { display: grid; gap: 8px; max-height: 232px; overflow-y: auto; margin-bottom: 18px; padding: 2px; overscroll-behavior: contain; }
.net-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; text-align: right; transition: all .25s var(--ease); background: #fff; }
.net-item:hover { border-color: var(--brand); }
.net-item[aria-selected="true"] { border-color: var(--brand); background: var(--brand-soft); }
.net-item__vol { font-family: var(--display); font-size: 1.5rem; line-height: 1; min-width: 70px; }
.net-item__meta { flex: 1; font-size: .85rem; color: var(--muted); }
.net-item__price { font-weight: 800; }

.bill-box { background: var(--bg); border-radius: 16px; padding: 18px; margin-bottom: 18px; min-height: 120px; display: grid; place-items: center; text-align: center; }
.bill-result { width: 100%; display: grid; gap: 10px; text-align: right; }
.bill-result .row { display: flex; justify-content: space-between; font-size: .95rem; }
.bill-result .row b { font-weight: 800; }
.bill-result .total { border-top: 1.5px dashed var(--line); padding-top: 10px; font-size: 1.1rem; }
.skeleton { width: 100%; display: grid; gap: 10px; }
.skeleton i { height: 14px; border-radius: 8px; background: linear-gradient(90deg, #e9e9f2 25%, #f6f6fb 50%, #e9e9f2 75%); background-size: 200% 100%; animation: shimmer 1.1s infinite; }
.skeleton i:nth-child(2) { width: 70%; } .skeleton i:nth-child(3) { width: 45%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid var(--ink-2); border-radius: 99px; opacity: .5; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink-2); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; padding: 22px 0; overflow: hidden; transform: rotate(-2deg) scale(1.04); margin: 20px 0 40px; }
.marquee__track { display: flex; gap: 32px; width: max-content; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.2rem); white-space: nowrap; align-items: center; }
.marquee__track i { color: var(--brand); font-style: normal; transition: color .5s; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.sec-head { margin-bottom: 48px; max-width: 640px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head .btn { margin-top: 24px; }
.sec-head p { margin-top: 12px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.tile { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); transform-style: preserve-3d; }
.tile:hover { box-shadow: var(--shadow-2); }
.tile p { color: var(--muted); }
.tile__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 8px; transition: transform .5s var(--ease), background-color .5s; }
.tile:hover .tile__icon { transform: rotate(-10deg) scale(1.08); }
.tile__icon svg { width: 26px; height: 26px; }
.tile__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--brand-deep); padding-top: 10px; }
.tile__link svg { transition: transform .3s var(--ease); width: 18px; }
.tile__link:hover svg { transform: translateX(-5px); }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 20px; }
.tile--brand { background: var(--brand); color: var(--brand-ink); border-color: transparent; transition: background-color .5s var(--ease), transform .4s var(--ease), box-shadow .4s; }
.tile--brand p { color: inherit; opacity: .85; }
.tile--brand h3 { font-family: var(--display); font-weight: 400; font-size: 2.4rem; }
.tile--brand .tile__icon { background: rgba(255,255,255,.22); color: inherit; }
.tile--brand .tile__link { color: inherit; }
.tile--brand::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.12); left: -120px; bottom: -160px; }
.big-amount { font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; margin-top: auto; display: flex; align-items: baseline; gap: 10px; }
.big-amount small { font-family: var(--font); font-size: 1rem; font-weight: 700; opacity: .8; }
.tile--dark { background: var(--ink); color: #fff; border-color: transparent; }
.tile--dark p { color: #B9B9D0; }
.tile--dark .tile__icon { background: rgba(255,255,255,.08); color: var(--brand); }
.tile--soft { background: var(--brand-soft); border-color: transparent; transition: background-color .5s, transform .4s var(--ease); }
.tile--soft .tile__icon { background: #fff; }
.bars { display: flex; align-items: end; gap: 8px; height: 110px; margin-top: auto; }
.bars i { flex: 1; border-radius: 10px 10px 4px 4px; background: var(--brand); transform-origin: bottom; transition: background-color .5s; }
.bars i:nth-child(1) { height: 30%; opacity: .35; } .bars i:nth-child(2) { height: 50%; opacity: .5; } .bars i:nth-child(3) { height: 68%; opacity: .7; } .bars i:nth-child(4) { height: 85%; opacity: .85; } .bars i:nth-child(5) { height: 100%; }

/* ---------- How (horizontal) ---------- */
.how { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.how__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0; gap: 48px; }
.how .kicker { background: rgba(255,255,255,.08); color: #fff; }
.how__head { display: grid; gap: 4px; }
.how__progress { height: 4px; background: rgba(255,255,255,.12); border-radius: 4px; margin-top: 20px; overflow: hidden; max-width: 320px; }
.how__progress span { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: right; transform: scaleX(0); }
.how__track { display: flex; gap: 24px; padding-inline: max(16px, calc((100vw - 1200px) / 2)); width: max-content; will-change: transform; }
.step { width: min(420px, 80vw); flex: none; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.step p { color: #B9B9D0; }
.step h3 { font-size: 1.5rem; }
.step__num { font-family: var(--display); font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4); }
.step--brand { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.step--brand p { color: inherit; opacity: .85; }
.step--brand .step__num { -webkit-text-stroke-color: currentColor; }
.step__art { flex: 1; min-height: 170px; position: relative; display: grid; place-items: center; }
.art-phone span { position: absolute; width: 110px; height: 170px; border: 3px solid rgba(255,255,255,.7); border-radius: 22px; }
.art-phone span:nth-child(2) { width: 70px; height: 10px; top: 50%; border: 0; border-radius: 6px; background: var(--brand); }
.art-phone span:nth-child(3) { width: 40px; height: 6px; top: 62%; border: 0; border-radius: 6px; background: rgba(255,255,255,.3); }
.art-chips { grid-template-columns: repeat(2, 80px); gap: 12px; align-content: center; justify-content: center; }
.art-chips span { height: 56px; border-radius: 16px; border: 2px solid rgba(255,255,255,.3); }
.art-chips span:nth-child(2) { background: var(--brand); border-color: transparent; }
.art-card span { width: 200px; height: 124px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.3); position: relative; }
.art-card span::before { content: ""; position: absolute; inset: 24px auto auto 20px; width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #f5e0a3, #c9a24b); }
.art-card span::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 22px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.4); }
.art-check svg { width: 120px; height: 120px; padding: 24px; border-radius: 50%; background: rgba(255,255,255,.2); stroke-width: 3; }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pkg { position: relative; background: #fff; border-radius: var(--r-lg); padding: 24px; border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden; }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--brand); }
.pkg__vol { font-family: var(--display); font-size: 3rem; line-height: 1.1; }
.pkg__vol small { font-size: 1.2rem; color: var(--muted); }
.pkg__dur { color: var(--muted); font-weight: 500; }
.pkg__price { font-weight: 900; font-size: 1.25rem; margin-top: 14px; }
.pkg__price small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.pkg .btn { --h: 46px; margin-top: 14px; }
.pkg__tag { position: absolute; top: 18px; left: 18px; background: var(--brand); color: var(--brand-ink); font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.pkg__meter { height: 6px; border-radius: 6px; background: var(--bg); overflow: hidden; margin-top: 6px; }
.pkg__meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--brand)); border-radius: 6px; }

/* ---------- Stats ---------- */
.stats { padding: 40px 0 100px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; color: var(--ink); }
.stat span { color: var(--muted); font-weight: 500; }

/* ---------- Reviews ---------- */
.reviews { padding-bottom: 60px; overflow: hidden; }
.reviews__rail { display: flex; gap: 18px; width: max-content; padding-inline: 16px; }
.review { margin: 0; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.05rem; font-weight: 500; }
.review figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); font-weight: 900; }
.stars { display: flex; gap: 2px; color: #FFB400; }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.acc { display: grid; gap: 12px; }
.acc details { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; transition: border-color .3s, box-shadow .3s; }
.acc details[open] { border-color: var(--brand); box-shadow: var(--shadow-1); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 800; font-size: 1.05rem; min-height: 44px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { transition: transform .4s var(--ease); color: var(--muted); }
.acc details[open] summary svg { transform: rotate(180deg); color: var(--brand); }
.acc details > div { overflow: hidden; }
.acc details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 100px; }
.cta__inner { position: relative; overflow: hidden; background: var(--brand); color: var(--brand-ink); border-radius: var(--r-xl); padding: clamp(48px, 8vw, 96px) 24px; text-align: center; display: grid; justify-items: center; gap: 14px; transition: background-color .5s var(--ease); }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.cta p { font-size: 1.15rem; opacity: .85; margin-bottom: 12px; }
.cta__ring { position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 2px solid currentColor; opacity: .15; top: -300px; right: -200px; pointer-events: none; }
.cta__ring--2 { width: 400px; height: 400px; top: auto; bottom: -220px; right: auto; left: -120px; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,20,43,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__sheet { position: relative; width: min(440px, 100%); background: #fff; border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-2); max-height: calc(100svh - 32px); overflow-y: auto; }
.modal__close { position: absolute; top: 14px; left: 14px; }
.modal h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin-bottom: 18px; }
.summary { margin: 0 0 22px; background: var(--bg); border-radius: 18px; padding: 16px 18px; display: grid; gap: 10px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 800; }
.summary .total { border-top: 1.5px dashed var(--line); padding-top: 10px; font-size: 1.15rem; }
.paynote { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 20px; border-radius: 18px; background: var(--brand-soft); transition: background-color .5s; }
.paynote__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--success); flex: none; }
.paynote b { display: block; font-weight: 800; line-height: 1.6; }
.paynote small { color: var(--muted); font-size: .85rem; line-height: 1.6; display: block; }
.spinner { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
.is-loading .spinner { display: block; } .is-loading .btn__label { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; display: grid; justify-items: center; gap: 10px; }
.success h3 { margin: 6px 0 0; }
.success__badge svg { width: 96px; height: 96px; stroke: var(--success); stroke-width: 3; }
.success__badge circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.success__badge path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.success.is-play circle { animation: draw .6s var(--ease) forwards; }
.success.is-play path { animation: draw .45s .45s var(--ease) forwards; }
.success[data-kind="fail"] .success__badge svg { stroke: var(--danger); }
.success[data-kind="wait"] .success__badge svg { stroke: #E8A100; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.track { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 800; margin: 8px 0 14px; min-height: 44px; }
.track:hover { background: var(--brand-soft); }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; z-index: 95; transition: transform .45s var(--ease); box-shadow: var(--shadow-2); }
.toast.is-on { transform: translate(-50%, 0); }

/* View-transition operator switch */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: none; }
  .sims { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--xl { grid-row: span 1; }
  .tile--tall { grid-row: span 1; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px) {
  .nav__cta { display: none; }
}
@media (max-width: 860px) {
  .nav__bar { grid-template-columns: auto 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 560px) {
  .nav { top: 10px; padding-inline: 10px; }
  .nav__bar, .nav.is-scrolled .nav__bar { height: 60px; padding-inline: 8px 8px; padding-inline-start: 10px; gap: 8px; border-radius: 20px; }
  .logo__text { display: none; }
  .op-switch button { padding: 0 10px; font-size: .82rem; gap: 6px; }
  .hero { padding-top: 120px; }
  .widget { padding: 16px; border-radius: 28px; }
  .bento { grid-template-columns: 1fr; }
  .tile--xl, .tile--wide { grid-column: span 1; }
  .tile--wide { flex-direction: column; align-items: flex-start; }
  .section { padding: 80px 0; }
  .review { width: 280px; }
  .stats__grid { gap: 10px; }
  .stat { padding: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
