/* iMaster VPN — imastervpn.com */
:root {
  --bg: #07090f;
  --surface: #0f1420;
  --elevated: #171e2d;
  --stroke: #232c3e;
  --stroke-2: #33405a;
  --text: #f2f5fa;
  --text-2: #949fb5;
  --text-3: #5b6578;
  --accent: #4ade9b;
  --accent-soft: rgba(74, 222, 155, 0.12);
  --accent-ink: #06281c;
  --violet: #7c6bff;
  --violet-2: #a99cff;
  --warn: #ffb84d;
  --danger: #ff5a5f;
  --display: "Space Grotesk", system-ui, sans-serif;
  --ui: "Inter", system-ui, -apple-system, sans-serif;
  --r: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.fill { fill: currentColor; stroke: none; }
.logo { width: 24px; height: 30px; flex: none; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; border-radius: 14px; transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; padding: 14px 18px; font-size: 15px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(74, 222, 155, 0.25); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(74, 222, 155, 0.4); }
.btn-ghost { border: 1px solid var(--stroke-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); background: rgba(255, 255, 255, 0.03); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 10px 30px rgba(124, 107, 255, 0.3); }

/* ---------- Announcement & nav ---------- */
.announce { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; font-size: 13.5px; color: var(--text-2); background: linear-gradient(90deg, rgba(74,222,155,0.08), rgba(124,107,255,0.08)); border-bottom: 1px solid var(--stroke); text-align: center; }
.announce .i { width: 16px; height: 16px; color: var(--accent); }
.announce strong { color: var(--text); }
.announce a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; }
.announce a .i { width: 14px; height: 14px; }

