/* TeleMamba marketing site — v3 "dense / bento dashboard", built out to production copy.
   v7 PLATINUM identity: dark navy/black bg, single platinum metallic accent,
   sharp 2px edges only, no skew/bevel, Bebas Neue + Space Grotesk + Inter + JetBrains Mono. */

:root {
  --bg: #070B14;
  --surface: #0C1322;
  --surface-2: #111A2E;
  --line: #1B2438;
  --line-2: #3A4867;
  --text: #EEF2F9;
  --text-dim: #9AA6BE;
  --text-on-plat: #0B0E16;
  --acc: #C9D5EA;
  --plat: linear-gradient(135deg, #FFFFFF 0%, #D8E1F0 35%, #C9D5EA 55%, #98A5BC 100%);
  --radius: 2px;
  --font-display: "Bebas Neue", sans-serif;
  --font-ui: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
table { border-collapse: collapse; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }

/* ---------- noise overlay ---------- */
.tm-noise {
  /* absolute (not fixed) so it scrolls with the page instead of forcing the browser to
     recompute the mix-blend-mode composite against everything beneath it on every scroll
     frame — that was the single biggest cause of scroll jank on this page. */
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal-on-scroll is enhancement only — content is ALWAYS visible by default.
   JS may animate a small translateY shift in; it must never gate opacity. */
.tm-reveal { opacity: 1; }

.tm-divider {
  position: relative; height: 2px; width: 100%; background: var(--line);
  overflow: hidden; margin: 8px 0 0;
}
.tm-divider::after {
  content: ""; position: absolute; inset: 0; width: 0%;
  background: var(--plat); transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.tm-divider.tm-drawn::after { width: 100%; }

/* ---------- text / buttons ---------- */
.tm-plat-text {
  background: var(--plat); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.tm-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border: none; border-radius: var(--radius);
  background: var(--plat); color: var(--text-on-plat);
  font-family: var(--font-ui); font-weight: 700; font-size: 13px;
  letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer;
  box-shadow: 4px 4px 0 0 #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.tm-btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 #000; }
.tm-btn-primary:active { transform: translate(0, 0); box-shadow: 2px 2px 0 0 #000; }

.tm-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: transparent; color: var(--text);
  font-family: var(--font-ui); font-weight: 700; font-size: 13px;
  letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.tm-btn-ghost:hover { border-color: var(--acc); background: rgba(201, 213, 234, 0.06); }

.tm-sheen { position: relative; overflow: hidden; }
.tm-sheen::after {
  content: ""; position: absolute; top: 0; left: -50%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transition: left 0.6s ease;
}
.tm-sheen:hover::after { left: 130%; }

/* magnetic hover — JS sets transform on mousemove; this just adds the settle-back easing */
.tm-magnetic { transition: transform 0.2s ease-out; }

/* ---------- icons ---------- */
.ic { width: 18px; height: 18px; }
.ic-acc { filter: brightness(0) invert(1); opacity: 0.92; }

/* ================= NAV ================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.04em; font-size: 26px;
  flex-shrink: 0;
}
.brand-mark { display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.tm-btn-primary):not(.nav-cta-mobile-login) {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text-dim); transition: color 0.15s ease;
}
.nav-links a:not(.tm-btn-primary):not(.nav-cta-mobile-login):hover { color: var(--text); }
.nav-cta-mobile, .nav-cta-mobile-login { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 14px 11px;
  margin: -14px -11px; /* keep visual position, expand tap target to ~44x44 */
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

/* ================= HERO — the video is the hero, big, first thing seen ================= */
.hero { padding: 76px 0 80px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-logo-bg {
  position: absolute; top: 50%; left: 64%; width: 820px; max-width: none;
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
}
.hero-logo-bg::before {
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(closest-side, rgba(110,99,245,0.30), rgba(59,138,255,0.14) 55%, transparent 75%);
}
.hero-logo-bg > img:first-child { position: relative; width: 100%; display: block; opacity: 0.22; }
.hero-logo-tg {
  position: absolute; width: 66px; top: 15%; right: 8%; opacity: 0.9;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}
.hero-logo-star { position: absolute; pointer-events: none; }
.hero-logo-star-1 { width: 100px; bottom: 42%; right: -1%; opacity: 1; transform: rotate(-14deg); }
.hero-logo-star-2 { width: 74px; top: 11%; right: 30%; opacity: 1; transform: rotate(16deg); z-index: 0; }

.hero-girl {
  position: absolute; left: 0; bottom: -80px; width: clamp(300px, 42vw, 670px); height: clamp(560px, 70vw, 780px); z-index: 0;
  pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent 94%);
  mask-image: linear-gradient(90deg, #000 58%, transparent 94%);
}
.hero-girl-img { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; opacity: 0.85; }
.hero-girl-badge {
  position: absolute; left: 20px; bottom: 134px; z-index: 1;
  display: flex; align-items: center; gap: 7px;
  background: rgba(7,11,20,0.78); backdrop-filter: blur(6px); border: 1px solid var(--line-2);
  padding: 8px 12px; border-radius: var(--radius);
}
.hero-girl-star { width: 32px; height: 32px; flex-shrink: 0; }
.hero-girl-amount { color: #4ADE80; font-size: 15px; font-weight: 700; }
.hero-girl-permonth { color: var(--text-dim); font-size: 11px; font-weight: 400; }

.hero-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
  padding-left: clamp(260px, 34vw, 430px);
  position: relative; z-index: 1;
  flex-wrap: nowrap;
}
.hero-video { flex: 0 0 auto; position: relative; z-index: 2; }
.hero-text { flex: 0 1 560px; min-width: 260px; position: relative; z-index: 2; }
.hero-of-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  background: rgba(201, 213, 234, 0.06); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 6px 12px; margin-bottom: 14px;
  position: relative; z-index: 2;
}
.hero-of-chip s { color: var(--text-dim); opacity: 0.7; text-decoration-color: #E85C5C; text-decoration-thickness: 1.5px; }
.hero-of-chip span { color: var(--acc); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,1);
  position: relative; z-index: 2;
}
.hero-title .tm-plat-text {
  background: none !important; background-image: none !important;
  color: #C9D5EA !important; -webkit-text-fill-color: #C9D5EA !important;
}
.hero-sub { color: var(--text-dim); font-size: 17px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.hero-video { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.hero-video-frame {
  width: 100%; max-width: clamp(230px, 18vw, 300px); aspect-ratio: 316 / 640; border-radius: var(--radius);
  border: 1px solid var(--line-2); overflow: hidden; position: relative;
  background: #000; box-shadow: 0 0 0 1px #000, 0 30px 70px -16px rgba(0,0,0,0.7), 0 0 60px -8px rgba(201,213,234,0.14);
}
.hero-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-flow {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  font-size: 11px; color: var(--text-dim); letter-spacing: 0.03em; text-transform: uppercase;
}
.hero-flow-step { display: inline-flex; align-items: center; gap: 5px; }
.hero-flow-step .ic { width: 13px; height: 13px; opacity: 0.85; }
.hero-flow-star { width: 18px; height: 18px; }
.hero-flow-arrow { opacity: 0.5; }

/* ================= SHOWCASE — real screenshots, compact side by side ================= */
.showcase { padding: 20px 0 70px; }

/* ================= SCREENSHOT VIEWER — "The System" — stylish menu, not a wall of images ================= */
.shot-viewer {
  display: grid; grid-template-columns: 230px 1fr; gap: 0;
  max-width: 1100px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.shot-menu {
  display: flex; flex-direction: column; background: var(--surface-2);
  border-right: 1px solid var(--line); padding: 12px;
}
.shot-menu-item {
  display: flex; align-items: center; gap: 11px; text-align: left;
  padding: 13px 15px; border: none; border-radius: var(--radius);
  background: transparent; color: var(--text-dim); min-height: 44px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.shot-menu-item .ic { width: 18px; height: 18px; opacity: 0.6; flex-shrink: 0; }
.shot-menu-item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.shot-menu-item.is-active {
  background: var(--plat); color: var(--text-on-plat);
}
.shot-menu-item.is-active .ic { opacity: 1; filter: brightness(0.2); }

.shot-display { position: relative; min-height: 0; }
.shot-frame { display: none; margin: 0; cursor: zoom-in; }
.shot-frame.is-active { display: block; }
.shot-frame img { width: 100%; height: auto; display: block; aspect-ratio: 8 / 5; background: var(--surface-2); object-fit: cover; object-position: top; }
.shot-frame[data-shot-panel="biolink"] img { aspect-ratio: 7 / 4; }
.shot-frame figcaption {
  padding: 16px 22px; font-family: var(--font-ui); font-size: 14px;
  color: var(--text-dim); border-top: 1px solid var(--line);
}

.shot-lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  padding: 40px; cursor: zoom-out;
}
.shot-lightbox.is-open { display: flex; }
.shot-lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.shot-lightbox-close {
  position: absolute; top: 8px; right: 8px; background: none; border: none;
  color: #fff; font-size: 32px; line-height: 1; cursor: pointer; opacity: 0.7;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0;
}
.shot-lightbox-close:hover { opacity: 1; }

/* ================= SECTION HEAD ================= */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.eyebrow {
  display: inline-block; font-family: var(--font-ui); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1;
}
.section-sub { color: var(--text-dim); margin-top: 10px; font-size: 14px; }

/* ================= WHAT YOU GET — colorful feature breakdown ================= */
.features { padding: 50px 0 60px; }
.features-eyebrow { color: rgba(255,255,255,0.85) !important; }
.features-h2 { color: #fff; }
.features-sub { color: rgba(255,255,255,0.6) !important; }
.features-mamba {
  position: absolute; top: 50%; right: -6%; width: 620px; max-width: none;
  transform: translateY(-50%); opacity: 0.32; pointer-events: none; z-index: 0;
}
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: rgba(0,0,0,0.25); border: 1px solid rgba(0,0,0,0.25);
  position: relative; z-index: 2; margin-top: 28px;
}
.feat-card {
  background: rgba(7,11,20,0.72);
  position: relative; overflow: hidden; min-width: 0;
  transition: background 0.2s ease;
}
.feat-card:hover, .feat-card[open] { background: rgba(7,11,20,0.9); z-index: 1; }
.feat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--plat); transition: width 0.3s ease; z-index: 1;
}
.feat-card:hover::before, .feat-card[open]::before { width: 100%; }
.feat-card summary {
  list-style: none; cursor: pointer; padding: 18px 20px;
  display: flex; align-items: center; gap: 10px;
}
.feat-card summary::-webkit-details-marker { display: none; }
.feat-card .ic { width: 22px; height: 22px; flex-shrink: 0; }
.feat-card h3 { font-family: var(--font-ui); font-size: 14.5px; letter-spacing: 0.01em; color: #fff; margin: 0; }
.feat-toggle {
  margin-left: auto; font-family: var(--font-mono); font-size: 15px; color: rgba(255,255,255,0.5);
  flex-shrink: 0; transition: transform 0.2s ease;
}
.feat-card[open] .feat-toggle { transform: rotate(45deg); }
.feat-card ul {
  list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0;
  padding: 0 20px 18px 20px;
}
.feat-card li {
  font-size: 12.5px; color: rgba(255,255,255,0.75); line-height: 1.4; padding-left: 15px; position: relative;
}
.feat-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; opacity: 0.6; font-weight: 700; }

.feat-card-wide { grid-column: span 2; }
.feat-card-wide .ic { width: 26px; height: 26px; }
.feat-card-wide h3 { font-size: 17px; }
.feat-card-wide li { font-size: 13px; max-width: 92%; }

.feat-card-full { grid-column: 1 / -1; }
.feat-card-full .ic { width: 26px; height: 26px; }
.feat-card-full h3 { font-size: 17px; }

.feat-stat {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.06); padding: 20px;
}
.feat-stat .stat-num { font-size: 38px; font-weight: 700; color: #fff; line-height: 1; }
.feat-stat .stat-label { font-size: 12.5px; color: rgba(255,255,255,0.75); line-height: 1.4; }

.feat-quote {
  position: relative; z-index: 2; text-align: center; margin: 22px 0 0;
  font-size: 14px; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.5;
}
.feat-quote .mono { font-style: normal; opacity: 0.7; }

/* ================= CREATOR SPOTLIGHT — telestars-style proof cards, our sharp language ================= */
.spotlight { padding: 30px 0 80px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.spotlight-card { background: var(--surface); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.spotlight-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #fff, var(--acc), #98A5BC); transition: width 0.35s ease; z-index: 2;
}
.spotlight-card:hover::before { width: 100%; }
.spotlight-photo {
  aspect-ratio: 4 / 5; background: var(--surface-2); position: relative;
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.spotlight-photo picture { display: block; width: 100%; height: 100%; }
.spotlight-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 1; }
.spotlight-badge {
  position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #3B8AFF 0%, #6E63F5 45%, #B948D6 100%);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 13px; border-radius: var(--radius); font-size: 14.5px; z-index: 1;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.5);
}
.spotlight-badge .spotlight-star-ic { width: 32px; height: 32px; flex-shrink: 0; }
.spotlight-badge .mono { color: #fff; }
.spotlight-badge .spotlight-usd { color: rgba(255,255,255,0.85); }
.spotlight-usd { color: var(--text-dim); font-size: 12.5px; }
.spotlight-body { padding: 16px 18px 18px; }
.spotlight-name { font-family: var(--font-ui); font-weight: 700; font-size: 14px; }
.spotlight-handle { font-weight: 400; color: var(--text-dim); font-size: 12.5px; margin-left: 4px; }
.spotlight-line { font-size: 13px; color: var(--text-dim); margin: 6px 0 12px; line-height: 1.4; }
.spotlight-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.spotlight-tags span {
  font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.02em;
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 4px 9px; color: var(--text-dim);
}

/* ================= BENEFITS — third use of the colorful Telegram motif ================= */
.benefits { padding: 70px 0; }
.benefits-eyebrow { color: rgba(255,255,255,0.85) !important; }
.benefits-h2 { color: #fff; }
.benefits-star {
  position: absolute; top: -34px; right: 8%; width: 130px; height: 130px;
  opacity: 1; transform: rotate(20deg); pointer-events: none; z-index: 1;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5));
}
.benefit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  background: transparent; border: none; border-top: 2px solid rgba(255,255,255,0.18);
  position: relative; z-index: 2;
}
.benefit {
  background: transparent; padding: 20px 14px; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: #fff; line-height: 1.35;
  position: relative; overflow: hidden;
  border-bottom: 2px solid rgba(255,255,255,0.18);
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.benefit:nth-child(odd) { border-right: 2px solid rgba(255,255,255,0.18); }
.benefit-num {
  font-family: var(--font-display); font-size: 30px; font-weight: 400; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.32); min-width: 44px; flex-shrink: 0; line-height: 1;
  transition: color 0.2s ease;
}
.benefit .ic { flex-shrink: 0; width: 18px; height: 18px; }
.benefit:hover { background: rgba(255,255,255,0.05); padding-left: 22px; }
.benefit:hover .benefit-num { color: var(--acc); }
.benefit::before {
  content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 0;
  background: var(--plat); transition: height 0.25s ease;
}
.benefit:hover::before { height: 100%; }

/* ================= PRICING CARDS ================= */
.pricing { padding: 30px 0 90px; }
.price-cards {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px 20px; position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-3px); border-color: var(--acc); }
.price-card-plan {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.04em;
  font-size: 24px; color: var(--text);
}
.price-card-price { font-family: var(--font-mono); font-weight: 700; font-size: 30px; color: var(--text); }
.price-card-price span { font-size: 11px; font-weight: 400; color: var(--text-dim); font-family: var(--font-body); margin-left: 3px; }
.price-card-feats { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-card-feats li {
  font-size: 13px; color: var(--text-dim); line-height: 1.4; padding-left: 20px; position: relative;
}
.price-card-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--acc); font-weight: 700;
}
.price-card-feats li b { color: var(--text); font-weight: 700; }
.price-card-feats li.price-feat-no { opacity: 0.5; }
.price-card-feats li.price-feat-no::before { content: "–"; color: var(--text-dim); }
.price-card .price-cta { width: 100%; justify-content: center; }

.price-card-featured {
  background: rgba(201, 213, 234, 0.06); border: 2px solid var(--acc);
  transform: scale(1.05); z-index: 1;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.6), 0 0 40px -12px var(--acc-glow, rgba(201,213,234,0.3));
}
.price-card-featured:hover { transform: scale(1.05) translateY(-3px); }
.price-card-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--plat); color: var(--text-on-plat);
  font-family: var(--font-ui); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius); white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.6);
}
.row-note { display: block; font-size: 9.5px; opacity: 0.7; margin-top: 2px; }

