/* ============================================
   NEUROLOGIX ACADEMY — GLOBAL STYLES
   ============================================ */

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

:root {
  --bg: #070710;
  --bg2: #0d0d1a;
  --bg3: #12121f;
  --card: #16162a;
  --card2: #1c1c30;
  --border: #252540;
  --border2: #30304d;
  --accent: #4f7dff;
  --accent2: #7c4fff;
  --accent3: #00c9a7;
  --accent4: #ff6b6b;
  --accent5: #ffd93d;
  --text: #e8e8f5;
  --muted: #7878a0;
  --muted2: #9898b8;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #4f7dff, #7c4fff);
  --grad2: linear-gradient(135deg, #4f7dff, #00c9a7);
  --grad3: linear-gradient(135deg, #7c4fff, #ff6b6b);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --shadow2: 0 8px 30px rgba(79,125,255,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 { font-family: 'Bricolage Grotesque', sans-serif; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -2px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -1px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
p { color: var(--muted); line-height: 1.75; }
a { text-decoration: none; color: inherit; }

/* GRADIENT TEXT */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text2 {
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(79,125,255,0.3);
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(79,125,255,0.45); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border2);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,125,255,0.1);
  color: var(--accent);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid rgba(79,125,255,0.3);
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.btn-outline:hover { background: rgba(79,125,255,0.2); }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7,7,16,0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(79,125,255,0.1);
  transition: border-color 0.3s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { padding: 10px 24px; font-size: 0.85rem; }
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* SECTIONS */
.section { padding: 100px 48px; max-width: 1280px; margin: 0 auto; }
.section-sm { padding: 60px 48px; max-width: 1280px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 48px;
}

/* CARDS */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(79,125,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow2);
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.badge-blue { background: rgba(79,125,255,0.15); color: var(--accent); border: 1px solid rgba(79,125,255,0.25); }
.badge-green { background: rgba(0,201,167,0.15); color: var(--accent3); border: 1px solid rgba(0,201,167,0.25); }
.badge-purple { background: rgba(124,79,255,0.15); color: var(--accent2); border: 1px solid rgba(124,79,255,0.25); }
.badge-yellow { background: rgba(255,217,61,0.15); color: var(--accent5); border: 1px solid rgba(255,217,61,0.25); }
.badge-red { background: rgba(255,107,107,0.15); color: var(--accent4); border: 1px solid rgba(255,107,107,0.25); }

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* STAT */
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
}
.stat-num em { font-style: normal; }
.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1.5rem;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* PAGE HEADER */
.page-header {
  padding: 160px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,125,255,0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 48px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.875rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--muted);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg2);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .section, .section-sm { padding: 60px 20px; }
  .page-header { padding: 120px 20px 60px; }
  .divider { margin: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 40px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}
