:root {
  --bg: #0b0d11;
  --bg-alt: #0e1116;
  --card: #151922;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --text: #eef1f5;
  --text-muted: #98a2b3;
  --text-body: #b4bdca;
  --text-dim: #6b7686;
  --accent: #29e0a4;
  --accent-ink: #06110c;
  --accent-soft: rgba(41,224,164,0.12);
  --accent-border: rgba(41,224,164,0.22);
  --down: #e05a6b;
  --warn: #f5b544;
  --warn-soft: rgba(245,181,68,0.06);
  --warn-border: rgba(245,181,68,0.25);
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.82; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container-narrow { max-width: 820px; }
.container-narrow-mid { max-width: 900px; }

.section {
  padding: clamp(60px, 9vw, 120px) 24px;
}
.section-alt { background: var(--bg-alt); }
.section > .container { padding: 0; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-lead { color: var(--text-muted); font-size: 16px; margin-top: 14px; }
.section-lead.center { text-align: center; }

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  margin-top: 14px;
}
.h2-sm { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.12; }

.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-outline {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border-strong);
}
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,13,17,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
}
.brand-mark.small { width: 26px; height: 26px; font-size: 14px; border-radius: 7px; }
.brand-name { font-weight: 700; font-size: 16px; }
.brand-name.small { font-weight: 600; font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-links > a:not(.btn) {
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links > a:not(.btn):hover { opacity: 0.8; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 24px clamp(72px, 10vw, 130px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 50% -10%, rgba(41,224,164,0.14), transparent 60%);
  pointer-events: none;
}
.hero-glow.small {
  background: radial-gradient(700px 380px at 50% 0%, rgba(41,224,164,0.14), transparent 60%);
}
.hero-candles {
  position: absolute;
  inset: auto 0 0;
  height: 300px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 24px;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  pointer-events: none;
}
.candle { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.candle .wick { width: 2px; }
.candle .body { width: 70%; }

.hero-inner { position: relative; max-width: 820px; margin: 0 auto; animation: riseIn 0.6s ease both; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s infinite;
}
.hero h1 {
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-top: 24px;
}
.hero-sub {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-body);
  max-width: 54ch;
  margin: 22px auto 0;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-ctas.center { justify-content: center; }
.fine-print { font-size: 12.5px; color: var(--text-dim); margin-top: 24px; }
.fine-print.center { text-align: center; }

@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(41,224,164,0.55); } 50% { box-shadow: 0 0 0 8px rgba(41,224,164,0); } }

/* Grids & cards */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-top: 18px; }
.card p { color: var(--text-muted); font-size: 14px; margin-top: 8px; }
.card-lg { padding: clamp(28px, 4vw, 44px); border-radius: 20px; }
.card-lg p { font-size: 15.5px; color: var(--text-body); margin-top: 16px; }
.card-tinted {
  background: linear-gradient(180deg, rgba(41,224,164,0.08), rgba(21,25,34,0.6));
  border: 1px solid var(--accent-border);
}

.step-badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
}

.feature-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: grid;
  place-items: center;
}
.feature-icon span { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.grid-4 .card h3 { font-size: 15.5px; }
.grid-4 .card p { font-size: 13.5px; margin-top: 7px; }

/* Two column / example alert */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.bullet-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.bullet-list li { display: flex; gap: 10px; color: var(--text-body); font-size: 14.5px; }
.bullet-list li::before { content: '·'; color: var(--accent); font-weight: 700; }

.telegram-wrap { max-width: 420px; width: 100%; margin: 0 auto; }
.telegram-card {
  background: #17212b;
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
}
.telegram-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.telegram-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.telegram-who { flex: 1; }
.telegram-name { font-weight: 700; font-size: 14px; color: #fff; }
.telegram-sub { font-size: 11.5px; color: #6d7d8c; }
.telegram-time { font-size: 11px; color: #6d7d8c; }
.telegram-bubble {
  margin-top: 14px;
  background: #2b3a4a;
  border-radius: 12px;
  border-top-left-radius: 4px;
  padding: 14px 16px;
}
.alert-title { font-weight: 700; color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.alert-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #dfe7ee; padding: 3.5px 0; }
.alert-row span { color: #93a4b3; }
.accent-text { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.telegram-delivered { text-align: right; font-size: 10.5px; color: #6d7d8c; margin-top: 10px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}
.faq-sign { color: var(--accent); font-size: 20px; line-height: 1; flex-shrink: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.faq-answer p { padding-bottom: 0; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 20px 20px; }

/* Disclaimer */
.section-disclaimer { padding: clamp(48px, 7vw, 88px) 24px; }
.disclaimer-card {
  background: var(--warn-soft);
  border: 1px solid var(--warn-border);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
}
.disclaimer-head { display: flex; align-items: center; gap: 10px; }
.disclaimer-badge {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(245,181,68,0.18);
  color: var(--warn);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
}
.disclaimer-head h2 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.disclaimer-card p { color: #c3ccd6; font-size: 14.5px; margin-top: 16px; line-height: 1.7; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; }
.cta-heading { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-top: 0; }

/* Contact */
.contact-single { max-width: 440px; margin: 0 auto; }
.contact-single .contact-card { text-align: center; }
.contact-single .contact-icon { margin: 0 auto; }
.contact-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  display: block;
  color: var(--text);
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 800;
}
.contact-icon-muted {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
}
.contact-label { font-weight: 700; font-size: 15px; margin-top: 16px; }
.contact-value { color: var(--text-muted); font-size: 13.5px; margin-top: 4px; }

/* Footer */
.footer { padding: 40px 24px; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.footer-legal { color: var(--text-dim); font-size: 12.5px; max-width: 60ch; }

/* ---- Mobile refinements ---- */
@media (max-width: 640px) {
  /* Compact single-row nav: brand + Join button; text links hidden (all sections reachable by scroll) */
  .nav-inner { flex-wrap: nowrap; padding: 12px 16px; }
  .nav-links > a:not(.btn) { display: none; }
  html { scroll-padding-top: 64px; }

  .hero { padding: 64px 20px 84px; }
  .hero-candles { height: 170px; gap: 5px; opacity: 0.12; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-sub { font-size: 16.5px; }
  .hero-ctas { flex-direction: column; align-items: center; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }

  .section { padding: 56px 20px; }
  .section-head { margin-bottom: 28px; }
  .section-head.center { margin-bottom: 28px; }
  .grid { gap: 12px; }
  .card { padding: 20px; }
  .card h3 { margin-top: 14px; }

  .two-col { gap: 28px; }
  .telegram-wrap { max-width: 100%; }

  .faq-question { padding: 16px; font-size: 15px; }
  .faq-answer { padding: 0 16px; font-size: 14px; }
  .faq-item.open .faq-answer { padding: 0 16px 16px; }

  .cta-heading { font-size: clamp(28px, 8vw, 36px); }

  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer-links { justify-content: center; }
}
