/* =============================================
   NAVIGATION
   ============================================= */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--container); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 500;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo .logo-azu { color: var(--white); }
.nav-logo .logo-logic { color: var(--purple-lighter); }
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; color: var(--text-muted);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(127,119,221,0.08); }
.nav-cta { margin-left: 12px; padding: 9px 18px !important; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 8px; background: none;
  transition: background var(--t);
}
.nav-hamburger:hover { background: rgba(127,119,221,0.1); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: all var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(10,10,10,0.97); backdrop-filter: blur(20px);
  padding: 32px 24px; display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform 0.35s ease;
  overflow-y: auto;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  padding: 14px 16px; border-radius: 10px;
  font-size: 16px; color: var(--text-muted);
  transition: color var(--t), background var(--t);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--white); background: rgba(83,74,183,0.1); }
.nav-mobile .btn-primary { margin-top: 16px; justify-content: center; width: 100%; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 68px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(83,74,183,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(127,119,221,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 60% 80%, rgba(38,33,92,0.3) 0%, transparent 60%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(127,119,221,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,119,221,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-geo {
  position: absolute; pointer-events: none;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
}
.geo-1 { width: 480px; height: 480px; top: -120px; right: -80px; background: rgba(83,74,183,0.04); animation: geoFloat 10s ease-in-out infinite; }
.geo-2 { width: 280px; height: 280px; bottom: 60px; right: 240px; background: rgba(127,119,221,0.05); animation: geoFloat 13s ease-in-out infinite reverse; }
.geo-3 { width: 180px; height: 180px; top: 140px; left: 60px; background: rgba(38,33,92,0.25); animation: geoFloat 9s ease-in-out infinite 2s; }
.geo-4 { width: 100px; height: 100px; bottom: 200px; left: 300px; background: rgba(127,119,221,0.06); animation: geoFloat 11s ease-in-out infinite 1s reverse; }
@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(8deg); }
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-label { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(38px, 6.5vw, 80px);
  color: var(--white); line-height: 1.08; margin-bottom: 24px;
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px); color: var(--text-muted);
  max-width: 580px; line-height: 1.75; margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-ctas .btn { font-size: 15px; padding: 14px 28px; }
.hero-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--border2); border-radius: var(--radius);
  background: rgba(255,255,255,0.02); overflow: hidden;
}
.hero-stat {
  flex: 1; min-width: 120px; padding: 20px 28px;
  border-right: 1px solid var(--border2);
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700;
  color: var(--white); line-height: 1;
  background: linear-gradient(135deg, #fff, #AFA9EC);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 12px; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg3);
  padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); margin: 16px 0 24px; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.07em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13.5px; color: var(--text-dim); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--purple-lighter); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-dim); transition: color var(--t); }
.footer-bottom-links a:hover { color: var(--purple-lighter); }
