/* =========================
   DESIGN TOKENS & GLOBAL
   ========================= */
:root{
  --bg:#020617;
  --accent-a:#3B82F6;
  --accent-b:#A855F7;
  --muted:#94a3b8;
  --glass: rgba(255,255,255,0.04);
  --card: rgba(15, 23, 42, 0.6);
  --radius: 12px;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Inter', sans-serif;
  background:var(--bg);
  color:var(--muted);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* BACKGROUNDS */
#particles { position:fixed; inset:0; z-index:0; pointer-events:none; }
.fluid{
  position:fixed; inset:0; z-index:0; mix-blend-mode:screen;
  background: radial-gradient(800px 400px at 15% 20%, rgba(59,130,246,0.08), transparent 8%),
              radial-gradient(700px 300px at 85% 80%, rgba(168,85,247,0.06), transparent 8%);
  filter: blur(40px); opacity:0.8;
}
.noise {
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:0.03;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="1"/%3E%3C/svg%3E');
}

/* HEADER */
header{
  position:fixed; top:0; left:0; right:0; height:70px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 24px; z-index:50;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo{
  display:flex; align-items:center; gap:10px;
  font-family:"Orbitron", sans-serif; font-weight:700; color:white; font-size:18px;
}

.nav-desktop { display:none; gap:20px; align-items:center; }
.nav-desktop a { color:var(--muted); text-decoration:none; font-size:14px; font-weight:500; transition:0.2s; }
.nav-desktop a:hover { color:white; }

.btn-login {
    border: 1px solid rgba(59,130,246,0.3); color: var(--accent-a) !important;
    padding: 6px 16px; border-radius: 6px;
}
.btn-login:hover { background: rgba(59,130,246,0.1); }

/* HERO */
main { position:relative; z-index:2; }
.hero { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:120px 20px 60px; }
.hero-inner { width:100%; max-width:1200px; text-align:center; }

.title {
    font-family: "Orbitron", sans-serif; font-size: 42px; line-height:1.1; color:white; margin-bottom:20px;
    text-shadow: 0 0 30px rgba(59,130,246,0.3);
}
.subtitle { font-size:18px; max-width:700px; margin:0 auto 40px; line-height:1.6; }

/* COUNTDOWN */
.countdown {
    background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.2);
    display:inline-block; padding:15px 30px; border-radius:8px; margin-bottom:50px;
}
.countdown-timer { font-family:"JetBrains Mono", monospace; font-size:24px; color:var(--danger); font-weight:700; }

/* PRICING (SAAS STYLE) */
.cta-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px;
    max-width: 1100px; margin-left: auto; margin-right: auto;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 16px; padding: 30px;
  display: flex; flex-direction: column; text-align: left;
  transition: transform 0.3s ease;
}

.pricing-card.featured {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.4);
  transform: scale(1.02); z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pricing-badge {
    position:absolute; top:-12px; left:50%; transform:translateX(-50%);
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
    padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; color: white;
}

.pricing-header h3 { font-size:18px; margin:0 0 10px; color:white; }
.price { font-size: 32px; font-family:"Space Grotesk", sans-serif; font-weight:700; color:white; }
.price-period { font-size:14px; color:var(--muted); font-weight:400; }
.plan-desc { font-size:13px; margin-top:5px; }

.divider { height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }

.features { padding:0; list-style:none; margin:0 0 25px; }
.features li { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.03); font-size:14px; }
.features li.dimmed { opacity: 0.4; }
.icon { margin-right: 10px; width: 20px; text-align: center; }

/* BUTTONS */
.btn-primary, .btn-secondary, .btn-outline {
    display: block; width: 100%; padding: 14px; border-radius: 8px;
    text-align: center; text-decoration: none; font-weight: 600; margin-top: auto;
    font-size: 14px; transition: all 0.2s;
}

.btn-secondary {
  background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.btn-outline {
  background: transparent; border: 1px solid var(--accent-b); color: var(--accent-b);
}
.btn-outline:hover { background: rgba(168, 85, 247, 0.1); box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }

.glow-effect {
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); color: white; border:none;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  animation: pulseButton 3s infinite;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* DEMO WINDOW */
.saas-window {
  background: #0f172a; border-radius: 12px; border: 1px solid #1e293b;
  overflow: hidden; margin: 40px auto; max-width: 800px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}
.window-header {
  background: #1e293b; padding: 12px 20px; display: flex; gap: 15px; align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.window-title { font-size: 11px; color: #64748b; font-family: monospace; }
.window-body { padding: 30px; background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%); }

.stats-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:15px; margin-bottom:30px; }
.stat-card { background: rgba(0,0,0,0.2); padding:15px; border-radius:8px; text-align:center; border:1px solid rgba(255,255,255,0.05); }
.stat-value { font-size:24px; font-weight:700; color:white; font-family:"Space Grotesk"; margin-top:5px; }

.number-ball {
  display: inline-flex; width: 40px; height: 40px;
  background: white; color: #020617; border-radius: 50%;
  align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; margin: 0 4px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
.blink-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; display: inline-block; animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* RESPONSIVE */
@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .hamburger { display: none; }
    .title { font-size: 64px; }
    .cta-grid { grid-template-columns: repeat(3, 1fr); align-items: flex-start; }
    .pricing-card.featured { transform: scale(1.1); }
}

/* Animations */
.reveal { opacity:0; transform:translateY(20px); transition:0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* Sidebar Mobile */
.hamburger { background:none; border:none; cursor:pointer; display:flex; flex-direction:column; gap:6px; }
.hamburger span { width:24px; height:2px; background:white; }
.sidebar { position:fixed; top:0; right:-250px; width:250px; bottom:0; background:var(--bg); border-left:1px solid rgba(255,255,255,0.1); padding:80px 20px; transition:0.3s; z-index:49; display:flex; flex-direction:column; gap:15px; }
.sidebar.active { right:0; }
.sidebar a { color:white; text-decoration:none; padding:10px; border-radius:6px; }
.sidebar a:hover { background:rgba(255,255,255,0.05); }
.sidebar-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.5); opacity:0; pointer-events:none; transition:0.3s; z-index:40; }
.sidebar-overlay.active { opacity:1; pointer-events:all; }