@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --bg: #060810;
  --bg2: #0d1120;
  --ice: #a8d4f5;
  --ice-dim: #4a7fa8;
  --white: #f0f4f8;
  --red: #e84040;
  --yellow: #f5c842;
  --green: #42c984;
  --text-dim: #6b7a99;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
#cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--ice);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, width 0.2s, height 0.2s, background 0.2s;
  transform: translate(-50%, -50%);
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(168,212,245,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
body:has(a:hover) #cursor { transform: translate(-50%, -50%) scale(2.5); background: var(--red); }
body:has(a:hover) #cursor-ring { width: 56px; height: 56px; border-color: rgba(232,64,64,0.3); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(6,8,16,0.9), transparent);
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.3s, background 0.3s;
}
nav.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(6,8,16,0.7);
  border-bottom: 1px solid rgba(168,212,245,0.08);
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo span { color: var(--ice); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.danger-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(232,64,64,0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}
.danger-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse-red 1.5s infinite; }
@keyframes pulse-red { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.4)} }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--ice);
  color: var(--bg);
}
.btn-primary:hover { transform: scale(1.04) translateY(-2px); box-shadow: 0 16px 40px rgba(168,212,245,0.3); }
.btn-ghost {
  border: 1px solid rgba(168,212,245,0.25);
  color: var(--white);
}
.btn-ghost:hover { border-color: rgba(168,212,245,0.5); background: rgba(168,212,245,0.05); }

/* ─── SECTIONS ─── */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice-dim);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.23,1,0.32,1), transform 0.9s cubic-bezier(0.23,1,0.32,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.23,1,0.32,1), transform 0.9s cubic-bezier(0.23,1,0.32,1);
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.23,1,0.32,1), transform 0.9s cubic-bezier(0.23,1,0.32,1);
}
.reveal-right.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }
.delay-4 { transition-delay: 0.5s; }
.delay-5 { transition-delay: 0.65s; }

/* ─── FOOTER ─── */
footer {
  padding: 3rem;
  border-top: 1px solid rgba(168,212,245,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  background: var(--bg2);
}
footer p { font-size: 0.8rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--ice); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