/* ================= FAQ ================= */
.faq-section { padding: 30px 0 90px; }
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-ui); font-size: 14.5px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-family: var(--font-mono); color: var(--acc); font-size: 16px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 0 4px 18px; font-size: 13.5px; color: var(--text-dim); max-width: 640px; }

/* ================= JOIN / COMMUNITY — the one intentional Telegram-branded section ================= */
.join-section { padding: 70px 0 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 2; }
.join-text h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; letter-spacing: 0.01em; max-width: 520px; color: #fff; }
.join-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.tg-pattern-bg {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, #3B8AFF 0%, #6E63F5 45%, #B948D6 100%);
}
.tg-pattern-bg::before {
  content: ""; position: absolute; inset: 0; opacity: 0.14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M14 40 L52 22 c2-1 3.5 0.5 3 3l-7 33c-0.6 2.4-2 3-4 1.8l-11-8 -5.4 5.2c-0.6 0.6-1.1 1.1-2.2 1.1l0.8-11.4 20.8-18.8c0.9-0.8-0.2-1.3-1.4-0.5l-25.7 16.2 -11-3.5c-2.4-0.8-2.5-2.4 0.5-3.6Z' fill='none' stroke='%23FFFFFF' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 72px 72px;
}

/* Muted variant — same Telegram-paper-plane motif, toned way down so it reads as
   "dark, hero-adjacent" rather than the full saturated banner treatment. */