.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 9, 15, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--stroke); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.link-muted { font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.link-muted:hover { color: var(--text); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--stroke); align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(circle, rgba(74,222,155,0.16), transparent 60%); filter: blur(10px); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow::after { content: ""; position: absolute; left: -480px; top: 380px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,107,255,0.12), transparent 60%); }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; position: relative; }
.ip-alert { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 100px; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: rgba(255, 90, 95, 0.08); border: 1px solid rgba(255, 90, 95, 0.25); margin-bottom: 26px; }
.ip-alert b { color: var(--text); font-family: var(--display); font-weight: 600; letter-spacing: 0.02em; }
.ip-alert.is-safe { background: var(--accent-soft); border-color: rgba(74, 222, 155, 0.35); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
.dot-red { background: var(--danger); box-shadow: 0 0 0 0 rgba(255,90,95,0.6); animation: ping 2s infinite; }
.is-safe .dot-red { background: var(--accent); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255,90,95,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,95,0); } }
h1 { font-size: clamp(44px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 22px; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, #8af7c6 45%, var(--violet-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 6s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.lead { font-size: 18.5px; color: var(--text-2); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: var(--text-3); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { width: 16px; height: 16px; color: var(--text-2); }
.stars { display: inline-flex; gap: 2px; color: var(--warn); }
.stars .i { width: 14px; height: 14px; color: var(--warn); }

/* ---------- Connect demo ---------- */
.demo-wrap { perspective: 1200px; }
.demo { position: relative; max-width: 400px; margin-inline: auto; padding: 22px 22px 20px; border-radius: 32px; background: linear-gradient(180deg, #121927, #0b0f18); border: 1px solid var(--stroke); box-shadow: 0 40px 100px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04); transition: transform 0.4s var(--ease); transform-style: preserve-3d; }
.demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.brand-sm { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.brand-sm .logo { width: 18px; height: 22px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--elevated); border: 1px solid var(--stroke); transition: all 0.4s; }
.pill .dot { background: var(--danger); }
.demo[data-state="connecting"] .pill { color: var(--warn); }
.demo[data-state="connecting"] .pill .dot { background: var(--warn); animation: blink 0.8s infinite; }
.demo[data-state="on"] .pill { color: var(--accent); background: var(--accent-soft); border-color: rgba(74,222,155,0.35); }
.demo[data-state="on"] .pill .dot { background: var(--accent); }
@keyframes blink { 50% { opacity: 0.3; } }

.ring { position: relative; display: grid; place-items: center; width: 236px; height: 236px; margin: 6px auto 14px; border-radius: 50%; }
.ring-o, .ring-i { position: absolute; border-radius: 50%; border: 1px solid var(--stroke); transition: border-color 0.6s, background 0.6s; }
.ring-o { inset: 0; }
.ring-i { inset: 24px; background: var(--surface); }
.core { position: relative; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #212b3f, #131a28); border: 1px solid var(--stroke-2); box-shadow: 0 12px 30px rgba(0,0,0,0.5); transition: background 0.6s, box-shadow 0.6s, transform 0.2s; }
.ring:hover .core { transform: scale(1.03); }
.ring:active .core { transform: scale(0.97); }
.core .i { width: 44px; height: 44px; position: absolute; transition: opacity 0.4s, transform 0.4s; }
.core-power { color: var(--text-2); }
.core-shield { color: var(--accent-ink); opacity: 0; transform: scale(0.6); }
.core-timer { position: absolute; bottom: 30px; font: 700 14px var(--display); color: var(--accent-ink); letter-spacing: 0.04em; opacity: 0; }
.demo[data-state="connecting"] .ring-o { border-color: transparent; border-top-color: var(--warn); border-right-color: rgba(255,184,77,0.3); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo[data-state="on"] .ring-o { border-color: rgba(74,222,155,0.2); animation: pulse 2.6s ease-out infinite; }
.demo[data-state="on"] .ring-i { border-color: rgba(74,222,155,0.35); background: #0d1b18; }
.demo[data-state="on"] .core { background: linear-gradient(180deg, #5ce7a8, #21b97c); border-color: rgba(74,222,155,0.6); box-shadow: 0 0 60px rgba(74,222,155,0.45); }
.demo[data-state="on"] .core-power { opacity: 0; transform: scale(0.6); }
.demo[data-state="on"] .core-shield { opacity: 1; transform: translateY(-10px) scale(0.8); }
.demo[data-state="on"] .core-timer { opacity: 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,155,0.35); } 100% { box-shadow: 0 0 0 28px rgba(74,222,155,0); } }

.demo-status { text-align: center; font: 600 22px var(--display); margin-bottom: 16px; min-height: 30px; }
.demo-ip { display: grid; gap: 8px; margin-bottom: 14px; }
.ip-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(255,90,95,0.07); border: 1px solid rgba(255,90,95,0.22); font-size: 13px; color: var(--text-2); transition: all 0.5s var(--ease); }
.ip-row .i { width: 15px; height: 15px; color: var(--danger); }
.ip-row span { flex: 1; }
.ip-row b { font: 600 14px var(--display); color: var(--text); letter-spacing: 0.02em; transition: color 0.4s; }
.ip-virtual { max-height: 0; padding-block: 0; opacity: 0; border-width: 0; overflow: hidden; background: var(--accent-soft); border-color: rgba(74,222,155,0.3); }
.ip-virtual .i { color: var(--accent); }
.ip-virtual b { color: var(--accent); }
.demo[data-state="on"] .ip-virtual { max-height: 60px; padding-block: 11px; opacity: 1; border-width: 1px; }
.demo[data-state="on"] #ipReal { background: var(--elevated); border-color: var(--stroke); }
.demo[data-state="on"] #ipReal .i { color: var(--text-3); }
.demo[data-state="on"] #ipReal b { color: var(--text-3); text-decoration: line-through; }
.demo-loc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.loc { display: flex; align-items: center; gap: 8px; padding: 10px 12px; white-space: nowrap; min-width: 0; border-radius: 12px; font-size: 13px; font-weight: 600; background: var(--surface); border: 1px solid var(--stroke); text-align: left; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.loc:hover { border-color: var(--stroke-2); transform: translateY(-1px); }
.loc img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; }
.loc span { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--accent); }
.loc.is-on { border-color: rgba(74,222,155,0.55); background: var(--accent-soft); }
.loc.is-locked { color: var(--text-2); }
.loc.is-locked span { color: var(--text-3); }
.loc.is-locked span .i { width: 14px; height: 14px; }
.toast { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); background: #1e1a3d; border: 1px solid rgba(124,107,255,0.45); box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: toastIn 0.35s var(--ease); }
.toast[hidden] { display: none; }
.toast b { color: var(--text); }
.toast .i { color: var(--violet-2); width: 18px; height: 18px; margin-top: 1px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
.demo-hint { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--stroke); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 0; display: grid; gap: 4px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--stroke); }
.stat b { font: 600 44px var(--display); letter-spacing: -0.03em; }
.stat span { color: var(--text-3); font-size: 14.5px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(15,20,32,0.7) 20%, rgba(15,20,32,0.7) 80%, transparent); }
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 32px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 18px; }
.sec-head p:not(.eyebrow) { color: var(--text-2); font-size: 17.5px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--stroke); overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(74,222,155,0.08), transparent 40%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: var(--stroke-2); }
.card:hover::before { opacity: 1; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.card-wide { display: flex; align-items: center; gap: 22px; }
.card-wide .card-ic { margin: 0; }
.wide-copy { flex: 1; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 420px; justify-content: flex-end; }
.badges li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 11px; font-size: 13px; font-weight: 600; background: var(--elevated); border: 1px solid var(--stroke); }
.badges .i { width: 15px; height: 15px; color: var(--accent); }
.card-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--elevated); border: 1px solid var(--stroke); color: var(--accent); margin-bottom: 18px; }
.card-ic.violet { color: var(--violet-2); }
.card-ic.red { color: #ff6b88; }
.card-ic .i { width: 21px; height: 21px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.bars { display: grid; gap: 14px; margin-top: 28px; }
.bar { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); }
.bar i { height: 10px; border-radius: 6px; background: var(--elevated); overflow: hidden; }
.bar em { display: block; height: 100%; width: 0; border-radius: inherit; background: #36415a; transition: width 1.4s var(--ease); }
.bar b { text-align: right; font-weight: 600; color: var(--text-3); }
.bar.is-us span { color: var(--text); font-weight: 600; }
.bar.is-us em { background: linear-gradient(90deg, #22b97a, var(--accent)); }
.bar.is-us b { color: var(--accent); }

.ks { margin-top: 22px; display: grid; gap: 14px; }
.ks-line { position: relative; height: 34px; border-radius: 12px; background: var(--bg); border: 1px solid var(--stroke); overflow: hidden; }
.ks-line::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; border-top: 2px dashed var(--stroke-2); }
.ks-packet { position: absolute; top: 50%; left: 8px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: packet 2.4s linear infinite; }
.ks-wall { position: absolute; top: 6px; bottom: 6px; left: 62%; width: 4px; border-radius: 2px; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
@keyframes packet { 0% { left: 8px; opacity: 1; } 58% { left: calc(62% - 14px); opacity: 1; } 62% { opacity: 0; left: calc(62% - 14px); } 100% { opacity: 0; } }
.ks.is-off .ks-wall { opacity: 0; }
.ks.is-off .ks-packet { background: var(--danger); box-shadow: 0 0 14px var(--danger); animation-name: leak; }
@keyframes leak { 0% { left: 8px; } 100% { left: calc(100% - 20px); } }
.switch { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch > span { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #2d3850; transition: background 0.25s; flex: none; }
.switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.switch em { font-style: normal; }

.ticker { margin-top: 22px !important; font-size: 14px !important; }
.ticker b { display: block; font: 600 40px var(--display); color: var(--text); letter-spacing: -0.03em; }
.services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.services span { padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--c) 60%, #fff); background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.slots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 22px; }
.slots i { height: 8px; border-radius: 4px; background: var(--elevated); }
.reveal.is-in .slots i { animation: fillSlot 0.4s var(--ease) forwards; }
.slots i:nth-child(1) { animation-delay: 0.1s; } .slots i:nth-child(2) { animation-delay: 0.18s; } .slots i:nth-child(3) { animation-delay: 0.26s; } .slots i:nth-child(4) { animation-delay: 0.34s; } .slots i:nth-child(5) { animation-delay: 0.42s; } .slots i:nth-child(6) { animation-delay: 0.5s; } .slots i:nth-child(7) { animation-delay: 0.58s; } .slots i:nth-child(8) { animation-delay: 0.66s; } .slots i:nth-child(9) { animation-delay: 0.74s; } .slots i:nth-child(10) { animation-delay: 0.82s; }
@keyframes fillSlot { to { background: var(--accent); } }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin-inline: auto; }
#globe { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.globe-tip { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); padding: 9px 16px; border-radius: 100px; font-size: 13px; color: var(--text-2); background: rgba(15,20,32,0.85); border: 1px solid var(--stroke); backdrop-filter: blur(8px); white-space: nowrap; }
.globe-tip b { color: var(--accent); }
.tabs, .billing, .calc-plan { display: inline-flex; padding: 4px; gap: 2px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); margin-bottom: 18px; }
.tabs button, .billing button, .calc-plan button { padding: 9px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: background 0.25s, color 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.tabs button.is-on, .billing button.is-on, .calc-plan button.is-on { background: var(--elevated); color: var(--text); box-shadow: inset 0 0 0 1px var(--stroke-2); }
.server-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.server-list li { animation: rowIn 0.4s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-8px); } }
.srv { width: 100%; display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); text-align: left; transition: border-color 0.2s, background 0.2s; }
.srv:hover { border-color: var(--stroke-2); }
.srv.is-on { border-color: rgba(74,222,155,0.5); background: #111b1d; }
.srv img { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; }
.srv .n { flex: 1; display: grid; }
.srv .n b { font-size: 15px; font-weight: 600; }
.srv .n small { font-size: 12.5px; color: var(--text-3); }
.srv .p { font-size: 13px; font-weight: 600; }
.sig { display: inline-flex; align-items: end; gap: 2px; height: 14px; }
.sig i { width: 3px; border-radius: 2px; background: var(--stroke-2); }
.sig i:nth-child(1) { height: 5px; } .sig i:nth-child(2) { height: 9px; } .sig i:nth-child(3) { height: 13px; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 100px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; }
.tag-free { background: var(--elevated); color: var(--text-2); }
.tag-prem { background: var(--accent-soft); color: var(--accent); }
.note { margin-top: 18px; font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; gap: 10px; }

/* ---------- Showcase ---------- */
.showcase { position: relative; max-width: 1040px; margin: 0 auto 44px; padding-right: 120px; }
.shot-desktop { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--stroke-2); box-shadow: 0 50px 120px rgba(0,0,0,0.6); }
.shot-phone { position: absolute; right: 0; bottom: -40px; width: 250px; height: auto; border-radius: 34px; border: 8px solid #1b2432; box-shadow: 0 40px 80px rgba(0,0,0,0.7); transition: transform 0.6s var(--ease); }
.showcase.is-in .shot-phone { animation: floatUp 1s var(--ease) both 0.2s; }
@keyframes floatUp { from { transform: translateY(60px); opacity: 0; } }
.platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 70px; }
.plat { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); transition: transform 0.2s var(--ease), border-color 0.2s; }
.plat:hover { transform: translateY(-2px); border-color: var(--stroke-2); }
.plat .i { width: 24px; height: 24px; color: var(--text-2); }
.plat span { display: grid; line-height: 1.2; font-weight: 700; font-size: 16px; }
.plat small { font-size: 11px; font-weight: 500; color: var(--text-3); }
.plat.is-rec { border-color: rgba(74,222,155,0.6); background: var(--accent-soft); }
.plat.is-rec .i { color: var(--accent); }
.plat.is-rec small { color: var(--accent); }

/* ---------- Pricing ---------- */
#pricing .wrap { text-align: center; }
.billing { margin-bottom: 40px; }
.save { padding: 2px 8px; border-radius: 100px; background: var(--accent); color: var(--accent-ink); font-size: 11px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--stroke); transition: transform 0.3s var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan h3 { display: flex; align-items: center; gap: 9px; font-size: 24px; }
.plan h3 .i { width: 20px; height: 20px; }
.plan-tag { color: var(--text-2); font-size: 14.5px; margin: 6px 0 22px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font: 600 52px var(--display); letter-spacing: -0.04em; transition: opacity 0.2s, transform 0.2s; }
.price b.is-swap { opacity: 0; transform: translateY(-8px); }
.price span { color: var(--text-3); font-size: 15px; }
.billed { color: var(--text-3); font-size: 13.5px; margin: 4px 0 24px; min-height: 22px; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 24px 0 0; border-top: 1px solid var(--stroke); display: grid; gap: 13px; font-size: 14.5px; }
.plan li { display: flex; gap: 11px; align-items: center; }
.plan li .i { width: 17px; height: 17px; color: var(--accent); }
.plan li.off { color: var(--text-3); }
.plan li.off .i { color: var(--stroke-2); }
.plan-premium { background: linear-gradient(170deg, #143528, var(--surface) 55%); border-color: rgba(74,222,155,0.45); box-shadow: 0 30px 80px rgba(74,222,155,0.1); }
.plan-premium h3 .i { color: var(--accent); }
.plan-ultimate { background: linear-gradient(170deg, #211b45, var(--surface) 55%); border-color: rgba(124,107,255,0.45); }
.plan-ultimate h3 .i { color: var(--violet-2); }
.plan-ultimate li .i { color: var(--violet-2); }
.ribbon { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 100px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }

/* ---------- Invite ---------- */
.invite { display: grid; grid-template-columns: 1fr 440px; gap: 80px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { position: relative; padding-left: 52px; color: var(--text-2); font-size: 16.5px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--display); background: var(--elevated); border: 1px solid var(--stroke); color: var(--text-2); }
.steps li:last-child::before { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.steps b { color: var(--text); }
.calc { padding: 30px; border-radius: 28px; background: linear-gradient(160deg, #16382a, #101826 60%); border: 1px solid rgba(74,222,155,0.35); box-shadow: 0 40px 100px rgba(0,0,0,0.4); }
.calc-plan { display: flex; width: 100%; }
.calc-plan button { flex: 1; justify-content: center; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 12px; font-size: 14.5px; color: var(--text-2); }
.calc-label b { font: 600 22px var(--display); color: var(--text); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill, 25%), #0a1a14 var(--fill, 25%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,0.4); cursor: pointer; transition: transform 0.15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: pointer; }
.calc-result { margin: 26px 0 24px; padding: 20px; border-radius: 18px; background: rgba(7,9,15,0.55); border: 1px solid var(--stroke); }
.calc-big { font-family: var(--display); font-size: 20px; color: var(--text-2); }
.calc-big b { font-size: 56px; color: var(--accent); letter-spacing: -0.04em; display: inline-block; min-width: 1ch; }
.calc-sub { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.fine { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 14px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--stroke); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.review figcaption { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 13.5px; }
.review figcaption b { color: var(--text); font-weight: 600; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #0a0e17; background: var(--c); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--stroke); transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: var(--stroke-2); background: #111726; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-3); transition: transform 0.3s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--accent); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; animation: faqIn 0.3s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA & footer ---------- */
.cta-sec { padding-top: 40px; }
.cta { text-align: center; padding: 80px 32px; border-radius: 36px; background: radial-gradient(600px circle at 50% 0%, rgba(74,222,155,0.18), transparent 70%), linear-gradient(160deg, #122a22, #0d1520); border: 1px solid rgba(74,222,155,0.25); }
.cta-logo { width: 48px; height: 60px; margin: 0 auto 22px; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.cta p { color: var(--text-2); font-size: 18px; margin-bottom: 32px; }
.footer { border-top: 1px solid var(--stroke); background: #0a0e17; padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { color: var(--text-3); font-size: 14px; max-width: 280px; margin-top: 14px; }
.footer h4 { font-size: 13.5px; margin: 4px 0 14px; }
.footer-grid > div:not(.footer-brand) { display: grid; gap: 10px; align-content: start; }
.footer-grid a:not(.brand) { color: var(--text-3); font-size: 14px; transition: color 0.2s; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--stroke); font-size: 13px; color: var(--text-3); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .hero-grid, .loc-grid, .invite, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .invite { max-width: 640px; }
  .calc { max-width: 520px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 24px 24px; background: rgba(7,9,15,0.97); border-bottom: 1px solid var(--stroke); transform: translateY(-120%); transition: transform 0.35s var(--ease); z-index: -1; }
  .nav-links.is-open { transform: none; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--stroke); }
  .nav-links a::after { display: none; }
  .menu-btn { display: inline-flex; }
  .link-muted { display: none; }
  .announce span { display: none; }
  .announce::after { content: "Invite a friend — you both get 2 months"; }
  .announce a { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  body { font-size: 15px; }
  .section { padding: 80px 0; }
  .hero { padding-bottom: 64px; }
  .lead { font-size: 16.5px; }
  .hero-ctas .btn { flex: 1; }
  .nav-cta .btn { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--stroke); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--stroke); }
  .stat b { font-size: 34px; }
  .bento, .reviews { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .card-wide { flex-direction: column; align-items: flex-start; }
  .badges { justify-content: flex-start; }
  .bar { grid-template-columns: 90px 1fr 62px; font-size: 13px; }
  .showcase { padding-right: 0; margin-bottom: 120px; }
  .shot-phone { width: 150px; right: -6px; bottom: -90px; border-width: 5px; border-radius: 24px; }
  .platforms { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .plat { padding: 12px; }
  .billing { display: flex; width: 100%; }
  .billing button { flex: 1; justify-content: center; padding: 9px 6px; font-size: 13px; flex-wrap: wrap; gap: 4px; }
  .price b { font-size: 44px; }
  .calc { padding: 22px; }
  .cta { padding: 56px 22px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .demo { padding: 18px 16px; border-radius: 28px; }
  .ring { width: 210px; height: 210px; }
  .core { width: 124px; height: 124px; }
  .loc { font-size: 12.5px; padding: 10px; gap: 7px; }
  .loc span { font-size: 11px; }
}

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