/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container { max-width:var(--max-w); margin:0 auto; padding:0 1.5rem; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  padding:0.75rem 1.5rem; border-radius:50px; font-weight:600; font-size:1rem;
  border:none; cursor:pointer; transition:all var(--transition); white-space:nowrap;
  text-decoration:none; font-family:var(--font); line-height:1;
}
.btn-lg  { padding:0.9rem 2rem; font-size:1.0625rem; }
.btn-sm  { padding:0.5rem 1.1rem; font-size:0.875rem; }

.btn-primary {
  background:linear-gradient(135deg,var(--accent) 0%,var(--accent-2) 100%);
  color:#fff;
  box-shadow:0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 24px var(--accent-glow);
}
.btn-primary:active { transform:translateY(0); }

.btn-secondary {
  background:var(--surface-2); color:var(--text);
  border:1px solid var(--border);
}
.btn-secondary:hover { background:rgba(139,92,246,0.1); border-color:var(--accent); }

.btn-ghost {
  background:transparent; color:var(--text-muted);
  border:1px solid var(--border-dim);
}
.btn-ghost:hover { color:var(--text); border-color:var(--border); }

.btn-block { display:flex; width:100%; }

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:1.5rem;
  transition:transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform:translateY(-4px); border-color:rgba(139,92,246,0.5);
  box-shadow:0 12px 40px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════
   BADGE
═══════════════════════════════════════ */
.badge {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.3rem 0.9rem; border-radius:50px; font-size:0.8125rem; font-weight:600;
  background:rgba(139,92,246,0.12); color:var(--accent); border:1px solid rgba(139,92,246,0.3);
  letter-spacing:0.01em;
}
.badge-dot {
  width:7px; height:7px; border-radius:50%; background:var(--success);
  box-shadow:0 0 6px var(--success); animation:pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; }
  50% { opacity:0.4; }
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position:fixed; top:0; width:100%; z-index:1000;
  padding:0.9rem 2rem; display:flex; align-items:center; justify-content:space-between;
  background:rgba(13,19,36,0.85); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border-dim);
  transition:background var(--transition);
}
.navbar.scrolled { background:rgba(13,19,36,0.97); }

.nav-brand {
  display:flex; align-items:center; gap:0.6rem; font-size:1.125rem; font-weight:700;
  color:var(--text); text-decoration:none;
}
.nav-brand svg { color:var(--accent); flex-shrink:0; }

.nav-links {
  display:flex; align-items:center; gap:1.75rem;
}
.nav-links > a:not(.btn) {
  font-size:0.9375rem; font-weight:500; color:var(--text-muted);
  transition:color var(--transition);
}
.nav-links > a:not(.btn):hover { color:var(--text); }

/* Hamburger */
.nav-toggle {
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:4px;
}
.nav-toggle span {
  display:block; width:24px; height:2px; background:var(--text);
  border-radius:2px; transition:all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity:0; }
.nav-toggle.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════ */
.section-header { text-align:center; margin-bottom:3.5rem; }
.section-title {
  font-size:clamp(2rem,4vw,3rem); font-weight:800; line-height:1.2;
  margin:0.75rem 0 1rem; letter-spacing:-0.02em;
}
.section-sub { font-size:1.0625rem; color:var(--text-muted); max-width:600px; margin:0 auto; }

/* Gradient text */
.gradient-text {
  background:linear-gradient(135deg,var(--accent) 0%,var(--accent-2) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.animate-fade-up { animation:fadeUp 0.6s ease both; }
.delay-1 { animation-delay:0.1s; }
.delay-2 { animation-delay:0.2s; }
.delay-3 { animation-delay:0.3s; }
.delay-4 { animation-delay:0.4s; }
.delay-5 { animation-delay:0.5s; }

.reveal {
  opacity:0; transform:translateY(20px);
  transition:opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { border-top:1px solid var(--border-dim); background:var(--bg); padding-top:4rem; }
.footer-inner {
  display:grid; grid-template-columns:1.5fr 1fr;
  gap:3rem; padding-bottom:3rem;
}
.footer-brand p { color:var(--text-muted); font-size:0.9375rem; margin-top:0.75rem; max-width:300px; }
.footer-links-grid { display:flex; gap:3rem; }
.footer-col { display:flex; flex-direction:column; gap:0.75rem; }
.footer-col h4 { font-size:0.875rem; font-weight:600; color:var(--text-dim); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:0.25rem; }
.footer-col a { font-size:0.9375rem; color:var(--text-muted); transition:color var(--transition); }
.footer-col a:hover { color:var(--text); }

.footer-bottom {
  border-top:1px solid var(--border-dim); padding:1.25rem 0;
}
.footer-bottom .container {
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.5rem;
  font-size:0.875rem; color:var(--text-dim);
}
.footer-bottom a { color:var(--text-muted); }
.footer-bottom a:hover { color:var(--text); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width:900px) {
  .footer-inner { grid-template-columns:1fr; }
}

@media (max-width:768px) {
  .navbar { padding:0.9rem 1.25rem; }
  .nav-toggle { display:flex; }
  .nav-links {
    display:none; position:fixed; top:61px; left:0; right:0; bottom:0;
    background:rgba(13,19,36,0.98); flex-direction:column; align-items:center;
    justify-content:center; gap:2rem; z-index:999;
    padding:2rem;
  }
  .nav-links.open { display:flex; }
  .nav-links > a:not(.btn) { font-size:1.25rem; }
  .nav-links .btn { width:100%; max-width:280px; }
  .footer-links-grid { flex-direction:column; gap:2rem; }
}
