/* ══════════════════════════════════════════════════════════════════
   ProTrader — Compact Reference Layout (Sized Small)
   ══════════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  --bg-primary: #000000;
  --bg-card: rgba(14, 21, 38, 0.45);
  --bg-card-dark: rgba(8, 12, 22, 0.75);
  --red-glow: #e61d24;
  --red-dark: #900c10;
  --blue-glow: #00A8FF;
  --blue-border: rgba(0, 168, 255, 0.4);
  --gold: #FFD700;
  --gold-light: #FFE55C;
  --text-primary: #FFFFFF;
  --text-secondary: #B0C4DE;
  --green-check: #00FF66;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-data: 'Space Grotesk', sans-serif;
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* Static base stars with slow drift */
body::before {
  content: ''; position: fixed; inset: -20%; z-index: -3; /* Negative inset to prevent edge clipping during pan */
  background-image: url('bg-stars.png');
  background-repeat: repeat;
  background-size: 800px;
  background-position: 0 0;
  animation: driftBase 150s linear infinite;
}

/* Twinkling star layer + Soft central glow + Counter drift for parallax */
body::after {
  content: ''; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background: radial-gradient(circle at center, rgba(0, 168, 255, 0.08) 0%, transparent 70%), url('bg-stars.png');
  background-repeat: no-repeat, repeat;
  background-size: 100vw 100vh, 1000px;
  background-position: center, 0 0;
  animation: twinkle 4s infinite alternate ease-in-out, driftOverlay 100s linear infinite;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.8; }
}

@keyframes driftBase {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-800px, 800px); }
}

@keyframes driftOverlay {
  0% { background-position: center, 0 0; }
  100% { background-position: center, -1000px -1000px; }
}

a { text-decoration: none; color: inherit; }

/* Constrain the whole site to be narrow and densely packed like the image */
.container {
  max-width: 800px; 
  margin: 0 auto;
  padding: 50px 15px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px; /* Increased spacing between sections */
}

/* ── Global Animations ────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.hero > *, .divider, .results-container, .testimonials-container, .stats-row, .btn-wrapper, .benefits-list {
  animation: fadeInUp 0.8s var(--ease-smooth) both;
}
.hero h1 { animation-delay: 0.1s; }
.hero .subtitle { animation-delay: 0.15s; }
.results-container { animation-delay: 0.2s; }
.testimonials-container { animation-delay: 0.25s; }
.stats-row { animation-delay: 0.3s; }
.btn-wrapper { animation-delay: 0.35s; }

/* ── Utility & Dividers ───────────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 10px; margin: 15px 0;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; color: var(--text-secondary); text-transform: uppercase;
}
.divider::before, .divider::after { content: ''; height: 1px; width: 40px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4)); }
.divider::after { background: linear-gradient(-90deg, transparent, rgba(255,255,255,0.4)); }
.divider .diamond { color: rgba(255,255,255,0.2); font-size: 0.5rem; }
.divider .accent { color: var(--gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }

/* ── Hero Section ─────────────────────────────────────────────── */
.hero { text-align: center; margin-bottom: 10px; }
.hero h1 {
  font-size: 2.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 15px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.9); letter-spacing: -0.5px;
}
.hero .subtitle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 1.05rem; font-weight: 700; color: var(--gold-light); text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.hero .subtitle .check { color: var(--green-check); font-size: 1.2rem; filter: drop-shadow(0 0 5px rgba(0, 255, 102, 0.5)); }

/* ── Results & Proof Section ──────────────────────────────────── */
.results-container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; width: 100%; margin: 10px 0; }

.glass-card {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--blue-border); border-radius: 12px; padding: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 168, 255, 0.05);
  position: relative; transition: all 0.3s var(--ease-smooth);
}
.glass-card:hover { border-color: rgba(0, 168, 255, 0.9); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 168, 255, 0.15); }
.glass-card::before, .glass-card::after {
  content: ''; position: absolute; left: 20%; width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent); border-radius: 100%; opacity: 0.8;
}
.glass-card::before { top: -1px; } .glass-card::after { bottom: -1px; opacity: 0.5; }

