@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@600;700&display=swap');

:root {
  /* Exact Telegram Dark Palette */
  --bg-main: #0e1621;
  --bg-card: #17212b;
  --bg-card-hover: #1e2c3a;
  --bg-subtle: #131c27;
  
  --border: #232e3c;
  --border-light: rgba(255, 255, 255, 0.07);
  --border-active: #5288c1;
  
  --text-primary: #ffffff;
  --text-body: #c5d4e3;
  --text-muted: #7e8c9b;
  
  --tg-blue: #2481cc;
  --tg-blue-hover: #2993e7;
  --tg-blue-light: #5288c1;
  --tg-accent: #64b5f6;
  --tg-green: #31b545;
  --tg-gold: #e5a93c;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 120px;
}

/* --- SVG ICON BASE --- */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

.svg-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.svg-stroke svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- HERO --- */
.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero-main-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-main-title .gradient-span {
  color: var(--tg-accent);
}

.hero-lead {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 660px;
  margin: 0 auto 32px;
}

.hero-lead em {
  font-style: normal;
  color: var(--tg-accent);
}

/* --- HERO DUAL SHOWCASE (STATS + STOREFRONT) --- */
.hero-showcase-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 680px;
  margin: 32px auto 36px;
  align-items: stretch;
}

.hero-proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.hero-proof-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
}

.hero-proof-card img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  background: #111a24;
}

.hero-proof-caption {
  padding: 12px 14px;
  background: var(--bg-subtle);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-body);
  border-top: 1px solid var(--border);
  text-align: center;
  margin-top: auto;
}

.hero-proof-caption strong {
  color: var(--text-primary);
}

/* --- HERO BUTTONS --- */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tg-blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(36, 129, 204, 0.35);
  transition: all 0.2s;
}

.btn-primary-big:hover {
  background: var(--tg-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(36, 129, 204, 0.5);
}

.btn-secondary-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary-big:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

/* --- STORY CARD --- */
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 40px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(82, 136, 193, 0.15);
  color: var(--tg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.story-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.65;
}

.story-content strong {
  color: var(--text-primary);
}

/* --- MANIFESTO BOX --- */
.manifesto-box {
  background: var(--bg-card);
  border: 2px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin: 36px 0 48px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.manifesto-box p {
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.5;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.manifesto-box p span {
  color: var(--tg-accent);
}

/* --- FEATURE BLOCK --- */
.feature-block {
  margin: 50px 0;
}

.feature-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  width: 32px;
  height: 32px;
  color: var(--tg-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.readable-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 20px;
}

.readable-text strong {
  color: var(--text-primary);
  font-weight: 800;
}

.readable-text em {
  font-style: normal;
  color: var(--tg-accent);
  font-weight: 700;
}

/* --- TIP / CALLOUT BOXES --- */
.tip-box {
  background: var(--bg-card);
  border-left: 4px solid var(--tg-accent);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-body);
}

.tip-box.green {
  border-left-color: var(--tg-green);
}

.tip-box.gold {
  border-left-color: var(--tg-gold);
}

.tip-box.fire {
  border-left-color: #f43f5e;
}

.tip-box strong {
  color: var(--text-primary);
}

/* --- PAYMENT GRID --- */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 24px;
}

.pay-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color 0.2s;
}

.pay-card:hover {
  border-color: var(--border-active);
}

.pay-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pay-icon {
  width: 20px;
  height: 20px;
  color: var(--tg-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- COMPACT SCREENSHOT SHOWCASE --- */
.img-compact-wrap {
  margin: 24px auto 30px;
  max-width: 420px;
  text-align: center;
}

.img-compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, border-color 0.2s;
}

.img-compact-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.img-compact-card img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  display: block;
  background: #111a24;
}

.img-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0 30px;
}

.img-grid-compact .img-compact-card img {
  max-height: 360px;
  object-fit: contain;
}

