*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #04060b;
  --bg-2: #070b14;
  --cyan: #01deff;
  --blue: #3d7bff;
  --violet: #8b5cff;
  --text: #f2f6fb;
  --muted: #8a96a8;
  --line: rgba(255,255,255,.08);
  --container: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(1,222,255,.3); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.svg-defs { position: absolute; width: 0; height: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: linear-gradient(100deg, #bff6ff 0%, var(--cyan) 35%, var(--blue) 70%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .06em;
}

/* film grain + cursor spotlight */
.grain {
  position: fixed; top: -15vh; left: 0; width: 100%; height: 130vh; z-index: 100; pointer-events: none; opacity: .035;
  -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.spotlight {
  position: fixed; top: 0; left: 0; width: 600px; height: 600px; margin: -300px 0 0 -300px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(1,222,255,.07), transparent 60%);
}
.has-pointer .spotlight { opacity: 1; }

/* ================= LIQUID GLASS ================= */
.glass {
  position: relative; isolation: isolate;
  background:
    linear-gradient(160deg, rgba(255,255,255,.085) 0%, rgba(255,255,255,.02) 40%, rgba(255,255,255,.01) 60%, rgba(255,255,255,.05) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.03),
    inset 1px 0 0 rgba(255,255,255,.05),
    inset -1px 0 0 rgba(255,255,255,.05),
    0 30px 60px -30px rgba(0,0,0,.8);
}
/* gradient rim (refractive edge) */
.glass::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
  border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.5), rgba(255,255,255,.06) 30%, rgba(255,255,255,0) 55%, rgba(1,222,255,.35) 85%, rgba(139,92,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* moving specular light */
.glass::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
  border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.08), transparent 40%);
}
.glass:hover::after { opacity: 1; }
.liquid .glass-liquid {
  -webkit-backdrop-filter: blur(8px) saturate(170%);
  backdrop-filter: url(#liquid) blur(8px) saturate(170%) brightness(1.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(14, 20, 32, .92); }
}

/* ================= BUTTONS ================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 500; white-space: nowrap; letter-spacing: -.01em;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, color .3s;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 0 28px; font-size: 16px; min-height: 58px; }
.btn-lg.has-ic { padding: 9px 26px 9px 9px; }
.btn-arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-light { background: #fff; color: #05070c; }
.btn-light:hover { box-shadow: 0 8px 30px -6px rgba(255,255,255,.45); }
.btn-glow {
  isolation: isolate; color: #031016; font-weight: 600;
  box-shadow: 0 0 0 6px rgba(1,222,255,.08), 0 18px 50px -12px rgba(1,222,255,.7);
}
.btn-glow::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, #ffffff 0%, #d9f8ff 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset;
}
.btn-glow::before {
  content: ""; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), var(--cyan), var(--violet), var(--blue), var(--cyan));
  -webkit-filter: blur(10px); filter: blur(10px); opacity: .7; animation: spin 4s linear infinite;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.btn-glow:hover { box-shadow: 0 0 0 8px rgba(1,222,255,.12), 0 24px 60px -10px rgba(1,222,255,.9); }
.btn-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #05070c; }
.btn-glass { color: var(--text); }
.btn-glass:hover { background: rgba(255,255,255,.1); }

/* ================= NAV ================= */
.nav { position: fixed; top: 18px; left: 0; right: 0; z-index: 60; padding: 0 18px; transition: transform .5s var(--ease); }
.nav.hide { transform: translateY(-120%); }
.nav-pill {
  max-width: 980px; margin: 0 auto; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 8px 8px 8px 22px;
  background: rgba(10, 14, 24, .35);
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-powered { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.14); }
.nav-powered small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.nav-powered img { height: 16px; width: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: #c5cfdc; transition: color .25s, background .25s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
.nav.open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }


/* ================= BRAND MARK (Stock Idea + animated plane) ================= */
.brand-mark { position: relative; display: inline-block; vertical-align: middle; line-height: 0; }
.bm-text { width: 100%; height: auto; }
.bm-plane { position: absolute; left: 52.73%; top: 0; width: 12.21%; transform-origin: 40% 60%; }
.bm-plane img { position: relative; width: 100%; height: auto; -webkit-filter: drop-shadow(0 0 10px rgba(0,174,239,.55)); filter: drop-shadow(0 0 10px rgba(0,174,239,.55)); }
.bm-trail { position: absolute; right: 70%; top: 52%; width: 170%; height: 7%; border-radius: 99px; opacity: 0; transform: rotate(-24deg); transform-origin: 100% 50%; background: linear-gradient(to left, rgba(1,222,255,.95), rgba(61,123,255,.4) 40%, transparent); -webkit-filter: blur(1px); filter: blur(1px); }
.bm-trail::before, .bm-trail::after { content: ""; position: absolute; right: 8%; width: 70%; height: 60%; border-radius: inherit; background: inherit; }
.bm-trail::before { top: -260%; }
.bm-trail::after { top: 300%; width: 55%; }

/* small marks: gentle hover-float */
.bm-sm .bm-plane, .bm-md .bm-plane { animation: planeIdle 3.2s ease-in-out infinite; }
.bm-sm .bm-trail, .bm-md .bm-trail { display: none; }
@keyframes planeIdle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6%, -12%) rotate(-5deg); }
}

/* hero / CTA marks: float, take off with a trail, loop back and land */
.bm-xl .bm-plane, .bm-lg .bm-plane { animation: planeFly 9s cubic-bezier(.45, 0, .2, 1) infinite 1.4s; }
.bm-xl .bm-trail, .bm-lg .bm-trail { animation: planeTrail 9s linear infinite 1.4s; }
@keyframes planeFly {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  12%  { transform: translate(5%, -10%) rotate(-5deg) scale(1); }
  24%  { transform: translate(0, 0) rotate(0deg) scale(1); }
  36%  { transform: translate(5%, -10%) rotate(-5deg) scale(1); }
  48%  { transform: translate(-8%, 6%) rotate(4deg) scale(.96); }
  58%  { transform: translate(420%, -260%) rotate(-14deg) scale(.55); opacity: 0; }
  59%  { transform: translate(-480%, 160%) rotate(10deg) scale(.5); opacity: 0; }
  62%  { opacity: 1; }
  76%  { transform: translate(8%, -14%) rotate(-8deg) scale(1.08); }
  84%  { transform: translate(-2%, 3%) rotate(2deg) scale(.97); }
  92%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
}
@keyframes planeTrail {
  0%, 48% { opacity: 0; transform: rotate(-24deg) scaleX(.2); }
  52% { opacity: 1; transform: rotate(-30deg) scaleX(1); }
  58%, 62% { opacity: 0; transform: rotate(-30deg) scaleX(1.3); }
  66% { opacity: .9; transform: rotate(-24deg) scaleX(.9); }
  78%, 100% { opacity: 0; transform: rotate(-24deg) scaleX(.2); }
}
.brand-mark:hover .bm-plane img { -webkit-filter: drop-shadow(0 0 16px rgba(1,222,255,.9)); filter: drop-shadow(0 0 16px rgba(1,222,255,.9)); }

.bm-sm { width: 118px; }
.bm-md { width: 200px; }
.bm-lg { width: 100%; max-width: 440px; }
.bm-xl { width: 100%; max-width: 720px; -webkit-filter: drop-shadow(0 18px 50px rgba(1,222,255,.22)); filter: drop-shadow(0 18px 50px rgba(1,222,255,.22)); }

/* powered by */
.powered { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px; border-radius: 999px; }
.powered small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.powered img { height: 22px; width: auto; }
.powered-plain { padding: 0; margin-top: 18px; }
.powered-plain img { height: 20px; }
.footer-brand .brand-mark { display: block; }
.footer-brand .powered-plain { margin-top: 14px; }
a.powered { transition: background .3s; }
a.powered:hover { background: rgba(255,255,255,.09); }

