/* =========================================
   1. VARIABLES & THEME
   ========================================= */
:root {
  --bg-1: #04060a;
  --bg-2: #07101a;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #eaf2f8;
  --muted: #90a0b0;
  --accent: #22c55e;       /* Vibrant Green */
  --accent-dark: #15803d;
  --cyan: #22d3ee;
  --gold: #f59e0b;
  --nav-height: 64px;
}

/* =========================================
   2. RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: 
    radial-gradient(1200px 600px at 12% 12%, rgba(36, 54, 60, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2) 65%);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* =========================================
   3. NAVIGATION
   ========================================= */
.nav {
  position: sticky; top: 0; z-index: 2000;
  background: rgba(4, 6, 10, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: auto; }
.brand-text { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.brand-text span { color: var(--accent); }

.nav-links { display: flex; gap: 8px; }
.nav-links a {
  font-size: 14px; font-weight: 600; padding: 8px 16px;
  border-radius: 10px; transition: background 0.2s;
}
#menuDashboardLink { background: linear-gradient(180deg, var(--accent), var(--accent-dark)); color: #022c22 !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 28px; padding: 5px; }

/* =========================================
   4. HERO SECTION (CHUNKY CARDS)
   ========================================= */
.hero { padding: 60px 0; text-align: left; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 16px; font-weight: 800; }
.lead { color: var(--muted); max-width: 680px; font-size: 1.1rem; margin-bottom: 40px; }

/* THE GRID: Kept as 3 columns strictly */
.hero-actions-equal { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 16px; 
}

/* THE BUTTONS: Green Gradient & Glow */
.hero-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #22c55e, #16a34a); color: #022c22;
  padding: 24px 16px; border-radius: 20px; font-weight: 800;
  box-shadow: 0 10px 40px -10px rgba(34, 197, 94, 0.5); 
  transition: transform 0.2s; text-align: center; border: none;
}
.hero-btn:hover { transform: translateY(-4px); }

/* ROCKET CTA */
.cta-center { display: flex; justify-content: center; margin-top: 30px; }
.create-link-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%; max-width: 450px; padding: 18px 30px;
  border-radius: 24px; background: rgba(6, 40, 40, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.3); color: #67e8f9; font-weight: 700;
}

/* =========================================
   5. OFFER CARDS & GRID
   ========================================= */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.section { padding: 60px 0; }
.section-title { font-size: 2rem; margin-bottom: 20px; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.offer-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px; position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.premium-offer { border: 1px solid rgba(245, 158, 11, 0.3); background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(4,6,10,0.5)); }
.premium-badge { position: absolute; top: 14px; right: 14px; background: var(--gold); color: #3a2200; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.offer-points { padding-left: 20px; color: var(--muted); font-size: 0.95rem; margin: 0; }
.earn strong { color: var(--accent); font-size: 1.3rem; }
.btn.primary {
  display: flex; justify-content: center; padding: 12px; border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #022c22; font-weight: 700; border: none;
}

/* =========================================
   6. FAQ & FOOTER
   ========================================= */
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.faq-question {
  width: 100%; padding: 20px; background: none; border: none;
  color: var(--text); font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; text-align: left;
}
.faq-answer { max-height: 0; overflow: hidden; padding: 0 20px; transition: 0.3s ease; color: var(--muted); }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }

.footer { margin-top: 80px; padding: 40px 0; border-top: 1px solid var(--border); background: rgba(4, 6, 10, 0.5); }
.footer-inner { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }
.footer-links a { margin-left: 20px; color: var(--muted); }

/* =========================================
   7. IN-PAGE CTA BUTTONS (Pay & Telegram)
   ========================================= */
.center-stack {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 20px 0; width: 100%;
}

/* Pay Button (Green) */
.pay-btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #22c55e, #15803d);
  color: #022c22; font-weight: 800; padding: 16px 40px;
  border-radius: 16px; text-decoration: none;
  box-shadow: 0 10px 30px -5px rgba(34, 197, 94, 0.5);
  min-width: 280px; transition: transform 0.2s ease;
  border: 1px solid rgba(255,255,255,0.2);
}
.pay-btn:hover { transform: translateY(-4px); box-shadow: 0 15px 40px -5px rgba(34, 197, 94, 0.6); }

.price { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.price-old { text-decoration: line-through; opacity: 0.7; font-size: 0.9em; }
.price-new { font-size: 1.5em; font-weight: 900; }
.label { text-transform: uppercase; font-size: 0.85em; opacity: 0.9; letter-spacing: 0.5px; }

/* Telegram Button (Blue) */
.telegram-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #229ED9; color: white; font-weight: 700;
  padding: 14px 40px; border-radius: 14px; text-decoration: none;
  box-shadow: 0 8px 25px -5px rgba(34, 158, 217, 0.4);
  min-width: 280px; transition: transform 0.2s ease; margin-top: 10px;
}
.telegram-btn:hover { transform: translateY(-3px); background: #1e88bc; }


/* =========================================
   8. MOBILE FLOATING CTA (SMART BLUE ONLY)
   ========================================= */
.mobile-cta {
  position: fixed;
  bottom: 20px;
  left: 12px; 
  right: 12px;
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 8px; /* Space between button and X */
  
  /* HIDDEN by default (Smart Slide-Up) */
  transform: translateY(200%); 
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

/* VISIBLE State (Triggered by JS) */
.mobile-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

/* The Blue Main Button */
.cta-main {
  flex: 1;
  background: #229ED9; /* Telegram Blue */
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(34, 158, 217, 0.4);
}

/* The Close Button */
.cta-close {
  background: #222;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  width: 48px;
  height: 48px; /* Square shape */
  border-radius: 14px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* =========================================
   10. MOBILE RESPONSIVENESS (RESTORED OLD LOOK)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Prevent Edge Cutting */
  .container, .nav-inner { padding: 0 24px; }

  /* 2. Menu Logic */
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: var(--nav-height); right: 20px; background: #0b121a;
    border: 1px solid var(--border); border-radius: 12px; padding: 15px;
    width: 200px; z-index: 3000; box-shadow: 0 20px 50px rgba(0,0,0,0.8); gap: 10px;
  }
  .nav-links.nav-open { display: flex !important; }

  /* 3. HERO BUTTONS: KEEP THEM 3-COLUMNS (CHUNKY) */
  .hero-actions-equal { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 8px; 
  }
  .hero-btn { 
    padding: 14px 4px; font-size: 0.75rem; 
    border-radius: 16px !important; min-height: 80px; 
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4); 
  }

  /* 4. Layout Stacking */
  .offer-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-links a { margin: 0 10px; }
}

/* Add to bottom of styles.css */
.hero-trust {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 20px;
  opacity: 0.8;
}

/* Fix for Hero Highlight Text color */
.hero-highlight {
  color: var(--accent); /* Makes "that actually work" Green */
}

.nav {
  position: sticky;
  top: 0;
  z-index: 99999 !important;
}

.ad-sandbox,
.ad-sandbox iframe,
.ad-sandbox div {
  z-index: 1 !important;
}

.ad-sandbox {
  pointer-events: none;
}

