:root{
  --bg:#05070f;
  --panel:#0b1120;
  --panel2:#101a33;
  --line:#1c2946;
  --cyan:#37cdd1;
  --blue:#3e7bfa;
  --purple:#8b5cf6;
  --white:#eaf2ff;
  --muted:#7c89ad;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan) 55%, var(--purple));
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--white);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001s !important; transition-duration:0.001s !important;}
}
h1,h2,h3{font-family:'Space Grotesk',sans-serif; font-weight:600; letter-spacing:-0.01em;}
.eyebrow{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--cyan);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--cyan);
  display:inline-block;
}
a{color:inherit; text-decoration:none;}
.wrap{max-width:1200px; margin:0 auto; padding:0 28px;}
section{position:relative; padding:110px 0;}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,4vw,42px); margin-top:14px; line-height:1.15;}
.section-head p{color:var(--muted); margin-top:14px; font-size:16px; line-height:1.6;}

/* ---------- NAV ---------- */
nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(5,7,15,0.78);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1200px; margin:0 auto; padding:16px 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo{
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:19px;
  display:flex; align-items:center; gap:9px;
}
.logo-mark{
  width:26px; height:26px; border-radius:7px;
  background:var(--grad);
  display:inline-block;
  box-shadow:0 0 10px rgba(55,205,209,0.35);
}
.nav-links{display:flex; gap:30px; font-size:14px; color:var(--muted);}
.nav-links a:hover, .nav-links a.current{color:var(--white);}
.nav-cta{
  font-family:'JetBrains Mono',monospace; font-size:12.5px;
  border:1px solid var(--cyan); color:var(--cyan);
  padding:9px 18px; border-radius:100px;
  transition:all .2s;
}
.nav-cta:hover{background:var(--cyan); color:#04121a;}
@media (max-width:860px){ .nav-links{display:none;} }

/* ---------- HERO ---------- */
.hero{
  padding:190px 0 120px;
  position:relative;
  min-height:80vh;
  display:flex; align-items:center;
}
.hero.compact{min-height:auto; padding:170px 0 90px;}
#net-canvas{
  position:absolute; inset:0; z-index:0;
  opacity:0.4;
}
.hero-inner{position:relative; z-index:2;}
.hero .eyebrow{margin-bottom:24px;}
.hero h1{
  font-size:clamp(34px,5.6vw,64px);
  line-height:1.06;
  max-width:920px;
}
.hero h1 .g{
  background:var(--grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.sub{
  margin-top:26px; max-width:560px; color:var(--muted);
  font-size:17px; line-height:1.7;
}
.cta-row{display:flex; flex-wrap:wrap; gap:14px; margin-top:42px;}
.btn{
  font-family:'JetBrains Mono',monospace; font-size:13px;
  padding:14px 24px; border-radius:8px;
  display:inline-flex; align-items:center; gap:8px;
  transition:all .2s ease; cursor:pointer; border:1px solid transparent;
}
.btn-primary{background:var(--grad); color:#04121a; font-weight:500;}
.btn-primary:hover{filter:brightness(1.07); box-shadow:0 0 16px rgba(139,92,246,0.28);}
.btn-ghost{border:1px solid var(--line); color:var(--white);}
.btn-ghost:hover{border-color:var(--cyan); color:var(--cyan);}
.hero-stats{
  display:flex; gap:44px; margin-top:74px; flex-wrap:wrap;
}
.hero-stats div b{
  display:block; font-family:'Space Grotesk'; font-size:26px; color:var(--white);
}
.hero-stats div span{
  font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--muted);
  letter-spacing:0.08em; text-transform:uppercase;
}

/* ---------- BREADCRUMB (sub-pages) ---------- */
.crumb{
  font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--muted);
  display:flex; gap:8px; align-items:center; margin-bottom:20px; position:relative; z-index:2;
}
.crumb a:hover{color:var(--cyan);}

/* ---------- GLASS CARD ---------- */
.card{
  background:linear-gradient(180deg, rgba(16,26,51,0.7), rgba(11,17,32,0.55));
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px;
  backdrop-filter:blur(6px);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position:relative;
  overflow:hidden;
}
.card:hover{
  transform:translateY(-3px);
  border-color:rgba(55,205,209,0.35);
  box-shadow:0 10px 26px -14px rgba(62,123,250,0.3);
}
.card .ic{
  width:42px; height:42px; border-radius:10px;
  background:var(--panel2); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; color:var(--cyan);
}
.card .ic svg{width:20px; height:20px;}
.card h3{font-size:16.5px; margin-bottom:8px;}
.card p{color:var(--muted); font-size:13.5px; line-height:1.6;}

.grid{display:grid; gap:20px;}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
@media (max-width:980px){ .grid-4{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .grid-4,.grid-3,.grid-2{grid-template-columns:1fr;} }

/* ---------- ABOUT ---------- */
.about{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:radial-gradient(ellipse at 20% 20%, rgba(62,123,250,0.06), transparent 60%);
}
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
.about-grid h2{font-size:clamp(26px,3.6vw,38px); line-height:1.2;}
.about-grid p{color:var(--muted); margin-top:18px; line-height:1.75; font-size:15.5px;}
.about-panel{
  border:1px solid var(--line); border-radius:18px; padding:32px;
  background:var(--panel);
}
.about-row{display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line);}
.about-row:last-child{border-bottom:none;}
.about-row .num{font-family:'JetBrains Mono'; color:var(--cyan); font-size:13px; width:28px;}
.about-row div h4{font-size:14.5px; margin-bottom:4px;}
.about-row div p{font-size:13px; color:var(--muted); margin:0;}
@media (max-width:860px){ .about-grid{grid-template-columns:1fr;} }

/* ---------- PATHWAY (numbered sequence, justified: curriculum order) ---------- */
.pathway-track{position:relative;}
.pathway-line{
  position:absolute; left:0; right:0; top:27px; height:1px;
  background:linear-gradient(90deg, var(--blue), var(--cyan), var(--purple));
  opacity:0.28;
}
.pathway-scroll{
  display:flex; gap:18px; overflow-x:auto; padding-bottom:20px; scroll-snap-type:x proximity;
}
.pathway-scroll::-webkit-scrollbar{height:5px;}
.pathway-scroll::-webkit-scrollbar-thumb{background:var(--line); border-radius:10px;}
.path-card{
  min-width:230px; scroll-snap-align:start;
  background:var(--panel); border:1px solid var(--line); border-radius:14px;
  padding:22px; position:relative;
}
.path-card .num{
  width:36px; height:36px; border-radius:50%;
  background:var(--panel2); border:1px solid var(--cyan);
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono'; font-size:13px; color:var(--cyan);
  margin-bottom:16px;
}
.path-card h3{font-size:15px; margin-bottom:6px;}
.path-card p{font-size:12.5px; color:var(--muted); line-height:1.5;}

/* ---------- TABS (materials / practice / lab) ---------- */
.split{display:grid; grid-template-columns:0.9fr 1.1fr; gap:50px; align-items:start;}
@media (max-width:900px){ .split{grid-template-columns:1fr;} }
.list-row{
  display:flex; gap:16px; align-items:flex-start; padding:18px 0;
  border-bottom:1px solid var(--line);
}
.list-row .dot{
  width:8px; height:8px; border-radius:50%; margin-top:6px; flex:none;
  background:var(--cyan); box-shadow:0 0 5px rgba(55,205,209,0.6);
}
.list-row h4{font-size:15px; margin-bottom:4px;}
.list-row p{font-size:13px; color:var(--muted);}

.lab-visual{
  border:1px solid var(--line); border-radius:18px; padding:34px;
  background:linear-gradient(160deg, rgba(139,92,246,0.06), rgba(55,205,209,0.04));
  min-height:340px; display:flex; flex-direction:column; justify-content:space-between;
}
.lab-visual .tag{
  font-family:'JetBrains Mono'; font-size:11px; color:var(--purple);
  border:1px solid var(--purple); border-radius:100px; padding:5px 12px;
  display:inline-block; margin:4px 6px 4px 0;
}

/* ---------- PRODUCTS ---------- */
.cat-tabs{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px;}
.cat-tab{
  font-family:'JetBrains Mono'; font-size:12px; padding:9px 16px;
  border:1px solid var(--line); border-radius:100px; color:var(--muted); cursor:pointer;
  transition:all .2s;
}
.cat-tab.active, .cat-tab:hover{border-color:var(--cyan); color:var(--cyan);}
.product-card{
  background:var(--panel); border:1px solid var(--line); border-radius:16px;
  overflow:hidden; transition:transform .25s, border-color .25s;
}
.product-card:hover{transform:translateY(-3px); border-color:rgba(139,92,246,0.35);}
.product-thumb{
  height:130px; display:flex; align-items:center; justify-content:center; position:relative;
  background:radial-gradient(circle at 30% 20%, rgba(62,123,250,0.2), transparent 65%), var(--panel2);
  border-bottom:1px solid var(--line);
}
.product-thumb svg{width:36px; height:36px; color:var(--cyan); filter:drop-shadow(0 0 5px rgba(55,205,209,0.3));}
.product-thumb .discount{
  position:absolute; top:10px; right:10px;
  font-family:'JetBrains Mono'; font-size:10px; color:var(--purple);
  border:1px solid var(--purple); border-radius:100px; padding:3px 9px;
}
.product-card .pc-body{padding:18px;}
.product-card h4{font-size:14.5px; margin-bottom:4px;}
.product-card .obj{font-size:12px; color:var(--muted); line-height:1.5;}
.product-card .price-row{display:flex; justify-content:space-between; align-items:flex-end; margin-top:14px;}
.product-card .price{font-family:'JetBrains Mono'; color:var(--cyan); font-size:13.5px;}
.product-card .mrp{font-family:'JetBrains Mono'; font-size:11px; color:var(--muted); text-decoration:line-through; margin-left:7px;}
.pc-btn{font-family:'JetBrains Mono'; font-size:11px; border:1px solid var(--line); padding:6px 12px; border-radius:6px;}
.pc-btn:hover{border-color:var(--cyan); color:var(--cyan);}
.product-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
@media (max-width:980px){ .product-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .product-grid{grid-template-columns:1fr;} }

/* ---------- BAND / STRIPE SECTIONS ---------- */
.band{background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}

/* ---------- DASHBOARD PREVIEW ---------- */
.dash-frame{
  border:1px solid var(--line); border-radius:20px; overflow:hidden;
  background:var(--panel);
}
.dash-top{
  display:flex; gap:8px; padding:14px 18px; border-bottom:1px solid var(--line);
  background:var(--panel2);
}
.dash-top span{width:10px; height:10px; border-radius:50%; background:var(--line);}
.dash-body{display:grid; grid-template-columns:200px 1fr; min-height:320px;}
.dash-side{border-right:1px solid var(--line); padding:24px 18px; display:flex; flex-direction:column; gap:6px;}
.dash-side a{font-size:13px; color:var(--muted); padding:10px 12px; border-radius:8px;}
.dash-side a.active{background:var(--panel2); color:var(--cyan);}
.dash-main{padding:26px;}
.prog-bar{height:6px; border-radius:10px; background:var(--panel2); overflow:hidden; margin-top:8px;}
.prog-bar i{display:block; height:100%; background:var(--grad); border-radius:10px;}
@media (max-width:700px){ .dash-body{grid-template-columns:1fr;} .dash-side{display:none;} }

/* ---------- WHY CHOOSE ---------- */
.why-list{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden;}
.why-item{background:var(--bg); padding:24px; display:flex; gap:14px; align-items:flex-start;}
.why-item .mk{color:var(--cyan); font-family:'JetBrains Mono'; font-size:13px;}
.why-item p{font-size:14px; color:var(--white);}
@media (max-width:700px){ .why-list{grid-template-columns:1fr;} }

/* ---------- CTA FOOTER BAND ---------- */
.cta-band{
  text-align:center; padding:120px 0;
  background:radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.1), transparent 60%);
}
.cta-band h2{font-size:clamp(30px,5vw,50px); max-width:760px; margin:0 auto; line-height:1.15;}
.cta-band .cta-row{justify-content:center; margin-top:36px;}

footer{border-top:1px solid var(--line); padding:60px 0 30px;}
.foot-grid{display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:34px;}
.foot-grid h5{font-family:'JetBrains Mono'; font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:16px;}
.foot-grid a{display:block; font-size:13.5px; color:var(--muted); margin-bottom:10px;}
.foot-grid a:hover{color:var(--cyan);}
.foot-bottom{
  display:flex; justify-content:space-between; margin-top:50px; padding-top:24px;
  border-top:1px solid var(--line); font-size:12.5px; color:var(--muted); flex-wrap:wrap; gap:10px;
}
@media (max-width:860px){ .foot-grid{grid-template-columns:repeat(2,1fr);} }

::selection{background:var(--purple); color:white;}
