:root {
  color-scheme: dark;
  --bg: #08090a; --bg-2: #0f1011; --panel: #141516; --panel-2: #1a1b1d;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.12);
  --text: #f7f8f8; --text-2: #d0d6e0; --muted: #8a8f98; --faint: #62666d;
  --tg: #2aabee; --tg-2: #229ed9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv01", "ss03"; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(8,9,10,.8); backdrop-filter: blur(14px); }
nav .wrap { display: flex; align-items: center; height: 60px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.brand img { width: 24px; height: 24px; border-radius: 7px; }
.links { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 13.5px; color: var(--muted); }
.links a:hover, footer a:hover { color: var(--text); }
.btn-tg { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: #fff; background: var(--tg); transition: background .15s; white-space: nowrap; }
.btn-tg:hover { background: var(--tg-2); }
.btn-tg svg { width: 15px; height: 15px; }
.btn-tg.lg { height: 46px; padding: 0 22px; font-size: 15px; }

/* hero */
.hero { padding: 120px 0 0; position: relative; }
h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; margin: 0; max-width: 760px; }
.sub { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.sub p { margin: 0; color: var(--muted); font-size: 16px; max-width: 520px; }
.new { font-size: 13.5px; color: var(--muted); }
.new b { color: var(--text); font-weight: 500; margin-right: 6px; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.hero-cta span { color: var(--faint); font-size: 13.5px; }

/* sections */
section { padding: 120px 0 0; }
.kicker { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); }
.statement { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.22; letter-spacing: -.025em; font-weight: 500; margin: 0; max-width: 900px; }
.statement span { color: var(--faint); }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 48px; max-width: 560px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 24px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14px; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feat > div { padding: 30px; background: var(--bg-2); }
.feat > div:nth-child(odd) { border-right: 1px solid var(--line); }
.feat > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.feat svg { width: 20px; height: 20px; color: var(--text-2); margin-bottom: 18px; }
.feat h3 { margin: 0 0 6px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps div { border-top: 1px solid var(--line-2); padding-top: 20px; }
.steps em { font-style: normal; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 10px 0 6px; font-size: 16px; font-weight: 500; }
.steps p { margin: 0; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--bg-2); display: flex; flex-direction: column; }
.plan.pop { border-color: rgba(255,255,255,.22); background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); }
.plan .n { color: var(--text-2); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.plan .n em { font-style: normal; font-size: 11px; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; }
.plan b { font-size: 36px; font-weight: 600; letter-spacing: -.03em; margin: 14px 0 2px; }
.plan b s { font-size: 15px; color: var(--faint); font-weight: 400; margin-left: 8px; }
.plan span { color: var(--muted); font-size: 13.5px; }
.note { color: var(--faint); font-size: 13.5px; margin-top: 18px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 720px; }
.faq a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.end { text-align: center; padding: 140px 0 120px; position: relative; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 45%, rgba(255,255,255,.07), transparent 70%); }
.end img { width: 300px; max-width: 70%; height: auto; margin-bottom: 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent); mask-image: radial-gradient(closest-side, #000 76%, transparent); }
.end h2 { margin-bottom: 12px; }
.end p { color: var(--muted); margin: 0 0 32px; }
footer { border-top: 1px solid var(--line); margin-top: 120px; padding: 48px 0 64px; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 12px; color: var(--text); font-weight: 500; font-size: 13.5px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .legal { margin-top: 16px; color: var(--faint); font-size: 12.5px; max-width: 340px; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .links .nav-sec { display: none; }
  .hero { padding-top: 72px; }
  .stats, .steps { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .feat { grid-template-columns: 1fr; }
  .feat > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
  section { padding-top: 88px; }
  .wrap { padding: 0 16px; }
}

/* language switch */
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  color: var(--text-2); border: 1px solid var(--line-2); }
.lang-btn:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.lang-btn svg { width: 14px; height: 14px; }

/* hero: the real mini app in a floating phone */
.stage { position: relative; margin-top: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.stage::before { content: ""; position: absolute; left: -10%; right: -10%; top: 5%; bottom: -10%; z-index: -1;
  background: radial-gradient(38% 55% at 50% 50%, rgba(255,255,255,.10), transparent 70%); }
.phone { position: relative; width: 300px; aspect-ratio: 390 / 844; padding: 9px; border-radius: 50px; background: #121315;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 0 0 1px #000, 0 50px 120px rgba(0,0,0,.75);
  animation: float 7s ease-in-out infinite; }
.phone .screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: #08090a; display: flex; flex-direction: column; }
.phone .island { position: absolute; top: 10px; left: 50%; width: 88px; height: 25px; margin-left: -44px; border-radius: 20px; background: #000; z-index: 2; }
.phone .status { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 4px 26px 0 30px; font-size: 13px; font-weight: 600; color: #fff; flex: none; }
.phone .status i { display: inline-block; width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,.8); position: relative; }
.phone .status i::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: #fff; border-radius: 1px; }
.phone .tgbar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; font-size: 12.5px; color: var(--text-2); flex: none; }
.phone .tgbar b { color: var(--text); font-weight: 600; font-size: 13.5px; }
.phone .tgbar b small { display: block; text-align: center; color: var(--muted); font-weight: 400; font-size: 10.5px; }
.phone .tgbar span { width: 52px; }
.phone .tgbar span:last-child { text-align: right; letter-spacing: 1px; }
.phone .screen img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; display: block; }
.float-card { background: rgba(20,21,22,.82); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px; font-size: 13.5px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0,0,0,.55); max-width: 270px; }
.float-card.left { justify-self: end; animation: float 7s ease-in-out -2.5s infinite; }
.float-card.right { justify-self: start; animation: float 7s ease-in-out -5s infinite; }
.fc-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.fc-head img { width: 20px; height: 20px; border-radius: 50%; }
.fc-head b { color: var(--text); font-weight: 500; }
.fc-gift { display: flex; gap: 12px; align-items: center; }
.fc-gift img { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.fc-gift b { display: block; font-weight: 500; }
.fc-gift small { color: var(--muted); }
.fc-rows { margin-top: 12px; display: grid; gap: 4px; color: var(--text-2); }
.fc-rows div { display: flex; justify-content: space-between; gap: 12px; }
.fc-rows .p { color: var(--text); font-weight: 600; }
.fc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.fc-btns span { text-align: center; padding: 6px; border-radius: 9px; background: rgba(255,255,255,.07); font-size: 12px; color: var(--text); }
.fc-list { display: grid; gap: 10px; }
.fc-list div { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.fc-list div::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); flex: none; }
.fc-list div:first-child::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .phone, .float-card { animation: none; } }
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .float-card.right { display: none; }
  .float-card.left { order: 2; justify-self: center; margin-top: -70px; z-index: 2; animation: none; }
}
@media (max-width: 680px) {
  .links .nav-sec { display: none; }
  .phone { width: 270px; }
}
.cap { text-align: center; color: var(--faint); font-size: 12px; margin-top: 28px; }

.brand { white-space: nowrap; }
.show-sm { display: none; }
@media (max-width: 440px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .links { gap: 10px; }
  .lang-btn svg { display: none; }
}
