/* ============================================
   DevGrowth Academy — Design Tokens
   ============================================ */
:root{
  --bg: #0A0E13;
  --surface: #12181F;
  --surface-2: #1B232C;
  --border: #232D38;
  --text: #EAF0F5;
  --text-muted: #8B98A6;
  --text-faint: #5A6673;
  --cyan: #2FD8C4;
  --cyan-dim: #1B8C7F;
  --gold: #E7A93F;
  --gold-dim: #9C7027;
  --danger: #E7603F;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1160px;
  --radius: 10px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before{
  content:"";
  position: fixed; inset:0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; margin:0; letter-spacing:-0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 28px; position:relative; z-index:1; }
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:18px; height:1px; background: var(--cyan); }

:focus-visible{ outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============ NAV ============ */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(10,14,19,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding: 16px 28px; max-width: var(--container); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; font-size:19px; }
.brand-mark{ width:34px; height:34px; }
.brand small{ display:block; font-family: var(--font-mono); font-size:10px; color: var(--text-muted); font-weight:400; letter-spacing:.08em; }
.nav-links{ display:flex; gap:36px; }
.nav-links a{ font-size:14.5px; color: var(--text-muted); transition: color .2s var(--ease); position:relative; }
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-links a.active::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--cyan); }
.nav-cta{
  font-family: var(--font-mono); font-size:13px; padding:10px 18px; border-radius:6px;
  background: var(--cyan); color:#06110F; font-weight:700; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover{ transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(47,216,196,.5); }
.nav-toggle{ display:none; }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 26px; border-radius:8px; font-weight:600; font-size:15px;
  border:1px solid transparent; transition: all .25s var(--ease);
}
.btn-primary{ background: var(--cyan); color:#06110F; }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(47,216,196,.55); }
.btn-outline{ border-color: var(--border); color: var(--text); }
.btn-outline:hover{ border-color: var(--cyan); color: var(--cyan); }
.btn-gold{ background: var(--gold); color:#1A1204; }
.btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(231,169,63,.5); }

/* ============ HERO ============ */
.hero{ padding: 96px 0 72px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:60px; align-items:center; }
.terminal{
  font-family: var(--font-mono); font-size:14px; color: var(--cyan);
  background: var(--surface); border:1px solid var(--border); border-radius:8px;
  padding: 14px 18px; display:inline-block; margin-bottom:26px; min-height:24px;
}
.terminal .cursor{ display:inline-block; width:8px; height:15px; background: var(--cyan); margin-left:4px; animation: blink 1s steps(1) infinite; vertical-align: -2px;}
@keyframes blink{ 50%{ opacity:0; } }
.hero h1{ font-size: 54px; line-height:1.08; margin-bottom:22px; }
.hero h1 .accent{ color: var(--cyan); }
.hero h1 .accent-gold{ color: var(--gold); }
.hero-sub{ font-size:17.5px; color: var(--text-muted); max-width: 520px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:14px; margin-bottom: 40px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:34px; }
.hero-stats div strong{ display:block; font-family: var(--font-display); font-size:26px; }
.hero-stats div span{ font-size:12.5px; color: var(--text-faint); font-family: var(--font-mono); }

/* Pipeline visual (hero side) */
.pipeline-card{
  background: var(--surface); border:1px solid var(--border); border-radius:14px; padding:26px;
  position: relative;
}
.pipeline-card .pc-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.pipeline-card .pc-head span{ font-family: var(--font-mono); font-size:11px; color: var(--text-faint); letter-spacing:.08em; }
.pc-dots{ display:flex; gap:6px; }
.pc-dots i{ width:9px; height:9px; border-radius:50%; background: var(--border); }
.pc-dots i:nth-child(1){ background: var(--danger); }
.pc-dots i:nth-child(2){ background: var(--gold); }
.pc-dots i:nth-child(3){ background: var(--cyan); }
.pc-row{ display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px dashed var(--border); opacity:0; transform: translateX(-14px); animation: slideIn .6s var(--ease) forwards; }
.pc-row:last-child{ border-bottom:none; }
.pc-row:nth-child(2){ animation-delay:.15s; }
.pc-row:nth-child(3){ animation-delay:.3s; }
.pc-row:nth-child(4){ animation-delay:.45s; }
.pc-row:nth-child(5){ animation-delay:.6s; }
@keyframes slideIn{ to{ opacity:1; transform:none; } }
.pc-num{ font-family: var(--font-mono); font-size:12px; color: var(--text-faint); width:20px; }
.pc-icon{ width:34px; height:34px; border-radius:8px; display:flex; align-items:center; justify-content:center; background: var(--surface-2); flex-shrink:0; }
.pc-body strong{ display:block; font-size:14px; font-weight:600; }
.pc-body span{ font-size:12px; color: var(--text-muted); }
.pc-tag{ margin-left:auto; font-family: var(--font-mono); font-size:10.5px; padding:3px 8px; border-radius:5px; }
.pc-tag.dev{ background: rgba(47,216,196,.12); color: var(--cyan); }
.pc-tag.biz{ background: rgba(231,169,63,.14); color: var(--gold); }

/* ============ SECTIONS ============ */
section{ padding: 90px 0; position:relative; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:36px; margin-top:14px; }
.section-head p{ color: var(--text-muted); margin-top:14px; font-size:16px; }
.divider{ border:none; border-top:1px solid var(--border); margin:0; }

/* Split (skills vs sales) */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.split-card{ border:1px solid var(--border); border-radius:14px; padding:34px; background: var(--surface); position:relative; overflow:hidden; }
.split-card.tech{ border-top:2px solid var(--cyan); }
.split-card.biz{ border-top:2px solid var(--gold); }
.split-card .tag{ font-family: var(--font-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; display:inline-block; }
.split-card.tech .tag{ color: var(--cyan); }
.split-card.biz .tag{ color: var(--gold); }
.split-card h3{ font-size:24px; margin-bottom:14px; }
.split-card p{ color: var(--text-muted); margin-bottom:22px; }
.split-card ul li{ display:flex; gap:10px; padding:8px 0; font-size:14.5px; color: var(--text); border-top:1px solid var(--border); }
.split-card ul li:first-child{ border-top:none; }
.split-card ul li::before{ content:"→"; color: var(--text-faint); }

/* Pathway (learning path timeline) */
.pathway{ display:grid; grid-template-columns: repeat(4,1fr); gap:0; position:relative; }
.pathway::before{ content:""; position:absolute; top:26px; left:6%; right:6%; height:1px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); z-index:0;}
.path-step{ position:relative; z-index:1; padding-right:20px; }
.path-num{ width:52px; height:52px; border-radius:50%; background: var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-family: var(--font-mono); font-size:15px; color: var(--cyan); margin-bottom:22px; }
.path-step:nth-child(3) .path-num, .path-step:nth-child(4) .path-num{ color: var(--gold); }
.path-step h4{ font-size:17px; margin-bottom:8px; }
.path-step p{ font-size:13.5px; color: var(--text-muted); }

/* Cards grid (courses / features) */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.card{ background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:28px; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.card:hover{ border-color: var(--cyan); transform: translateY(-4px); }
.card .icon{ width:42px; height:42px; border-radius:9px; background: var(--surface-2); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.card h4{ font-size:17px; margin-bottom:10px; }
.card p{ font-size:14px; color: var(--text-muted); }

/* Stats band */
.stats-band{ border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.stats-band .container{ display:flex; justify-content:space-between; padding:44px 28px; flex-wrap:wrap; gap:28px; }
.stat strong{ font-family: var(--font-display); font-size:34px; display:block; }
.stat span{ font-family: var(--font-mono); font-size:12px; color: var(--text-faint); }
.stat.gold strong{ color: var(--gold); }
.stat.cyan strong{ color: var(--cyan); }

/* CTA band */
.cta-band{ background: linear-gradient(135deg, var(--surface), var(--surface-2)); border:1px solid var(--border); border-radius:20px; padding:56px; text-align:center; }
.cta-band h2{ font-size:32px; margin-bottom:16px; }
.cta-band p{ color: var(--text-muted); max-width:520px; margin:0 auto 30px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Testimonials */
.quote-card{ background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:26px; }
.quote-card p{ font-size:15px; color: var(--text); margin-bottom:18px; }
.quote-who{ display:flex; align-items:center; gap:12px; }
.quote-avatar{ width:38px; height:38px; border-radius:50%; background: var(--surface-2); display:flex; align-items:center; justify-content:center; font-family: var(--font-mono); font-size:13px; color:var(--cyan); }
.quote-who strong{ display:block; font-size:13.5px; }
.quote-who span{ font-size:12px; color: var(--text-faint); font-family: var(--font-mono); }

/* Footer */
.site-footer{ border-top:1px solid var(--border); padding:56px 0 30px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px; }
.footer-grid h5{ font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--text-faint); margin-bottom:16px; }
.footer-grid ul li{ padding:6px 0; }
.footer-grid ul li a{ color: var(--text-muted); font-size:14px; transition:color .2s; }
.footer-grid ul li a:hover{ color: var(--cyan); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:24px; border-top:1px solid var(--border); font-size:12.5px; color: var(--text-faint); flex-wrap:wrap; gap:10px; }
.footer-brand p{ color: var(--text-muted); font-size:14px; margin-top:12px; max-width:280px; }

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* Page hero (inner pages) */
.page-hero{ padding: 64px 0 50px; border-bottom:1px solid var(--border); }
.page-hero h1{ font-size:42px; margin: 14px 0 12px; }
.page-hero p{ color: var(--text-muted); max-width:600px; font-size:16px; }
.breadcrumb{ font-family: var(--font-mono); font-size:12px; color: var(--text-faint); margin-bottom:14px; }
.breadcrumb a{ color: var(--text-faint); } .breadcrumb a:hover{ color: var(--cyan); }

/* Curriculum accordion (courses page) */
.module{ border:1px solid var(--border); border-radius:12px; margin-bottom:14px; overflow:hidden; background: var(--surface); }
.module-head{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px; cursor:pointer; }
.module-head .left{ display:flex; align-items:center; gap:16px; }
.module-num{ font-family: var(--font-mono); color: var(--cyan); font-size:13px; width:34px; }
.module-head h4{ font-size:16.5px; }
.module-meta{ font-family: var(--font-mono); font-size:11.5px; color: var(--text-faint); }
.module-chevron{ transition: transform .3s var(--ease); color: var(--text-faint); }
.module.open .module-chevron{ transform: rotate(180deg); }
.module-body{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.module.open .module-body{ max-height:340px; }
.module-body-inner{ padding: 0 24px 22px 74px; }
.module-body-inner ul li{ font-size:14px; color: var(--text-muted); padding:5px 0; }
.module-body-inner ul li::before{ content:"— "; color: var(--text-faint); }

/* Pricing / track cards */
.track-card{ border:1px solid var(--border); border-radius:14px; padding:32px; background: var(--surface); position:relative; }
.track-card.featured{ border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 20px 60px -20px rgba(47,216,196,.25); }
.track-badge{ position:absolute; top:-12px; right:24px; background: var(--cyan); color:#06110F; font-family:var(--font-mono); font-size:10.5px; padding:4px 10px; border-radius:5px; font-weight:700; }
.track-card h3{ font-size:22px; margin-bottom:6px; }
.track-price{ font-family: var(--font-display); font-size:15px; color: var(--text-muted); margin-bottom:20px; }
.track-card ul{ margin-bottom:26px; }
.track-card ul li{ display:flex; gap:10px; padding:7px 0; font-size:14px; }
.track-card ul li::before{ content:"✓"; color: var(--cyan); font-weight:700; }

/* Forms */
.form-wrap{ background: var(--surface); border:1px solid var(--border); border-radius:16px; padding:38px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:13px; color: var(--text-muted); font-family: var(--font-mono); }
.field input, .field select, .field textarea{
  background: var(--bg); border:1px solid var(--border); border-radius:8px; padding:13px 14px;
  color: var(--text); font-family: var(--font-body); font-size:14.5px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--cyan); outline:none; }
.field-full{ grid-column: 1 / -1; }

.contact-grid{ display:grid; grid-template-columns: 1fr 1.2fr; gap:40px; }
.contact-item{ display:flex; gap:16px; padding:20px 0; border-top:1px solid var(--border); }
.contact-item:first-child{ border-top:none; }
.contact-icon{ width:40px; height:40px; border-radius:9px; background: var(--surface-2); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item strong{ display:block; font-size:14.5px; margin-bottom:4px; }
.contact-item span, .contact-item a{ font-size:14px; color: var(--text-muted); }
.contact-item a:hover{ color: var(--cyan); }

.whatsapp-float{
  position:fixed; bottom:26px; right:26px; z-index:60;
  width:56px; height:56px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.08); }

/* ============ VISUAL ENRICHMENT ============ */
.icon svg, .card .icon svg{ width:20px; height:20px; }
.contact-icon svg{ width:18px; height:18px; }

/* Ambient glow orbs */
.glow-orb{ position:absolute; border-radius:50%; filter: blur(80px); pointer-events:none; z-index:0; opacity:.35; }
.glow-orb.cyan{ background: var(--cyan); }
.glow-orb.gold{ background: var(--gold); }
.hero{ position:relative; }
.hero .glow-orb.cyan{ width:420px; height:420px; top:-140px; right:-100px; }
.hero .glow-orb.gold{ width:300px; height:300px; bottom:-80px; left:-80px; opacity:.18; }
.cta-band{ position:relative; overflow:hidden; }
.cta-band .glow-orb{ width:320px; height:320px; top:-120px; left:50%; transform:translateX(-50%); opacity:.22; }

/* Floating tech chips around hero visual */
.chip-field{ position:relative; z-index:2; }
.float-chip{
  position:absolute; font-family: var(--font-mono); font-size:12px; padding:7px 13px; border-radius:20px;
  background: var(--surface); border:1px solid var(--border); color: var(--text-muted);
  animation: floaty 5s ease-in-out infinite; box-shadow: 0 12px 24px -12px rgba(0,0,0,.5);
}
.float-chip.c1{ top:-18px; left:22px; color: var(--cyan); border-color: rgba(47,216,196,.35); animation-delay:0s; }
.float-chip.c2{ top:38%; right:-26px; color: var(--gold); border-color: rgba(231,169,63,.35); animation-delay:1.2s; }
.float-chip.c3{ bottom:-16px; left:38%; color: var(--cyan); border-color: rgba(47,216,196,.35); animation-delay:2.4s; }
@keyframes floaty{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

/* Logo watermark (about page) */
.logo-watermark{ position:absolute; opacity:.05; z-index:0; pointer-events:none; }
.logo-watermark svg{ width:340px; height:340px; }

/* Mobile */
@media (max-width: 900px){
  .float-chip{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:38px; }
  .split{ grid-template-columns:1fr; }
  .pathway{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .pathway::before{ display:none; }
  .grid-3{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .nav-links{ display:none; }
  .stats-band .container{ justify-content:center; text-align:center; }
}
