/* ============================================================
   Zap PRO — Global Style (Landing + Members Area)
   ============================================================ */
:root {
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.4);
  --bg-dark: #030712;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --danger: #ef4444;
  --radius-lg: 24px;
  --radius-md: 12px;
  --sidebar-w: 260px;
}

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .logo { font-family: 'Outfit', sans-serif; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-glow { color: var(--primary); text-shadow: 0 0 15px var(--primary-glow); }

.bg-grid {
  position: fixed; inset: 0;
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: -1;
}

.ambient-glow {
  position: fixed; top: -10%; right: -5%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none; z-index: -1;
}

/* Navbar */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.8);
}
.container-nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 0.6rem; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }

.mobile-menu-toggle { display: none; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* Buttons */
.btn-primary {
  background: var(--primary); color: #fff; padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md); font-weight: 600; cursor: pointer; border: none;
}
.btn-primary:hover { box-shadow: 0 0 25px var(--primary-glow); transform: translateY(-2px); }

.btn-secondary {
  background: var(--bg-surface); color: #fff; padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md); font-weight: 600; border: 1px solid var(--border-subtle);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero */
.hero { padding: 12rem 0 8rem; text-align: center; }
.badge-new {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 1.2rem; background: var(--bg-surface);
  border: 1px solid var(--border-subtle); border-radius: 100px;
  font-size: 0.85rem; margin-bottom: 2.5rem;
}
.badge-new span { background: var(--primary); color: #000; font-size: 0.7rem; font-weight: 900; padding: 0.2rem 0.6rem; border-radius: 4px; }
.hero-title { font-size: clamp(2.8rem, 8vw, 5rem); font-weight: 900; line-height: 1.05; margin-bottom: 2rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 3.5rem; }
.hero-ctas { display: flex; gap: 2rem; justify-content: center; }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* Social Proof */
.social-proof { padding-bottom: 5rem; }
.logo-carousel { overflow: hidden; white-space: nowrap; padding: 2rem 0; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.logo-track { display: inline-flex; animation: scroll 40s linear infinite; gap: 5rem; }
.logo-item { font-size: 1.2rem; filter: grayscale(1) opacity(0.5); font-weight: 700; letter-spacing: 0.1em; color: white; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Features */
.features { padding: 8rem 0; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-title { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.feature-card { padding: 3rem; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); transition: 0.4s; }
.feature-card:hover { border-color: var(--primary); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 2rem; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.feature-card p { color: var(--text-muted); }

/* Risk Simulator */
.risk-simulator { padding: 5rem 0; }
.risk-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(3, 7, 18, 1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.15); border-radius: 32px; padding: 5rem;
}
.risk-header { text-align: center; margin-bottom: 4rem; }
.risk-header h2 { font-size: 2.5rem; margin-top: 1rem; }
.risk-warning-icon { font-size: 4rem; color: var(--danger); }
.simulator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.input-group label { display: block; margin-bottom: 1.5rem; font-weight: 600; color: var(--text-muted); }
input[type=range] { width: 100%; accent-color: var(--danger); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: #444; margin-top: 1rem; }
.range-value { color: var(--danger); font-weight: 800; font-size: 1.1rem; }
.risk-estimate { background: rgba(239, 68, 68, 0.1); padding: 3rem; border-radius: 24px; text-align: center; border: 1px solid rgba(239, 68, 68, 0.2); }
.risk-estimate h3 { font-size: 3.5rem; color: var(--danger); margin-top: 1rem; }

/* Pricing */
.pricing { padding: 8rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 5rem; align-items: center; }
.pricing-card { padding: 4rem 3rem; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 32px; position: relative; transition: 0.4s; }
.pricing-card.featured { border-color: var(--primary); background: rgba(16, 185, 129, 0.03); transform: scale(1.05); }
.card-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #000; font-size: 0.75rem; font-weight: 800; padding: 0.4rem 1.2rem; border-radius: 100px; }
.price { font-size: 3.2rem; font-weight: 900; margin: 1.5rem 0; }
.price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; }
.price-features { text-align: left; margin: 2rem 0 3rem; }
.price-features li { display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.price-features i { color: var(--primary); }

/* Footer */
.footer { border-top: 1px solid var(--border-subtle); padding: 4rem 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer p { color: var(--text-muted); font-size: 0.9rem; }

/* Dashboard Styles (copied for consistency) */
/* --- SIDEBAR --- */
#sidebar{width:var(--sidebar-w);background:rgba(0,0,0,0.4);backdrop-filter: blur(25px); border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:100;transition:transform .3s;overflow-y:auto}
.sidebar-logo{padding:2rem 1.5rem;border-bottom:1px solid var(--border-subtle);display:flex;align-items:center;gap:.8rem}
.logo-thumb{width:48px;height:48px;background:var(--primary);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}

.nav-item{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;font-size:0.95rem;font-weight:600;color:var(--text-muted);transition:0.2s;border-left:4px solid transparent}
.nav-item:hover{background:rgba(16, 185, 129, 0.1);color:var(--text-main)}
.nav-item.active{background:rgba(16, 185, 129, 0.15);color:var(--text-main);border-left-color:var(--primary)}

#main{margin-left:var(--sidebar-w);padding:3rem 4rem;min-height:100vh}

/* Mobile Navigation Fix */
@media (max-width: 1024px) {
  .nav-links { 
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.5rem;
    align-items: center;
    z-index: 999;
  }
  .nav-links.active { display: flex; }
  .mobile-menu-toggle { display: block; }
  
  .hero { padding: 8rem 0 4rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-ctas { flex-direction: column; gap: 1rem; }
  .btn-large { width: 100%; }
}

@media (max-width: 768px) {
  .simulator-grid { grid-template-columns: 1fr; gap: 2rem; }
  .risk-card { padding: 2rem; }
  .risk-estimate h3 { font-size: 2.5rem; }
  .pricing-card.featured { transform: scale(1); margin: 2rem 0; }
  .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
}