/* Cards Styling */
.card-telegram { display: flex; flex-direction: column; gap: 8px; }
.tg-bubble {
  background: #DCF8C6; color: #000; border-radius: 10px 10px 10px 0; padding: 6px 10px;
  font-family: var(--font-data); font-weight: 700; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.tg-bubble .check-icon { color: #4CAF50; font-size: 0.9rem; }
.tg-text {
  font-family: var(--font-sans); font-size: 0.7rem; color: rgba(255,255,255,0.75);
  line-height: 1.3; background: rgba(0,0,0,0.4); padding: 6px 8px; border-radius: 6px; border-left: 2px solid transparent;
}

.card-pips { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.pip-row {
  display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.4); padding: 8px 10px; border-radius: 8px; font-family: var(--font-data);
}
.pip-row .icon { color: var(--blue-glow); font-size: 0.85rem; }
.pip-row .value { color: var(--text-primary); font-weight: 700; font-size: 0.95rem; }
.pip-row .pair { color: var(--text-secondary); font-weight: 600; font-size: 0.75rem; font-family: var(--font-sans); }
.pip-row .tp { margin-left: auto; font-size: 0.65rem; color: var(--gold-light); font-weight: 700; font-family: var(--font-sans); }

.card-dash { display: flex; flex-direction: column; gap: 10px; justify-content: center; font-family: var(--font-data); }
.dash-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 6px; }
.dash-row:last-child { border-bottom: none; padding-bottom: 0; }
.dash-label { font-size: 0.7rem; color: var(--text-secondary); font-family: var(--font-sans); font-weight: 500; }
.dash-val-small { font-size: 0.75rem; font-weight: 500; }
.dash-val-large { font-size: 1.3rem; font-weight: 700; color: var(--green-check); text-align: right; text-shadow: 0 0 10px rgba(0,255,102,0.3); }
.dash-val-med { font-size: 1rem; font-weight: 700; color: var(--green-check); text-align: right; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; width: 100%; }
.test-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 12px; }
.test-card .avatar {
  width: 55px; height: 55px; border-radius: 50%; border: 2px solid rgba(0, 168, 255, 0.5);
  background: url('https://i.pinimg.com/736x/db/c5/82/dbc582cb4a5ef9df9fc7e82e283947b2.jpg') center/cover; margin-bottom: 10px; box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}
.test-card:nth-child(2) .avatar { background-image: url('https://i.pinimg.com/736x/01/c4/3b/01c43bbb39cf74d24c9190d4832a080c.jpg'); background-position: center; background-size: cover; }
.test-card:nth-child(3) .avatar { background-image: url('https://i.pinimg.com/736x/90/6b/c4/906bc40d9c5ae5412d1e01306df9d3f2.jpg'); background-position: center; background-size: cover; }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 8px; letter-spacing: 1px; }
.quote { font-size: 0.8rem; font-weight: 500; font-style: italic; color: var(--text-primary); margin-bottom: 12px; line-height: 1.4; opacity: 0.95; flex: 1; }
.author { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; }
.author .check { color: var(--green-check); font-size: 0.9rem; }

/* ── Trust Stats Row ──────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr; width: 100%; text-align: center; gap: 15px; margin: 10px 0; }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-val { font-family: var(--font-data); font-size: 1.6rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; justify-content: center; gap: 8px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.stat-val .icon { font-size: 1.1rem; filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4)); }
.stat-label { font-size: 0.65rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }

/* ── Final CTA & Benefits ─────────────────────────────────────── */
.btn-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 15px 0; gap: 15px; }

.btn-cta {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--red-glow), var(--red-dark));
  border: 1px solid rgba(255, 150, 150, 0.4); border-radius: 50px;
  padding: 14px 40px; width: 100%; max-width: 420px; position: relative; overflow: hidden;
  cursor: pointer; transition: all 0.4s var(--ease-spring);
  box-shadow: 0 8px 20px rgba(230, 29, 36, 0.5), inset 0 2px 10px rgba(255,255,255,0.4);
}
.btn-cta:hover { transform: scale(1.02); box-shadow: 0 10px 25px rgba(230, 29, 36, 0.6), inset 0 2px 10px rgba(255,255,255,0.6); border-color: rgba(255, 255, 255, 0.6); }

.btn-cta::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); animation: shine 4s infinite;
}