.tg-pattern-bg-muted {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #10182C 0%, #1B1B34 45%, #23172F 100%);
}
.tg-pattern-bg-muted::before {
  content: ""; position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M14 40 L52 22 c2-1 3.5 0.5 3 3l-7 33c-0.6 2.4-2 3-4 1.8l-11-8 -5.4 5.2c-0.6 0.6-1.1 1.1-2.2 1.1l0.8-11.4 20.8-18.8c0.9-0.8-0.2-1.3-1.4-0.5l-25.7 16.2 -11-3.5c-2.4-0.8-2.5-2.4 0.5-3.6Z' fill='none' stroke='%23FFFFFF' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 72px 72px;
}
.join-section .join-text .section-sub { color: rgba(255,255,255,0.82); }
.join-star-deco {
  position: absolute; top: -30px; right: -20px; width: 220px; height: 220px;
  opacity: 1; transform: rotate(18deg); pointer-events: none; z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}
.join-btn-tg { display: inline-flex; align-items: center; gap: 9px; }
.join-btn-ic { width: 18px; height: 18px; }
.join-btn-support {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border: none; border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 700; font-size: 13px; color: #fff;
  background: #145E85; box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
  transition: background 0.15s ease;
}
.join-btn-support:hover { background: #186E9C; }

/* ================= MID-PAGE TELEGRAM BANNER — second use of the colorful motif ================= */
.mid-banner { padding: 44px 0; text-align: center; }
.mid-banner-inner { position: relative; z-index: 2; }
.mid-banner h2 {
  font-family: var(--font-display); color: #fff; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 32px); letter-spacing: 0.01em; margin-bottom: 6px;
}
.mid-banner p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 0; }
.mid-banner-star {
  position: absolute; top: -40px; left: 6%; width: 130px; height: 130px;
  opacity: 1; transform: rotate(-14deg); pointer-events: none; z-index: 1;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5));
}

