/* ===================================================================
   Startup Toolkit — Agentic AI Engineering program
   Shared stylesheet for index.html and python-refresher.html
   =================================================================== */

:root{
  --ink:#0a1220;
  --ink-2:#0f1c30;
  --ink-3:#132038;
  --paper:#f4f7fb;
  --paper-2:#eef2f9;
  --white:#ffffff;
  --azure:#0a7cff;
  --azure-deep:#0958b8;
  --cyan:#63c9ff;
  --amber:#ffb02e;
  --amber-deep:#8a5b00;
  --slate:#4c5a72;
  --slate-soft:#7c8aa0;
  --line:#d7e0ee;
  --line-dark:rgba(255,255,255,.14);
  --good:#2fbf83;
  --good-deep:#1d7a51;
  --shadow:0 10px 30px rgba(15,25,45,.08);
  --shadow-lg:0 20px 50px rgba(10,15,30,.35);
  --radius:10px;
  --maxw:1160px;

  --font-body:"Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head:"Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono:Consolas, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
body{
  margin:0;
  font-family:var(--font-body);
  color:#1b2636;
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:var(--font-head);
  margin:0;
  color:var(--ink);
  text-wrap:balance;
  font-weight:700;
  letter-spacing:-.01em;
}
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
img,svg{ max-width:100%; display:block; }
.mono{ font-family:var(--font-mono); }

.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 20px; }
@media (min-width:640px){ .container{ padding:0 32px; } }
@media (min-width:1080px){ .container{ padding:0 40px; } }

section{ scroll-margin-top:72px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  font-weight:700; color:var(--azure-deep);
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--azure); }
.eyebrow.on-dark{ color:var(--cyan); }
.eyebrow.on-dark .dot{ background:var(--cyan); box-shadow:0 0 8px var(--cyan); }