/* --- DIVIDER --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 44px 0;
}

/* --- FAQ ACCORDION --- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 30px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color 0.2s;
}

.faq-card:hover {
  border-color: var(--border-active);
}

.faq-q {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q-icon {
  width: 20px;
  height: 20px;
  color: var(--tg-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-a {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.6;
}

.faq-a strong {
  color: var(--text-primary);
}

/* --- FINAL ACTION BOX --- */
.cta-banner-box {
  background: var(--bg-card);
  border: 2px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 48px 30px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-banner-box h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-banner-box p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto 28px;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .hero-main-title {
    font-size: 2.1rem;
    letter-spacing: -1px;
  }
  .hero-lead {
    font-size: 1.15rem;
  }
  .feature-title {
    font-size: 1.45rem;
  }
  .manifesto-box p {
    font-size: 1.02rem;
  }
  .readable-text {
    font-size: 1.05rem;
  }
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .hero-showcase-duo {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .story-card {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- IMPROVEMENTS --- */

/* Footer */
.site-footer {
  text-align: center;
  margin-top: 48px;
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.site-footer strong { color: var(--text-primary); }
.site-footer a {
  display: inline-block;
  margin-top: 8px;
  color: var(--tg-accent);
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover { text-decoration: underline; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--tg-blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 15px 20px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(36, 129, 204, 0.45);
}
@media (max-width: 600px) {
  .sticky-cta { display: flex; }
  .wrapper { padding-bottom: 110px; }
}

/* Lightbox for screenshots */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 16, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }

/* Zoom cursor on screenshots */
.img-compact-card img { cursor: zoom-in; }

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-proof-card:hover, .img-compact-card:hover { transform: none; }
}

/* --- TEXT & UX IMPROVEMENTS --- */

/* Real gradient for hero accent */
.hero-main-title .gradient-span {
  color: var(--tg-accent);
  background: linear-gradient(95deg, #6ec2f7 0%, #42a5f5 50%, #2f9bf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reviews button (gold outline) */
.btn-reviews-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 169, 60, 0.07);
  border: 1px solid rgba(229, 169, 60, 0.45);
  color: var(--tg-gold);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-reviews-big:hover {
  background: rgba(229, 169, 60, 0.16);
  border-color: var(--tg-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 169, 60, 0.18);
}

/* TL;DR chips strip in hero */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  max-width: 680px;
}
.chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 100px;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.chip:hover { border-color: var(--border-active); }

/* Feature chips row (partner examples) */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

/* Proper bullet lists */
.check-list {
  list-style: none;
  margin: 4px 0 20px;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-body);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(49, 181, 69, 0.14);
  border: 1px solid rgba(49, 181, 69, 0.5);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--tg-green);
  border-bottom: 2px solid var(--tg-green);
  transform: rotate(-45deg);
}
.check-list strong {
  color: var(--text-primary);
  font-weight: 800;
}

@media (max-width: 600px) {
  .btn-primary-big, .btn-secondary-big, .btn-reviews-big {
    font-size: 1rem;
    padding: 14px 22px;
  }
  .chip { font-size: 0.82rem; padding: 7px 12px; }
}

/* --- FUNNEL UPGRADE --- */

/* Anchor offset for sticky nav */
[id] { scroll-margin-top: 64px; }

/* USP line under hero lead */
.usp-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: -16px auto 24px;
  max-width: 700px;
}
.usp-line span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-body);
  position: relative;
  padding-left: 22px;
  white-space: nowrap;
}
.usp-line span::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tg-green);
  font-weight: 900;
}

/* Extra caption line (unit economics) */
.hero-proof-caption .cap-extra {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
}

/* Author sign in story card */
.story-sign {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.story-sign a {
  color: var(--tg-accent);
  text-decoration: none;
  font-weight: 800;
}
.story-sign a:hover { text-decoration: underline; }

/* Micro CTA links between blocks */
.mini-cta-wrap {
  text-align: center;
  margin: 22px 0 6px;
}
.mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tg-accent);
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px dashed rgba(82, 136, 193, 0.5);
  transition: all 0.2s;
}
.mini-cta:hover {
  border-color: var(--tg-accent);
  background: rgba(82, 136, 193, 0.08);
  transform: translateY(-1px);
}

/* FOMO line in final CTA */
.cta-banner-box .fomo-line {
  color: var(--tg-gold);
  font-weight: 700;
  font-size: 1.02rem;
  margin: -16px auto 26px;
}

/* Sticky top navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: rgba(14, 22, 33, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}
.top-nav.show { transform: none; }
.top-nav a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 8px;
}
.top-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.top-nav .nav-buy { color: var(--tg-accent); }

@media (max-width: 600px) {
  .top-nav { display: none; }
  .usp-line { gap: 6px 14px; margin-top: -10px; }
  .usp-line span { font-size: 0.85rem; }
}