.hero-brand { margin-top: 34px; width: 100%; display: flex; justify-content: center; }
.hero-brand + .powered { margin-top: 26px; }
.hero-headline { margin-top: 34px; font-size: 60px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.cta-mark { margin-bottom: 0; }
.cta .powered-plain { margin: 18px 0 36px; }

/* ================= HERO ================= */
.hero { position: relative; padding: 170px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -340px; width: 1100px; height: 700px; margin-left: -550px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(61,123,255,.22), rgba(1,222,255,.08) 40%, transparent 70%);
  -webkit-filter: blur(20px); filter: blur(20px);
}
.waves { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-vignette { position: absolute; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; z-index: 2; }
.hero-copy { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13px; color: #c9d3df; transition: background .3s; }
.badge:hover { background: rgba(255,255,255,.08); }
.badge-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #052; background: #5dffb0; color: #03140c; }
.badge-live i { width: 6px; height: 6px; border-radius: 50%; background: #03140c; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.badge-arrow { color: var(--muted); transition: transform .3s var(--ease); }
.badge:hover .badge-arrow { transform: translateX(3px); }

.hero-sub { margin-top: 28px; max-width: 560px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 14px; color: var(--muted); }
.proof b { color: var(--text); font-weight: 600; }
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 50%; margin-left: -9px; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #fff; border: 2px solid var(--bg);
  background: linear-gradient(135deg, #1a6bff, #01deff);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #8b5cff, #ff6bd6); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #00c9a7, #5dffb0); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #ff9f43, #ffd166); }
.avatars span:nth-child(5) { background: rgba(255,255,255,.12); }

/* 3D device stage */
.stage { position: relative; z-index: 3; max-width: 1000px; height: 760px; margin: 70px auto 0; perspective: 1400px; }
.stage-glow {
  position: absolute; left: 50%; top: 18%; width: 560px; height: 560px; margin-left: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1,222,255,.35), rgba(61,123,255,.2) 35%, transparent 65%);
  -webkit-filter: blur(30px); filter: blur(30px);
}
.device {
  position: absolute; left: 50%; bottom: 20px; width: 340px; margin-left: -170px;
  transform: rotateX(var(--rx, 28deg)) scale(calc(var(--sc, .92) * var(--base, 1))); transform-origin: 50% 100%;
  will-change: transform;
}

/* ================= PHONE FRAME ================= */
.phone {
  position: relative; width: 340px; height: 700px; padding: 11px; border-radius: 56px;
  background: linear-gradient(150deg, #3a404c 0%, #14171d 30%, #0b0d11 60%, #2a2f38 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.16),
    inset 0 0 0 4px #07080b,
    0 0 0 1px rgba(255,255,255,.05),
    0 60px 90px -30px rgba(0,0,0,.9),
    0 30px 60px -20px rgba(1,222,255,.18);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #4a515e, #20242b); }
.phone::before { left: -3px; top: 150px; height: 64px; box-shadow: 0 84px 0 #2c313a; }
.phone::after { right: -3px; top: 190px; height: 96px; }
.island { position: absolute; top: 22px; left: 50%; width: 100px; height: 29px; margin-left: -50px; border-radius: 20px; background: #000; z-index: 5; }
.island::after { content: ""; position: absolute; right: 14px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #05070b 60%); }
.screen { position: relative; height: 100%; border-radius: 46px; overflow: hidden; }
.screen::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 6; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 70%, rgba(255,255,255,.04) 100%); }

/* ================= TELEGRAM UI (dark theme) ================= */
.tg {
  --tg-bg: #0e1621; --tg-head: #17212b; --tg-bub: #182533; --tg-acc: #5eb5f7; --tg-meta: #7d8e9e;
  display: flex; flex-direction: column; background: var(--tg-bg); color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Inter Tight', sans-serif;
  font-size: 13px; line-height: 1.38; letter-spacing: 0; text-align: left;
}
.tg-status { position: relative; z-index: 4; flex: none; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 30px 0 34px; background: var(--tg-head); font-size: 14px; font-weight: 600; }
.tg-sys { display: flex; align-items: center; gap: 5px; }
.tg-sys svg { width: 16px; height: 11px; fill: #fff; }
.bat { position: relative; width: 23px; height: 11px; border: 1px solid rgba(255,255,255,.5); border-radius: 3.5px; padding: 1px; }
.bat::after { content: ""; position: absolute; right: -3px; top: 3px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255,255,255,.5); }
.bat i { display: block; width: 78%; height: 100%; border-radius: 2px; background: #fff; }
.tg-ico { width: 22px; height: 22px; fill: none; stroke: var(--tg-acc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tg-ico circle { fill: #fff; stroke: none; }
.tg-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; background: var(--tg-head); }
.tg-ava { width: 38px; height: 38px; border-radius: 50%; flex: none; padding: 1.5px; background: linear-gradient(135deg, #01deff, #3d7bff 55%, #8b5cff); box-shadow: 0 0 0 2px rgba(1,222,255,.25); animation: avaPulse 2.4s ease-in-out infinite; }
@keyframes avaPulse { 50% { box-shadow: 0 0 0 5px rgba(1,222,255,.0), 0 0 16px rgba(1,222,255,.5); } }
.tg-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tg-title { flex: 1; min-width: 0; }
.tg-title b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-title small { font-size: 12px; color: var(--tg-meta); }
.tg-pin { flex: none; display: flex; align-items: center; gap: 10px; padding: 7px 14px; background: #131c26; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(0,0,0,.3); }
.tg-pin i { width: 2px; height: 30px; border-radius: 2px; background: var(--tg-acc); }
.tg-pin div { flex: 1; min-width: 0; font-size: 12px; }
.tg-pin b { display: block; color: var(--tg-acc); font-weight: 600; }
.tg-pin span { display: block; color: #c6d1db; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-pin svg { width: 14px; height: 14px; stroke: var(--tg-meta); stroke-width: 2; fill: none; }
.tg-chat {
  position: relative; flex: 1; overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(1,222,255,.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139,92,255,.09), transparent 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='1.4'><path d='M10 20l6-6 5 5 7-9'/><circle cx='60' cy='18' r='5'/><path d='M50 58h14M57 51v14'/><path d='M14 62c4-6 10-6 14 0'/></svg>"),
    #0b1520;
}
.tg-chat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; z-index: 1; pointer-events: none; background: linear-gradient(#0b1520, rgba(11,21,32,0)); }
.tg-date { position: absolute; top: 8px; left: 50%; z-index: 2; transform: translateX(-50%); padding: 2px 10px; border-radius: 10px; font-size: 11.5px; font-weight: 500; background: rgba(0,0,0,.35); color: #dfe8ef; }
.tg-list { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 0 10px 10px 10px; will-change: transform; }
.tg-msg { display: flex; align-items: flex-end; gap: 6px; transform-origin: 0 100%; }
.tg-msg.enter { animation: msgIn .7s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
.tg-bub { position: relative; max-width: 86%; padding: 6px 10px 5px; border-radius: 15px 15px 15px 4px; background: var(--tg-bub); box-shadow: 0 1px 1px rgba(0,0,0,.25); }
.tg-bub > b { display: block; color: var(--tg-acc); font-size: 12.5px; font-weight: 600; margin-bottom: 1px; }
.tg-bub p { white-space: pre-line; word-wrap: break-word; font-weight: 500; }
.tg-bub .tg-img { display: block; margin: 2px -6px 6px; border-radius: 11px; overflow: hidden; background: #0a121b; }
.tg-bub .tg-img svg { display: block; width: 100%; height: 100px; margin: 0; overflow: hidden; }
.tg-meta { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 2px; font-size: 11px; color: var(--tg-meta); }
.tg-meta .vw { font-variant-numeric: tabular-nums; }
.tg-react { display: flex; gap: 4px; margin-top: 5px; }
.tg-react span { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 12px; font-size: 11.5px; font-weight: 600; color: var(--tg-acc); background: rgba(94,181,247,.14); animation: pop .5s .5s var(--ease) both; }
.tg-react span:nth-child(2) { animation-delay: .7s; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.tg-share { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.28); }
.tg-share svg { width: 14px; height: 14px; fill: #fff; }
.tg-bottom { position: relative; z-index: 3; flex: none; display: grid; place-items: center; height: 58px; padding-bottom: 8px; background: var(--tg-head); color: var(--tg-acc); font-size: 14.5px; font-weight: 600; letter-spacing: .02em; transition: background .3s; }
.tg-bottom:hover { background: #1c2a38; }
.tg-bottom::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 120px; height: 4px; margin-left: -60px; border-radius: 3px; background: rgba(255,255,255,.6); }

/* profile screen */
.tg-profile { overflow: hidden; }
.tg-profile .tg-status { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.tp-cover { position: relative; flex: none; height: 300px; overflow: hidden; background: #071422; }
.tp-photo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 60% 40%; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-3%, 2%); } }
.tp-shine { position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-18deg); animation: sweep 5s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.tp-chart { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.tp-chart .grid { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.tp-chart .area { fill: url(#coverFill); opacity: 0; animation: fadeIn 1s 1s forwards; }
.tp-chart .line { fill: none; stroke: url(#coverStroke); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: dashLoop 6s var(--ease) infinite; -webkit-filter: drop-shadow(0 0 6px rgba(1,222,255,.9)); filter: drop-shadow(0 0 6px rgba(1,222,255,.9)); }
.tp-chart .tip { fill: #fff; animation: tipPulse 1.6s ease-in-out infinite; }
@keyframes dashLoop { 0% { stroke-dashoffset: 900; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes tipPulse { 50% { r: 7; opacity: .5; } }
.tp-water { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; font-family: var(--sans); font-weight: 700; font-size: 38px; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); }
.tp-back { position: absolute; left: 14px; top: 52px; stroke: #fff; }
.tp-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); }
.tp-name b { display: block; font-size: 19px; font-weight: 600; }
.tp-name small { font-size: 12.5px; color: rgba(255,255,255,.7); }
.tp-actions { flex: none; display: flex; gap: 8px; padding: 10px 12px; }
.tp-actions span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 6px; border-radius: 12px; background: var(--tg-head); color: var(--tg-acc); font-size: 11px; font-weight: 500; }
.tp-actions svg { width: 19px; height: 19px; fill: none; stroke: var(--tg-acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-actions circle { fill: var(--tg-acc); stroke: none; }
.tp-card { flex: none; margin: 0 12px 8px; padding: 9px 12px; border-radius: 12px; background: var(--tg-head); font-size: 11px; line-height: 1.5; white-space: nowrap; overflow: hidden; }
.tp-card p { font-size: 10.5px; }
.tp-card > small { display: block; color: var(--tg-acc); font-size: 11px; margin-bottom: 2px; }
.tp-card a { color: var(--tg-acc); }
.tp-link { display: flex; justify-content: space-between; align-items: center; }
.tp-link small { display: block; color: var(--tg-meta); font-size: 10.5px; }
.tp-link svg { width: 20px; height: 20px; fill: none; stroke: var(--tg-acc); stroke-width: 1.8; }
.tp-tabs { flex: none; display: flex; justify-content: space-between; padding: 4px 16px 0; font-size: 12px; font-weight: 500; color: var(--tg-meta); border-bottom: 1px solid rgba(255,255,255,.05); }
.tp-tabs span { padding: 6px 2px 8px; }
.tp-tabs .on { color: var(--tg-acc); box-shadow: inset 0 -2px 0 var(--tg-acc); }
.tp-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; }
.tp-grid svg { display: block; width: 100%; height: 100%; min-height: 70px; background: linear-gradient(160deg, #0f2233, #0a1520); }
.tp-grid .spark-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; }
.in-view .tp-grid .spark-line { animation: dash 1.8s var(--ease) forwards; }

/* floating message cards */
.tg-float {
  position: absolute; z-index: 3; width: 240px; padding: 10px 14px 8px; border-radius: 18px 18px 18px 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13.5px; line-height: 1.35;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(232,244,255,.88));
  color: #0b1520; opacity: 0; transform: translateY(24px) scale(.9);
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 24px 50px -16px rgba(0,0,0,.8), 0 10px 30px -10px rgba(1,222,255,.35);
}
.tg-float::before { opacity: .6; }
.tg-float b { display: block; font-size: 12px; color: #e0405a; font-weight: 700; margin-bottom: 2px; }
.tg-float p { font-weight: 600; }
.tg-float i { font-style: italic; font-weight: 600; }
.tg-float small { display: block; margin-top: 4px; font-size: 10.5px; color: #6a7a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-view .tg-float { animation: notif 1s var(--ease) forwards, bob 6s ease-in-out infinite; }
.in-view .f1 { animation-delay: .5s, 1.5s; }
.in-view .f2 { animation-delay: .9s, 2.2s; }
.in-view .f3 { animation-delay: 1.3s, 2.8s; }
.in-view .f4 { animation-delay: 1.7s, 3.4s; }
.f1 { left: -6%; top: 11%; }
.f2 { right: -8%; top: 27%; }
.f3 { left: -9%; top: 55%; }
.f4 { right: -5%; bottom: 7%; }

.notif {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; width: 290px;
  padding: 12px 16px 12px 12px; border-radius: 20px; font-size: 14px;
  background: linear-gradient(160deg, rgba(30,40,60,.6), rgba(12,18,30,.5));
  opacity: 0; transform: translateY(20px) scale(.96);
}
.notif small { display: block; font-size: 11px; color: var(--muted); }
.notif b { font-weight: 500; }
.n-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.n1 { left: 2%; top: 22%; }
.n2 { right: 2%; top: 40%; }
.n3 { left: 8%; top: 62%; }
.stage.in-view .notif { animation: notif 1s var(--ease) forwards, bob 7s ease-in-out infinite; }
.stage.in-view .n1 { animation-delay: .6s, 1.6s; }
.stage.in-view .n2 { animation-delay: 1s, 2s; }
.stage.in-view .n3 { animation-delay: 1.4s, 2.4s; }
@keyframes notif { to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ================= MARQUEE ================= */
.marquee { position: relative; z-index: 3; overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-size: 46px; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; color: #e7edf5; }
.marquee-track .outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); font-family: var(--serif); font-style: italic; font-weight: 400; }
.marquee-track i { font-style: normal; font-size: 22px; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= STATS ================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 90px; padding-bottom: 20px; }
.stat { padding: 10px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: 64px; font-weight: 500; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, #8a96a8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }
.stat span em { font-size: 1.15em; }

/* ================= SECTIONS ================= */
.section { position: relative; padding: 130px 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 70px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2, .inside-copy h2 { font-size: 64px; }
.section-head p { margin-top: 20px; color: var(--muted); font-size: 17px; }
.section-head p a { color: var(--text); border-bottom: 1px solid rgba(255,255,255,.3); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ================= BENTO ================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(260px, auto); gap: 18px; }
.tile { border-radius: 28px; padding: 32px; overflow: hidden; transition: transform .6s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: 28px; margin: 14px 0 12px; }
.tile p { color: var(--muted); font-size: 15px; max-width: 380px; }
.tile-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #cfe9f2; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }

.tile-chart { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; }
.candles { width: 100%; height: 200px; margin-top: 24px; overflow: visible; }
.candles .wick { stroke-width: 1.4; }
.candles .body { rx: 2; }
.candles .up { fill: #3be8a0; stroke: #3be8a0; }
.candles .dn { fill: #ff5577; stroke: #ff5577; }
.candles .c { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.2); }
.in-view .candles .c { animation: grow .7s var(--ease) forwards; }
@keyframes grow { to { opacity: 1; transform: none; } }
.candles .ma { fill: none; stroke-width: 2.5; stroke-dasharray: 1200; stroke-dashoffset: 1200; -webkit-filter: drop-shadow(0 0 6px rgba(1,222,255,.8)); filter: drop-shadow(0 0 6px rgba(1,222,255,.8)); }
.in-view .candles .ma { animation: dash 2.6s .4s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

.tile-alerts { grid-column: span 2; }
.alert-stack { margin-top: 26px; display: grid; gap: 10px; }
.alert { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); opacity: 0; transform: translateX(20px); }
.alert i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: none; }
.alert span { flex: 1; }
.alert small { color: var(--muted); font-size: 11px; }
.in-view .alert { animation: slideIn .8s var(--ease) forwards; }
.in-view .alert:nth-child(2) { animation-delay: .25s; }
.in-view .alert:nth-child(3) { animation-delay: .5s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

.tile-community { grid-column: span 2; position: relative; }
.big-num { margin-top: 18px; font-size: 84px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.big-num em { font-size: .8em; }
.orbit { position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; }
.orbit span { position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: 1px solid rgba(1,222,255,.25); animation: rot 12s linear infinite; }
.orbit span::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit span:nth-child(2) { top: 30px; left: 30px; right: 30px; bottom: 30px; animation-duration: 8s; animation-direction: reverse; border-color: rgba(139,92,255,.3); }
.orbit span:nth-child(2)::after { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.orbit span:nth-child(3) { top: 60px; left: 60px; right: 60px; bottom: 60px; animation-duration: 5s; }
@keyframes rot { to { transform: rotate(360deg); } }

.tile-sebi { grid-column: span 2; }
.shield { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(1,222,255,.22), rgba(139,92,255,.22)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 30px -10px rgba(1,222,255,.6); }
.shield svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile-sebi h3 { font-size: 24px; }

.tile-learn { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.levels { position: relative; height: 130px; margin-top: 24px; }
.levels svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
.levels .price { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; }
.in-view .levels .price { animation: dash 2.4s .3s var(--ease) forwards; }
.lvl { position: absolute; left: 0; right: 0; border-top: 1px dashed; }
.lvl span { position: absolute; right: 0; top: -22px; font-size: 11px; }
.lvl.r { top: 18%; border-color: rgba(255,85,119,.6); color: #ff8aa2; }
.lvl.s { top: 80%; border-color: rgba(59,232,160,.6); color: #3be8a0; }

/* ================= INSIDE ================= */
.inside-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.checks { list-style: none; margin: 40px 0 44px; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checks b { font-weight: 500; color: var(--cyan); }
.checks span { color: #b8c3d1; }
.inside-visual { position: relative; }
.inside-visual::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 10%; background: radial-gradient(circle, rgba(61,123,255,.35), transparent 70%); -webkit-filter: blur(40px); filter: blur(40px); }
/* inside phone composition */
.inside-visual { height: 760px; }
.pv { position: absolute; left: 50%; top: 20px; width: 340px; margin-left: -170px; transform: scale(var(--base, 1)); transform-origin: 50% 0; }

/* ================= STEPS ================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { border-radius: 28px; padding: 36px 32px 40px; overflow: hidden; }
.step-no { display: block; font-family: var(--serif); font-style: italic; font-size: 88px; line-height: .9; margin-bottom: 40px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); transition: color .5s, -webkit-text-stroke-color .5s; }
.step:hover .step-no { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ================= FAQ ================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 22px; padding: 0 26px; transition: background .3s; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: rgba(255,255,255,.08) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 14px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(1,222,255,.25); }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 600px; }

/* ================= CTA ================= */
.cta-wrap { padding-top: 40px; }
.cta { border-radius: 40px; padding: 110px 40px; text-align: center; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(61,123,255,.3), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.01)); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-art { width: 100%; max-width: 420px; margin-bottom: 30px; -webkit-filter: drop-shadow(0 10px 40px rgba(1,222,255,.3)); filter: drop-shadow(0 10px 40px rgba(1,222,255,.3)); }
.cta h2 { font-size: 60px; margin-bottom: 44px; }

/* ================= FOOTER ================= */
.footer { position: relative; overflow: hidden; padding-top: 90px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr .7fr; gap: 50px; }

.footer-brand p { margin: 18px 0 22px; color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.socials a:hover { background: rgba(1,222,255,.15); border-color: rgba(1,222,255,.5); transform: translateY(-3px); }
.socials img { width: 17px; height: 17px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col h4 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-col a { color: #d3dbe5; transition: color .25s; }
.footer-col a:hover { color: var(--cyan); }
address { font-style: normal; color: var(--muted); max-width: 280px; }
.disclaimer { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: #6c7889; }
.disclaimer b { color: #aeb9c7; font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: 13px; color: #6c7889; }
.footer-bottom a:hover { color: var(--text); }
.wordmark {
  position: relative; text-align: center; white-space: nowrap; font-weight: 600; letter-spacing: -.06em; line-height: .78;
  font-size: 19vw; margin-top: 10px; padding-bottom: .02em; user-select: none;
  color: #5b7482;
}
.wordmark span {
  display: inline-block; will-change: transform, opacity;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background-image:
    linear-gradient(180deg, rgba(4,6,14,0) 0%, rgba(4,6,14,0) 45%, rgba(4,6,14,.78) 100%),
    linear-gradient(90deg, #e8fbff 0%, #01deff 22%, #3d7bff 48%, #8b5cff 72%, #ff6bd5 88%, #01deff 100%);
  background-size: 100% 100%, var(--wm-w, 100%) 100%;
  background-position: 0 0, var(--wm-x, 0) 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.wordmark::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -2px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(1,222,255,.7), rgba(139,92,255,.6), transparent);
  box-shadow: 0 0 24px 4px rgba(1,222,255,.25);
  opacity: 0; transition: opacity 1.2s ease;
}
.wordmark.is-lit::after { opacity: 1; }
.footer .leaper {
  position: absolute; bottom: 0; left: 50%; width: 96px; width: clamp(64px, 8vw, 150px); z-index: 3;
  pointer-events: none; opacity: 0; transition: opacity .4s;
  transform: translateX(-50%);
}
.wordmark.is-lit + .leaper { opacity: 1; }
.footer .leaper::after {
  content: ""; position: absolute; left: 50%; bottom: 12%; width: 3px; height: 0;
  background: linear-gradient(180deg, rgba(0,174,239,0), rgba(0,174,239,.85));
  border-radius: 3px; transform: translateX(-50%); opacity: 0;
}
.footer .leaper img {
  width: 100%; height: auto; display: block; transform-origin: 50% 90%;
  filter: drop-shadow(0 0 10px rgba(0,174,239,.8));
}
@media (prefers-reduced-motion: no-preference) {
  .wordmark.is-lit + .leaper { animation: leap-path 8s cubic-bezier(.32,.6,.28,1) infinite; }
  .wordmark.is-lit + .leaper img { animation: leap-spin 8s cubic-bezier(.32,.6,.28,1) infinite; }
  .wordmark.is-lit + .leaper::after { animation: leap-trail 8s ease-in-out infinite; }
}
@keyframes leap-path {
  0%, 50%   { transform: translateX(-50%) translateY(0); }
  55%       { transform: translateX(-50%) translateY(9%); }
  63%       { transform: translateX(-30%) translateY(-150%); }
  72%       { transform: translateX(14%) translateY(-200%); }
  80%       { transform: translateX(-34%) translateY(-120%); }
  86%       { transform: translateX(-50%) translateY(0); }
  90%       { transform: translateX(-50%) translateY(6%); }
  94%, 100% { transform: translateX(-50%) translateY(0); }
}
@keyframes leap-spin {
  0%, 50%   { transform: rotate(0) scaleY(1); }
  55%       { transform: rotate(0) scaleY(.88); }
  63%       { transform: rotate(-30deg) scaleY(1); }
  72%       { transform: rotate(-375deg); }
  80%       { transform: rotate(-360deg); }
  86%       { transform: rotate(-360deg) scaleY(.82); }
  90%       { transform: rotate(-360deg) scaleY(1.06); }
  94%, 100% { transform: rotate(-360deg) scaleY(1); }
}
@keyframes leap-trail {
  0%, 56%   { height: 0; opacity: 0; }
  62%       { height: 90%; opacity: .9; }
  72%       { height: 150%; opacity: .7; }
  82%       { height: 30%; opacity: .4; }
  88%, 100% { height: 0; opacity: 0; }
}
/* ================= REVEAL ================= */
[data-reveal] { opacity: 0; transform: translateY(40px); -webkit-filter: blur(8px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), -webkit-filter 1.1s var(--ease), filter 1.1s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; -webkit-filter: none; filter: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .hero-headline { font-size: 52px; }
  .section-head h2, .inside-copy h2 { font-size: 52px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-chart { grid-column: span 2; }
  .tile-alerts, .tile-community, .tile-sebi, .tile-learn { grid-column: span 1; }
  .inside-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .inside-visual { max-width: 600px; margin: 0 auto; width: 100%; }
  .f1, .f3 { left: 0; } .f2, .f4 { right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; padding: 10px;
    border-radius: 24px; background: rgba(8, 12, 22, .94); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s, transform .45s var(--ease), visibility .35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-pill { position: relative; }
  .burger { display: block; }
  .hero { padding-top: 140px; }
  .hero-headline { font-size: 44px; }
  .bm-xl { max-width: 560px; }
  .stage { height: 640px; }
  .device, .pv { --base: .86; }
  .inside-visual { height: 660px; max-width: 560px; margin: 0 auto; width: 100%; }
  .notif { width: 250px; font-size: 13px; }
  .n1 { left: 0; } .n2 { right: 0; } .n3 { left: 2%; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta h2 { font-size: 44px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav { top: 12px; padding: 0 12px; }
  .nav-pill { padding: 6px 6px 6px 16px; }
  .bm-sm { width: 100px; }
  .nav-powered { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .badge { font-size: 11px; gap: 8px; }
  .badge-arrow { display: none; }
  .hero { padding-top: 120px; }
  .hero-headline { font-size: 34px; margin-top: 26px; }
  .hero-brand { margin-top: 26px; }
  .bm-xl { max-width: 92%; }
  .powered { padding: 7px 14px; gap: 9px; }
  .powered small { font-size: 9.5px; }
  .powered img { height: 18px; }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .stage { height: 540px; margin-top: 50px; }
  .device { --base: .72; }
  .pv { --base: .74; top: 10px; }
  .inside-visual { height: 510px; }
  .notif { display: none; }
  .tg-float {
    width: 84%; max-width: 310px; left: 8% !important; right: auto !important; top: auto !important; bottom: 7% !important;
    font-size: 12.5px; padding: 10px 14px 9px; border-radius: 18px;
    -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%;
    box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset, 0 22px 44px -14px rgba(0,0,0,.85), 0 0 34px -8px rgba(1,222,255,.55);
  }
  .tg-float b { font-size: 11px; }
  .tg-float small { font-size: 10px; }
  .in-view .tg-float { animation: deck 12s ease-out infinite both; }
  .in-view .f1 { animation-delay: 0s; }
  .in-view .f2 { animation-delay: 3s; }
  .in-view .f3 { animation-delay: 6s; }
  .in-view .f4 { animation-delay: 9s; }
  .stage-glow { width: 360px; height: 360px; margin-left: -180px; }
  .notif { width: 210px; font-size: 12px; padding: 10px 12px 10px 10px; }
  .n-ic { width: 32px; height: 32px; font-size: 15px; }
  .marquee { padding: 24px 0; }
  .marquee-track span { font-size: 30px; }
  .stats { padding-top: 60px; }
  .stat { padding: 0 0 0 18px; }
  .stat strong { font-size: 42px; }
  .stat span { font-size: 13px; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2, .inside-copy h2 { font-size: 38px; }
  .bento { grid-template-columns: 1fr; }
  .tile-chart, .tile-alerts, .tile-community, .tile-sebi, .tile-learn { grid-column: span 1; }
  .tile { padding: 26px; border-radius: 24px; }
  .tile-chart { min-height: 0; }
  .tile h3 { font-size: 24px; }
  .big-num { font-size: 64px; }
  .checks li { grid-template-columns: 1fr; gap: 4px; }
  .step-no { font-size: 64px; margin-bottom: 26px; }
  .cta { padding: 70px 22px; border-radius: 28px; }
  .cta h2 { font-size: 32px; margin-bottom: 32px; }
  .cta .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  .nav-cta { display: none; }
  .badge { font-size: 10px; }
  .hero-headline { font-size: 30px; }
  .stage { height: 480px; }
  .device { --base: .64; }
  .pv { --base: .66; }
  .inside-visual { height: 455px; }
}

@media (min-width: 1800px) {
  :root { --container: 1440px; }
  .hero-headline { font-size: 72px; }
  .bm-xl { max-width: 860px; }
  .hero-sub { font-size: 21px; max-width: 640px; }
  .stage { max-width: 1200px; height: 840px; }
  .device { --base: 1.1; }
  .section-head h2, .inside-copy h2 { font-size: 76px; }
}

@media (prefers-reduced-motion: no-preference) {
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark, .wordmark span, .footer .leaper { transform: none !important; transition: none !important; animation: none !important; opacity: 1 !important; }
  .footer .leaper { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .notif, .alert, .candles .c { opacity: 1 !important; transform: none !important; filter: none !important; }
  .candles .ma, .levels .price { stroke-dashoffset: 0 !important; }
  .device { transform: scale(var(--base, 1)); }
  .bm-plane, .bm-trail { animation: none !important; }
  .tg-float, .tg-msg { opacity: 1 !important; transform: none !important; }
}
.tp-cover::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; z-index: 1; background: linear-gradient(rgba(0,0,0,.55), transparent); pointer-events: none; }
.tp-back, .tp-name { z-index: 2; }

/* ================= SCROLL PLANE JOURNEY ================= */
.journey .bm-xl .bm-plane, .journey .footer-brand .bm-plane { visibility: hidden; animation: none !important; }
.flyer { position: fixed; left: 0; top: 0; z-index: 58; width: 88px; margin: -26.6px 0 0 -44px; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
.flyer img { width: 100%; height: auto; -webkit-filter: drop-shadow(0 0 12px rgba(0,174,239,.7)); filter: drop-shadow(0 0 12px rgba(0,174,239,.7)); }
.btn-glow.plane-target { animation: joinPulse 1.1s ease-in-out infinite; }
@keyframes joinPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(1,222,255,.15), 0 18px 50px -12px rgba(1,222,255,.7); }
  50% { box-shadow: 0 0 0 16px rgba(1,222,255,0), 0 24px 70px -8px rgba(1,222,255,1); }
}
.journey .cta-mark .bm-plane { animation: planeIdle 3.2s ease-in-out infinite; }
.journey .cta-mark .bm-trail { display: none; }

/* premium hover light: soft cyan glow + rim highlight that follows the cursor */
.glass::after {
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(1,222,255,.10), rgba(61,123,255,.05) 35%, transparent 60%);
}
.cta.glass::after {
  background:
    radial-gradient(650px circle at var(--mx, 50%) var(--my, 0%), rgba(1,222,255,.14), rgba(139,92,255,.07) 35%, transparent 65%);
}
.cta::before, .tile::before, .step::before, .faq details::before {
  background:
    radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(1,222,255,.9), transparent 60%),
    linear-gradient(140deg, rgba(255,255,255,.5), rgba(255,255,255,.06) 30%, rgba(255,255,255,0) 55%, rgba(1,222,255,.35) 85%, rgba(139,92,255,.5));
}

/* ================= NAV JOIN HIGHLIGHT ================= */
.nav-cta {
  isolation: isolate; overflow: visible; font-weight: 600; background: transparent;
  animation: navPing 2.4s ease-out infinite;
}
.nav-cta::before {
  content: ""; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: inherit; z-index: -2;
  background: conic-gradient(from var(--angle, 0deg), var(--cyan), var(--violet), var(--blue), var(--cyan));
  -webkit-filter: blur(6px); filter: blur(6px); opacity: .95; animation: spin 3s linear infinite;
}
.nav-cta::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, #ffffff, #d9f8ff);
  box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset;
}
.nav-cta .nav-shine {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
}
.nav-cta .nav-shine::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.95), transparent);
  transform: skewX(-20deg); animation: navShine 3.2s ease-in-out infinite;
}
.nav-cta .nav-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10c46b; flex: none;
  box-shadow: 0 0 0 0 rgba(16,196,107,.7); animation: navDot 1.6s ease-out infinite;
}
.nav-cta:hover { transform: translateY(-1px) scale(1.04); animation-play-state: paused; box-shadow: 0 10px 34px -6px rgba(1,222,255,.95); }
@keyframes navPing {
  0% { box-shadow: 0 0 0 0 rgba(1,222,255,.55); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(1,222,255,0); }
}
@keyframes navShine {
  0%, 55% { left: -60%; }
  85%, 100% { left: 130%; }
}
@keyframes navDot {
  0% { box-shadow: 0 0 0 0 rgba(16,196,107,.7); }
  80%, 100% { box-shadow: 0 0 0 7px rgba(16,196,107,0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta, .nav-cta::before, .nav-cta .nav-shine::before, .nav-cta .nav-dot { animation: none !important; }
}

/* ================= FREE TILE ================= */
.tile-free { position: relative; }
.tile-free h3 { padding-right: 84px; }
.free-sub { margin-top: 0; max-width: 420px; color: var(--muted); font-size: 14px; }
.tile-free .alert i {
  width: 18px; height: 18px; background: rgba(16,196,107,.16); box-shadow: none; border: 1px solid rgba(16,196,107,.55);
  position: relative;
}
.tile-free .alert i::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px;
  border: solid #22e08a; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.tile-free .alert small {
  color: #22e08a; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: rgba(16,196,107,.12); border: 1px solid rgba(16,196,107,.3);
}
.free-badge {
  position: absolute; top: 22px; right: 22px; width: 74px; height: 74px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  background: radial-gradient(circle at 35% 30%, rgba(1,222,255,.28), rgba(139,92,255,.12) 70%);
  border: 1px solid rgba(1,222,255,.45);
  box-shadow: 0 0 30px -6px rgba(1,222,255,.6), inset 0 0 18px rgba(1,222,255,.15);
  animation: freeFloat 4s ease-in-out infinite;
}
.free-badge b { font-size: 24px; font-weight: 700; background: linear-gradient(180deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.free-badge small { margin-top: 4px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@keyframes freeFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
@media (max-width: 640px) {
  .free-badge { width: 66px; height: 66px; top: 18px; right: 18px; }
  .free-badge b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .free-badge { animation: none !important; } }

/* ================= GTF LOGO ================= */
.powered .gtf { height: 20px; width: auto; display: block; }
.nav-powered .gtf { height: 14px; width: auto; display: block; }
.powered-plain .gtf { height: 18px; }
@media (max-width: 640px) { .powered .gtf { height: 16px; } }

/* ================= CROSS-BROWSER / DEVICE SAFETY ================= */
.inside { overflow: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@supports (padding: max(0px)) {
  .nav { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .container { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); }
  .footer { padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 600px) {
  @supports (padding: max(0px)) {
    .nav { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
    .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  }
}
/* phones in landscape: short viewport */
@media (max-height: 500px) and (orientation: landscape) {
  .nav { top: 10px; }
  .hero { padding-top: 110px; }
  .stage { height: 560px; }
  .notif { display: none; }
}
@media (hover: none) {
  .tile:hover, .step:hover, .socials a:hover { transform: none; }
}

/* mobile: stacked notification deck for floating cards */
@keyframes deck {
  0%   { opacity: 0; transform: translateY(26px) scale(.6); }
  3%   { opacity: 1; transform: translateY(-4px) scale(1.07); }
  5%   { transform: translateY(0) scale(.98); }
  6.5% { transform: translateY(0) scale(1); }
  19%  { opacity: 1; transform: translateY(-14px) scale(1); }
  25%  { opacity: 0; transform: translateY(-56px) scale(.96); }
  100% { opacity: 0; transform: translateY(-56px) scale(.96); }
}


@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .f2, .f3, .f4 { display: none; }
}

/* telegram feed: date chips + real photo posts */
.tg-msg.tg-msg-date { display: flex; justify-content: center; padding: 2px 0; }
.tg-msg-date .tg-date { position: static; transform: none; }
.tg-bub p:empty { display: none; }
.tg-bub .tg-photo img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: 50% 32%; }

/* ================= INSTAGRAM TILE ================= */
.tile-insta {
  grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding-top: 26px; padding-bottom: 26px;
  color: inherit; position: relative;
}
.tile-insta::before {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 140%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(1,222,255,.16), rgba(139,92,255,.14) 55%, transparent 75%);
  -webkit-filter: blur(30px); filter: blur(30px); opacity: .7; transition: opacity .6s;
}
.tile-insta:hover::before { opacity: 1; }
.ig-tag { display: inline-flex; align-items: center; gap: 7px; }
.ig-tag svg { width: 14px; height: 14px; fill: none; stroke: #ff7ab6; stroke-width: 2; }
.ig-head { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.ig-ring { display: block;
  position: relative; flex: none; width: 70px; height: 70px; border-radius: 50%; padding: 3px; isolation: isolate;
}
.ig-ring::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), #bff6ff, #01deff, #3d7bff, #8b5cff, #01deff, #bff6ff);
  animation: spin 5s linear infinite;
}
.ig-ring img { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #0b0f17; background: #fff; object-fit: cover; }
.ig-id b { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 600; }
.ig-id small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.ig-tick { width: 16px; height: 16px; border-radius: 50%; background: #3897f0; position: relative; }
.ig-tick::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ig-stats { display: flex; gap: 0; margin: 14px 0 2px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.ig-stats > div { flex: 1; text-align: center; }
.ig-stats > div + div { border-left: 1px solid rgba(255,255,255,.07); }
.ig-stats strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ig-stats span { font-size: 12px; color: var(--muted); }
.ig-feed {
  position: relative; min-width: 0; width: 100%; max-width: 440px; justify-self: end;
  padding: 12px 12px 14px; border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.9), 0 0 80px -40px rgba(61,123,255,.45);
}
.ig-feed-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; }
.ig-glyph {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 6px 18px -6px rgba(214,36,159,.7);
}
.ig-glyph svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; }
.ig-feed-title { min-width: 0; line-height: 1.2; }
.ig-feed-title b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.ig-feed-title small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11px; color: #cfe9f2; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ig-live i { width: 6px; height: 6px; border-radius: 50%; background: #10c46b; box-shadow: 0 0 8px #10c46b; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 14px; overflow: hidden; }
.ig-post {
  position: relative; display: block; margin: 0; overflow: hidden; height: 0; padding-bottom: 125%;
  background: linear-gradient(160deg, #0f1a2a, #070b13);
}
.ig-post:nth-child(n+10) { display: none; }
.ig-post img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .8s var(--ease), filter .5s; }
.ig-post::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,6,11,0) 35%, rgba(4,6,11,.85));
  opacity: 0; transition: opacity .45s var(--ease);
}
.ig-cap {
  position: absolute; left: 9px; bottom: 8px; right: 9px; z-index: 3; font-size: 11px; font-weight: 600; letter-spacing: .01em; color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.ig-ph .ig-cap { opacity: 1; transform: none; }
.ig-post:hover img { transform: scale(1.07); }
.ig-post:hover::after, .ig-post:focus-visible::after { opacity: 1; }
.ig-post:hover .ig-cap, .ig-post:focus-visible .ig-cap { opacity: 1; transform: none; }
.ig-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #e8f2fa;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  transition: background .4s, border-color .4s, color .3s;
}
.ig-more:hover { background: rgba(255,255,255,.08); border-color: rgba(1,222,255,.45); color: #fff; }
.ig-more:hover .btn-arrow { transform: translate(3px, -3px); }
/* ---- interactive coverflow (enabled by JS: .ig-cf) ---- */
.ig-cf { overflow: hidden; }
.ig-cf .ig-grid {
  display: block; position: relative; overflow: visible; border-radius: 0;
  height: 0; padding-bottom: 72%; perspective: 1100px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ig-cf .ig-post, .ig-cf .ig-post:nth-child(n+10) {
  display: block; position: absolute; top: 0; left: 50%; width: 57%; height: 0; padding-bottom: 71.25%;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.1); cursor: pointer; will-change: transform, opacity;
  transform: translateX(-50%) translateX(calc(var(--o, 0) * 60%)) translateZ(calc(var(--a, 0) * -40px)) scale(calc(1 - var(--a, 0) * .16)) rotateX(var(--rx, 0deg)) rotateY(calc(var(--o, 0) * -22deg + var(--ry, 0deg)));
  opacity: calc(1 - var(--a, 0) * .38); z-index: calc(10 - var(--a, 0));
  transition: transform .75s var(--ease), opacity .6s var(--ease), box-shadow .6s, filter .6s;
  filter: brightness(calc(1 - var(--a, 0) * .25)); -webkit-user-drag: none;
}
.ig-cf .ig-post.is-far { opacity: 0; pointer-events: none; }
.ig-cf .ig-post img { -webkit-user-drag: none; pointer-events: none; }
.ig-cf .ig-post.is-active { box-shadow: 0 24px 50px -18px rgba(0,0,0,.95), 0 0 0 1px rgba(1,222,255,.35), 0 0 46px -12px rgba(61,123,255,.6); }
.ig-cf .ig-post.is-active::after { opacity: 1; }
.ig-cf .ig-post.is-active .ig-cap { opacity: 1; transform: none; font-size: 12.5px; left: 12px; bottom: 11px; }
.ig-cf .ig-post:not(.is-active):hover img { transform: none; }
.ig-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ig-nav {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; line-height: 1; color: #e8f2fa;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.ig-nav:hover { background: rgba(255,255,255,.1); border-color: rgba(1,222,255,.45); transform: scale(1.06); }
.ig-dots { display: flex; align-items: center; justify-content: center; gap: 5px; flex: 1; min-width: 0; }
.ig-dots button { position: relative; width: 6px; height: 6px; padding: 0; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.18); transition: width .5s var(--ease), background .3s; }
.ig-dots button.on { width: 26px; background: rgba(255,255,255,.14); }
.ig-dots button.on::after {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 100%; border-radius: inherit; transform-origin: 0 50%;
  background: linear-gradient(90deg, #01deff, #3d7bff 55%, #8b5cff);
  animation: igFill 4.2s linear forwards;
}
.ig-cf.paused .ig-dots button.on::after { animation-play-state: paused; }
.ig-cf.static .ig-dots button.on::after { animation: none; }
@keyframes igFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* ---- creative layer ---- */
.ig-cf > * { position: relative; z-index: 1; }
.ig-cf > .ig-ambient { position: absolute; top: -10%; left: -10%; right: -10%; bottom: -10%; z-index: 0; pointer-events: none; }
.ig-ambient img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  -webkit-filter: blur(48px) saturate(1.7); filter: blur(48px) saturate(1.7); transform: scale(1.1);
  transition: opacity 1.1s var(--ease);
}
.ig-ambient img.on { opacity: .42; }
.ig-ambient::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 50% 45%, transparent 20%, rgba(4,6,11,.75) 80%); }
.ig-cf .ig-post.tilting { transition: transform .18s ease-out, opacity .6s var(--ease), box-shadow .6s, filter .6s; }
/* story ring on the active card */
.ig-cf .ig-post::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  padding: 2px; opacity: 0; transition: opacity .5s;
  background: conic-gradient(from var(--angle, 0deg), #bff6ff, #01deff, #3d7bff, #8b5cff, #01deff, #bff6ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 4s linear infinite;
}
.ig-cf .ig-post.is-active::before { opacity: 1; }
/* slow zoom on the active photo */
.ig-cf .ig-post.is-active img { animation: igZoom 7s ease-out forwards; }
@keyframes igZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
/* cursor glare + entry sheen */
.ig-glare, .ig-sheen { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none; border-radius: inherit; overflow: hidden; }
.ig-glare { opacity: 0; transition: opacity .4s; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.28), transparent 55%); mix-blend-mode: soft-light; }
.ig-post.tilting .ig-glare { opacity: 1; }
.ig-sheen::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; transform: skewX(-18deg); background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); opacity: 0; }
.ig-post.is-active .ig-sheen::before { animation: igSheen 1.2s .25s var(--ease) both; }
@keyframes igSheen { 0% { left: -70%; opacity: 1; } 100% { left: 140%; opacity: 1; } }
/* like button + heart burst */
.ig-like {
  position: absolute; top: 10px; right: 10px; z-index: 6; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(4,6,11,.45); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s; cursor: pointer; pointer-events: none;
}
.ig-post.is-active .ig-like { opacity: 1; transform: none; pointer-events: auto; }
.ig-like:hover { background: rgba(255,59,107,.35); }
.ig-like svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; transition: fill .3s, stroke .3s; }
.ig-like.liked svg { fill: #ff3b6b; stroke: #ff3b6b; animation: igLikePop .5s var(--ease); }
@keyframes igLikePop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.ig-burst { position: absolute; top: 50%; left: 50%; z-index: 7; pointer-events: none; }
.ig-burst .big { position: absolute; left: -45px; top: -45px; width: 90px; height: 90px; fill: #fff; -webkit-filter: drop-shadow(0 6px 20px rgba(255,59,107,.8)); filter: drop-shadow(0 6px 20px rgba(255,59,107,.8)); animation: igHeart 1s var(--ease) forwards; }
.ig-burst i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--c, #ff3b6b); animation: igSpark .9s var(--ease) forwards; }
@keyframes igHeart { 0% { transform: scale(0); opacity: 0; } 25% { transform: scale(1.2); opacity: 1; } 45% { transform: scale(.95); } 70% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.1) translateY(-30px); opacity: 0; } }
@keyframes igSpark { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
/* deck fan-out intro */
.ig-cf.ig-stacked .ig-post { transform: translateX(-50%) translateY(40px) scale(.7) rotate(calc(var(--o, 0) * 5deg)); opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .ig-cf .ig-post::before, .ig-cf .ig-post.is-active img, .ig-post.is-active .ig-sheen::before { animation: none !important; }
  .ig-cf.ig-stacked .ig-post { transform: translateX(-50%); opacity: 1; }
}
.ig-count { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.ig-cf .ig-more { margin-top: 12px; }
@media (max-width: 600px) {
  .ig-cf .ig-post, .ig-cf .ig-post:nth-child(n+10) { width: 62%; padding-bottom: 77.5%; }
  .ig-cf .ig-grid { padding-bottom: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-cf .ig-post { transition: none; }
}
/* ---- profile side: stats, highlights, bio chips ---- */
.ig-stats { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px !important; margin: 16px 0 0 !important; padding: 0 !important; border: 0 !important; }
.ig-stats > div + div { border-left: 0 !important; }
.ig-stat {
  position: relative; overflow: hidden; text-align: center; padding: 12px 6px 10px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.ig-stat::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #01deff, #3d7bff, #8b5cff); transform: scaleX(0); transition: transform .5s var(--ease); }
.ig-stat:hover { transform: translateY(-3px); border-color: rgba(1,222,255,.3); background: rgba(255,255,255,.06); }
.ig-stat:hover::after { transform: scaleX(1); }
.ig-stat.hot strong { background-image: linear-gradient(100deg, #bff6ff, #01deff 50%, #8b5cff); }
.ig-stats .ig-stat strong { font-size: 22px; background: linear-gradient(180deg, #fff, #b9c6d6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }


.ig-bio { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: #d3dbe5; }
.ig-bio p { margin: 0; color: #d3dbe5; max-width: none; font-size: 13.5px; }
.ig-cat { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.ig-bio a { color: #e0f1ff; font-weight: 500; }
.ig-bio a:hover { color: #7fe9ff; }
.ig-link a { color: #9fd0ff; }
@keyframes igIn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .tile-insta { grid-column: span 2; }
}
@media (max-width: 820px) {
  .tile-insta { grid-template-columns: 1fr; gap: 24px; }
  .ig-feed { max-width: none; justify-self: stretch; }
}
@media (max-width: 600px) {
  .tile-insta { grid-column: span 1; }
  .ig-ring { width: 60px; height: 60px; }
  .ig-id b { font-size: 16px; }
  .ig-stats strong { font-size: 18px; }
  .ig-cap { font-size: 10px; left: 7px; bottom: 6px; }
  .ig-feed { padding: 10px; border-radius: 18px; }
  .ig-grid { border-radius: 10px; }
  .ig-bio, .ig-bio p { font-size: 13px; }
}
@media (hover: none) {
  .ig-post:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-ring::before, .in-view .ig-post { animation: none !important; }
}

/* responsive images: keep aspect ratio when width/height attributes are set */
img { height: auto; }
picture { display: contents; }
.ig-cf .ig-post.is-active.ig-pulse { animation: igPulse .7s var(--ease); }
@keyframes igPulse { 0% { box-shadow: 0 0 0 0 rgba(1,222,255,.8); } 100% { box-shadow: 0 0 0 22px rgba(1,222,255,0); } }


/* ---- Instagram tile: mobile / tablet fit ---- */
.tile-insta > * { min-width: 0; }
.ig-profile { min-width: 0; max-width: 100%; }
@media (max-width: 820px) {
  .tile-insta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tile-insta { padding: 20px 16px; }
  .ig-stats { gap: 6px !important; }
  .ig-stat { padding: 10px 4px 8px; }
  .ig-stats .ig-stat strong { font-size: 19px; }
  .ig-feed { padding: 10px 10px 12px; }
  .ig-feed-head { padding: 2px 2px 10px; }
  .ig-feed-title small { max-width: 130px; }
}
@media (max-width: 360px) {
  .ig-stats .ig-stat strong { font-size: 17px; }
  .ig-stats span { font-size: 11px; }
}
.bento > * { min-width: 0; }
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } }


/* single followers card */
.ig-stats { grid-template-columns: 1fr !important; }
.ig-stat.hot { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 12px 14px; }

/* followers: counter + premium label */
.ig-stat.hot { align-items: center; gap: 14px; padding: 14px 16px; }
.ig-stats .ig-stat.hot strong { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
.ig-fl {
  display: inline-flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.12);
  font-size: 11.5px !important; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  background: linear-gradient(90deg, #e8f6ff, #8fe9ff 60%, #b9a4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #cfe9f2 !important;
}
.ig-fl i { width: 6px; height: 6px; border-radius: 50%; flex: none; background: #01deff; box-shadow: 0 0 8px #01deff, 0 0 0 3px rgba(1,222,255,.15); }
@media (max-width: 600px) { .ig-stats .ig-stat.hot strong { font-size: 26px; } .ig-fl { letter-spacing: .18em; } }

/* ---- profile side: unified premium cards ---- */
.ig-stats { margin-top: 16px !important; }
.ig-stat.hot { justify-content: flex-start; min-height: 64px; border-radius: 16px; }
.ig-bio { margin-top: 10px; }
.ig-sebi {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(120deg, rgba(16,196,107,.10), rgba(1,222,255,.05) 55%, rgba(255,255,255,.02));
  border: 1px solid rgba(16,196,107,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .5s var(--ease), border-color .4s;
}
.ig-sebi::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 35%; pointer-events: none; transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent); animation: navShine 6s ease-in-out infinite;
}
.ig-sebi:hover { transform: translateY(-3px); border-color: rgba(16,196,107,.45); }
.ig-sebi-ic {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, #10c46b, #01b6c9); box-shadow: 0 8px 20px -8px rgba(16,196,107,.8), inset 0 1px 0 rgba(255,255,255,.35);
}
.ig-sebi-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ig-sebi-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ig-sebi-txt small { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6fe3a6; }
.ig-sebi-txt b { margin-top: 3px; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.ig-sebi-no {
  margin-left: auto; flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2;
  padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #e8fff3; font-variant-numeric: tabular-nums;
}
.ig-sebi-no small { font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) {
  .ig-sebi { gap: 10px; padding: 11px 12px; }
  .ig-sebi-ic { width: 34px; height: 34px; border-radius: 10px; }
  .ig-sebi-txt b { font-size: 14px; }
  .ig-sebi-no { font-size: 11.5px; padding: 5px 8px; }
}
@media (max-width: 370px) {
  .ig-sebi { flex-wrap: wrap; }
  .ig-sebi-no { margin-left: 46px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ig-sebi::after { animation: none !important; } }

/* ---- Follow on Instagram: premium CTA ---- */
.ig-follow {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 64px; margin-top: 10px; padding: 10px 12px 10px 10px; border-radius: 16px; color: #fff;
  background: linear-gradient(120deg, rgba(1,222,255,.16), rgba(61,123,255,.14) 50%, rgba(139,92,255,.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px -20px rgba(61,123,255,.8);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
/* sheen */
.ig-follow::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 35%; z-index: -1; pointer-events: none; transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent); animation: navShine 4.5s ease-in-out infinite;
}
.ig-follow:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 24px 50px -18px rgba(1,222,255,.85); }
.ig-follow-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 8px 20px -8px rgba(214,36,159,.8), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .5s var(--ease);
}
.ig-follow-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; }
.ig-follow:hover .ig-follow-ic { transform: rotate(-8deg) scale(1.06); }
.ig-follow-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ig-follow-txt b { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.ig-follow-txt small { margin-top: 3px; font-size: 12px; color: #a9c4d8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-follow-go {
  margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 16px;
  color: #04060b; background: linear-gradient(180deg, #ffffff, #d9f8ff); box-shadow: 0 6px 18px -6px rgba(1,222,255,.9);
  transition: transform .5s var(--ease);
}
.ig-follow:hover .ig-follow-go { transform: translate(2px, -2px) rotate(8deg); }
@media (max-width: 600px) {
  .ig-follow-ic { width: 38px; height: 38px; }
  .ig-follow-txt b { font-size: 14.5px; }
  .ig-follow-go { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .ig-follow::after { animation: none !important; } }