/* ---------------- Nav ---------------- */
.site-nav{
  position:sticky; top:0; z-index:100;
  background:rgba(10,18,32,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-nav .bar{
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.brandmark{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-weight:700; font-size:14px; letter-spacing:.04em;
  color:#fff;
}
.brandmark .node{ width:9px; height:9px; border-radius:50%; background:var(--cyan); box-shadow:0 0 10px var(--cyan); }
.nav-links{
  display:none;
  align-items:center; gap:28px;
  font-size:14px; color:#c3d0e3;
}
.nav-links a{ transition:color .15s ease; }
.nav-links a:hover, .nav-links a:focus-visible{ color:#fff; }
.nav-cta{
  display:none;
  background:var(--amber); color:#2b1c00; font-weight:700; font-size:13px;
  font-family:var(--font-mono); letter-spacing:.03em; text-transform:uppercase;
  padding:9px 16px; border-radius:6px; transition:filter .15s ease;
}
.nav-cta:hover{ filter:brightness(1.08); }
.nav-toggle{
  display:inline-flex; background:none; border:1px solid rgba(255,255,255,.25); border-radius:6px;
  color:#fff; width:40px; height:40px; align-items:center; justify-content:center; cursor:pointer;
}
.nav-toggle svg{ width:18px; height:18px; }
.mobile-panel{
  display:none; flex-direction:column; gap:2px; padding:8px 0 16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.mobile-panel.open{ display:flex; }
.mobile-panel a{
  padding:12px 4px; color:#dfe8f5; font-size:15px; border-bottom:1px solid rgba(255,255,255,.06);
}
.mobile-panel .nav-cta{ display:inline-flex; justify-content:center; margin-top:10px; }

@media (min-width:900px){
  .nav-links{ display:flex; }
  .nav-cta{ display:inline-flex; }
  .nav-toggle{ display:none; }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative; overflow:hidden; color:#eaf1ff;
  background:
    radial-gradient(circle at 82% 6%, rgba(10,124,255,.32), transparent 42%),
    radial-gradient(circle at 6% 96%, rgba(255,176,46,.14), transparent 40%),
    linear-gradient(165deg, var(--ink) 0%, #060c17 65%, #04080f 100%);
  padding:64px 0 72px;
}
.hero .graph{ position:absolute; inset:0; opacity:.85; z-index:0; }
@keyframes nodeFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }
.hero .graph circle{ animation:nodeFloat 5s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
.hero .graph circle:nth-of-type(2n){ animation-delay:-1.6s; }
.hero .graph circle:nth-of-type(3n){ animation-delay:-3.2s; }
.hero .container{ position:relative; z-index:2; }
.hero h1{
  color:#fff; font-size:clamp(32px,5.4vw,52px); line-height:1.08; margin-top:18px; max-width:820px;
}
.hero h1 .hl{ color:var(--cyan); }
.hero .sub{
  margin-top:18px; max-width:640px; font-size:clamp(15px,1.9vw,17.5px); color:#b9c8de; line-height:1.65;
}
.hero .stats{
  display:grid; grid-template-columns:repeat(2,1fr); gap:22px 28px;
  margin-top:38px; max-width:520px;
}
@media (min-width:560px){ .hero .stats{ grid-template-columns:repeat(4,1fr); max-width:none; } }
.hero .stat .n{ font-family:var(--font-head); font-size:30px; color:#fff; }
.hero .stat .l{ font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--slate-soft); margin-top:3px; }

.pill{
  display:inline-flex; align-items:center; gap:9px;
  border-radius:999px; padding:9px 18px 9px 14px;
  font-family:var(--font-mono); font-size:12.5px; font-weight:700; letter-spacing:.02em;
}
.pill-amber{ background:rgba(255,176,46,.12); border:1px solid rgba(255,176,46,.45); color:var(--amber); }
.hero .credit-pill{ margin-top:30px; }

.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:7px; padding:13px 24px; font-family:var(--font-mono); font-size:13px;
  font-weight:700; letter-spacing:.03em; text-transform:uppercase; cursor:pointer; border:1px solid transparent;
  transition:transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--amber); color:#2b1c00; }
.btn-primary:hover{ filter:brightness(1.07); box-shadow:0 10px 26px rgba(255,176,46,.4); }
.btn-ghost{ background:transparent; color:#eaf1ff; border-color:rgba(255,255,255,.35); }
.btn-ghost:hover{ background:rgba(255,255,255,.08); }
.btn-azure{ background:var(--azure); color:#fff; }
.btn-azure:hover{ filter:brightness(1.08); box-shadow:0 10px 26px rgba(10,124,255,.4); }

/* stack strip */
.stack-strip{ background:var(--ink-2); padding:22px 0; border-bottom:1px solid rgba(255,255,255,.06); }
.stack-strip .row{ text-align:center; }
.stack-strip .chip{
  display:inline-block; margin:5px;
  font-family:var(--font-mono); font-size:12px; color:#bcd3f2; letter-spacing:.02em;
  padding:6px 12px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(255,255,255,.03);
  white-space:nowrap; transition:transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
}
.stack-strip .chip:hover{
  transform:translateY(-2px); color:#fff; border-color:rgba(99,201,255,.5); background:rgba(99,201,255,.1);
}

/* ---------------- Section chrome ---------------- */
.section{ padding:64px 0; }
.section-light{ background:var(--paper); }
.section-white{ background:var(--white); }
.section-dark{
  color:#eaf1ff;
  background:linear-gradient(165deg, var(--ink) 0%, #060c17 70%, #04080f 100%);
}
.section-head{ max-width:680px; margin-bottom:36px; }
.section-head h2{ font-size:clamp(24px,3.4vw,34px); margin-top:10px; }
.section-dark .section-head h2{ color:#fff; }
.lead{ font-size:15.5px; color:#3d4c65; max-width:680px; margin-top:14px; line-height:1.7; }
.section-dark .lead{ color:#b9c8de; }

/* ---------------- Grids & cards ---------------- */
.grid-2{ display:grid; grid-template-columns:1fr; gap:20px; }
.grid-3{ display:grid; grid-template-columns:1fr; gap:20px; }
.grid-6{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:720px){
  .grid-2{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:repeat(3,1fr); }
  .grid-6{ grid-template-columns:repeat(3,1fr); }
}
@media (min-width:1080px){
  .grid-6{ grid-template-columns:repeat(6,1fr); }
}

.card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover{ transform:translateY(-3px); box-shadow:0 18px 40px rgba(15,25,45,.14); border-color:rgba(10,124,255,.35); }
.card h3{ font-size:14px; text-transform:uppercase; letter-spacing:.04em; font-family:var(--font-mono); margin-bottom:14px; }
.card li{
  display:flex; align-items:flex-start; gap:11px;
  font-size:14px; color:#3a4a63; margin-bottom:6px; padding:6px 8px; border-radius:8px; line-height:1.55;
  transition:background .15s ease, transform .15s ease;
}
.card li:hover{ background:rgba(10,124,255,.07); transform:translateX(2px); }
.card li::before{
  content:"✓"; flex:none; width:19px; height:19px; margin-top:1px; border-radius:50%;
  background:rgba(10,124,255,.12); color:var(--azure-deep);
  display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:900;
}
.card li:last-child{ margin-bottom:0; }

.pillar{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:18px;
  border-top:3px solid var(--azure); box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.pillar:hover{ transform:translateY(-4px); box-shadow:0 18px 36px rgba(15,25,45,.14); }
.pillar .pico{
  width:36px; height:36px; border-radius:9px; background:rgba(10,124,255,.1);
  display:flex; align-items:center; justify-content:center; font-size:17px; margin-bottom:10px;
}
.pillar .pn{ font-family:var(--font-mono); font-size:11px; color:var(--slate-soft); letter-spacing:.06em; }
.pillar h4{ font-size:15px; margin:8px 0 6px; }
.pillar p{ font-size:13px; color:#4a5972; line-height:1.55; }

.link-note{
  margin-top:22px; display:flex; align-items:center; gap:12px;
  border:1px solid rgba(10,124,255,.3); background:rgba(10,124,255,.06);
  border-radius:var(--radius); padding:16px 18px; font-size:13.5px; color:#243a55;
}
.link-note a{ color:var(--azure-deep); font-weight:700; text-decoration:underline; }

/* ---------------- Schedule table ---------------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow); }
table.schedule{ width:100%; border-collapse:collapse; min-width:640px; }
table.schedule th{
  text-align:left; font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.05em;
  color:var(--slate-soft); border-bottom:2px solid var(--ink); padding:14px 16px; background:var(--paper-2);
}
table.schedule td{ padding:16px; border-bottom:1px solid var(--line); font-size:14px; vertical-align:top; transition:background .15s ease; }
table.schedule tr:last-child td{ border-bottom:none; }
table.schedule tr:hover td{ background:rgba(10,124,255,.045); }
table.schedule tr.af-row:hover td{ background:rgba(255,176,46,.12); }
table.schedule .wk{ font-family:var(--font-mono); font-weight:700; color:var(--azure-deep); white-space:nowrap; }
table.schedule .theme{ font-weight:600; color:var(--ink); }
table.schedule .desc{ color:#5a6a82; font-size:12.8px; margin-top:3px; }
table.schedule tr.af-row td{ background:rgba(255,176,46,.06); }

.credit-callout{
  margin-top:28px; background:linear-gradient(120deg, rgba(255,176,46,.10), rgba(10,124,255,.06));
  border:1px solid rgba(255,176,46,.5); border-radius:var(--radius); padding:22px 26px;
  display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap;
}
.credit-callout .ico{
  width:40px; height:40px; border-radius:50%; background:var(--amber); flex:none;
  display:flex; align-items:center; justify-content:center; font-size:18px; color:#3a2400; font-weight:800;
}
.credit-callout h4{ font-size:15px; color:#3a2400; margin-bottom:6px; }
.credit-callout p{ font-size:13.8px; color:#4a3a1e; line-height:1.6; }

/* ---------------- Curriculum accordion ---------------- */
.weekend{
  border:1px solid var(--line); border-radius:var(--radius); background:#fff; margin-bottom:14px;
  box-shadow:var(--shadow); overflow:hidden;
}
.weekend[open]{ box-shadow:0 16px 40px rgba(15,25,45,.12); }
.weekend.af{ border-color:rgba(255,176,46,.45); }
.weekend summary{
  cursor:pointer; list-style:none; padding:20px 22px; display:flex; align-items:center; gap:18px;
  user-select:none; transition:background .15s ease;
}
.weekend summary:hover{ background:rgba(10,124,255,.04); }
.weekend.af summary:hover{ background:rgba(255,176,46,.06); }
.weekend summary::-webkit-details-marker{ display:none; }
.weekend summary .wnum{
  font-family:var(--font-head); font-size:26px; color:var(--azure); flex:none; width:44px;
}
.weekend.af summary .wnum{ color:var(--amber-deep); }
.weekend summary .wtext{ flex:1 1 auto; }
.weekend summary .k{ font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--slate-soft); }
.weekend summary h3{ font-size:17px; margin-top:3px; }
.weekend summary .chev{ flex:none; width:20px; height:20px; color:var(--slate-soft); transition:transform .2s ease; }
.weekend[open] summary .chev{ transform:rotate(180deg); }
.weekend .wbody{ padding:0 22px 22px; border-top:1px solid var(--line); }
.weekend .wframe{ font-size:13.5px; color:#4a5972; padding:16px 0 4px; max-width:640px; }

.timeline{ position:relative; padding-left:26px; margin-top:8px; }
.timeline::before{ content:""; position:absolute; left:9px; top:4px; bottom:4px; width:2px; background:var(--line); }
.node{ position:relative; margin-bottom:16px; }
.node:last-child{ margin-bottom:0; }
.node::before{
  content:""; position:absolute; left:-26px; top:3px; width:18px; height:18px; border-radius:50%;
  background:#fff; border:3px solid var(--azure);
}
.weekend.af .node::before{ border-color:var(--amber); }
.node .ncontent{ border:1px solid var(--line); border-radius:8px; padding:16px 18px; background:var(--paper); transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.node .ncontent:hover{ border-color:rgba(10,124,255,.35); transform:translateX(2px); box-shadow:var(--shadow); }
.weekend.af .node .ncontent:hover{ border-color:rgba(255,176,46,.45); }
.node .row1{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px; flex-wrap:wrap; gap:8px; }
.node .sess{ font-family:var(--font-mono); font-size:11px; color:var(--azure-deep); text-transform:uppercase; letter-spacing:.04em; font-weight:700; }
.weekend.af .node .sess{ color:var(--amber-deep); }
.node .when{ font-family:var(--font-mono); font-size:11px; color:var(--slate-soft); }
.node h4{ font-size:15.5px; margin-bottom:8px; }
.node .topics{ font-size:13.3px; color:#3a4a63; line-height:1.6; margin-bottom:10px; }
.node .topics b{ color:var(--ink); font-weight:600; }
.node .lab{
  display:flex; gap:10px; align-items:flex-start; font-size:13.3px; color:#2a5a3f;
  background:rgba(47,191,131,.09); border:1px solid rgba(47,191,131,.35); border-radius:6px; padding:10px 13px;
}
.node .lab b{ color:var(--good-deep); font-family:var(--font-mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.04em; flex:none; }
.node .tools{ margin-top:9px; font-family:var(--font-mono); font-size:11.5px; color:var(--slate-soft); }
.node .tools b{ color:var(--slate); font-weight:700; }
.node .frame{ font-size:13.3px; color:#4a5972; line-height:1.6; margin-bottom:10px; }

.level-tag{
  display:inline-block; font-family:var(--font-mono); font-size:10px; font-weight:700;
  letter-spacing:.05em; text-transform:uppercase; padding:3px 9px; border-radius:999px; margin-left:8px;
}
.level-basics{ background:rgba(47,191,131,.12); color:var(--good-deep); }
.level-core{ background:rgba(10,124,255,.12); color:var(--azure-deep); }
.level-advanced{ background:rgba(255,176,46,.16); color:var(--amber-deep); }

.af-banner{
  margin-top:8px; margin-bottom:16px; display:flex; gap:14px; align-items:flex-start;
  background:rgba(255,176,46,.08); border:1px solid rgba(255,176,46,.4); border-radius:8px; padding:14px 16px;
}
.af-banner .ico{ font-size:18px; flex:none; }
.af-banner p{ font-size:13.3px; color:#4a3a1e; line-height:1.6; }
.af-banner b{ color:#3a2400; }

/* ---------------- Logistics / enquiry ---------------- */
.logibox{
  border:1px solid var(--line-dark); border-radius:var(--radius); padding:22px 24px; background:rgba(255,255,255,.03);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.logibox:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:rgba(99,201,255,.4); background:rgba(255,255,255,.05); }
.logibox h3{ font-size:13px; text-transform:uppercase; letter-spacing:.04em; font-family:var(--font-mono); color:var(--cyan); margin-bottom:14px; }
.logibox li{
  display:flex; align-items:flex-start; gap:11px;
  font-size:14px; color:#c3d0e3; margin-bottom:6px; padding:6px 8px; border-radius:8px; line-height:1.55;
  transition:background .15s ease, transform .15s ease;
}
.logibox li:hover{ background:rgba(99,201,255,.08); transform:translateX(2px); }
.logibox li::before{
  content:"✓"; flex:none; width:19px; height:19px; margin-top:1px; border-radius:50%;
  background:rgba(99,201,255,.15); color:var(--cyan);
  display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:900;
}
.logibox li:last-child{ margin-bottom:0; }
.logibox li a:hover{ color:#fff; }

.cta-box{
  margin-top:32px; border:1px solid rgba(255,176,46,.5); border-radius:var(--radius);
  padding:40px 28px; background:
    radial-gradient(circle at 15% 20%, rgba(255,176,46,.16), transparent 55%),
    rgba(255,176,46,.08);
  text-align:center;
}
.cta-box h3{ color:#fff; font-size:clamp(20px,3vw,26px); margin-bottom:12px; }
.cta-box p{ color:#dfe8f5; font-size:14.5px; margin-bottom:22px; max-width:520px; margin-left:auto; margin-right:auto; }

/* ---------------- Footer ---------------- */
.site-footer{ background:#04080f; color:#7c8aa0; padding:30px 0; }
.site-footer .row{ display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; font-size:12.5px; }
.site-footer a{ color:#bcd3f2; transition:color .15s ease; }
.site-footer a:hover{ color:#fff; }

/* ---------------- Checklist (refresher page) ---------------- */
.checkbox{ border:1px solid rgba(47,191,131,.4); background:rgba(47,191,131,.07); border-radius:var(--radius); padding:24px 26px; margin-top:30px; }
.checkbox h3{ font-size:13px; color:var(--good-deep); font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.04em; margin-bottom:16px; }
.checkgrid{ display:grid; grid-template-columns:1fr; gap:10px 28px; }
@media (min-width:720px){ .checkgrid{ grid-template-columns:1fr 1fr; } }
.checkitem{
  display:flex; gap:10px; align-items:flex-start; font-size:14px; color:#234; line-height:1.5;
  padding:6px 8px; border-radius:8px; transition:background .15s ease, transform .15s ease;
}
.checkitem:hover{ background:rgba(47,191,131,.09); transform:translateX(2px); }
.checkitem .cb{
  flex:none; width:17px; height:17px; border:2px solid var(--good-deep); border-radius:5px; margin-top:1px;
  position:relative;
}
.checkitem .cb::after{
  content:""; position:absolute; left:3px; top:0px; width:5px; height:9px;
  border-right:2px solid var(--good-deep); border-bottom:2px solid var(--good-deep); transform:rotate(45deg);
}
.checknote{ margin-top:16px; font-size:13.5px; color:var(--good-deep); font-style:italic; }

.back-link{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:12.5px;
  color:#c3d0e3; letter-spacing:.02em;
}
.back-link:hover{ color:#fff; }

.badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,176,46,.12); border:1px solid rgba(255,176,46,.5);
  color:var(--amber-deep); border-radius:999px; padding:6px 14px 6px 11px;
  font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.03em;
}
.badge .dot{ width:6px; height:6px; border-radius:50%; background:var(--amber); }

/* ---------------- Scroll reveal ---------------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in-view{ opacity:1; transform:none; }
.grid-2 > .reveal:nth-child(2), .grid-3 > .reveal:nth-child(2), .grid-6 > .reveal:nth-child(2){ transition-delay:.08s; }
.grid-2 > .reveal:nth-child(3), .grid-3 > .reveal:nth-child(3), .grid-6 > .reveal:nth-child(3){ transition-delay:.16s; }
.grid-6 > .reveal:nth-child(4){ transition-delay:.24s; }
.grid-6 > .reveal:nth-child(5){ transition-delay:.32s; }
.grid-6 > .reveal:nth-child(6){ transition-delay:.4s; }
