@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: hsl(250, 30%, 4%);
  --surface: rgba(24, 20, 40, 0.5);
  --surface-hover: rgba(36, 30, 58, 0.65);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);

  --accent: #818cf8;
  --accent-dark: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --accent2: #c084fc;
  --accent2-glow: rgba(192, 132, 252, 0.15);

  --text: #f3f4f6;
  --muted: #9ca3af;
  --white: #ffffff;

  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  background: rgba(10, 8, 20, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.logo .logo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99,102,241,0.12);
  border: 1px solid var(--border-glow);
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  margin-left: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(192,132,252,0.15));
  border: 1px solid var(--border-glow);
  color: var(--accent) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 30px;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 28px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(10, 8, 20, 0.97);
  backdrop-filter: blur(20px);
  z-index: 499;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent2) 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(99,102,241,0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(99,102,241,0.45);
}

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section { padding: 8rem 4rem; position: relative; z-index: 10; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  color: transparent;
}

/* ── GLASS CARDS ── */
.glass-card {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.glass-card:hover {
  transform: translateY(-6px);
  background: var(--surface-hover);
  border-color: rgba(99,102,241,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(99,102,241,0.06);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0% { transform: scale(1) translate(-50%, -50%); opacity: 0.5; }
  50% { transform: scale(1.1) translate(-45%, -45%); opacity: 0.8; }
  100% { transform: scale(1) translate(-50%, -50%); opacity: 0.5; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  gap: 1.5rem;
}
footer p { font-size: 0.9rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

/* ── BACKGROUND ORBS ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 15s infinite alternate ease-in-out;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  top: 0; right: 0;
  transform: translate(30%, -30%);
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,132,252,0.1) 0%, transparent 70%);
  bottom: 0; left: 0;
  transform: translate(-30%, 30%);
  animation-delay: -5s;
}

#mouse-glow {
  position: fixed;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  display: none;
}
@media (hover: hover) { #mouse-glow { display: block; } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.25rem 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 5rem 2rem; }
  footer { flex-direction: column; text-align: center; padding: 3rem 2rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
}
