@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Sora:wght@300;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: #07070d;
  --bg2: #0b0b14;
  --bg3: #0f0f1a;
  --surface: #121220;
  --surface2: #181828;
  --surface3: #1e1e30;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.11);
  --border3: rgba(255,255,255,0.18);
  --accent: #5b52f0;
  --accent2: #8b83ff;
  --accent3: #b8b3ff;
  --accent-glow: rgba(91,82,240,0.22);
  --gold: #e8c84a;
  --green: #34d399;
  --red: #f87171;
  --text: #eeeef5;
  --text2: #8888a8;
  --text3: #45455a;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-xl: 24px;
  --radius-2xl: 36px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 70px;
  --max-w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* NOISE */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9998;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent2); }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  background: rgba(7,7,13,0.75);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(7,7,13,0.95); }

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo em { color: var(--accent2); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent2);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
  box-shadow: 0 0 24px var(--accent-glow);
}
.nav-cta:hover { background: var(--accent2) !important; transform: translateY(-1px); box-shadow: 0 4px 24px rgba(91,82,240,0.4); }
.nav-cta::after { display: none !important; }

/* HAMBURGER */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: all 0.3s; }

/* MOBILE NAV */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(7,7,13,0.98);
  backdrop-filter: blur(20px);
  z-index: 499;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent2); }

/* LAYOUT */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* SECTION HEADER */
.sec-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 16px; }
.sec-head p { font-size: 17px; color: var(--text2); line-height: 1.8; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 32px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(91,82,240,0.4); }
.btn-outline {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-outline:hover { color: var(--text); border-color: var(--border3); background: rgba(255,255,255,0.03); }
.btn-white {
  background: #fff;
  color: #07070d;
}
.btn-white:hover { background: var(--accent3); transform: translateY(-2px); }

/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.3s;
}
.card:hover { border-color: var(--border2); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.up { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p { font-size: 14px; color: var(--text3); line-height: 1.8; margin-top: 12px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent2); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text3);
}
.footer-bottom a { color: var(--text3); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent2); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  nav { padding: 0 24px; }
  footer { padding: 40px 24px; }
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
