/* Hidden until a CTA tap leaves the visitor on the page; no landing redesign. */
.telegram-app-help {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(390px, calc(100vw - 32px));
  max-height: 65vh;
  overflow: auto;
  padding: 18px;
  border: 1px solid #d4a843;
  border-radius: 12px;
  background: #12121a;
  color: #f5f5f5;
  box-shadow: 0 8px 32px #0008;
  font: 14px/1.5 Inter, sans-serif;
}
.telegram-app-help[hidden] { display: none; }
.telegram-app-help p { margin: 0 0 10px; }
.telegram-app-help-title { font-weight: 700; }
.telegram-app-help input {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  background: #20202b;
  color: #fff;
  border: 1px solid #666;
  border-radius: 4px;
  font: inherit;
}
.telegram-app-help button {
  padding: 8px 12px;
  border: 1px solid #d4a843;
  border-radius: 6px;
  background: #d4a843;
  color: #12121a;
  font: inherit;
  cursor: pointer;
}
.telegram-app-help .telegram-app-help-close { background: transparent; color: #fff; margin-left: 8px; }
.telegram-app-help [role="status"]:not(:empty) { margin: 12px 0 0; }
/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #0a0a0a;
  --gray-950:   #0f0f0f;
  --gray-900:   #141414;
  --gray-800:   #1c1c1c;
  --gray-700:   #272727;
  --gray-600:   #3a3a3a;
  --gray-400:   #888888;
  --gray-200:   #c8c8c8;
  --white:      #ffffff;

  --gold-300:   #f5d98b;
  --gold-400:   #d4a843;
  --gold-500:   #c79a2e;
  --gold-600:   #a87e1a;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--black);
  color: var(--gray-200);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Utility ───────────────────────────────────────────── */
.gold-text {
  color: var(--gold-400);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow {
  max-width: 760px;
}

.br-desktop { display: none; }

@media (min-width: 768px) {
  .br-desktop { display: block; }
}

/* ─── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CTA Button ────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-cta--sm {
  font-size: 13px;
  padding: 9px 20px;
}

.btn-cta--lg {
  font-size: 16px;
  padding: 16px 32px;
  box-shadow: 0 0 0 0 rgba(212, 168, 67, 0);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 168, 67, 0.35);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.2);
}

.telegram-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: transparent;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), border-color var(--transition-slow);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--black);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

.logo-text em {
  font-style: italic;
  color: var(--gold-400);
  font-family: var(--font-serif);
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 96px 0 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.12) 0%, transparent 70%);
}

.hero-candles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 260px;
  opacity: 0.055;
}

.hero .container {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.2);
  color: var(--gold-400);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  color: var(--white);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.hero-trust svg {
  color: var(--gold-600);
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin-inline: auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 32px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
}

/* ─── Sections ──────────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.7;
}

/* ─── Hero Screenshots ──────────────────────────────────── */
.hero-screenshots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-screenshot-wrap {
  flex: 0 0 auto;
  width: clamp(140px, 28vw, 220px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-2deg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-screenshot-wrap:nth-child(2) {
  transform: rotate(2deg);
  margin-top: 20px;
}

.hero-screenshot-wrap:hover {
  transform: rotate(0deg) translateY(-6px) !important;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 168, 67, 0.3);
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Hero Chart ────────────────────────────────────────── */
.hero-chart {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 48px;
  padding-inline: 0;
}

.hero-chart-img {
  display: block;
  width: 72%;
  max-width: 340px;
  height: auto;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 168, 67, 0.45);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 28px rgba(212, 168, 67, 0.12);
  transition: box-shadow var(--transition);
}

.hero-chart-img:hover {
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 168, 67, 0.4),
    0 0 36px rgba(212, 168, 67, 0.18);
}

/* ─── Benefits ──────────────────────────────────────────── */
.benefits {
  background: var(--gray-950);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,67,0.08);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: rgba(212, 168, 67, 0.14);
  border-color: rgba(212, 168, 67, 0.3);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold-400);
}

.benefit-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.benefit-body {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* ─── Results ───────────────────────────────────────────── */
.results {
  background: var(--black);
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.result-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--gray-900);
  transition: transform var(--transition), border-color var(--transition);
}

.result-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 168, 67, 0.2);
}

.result-placeholder {
  aspect-ratio: 4/3;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
}

.placeholder-inner svg {
  width: 40px;
  height: 40px;
  color: var(--gray-700);
}

.placeholder-inner span {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}

.placeholder-inner em {
  font-style: normal;
  font-size: 11px;
  color: var(--gray-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.result-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.result-tag--win {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.result-label {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

.results-cta {
  text-align: center;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq {
  background: var(--gray-950);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 48px;
}

.faq-item {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(212, 168, 67, 0.2);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}

.faq-item:hover .faq-q {
  color: var(--gold-300);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gray-600);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold-400);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding var(--transition);
}

.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

/* ─── Final CTA ─────────────────────────────────────────── */
.final-cta .container {
  text-align: center;
}

.final-cta-box {
  position: relative;
  background: var(--gray-900);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-lg);
  padding: 72px 32px;
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-box .section-label,
.final-cta-box .section-title,
.final-cta-box .section-sub {
  position: relative;
}

.final-cta-box .section-sub {
  margin-bottom: 40px;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--gray-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 40px;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-logo .logo-text {
  font-size: 14px;
}

.disclaimer {
  font-size: 12px;
  color: var(--gray-600);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 20px;
  line-height: 1.6;
}

.copyright {
  font-size: 12px;
  color: var(--gray-700);
}

/* ─── Sticky Mobile Bar ─────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 168, 67, 0.18);
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-bar.visible {
  transform: translateY(0);
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px rgba(212, 168, 67, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bar-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 12px rgba(212, 168, 67, 0.2);
}

.mobile-bar-note {
  font-size: 11px;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .mobile-bar {
    display: flex;
  }
  /* Push footer content up so it's not hidden behind the bar */
  .footer {
    padding-bottom: calc(48px + 100px + env(safe-area-inset-bottom, 0px));
  }
}

/* ─── Responsive tweaks ─────────────────────────────────── */
@media (max-width: 640px) {
  .hero-stats {
    gap: 0;
  }

  .stat {
    padding: 10px 20px;
  }

  .stat-divider {
    height: 30px;
  }

  .section {
    padding: 72px 0;
  }

  .btn-cta--lg {
    font-size: 15px;
    padding: 14px 26px;
  }

  .final-cta-box {
    padding: 48px 20px;
  }
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}