/* ================= FOOTER ================= */
.footer { padding: 48px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0 32px; }
.footer-brand p { color: var(--text-dim); font-size: 13px; margin-top: 10px; max-width: 220px; }
.footer-col h4 { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 12px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-dim); padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-tg-link { display: flex !important; align-items: center; gap: 7px; }
.footer-tg-ic { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text-dim); padding-top: 20px; }

/* legal pages (terms/privacy) */
.legal-main { padding: 48px 0 90px; }
.legal-main .wrap { max-width: 780px; }
.legal-main h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; margin-bottom: 6px; }
.legal-updated { color: var(--text-dim); font-size: 12.5px; margin-bottom: 36px; }
.legal-main h2 { font-family: var(--font-ui); font-size: 16px; text-transform: uppercase; letter-spacing: 0.02em; margin: 36px 0 12px; color: var(--acc); }
.legal-main p, .legal-main li { font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.legal-main ul { margin: 10px 0; padding-left: 20px; list-style: disc; }
.legal-main li { margin-bottom: 6px; }
.legal-back { display: inline-block; margin-top: 40px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px; gap: 4px; z-index: 60;
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a:not(.tm-btn-primary):not(.nav-cta-mobile-login) { padding: 12px 0; width: 100%; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-mobile-login { display: inline-flex; justify-content: center; margin-top: 14px; width: 100%; }
  .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 10px; width: 100%; }

  .hero-inner {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 20px; padding-left: 24px;
  }
  .hero-text { text-align: center; max-width: 100%; flex: 0 0 auto; order: -2; }
  .hero-sub { margin: 0 auto; }
  .hero-actions { justify-content: center; margin-top: 2px; }
  .hero-video-frame { width: 100%; max-width: 260px; }
  .hero-logo-bg { width: 460px; }
  /* Telegram logo + a star, tucked lower at her sides and BEHIND her (z-index under her photo)
     so they peek out from around her silhouette instead of floating above/in front of her —
     glow tinted to each icon's own color for a bit more polish than a flat drop-shadow. */
  .hero-logo-star-2 { display: none; }
  .hero-logo-tg {
    width: 44px; top: 36%; right: 12%; left: auto; bottom: auto; opacity: 0.95; z-index: 1;
    filter: drop-shadow(0 4px 16px rgba(34,158,217,0.55)) drop-shadow(0 8px 18px rgba(0,0,0,0.4));
  }
  .hero-logo-star-1 {
    width: 48px; top: 37%; bottom: auto; right: auto; left: 4%; opacity: 1; z-index: 1;
    transform: rotate(-14deg);
    filter: drop-shadow(0 4px 16px rgba(255,199,44,0.5)) drop-shadow(0 8px 18px rgba(0,0,0,0.4));
  }
  .hero-girl {
    position: relative; left: auto; top: auto; bottom: auto;
    width: 100%; max-width: 300px; aspect-ratio: 827 / 974; height: auto; margin: 14px auto 0; z-index: 0;
    overflow: visible;
    /* the desktop rule above sets a horizontal mask meant for the wide bleed-off-left layout —
       on mobile this container also holds the cobra logo (reparented by site.js) and that leftover
       mask was hard-clipping it into a rectangle on the left/right. Kill it here; each child
       (girl photo, cobra) has its own correct mask instead. */
    -webkit-mask-image: none; mask-image: none;
  }
  /* Real mamba logo, big and centered behind her, bleeding into the background with NO visible
     frame at the top/sides. The "-soft" pre-baked asset actually has a hard silhouette edge
     (it's just the snake's body outline, not a true radial fade) — so the falloff is done here
     instead with a real CSS radial-gradient mask on the raw artwork, sized so it fully dissolves
     to transparent well inside its own canvas. Not clipped by .hero-girl (overflow:visible) —
     it's meant to bleed past the girl's own box and get cut only by the section's edge, which is
     off-screen (invisible) at the sides/top. Bottom is allowed to be cropped by the section. */
  .hero-girl .hero-logo-bg { width: 640px; top: 42%; left: 50%; z-index: 1; }
  .hero-girl .hero-logo-bg::before { display: none; }
  .hero-girl .hero-logo-bg > img:first-child {
    content: url('img/brand/logo-bg.webp');
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 58% 54% at 50% 42%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 58% 54% at 50% 42%, #000 20%, transparent 75%);
  }
  /* fade only her own photo into the subtitle below — not the logo behind her, not the badge */
  .hero-girl-img {
    object-position: top center; opacity: 0.95; z-index: 2;
    -webkit-mask-image: linear-gradient(180deg, #000 94%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 94%, transparent 100%);
  }
  .hero-girl-badge { bottom: 20px; left: 50%; transform: translateX(-50%); border: none; z-index: 3; }
  .hero-video { position: relative; z-index: 1; }

  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .price-card-featured { grid-column: 1 / -1; transform: none; }
  .price-card-featured:hover { transform: translateY(-3px); }

  .showcase { padding-top: 30px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }

  .shot-viewer { grid-template-columns: 1fr; }
  .shot-menu {
    flex-direction: row; flex-wrap: wrap; border-right: none;
    border-bottom: 1px solid var(--line); gap: 4px;
  }
  .shot-menu-item { flex: 1 1 auto; justify-content: center; }

  /* No side-scroll on mobile — fit the screenshot to the column, tap it to zoom in the lightbox. */
  .shot-display { min-width: 0; }
  .shot-frame img { width: 100%; max-width: none; aspect-ratio: 8 / 5; }
  .shot-frame[data-shot-panel="biolink"] img { aspect-ratio: 7 / 4; }

  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-col a { padding: 12px 0; }
  .join-inner { justify-content: center; text-align: center; }
  .join-text h2 { max-width: none; }
}

@media (max-width: 640px) {
  .hero { padding: 36px 0 32px; }
  .hero-video-frame { width: 220px; }
  .hero-logo-bg { width: 320px; }
  .price-cards { grid-template-columns: 1fr; }
  .showcase { padding: 30px 0 50px; }
  .shot-menu-item { padding: 10px 12px; font-size: 12px; }

  .feat-grid { grid-template-columns: 1fr; }
  .feat-card-wide, .feat-card-full { grid-column: 1 / -1; }
  .features-mamba { opacity: 0.18; }

  .spotlight-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit:nth-child(odd) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr; padding-left: 32px; }
  .footer-bottom { padding-left: 32px; }
}

/* ================= SERVICE SHOUTOUT — points at /chatting ================= */
.service-shout {
  position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 12% 50%, rgba(242,193,78,0.10), transparent 65%),
    radial-gradient(600px 300px at 88% 50%, rgba(139,92,246,0.14), transparent 65%),
    var(--surface);
}
.shout-mamba {
  position: absolute; top: 50%; right: -6%; width: min(460px, 40vw);
  transform: translateY(-50%); opacity: 0.09; pointer-events: none;
}
.shout-star {
  position: absolute; top: -26px; left: 4%; width: 92px; transform: rotate(-15deg);
  pointer-events: none; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5));
}
.shout-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
}
.shout-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: #F2C14E;
}
.shout-of { width: 19px; height: 19px; }
.service-shout h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px);
  text-transform: uppercase; line-height: 1.06; color: #fff; margin-bottom: 12px;
}
.shout-text p { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.65; color: var(--text-dim); }
.shout-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.shout-cta {
  background: linear-gradient(105deg, #FFF6DC 0%, #FFD873 30%, #F2C14E 55%, #E0AA3C 78%, #C68F2E 100%);
  color: #1A1206; border: 1px solid rgba(0,0,0,0.4); box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}
.shout-cta:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(0,0,0,0.6); }

@media (max-width: 900px) {
  .shout-inner { flex-direction: column; align-items: flex-start; }
  .shout-text p { max-width: none; }
  .shout-star { width: 66px; top: -18px; }
  .shout-mamba { right: -20%; opacity: 0.06; }
}
@media (max-width: 640px) {
  .shout-actions { width: 100%; }
  .shout-actions a { flex: 1 1 100%; justify-content: center; }
}
.shout-btn-ic { width: 17px; height: 17px; margin-right: 8px; vertical-align: -3px; }