.btn-cta .btn-main {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 2px rgba(0,0,0,0.6); z-index: 1;
}
.btn-cta .btn-sub { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; opacity: 0.95; margin-top: 3px; z-index: 1; }
.btn-cta .bolt-icon {
  background: #FFF; color: var(--red-dark); border-radius: 50%;
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

.benefits-list { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 20px; margin: 15px 0 20px; flex-wrap: wrap; }
.benefit-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; opacity: 0.9; }
.benefit-item .check { color: var(--green-check); font-size: 1rem; }
.benefit-item .icon { font-size: 0.9rem; margin-left: 2px; }

/* ── Responsive Mobile (Exact Match Non-Scrollable Layout) ───────────────── */
@media (max-width: 850px) {
  html, body { height: 100vh; height: 100dvh; overflow: hidden; margin: 0; padding: 0; }
  
  .container { max-width: 100vw; height: 100%; padding: 4px 6px; justify-content: space-evenly; gap: 0; }
  
  /* Remove Margins & Compacting Hero */
  .hero { margin: 0; padding: 2px 0; }
  .hero h1 { font-size: 3.5vh; margin-bottom: 2px; text-shadow: none; letter-spacing: -1px; }
  .hero .subtitle { font-size: 2vh; margin-bottom: 2px; }
  .hero .subtitle .check { font-size: 2.2vh; }
  
  .divider { margin: 2px 0; font-size: 1.5vh; gap: 6px; }
  .divider::before, .divider::after { width: 20px; }
  
  /* Buttons Stacked */
  .btn-wrapper { flex-direction: column; flex-wrap: nowrap; gap: 8px !important; margin: 4px 0; width: 100%; }
  .btn-cta { flex: 1; min-width: 0 !important; width: 92% !important; padding: 1.2vh 1vh !important; border-radius: 50px !important; }
  .btn-cta .btn-main { font-size: 1.6vh !important; gap: 4px !important; }
  .btn-cta .btn-sub { font-size: 1.2vh !important; margin-top: 2px; }
  .btn-cta .bolt-icon { width: 2vh !important; height: 2vh !important; font-size: 1.4vh !important; }
  
  /* Keep 3 Columns Everywhere! */
  .results-container { grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; max-width: 100%; }
  .glass-card { padding: 4px; border-radius: 6px; }
  
  .tg-bubble { font-size: 1.6vh; padding: 2px 4px; gap: 2px; border-radius: 4px; }
  .tg-bubble .check-icon { font-size: 1.4vh; }
  .tg-text { font-size: 1.1vh; padding: 2px; margin-top: 2px; line-height: 1.1; }
  
  .pip-row { padding: 2px; gap: 4px; border-radius: 4px; }
  .pip-row .icon { font-size: 1.2vh; }
  .pip-row .value { font-size: 1.4vh; }
  .pip-row .pair { font-size: 1vh; }
  .pip-row .tp { font-size: 1vh; }
  
  .dash-row { padding-bottom: 1px; }
  .dash-label { font-size: 1.1vh; }
  .dash-val-small { font-size: 1.2vh; }
  .dash-val-med { font-size: 1.4vh; }
  .dash-val-large { font-size: 1.8vh; }
  
  .testimonials-container { grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; display: grid; overflow: visible; padding: 0; max-width: 100%; }
  .test-card { padding: 4px; }
  .test-card .avatar { width: 4vh; height: 4vh; margin-bottom: 2px; border-width: 1px; background-size: cover; }
  .stars { font-size: 1.2vh; margin-bottom: 2px; }
  .quote { font-size: 1.2vh; margin-bottom: 2px; line-height: 1.1; }
  .author { font-size: 1.2vh; }
  .author .check { font-size: 1.2vh; }
  
  .stats-row { grid-template-columns: repeat(3, 1fr); max-width: 100%; gap: 4px; margin: 2px 0; padding: 0; }
  .stat-val { font-size: 2.2vh; gap: 2px; }
  .stat-val .icon { font-size: 1.6vh; }
  .stat-label { font-size: 1.1vh; letter-spacing: 0; }
  
  .benefits-list { flex-direction: row; flex-wrap: nowrap; gap: 8px; margin: 2px 0 0; }
  .benefit-item { font-size: 1.5vh; gap: 2px; }
  .benefit-item .check { font-size: 1.6vh; }
  .benefit-item .icon { font-size: 1.4vh; margin-left: 2px; }
}
