/* ==========================================================================
   DIIT Educom — Free AI Training  |  style.css
   Brand:  orange #EC7E1E · charcoal #26292C · paper #F8F9FA
   Type:   Bricolage Grotesque (display) · Inter (body) · JetBrains Mono (data)
   ========================================================================== */

:root {
  --orange:    #EC7E1E;
  --orange-dk: #D96A12;
  --orange-lt: #FBEFE1;
  --orange-soft: rgba(236,126,30,.12);

  --ink:     #26292C;   /* footer / hero charcoal */
  --ink-2:   #2E3237;
  --ink-3:   #363B41;

  --paper:   #FFFFFF;
  --paper-2: #F8F9FA;   /* light section bg */
  --paper-3: #F1F2F4;

  --text:    #26292C;
  --muted:   #6B7075;
  --muted-2: #9AA0A6;

  --line:      #E7E9EC;
  --line-dark: rgba(255,255,255,.10);

  --radius:    18px;
  --radius-sm: 12px;
  --wrap:      1180px;
  --shadow:    0 20px 44px -22px rgba(38,41,44,.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow--light { color: rgba(38,41,44,.85); }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft);
}
.eyebrow--light .dot { background: var(--ink); box-shadow: 0 0 0 4px rgba(38,41,44,.14); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s, border-color .18s;
  cursor: pointer; white-space: nowrap;
}
.btn--solid   { background: var(--orange); color: #fff; }
.btn--solid:hover   { background: var(--orange-dk); transform: translateY(-2px); }
.btn--ghost   { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover   { border-color: var(--orange); background: rgba(236,126,30,.14); transform: translateY(-2px); }
.btn--dark    { background: var(--ink); color: #fff; }
.btn--dark:hover    { background: #1b1d20; transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.14); border-color:#fff; transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { background: var(--orange); color: #fff; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 6px; }
.topbar__contact { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #fff; opacity: .96; transition: opacity .15s; }
.topbar__item:hover { opacity: 1; text-decoration: underline; }
.topbar__visit { opacity: .8; }
.ic { width: 16px; height: 16px; }
.topbar__social { display: flex; gap: 8px; }
.soc {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: var(--orange);
  display: grid; place-items: center; transition: transform .16s, background .16s, color .16s;
}
.soc svg { width: 15px; height: 15px; fill: currentColor; }
.soc:hover { transform: translateY(-2px); background: var(--ink); color: #fff; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand__logo { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: .96rem; font-weight: 500; color: #4a4f54; transition: color .16s; }
.nav__links a:hover { color: var(--orange); }
.nav__links a.btn { color: #fff; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--ink); color: #fff; padding: 88px 0 74px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -25% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(560px 320px at 24% 16%, rgba(236,126,30,.26), transparent 70%),
    radial-gradient(520px 340px at 82% 6%, rgba(236,126,30,.14), transparent 72%);
}
.hero__inner { position: relative; text-align: center; max-width: 860px; margin-inline: auto; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 4.5rem); margin: 20px 0 22px; }
.hero__title .hl { color: var(--orange); }
.hero__sub { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #C4C8CC; max-width: 640px; margin: 0 auto 30px; }
.hero__sub em { color: #fff; font-style: normal; font-weight: 600; }

.promptbar {
  display: flex; align-items: center; gap: 14px;
  max-width: 560px; margin: 0 auto 34px; padding: 14px 14px 14px 20px;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; box-shadow: var(--shadow); text-align: left;
}
.promptbar__spark { color: var(--orange); font-size: 1.05rem; }
.promptbar__text {
  flex: 1; font-family: "JetBrains Mono", monospace; font-size: .9rem; color: #EDEEF0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 3px; background: var(--orange); vertical-align: -2px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.promptbar__send { background: var(--orange); color: #fff; font-weight: 700; font-size: .82rem; padding: 9px 18px; border-radius: 999px; }

.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__stats { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 52px; }
.hero__stats li { min-width: 132px; padding: 18px 20px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-sm); }
.hero__stats b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.9rem; color: var(--orange); line-height: 1; }
.hero__stats span { font-size: .82rem; color: #A9AEB3; }

/* ==========================================================================
   TRANSFORMATION BAND
   ========================================================================== */
.band { background: var(--orange-lt); padding: 70px 0; border-block: 1px solid #F0E2D2; }
.band__inner { max-width: 880px; margin-inline: auto; text-align: center; position: relative; }
.band__mark { font-family: "Bricolage Grotesque", sans-serif; font-size: 5rem; line-height: .4; color: var(--orange); opacity: .5; }
.band__label { font-family: "JetBrains Mono", monospace; font-size: .78rem; letter-spacing: .1em; color: var(--orange-dk); margin: 8px 0 18px; }
.band__quote { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.band__note { margin-top: 22px; color: #8a6a48; font-size: 1rem; }

/* ==========================================================================
   DAY SECTIONS
   ========================================================================== */
.day { padding: 84px 0; background: var(--paper); }
.day--alt { background: var(--paper-2); }
.day__head { max-width: 640px; margin-bottom: 44px; }
.day__tag {
  display: inline-block; font-family: "JetBrains Mono", monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
  background: var(--orange-soft); color: var(--orange-dk);
}
.day__tag--star { background: var(--orange); color: #fff; }
.day__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.day__desc { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.module {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.day--alt .module { background: #fff; }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #F0DCC5; }
.module--wide { grid-column: 1 / -1; }
.module--soft { background: var(--orange-lt); border-color: #F1E0CD; }

.module__no { font-family: "JetBrains Mono", monospace; font-size: .82rem; font-weight: 700; color: var(--orange); letter-spacing: .05em; }
.module h3 { font-size: 1.4rem; margin: 8px 0 10px; color: var(--ink); }
.module p { color: var(--muted); font-size: .98rem; }

.prompt { margin-top: 18px; background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius-sm); padding: 14px 16px; }
.prompt__label { display: block; font-family: "JetBrains Mono", monospace; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dk); margin-bottom: 7px; }
.prompt code { font-family: "JetBrains Mono", monospace; font-size: .84rem; line-height: 1.55; color: #3a3f44; }

.module__challenge { margin-top: 18px; font-size: .96rem; color: var(--ink); }
.module__challenge b { color: var(--orange-dk); }

.pipeline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pipeline span { font-family: "JetBrains Mono", monospace; font-size: .82rem; padding: 8px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.pipeline i { color: var(--orange); font-style: normal; }

/* ==========================================================================
   FINAL PROJECT
   ========================================================================== */
.project { padding: 90px 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.project::before { content:""; position:absolute; inset:auto -8% -50% auto; width:520px; height:520px; border-radius:50%; background: radial-gradient(circle, rgba(236,126,30,.22), transparent 68%); pointer-events:none; }
.project__inner { position: relative; }
.project__head { max-width: 700px; margin-bottom: 46px; }
.project__title { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-top: 6px; }
.project__desc { margin-top: 16px; color: #C4C8CC; font-size: 1.1rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-sm); font-weight: 600; font-size: 1.02rem; transition: border-color .2s, transform .2s; }
.steps li:hover { border-color: var(--orange); transform: translateY(-3px); }
.steps li span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--orange); color: #fff; font-family: "JetBrains Mono", monospace; font-weight: 700; }

/* ==========================================================================
   SCHEDULE
   ========================================================================== */
.schedule { padding: 84px 0; background: var(--paper-2); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); color: var(--ink); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }
.schedule__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sched { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.sched__title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 22px; color: var(--ink); }
.sched__title .day__tag { margin-bottom: 0; }
.sched__list { list-style: none; }
.sched__list li { display: flex; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.sched__list li:first-child { border-top: 0; }
.sched__list time { flex: none; width: 54px; font-family: "JetBrains Mono", monospace; font-size: .85rem; color: var(--orange-dk); padding-top: 2px; }
.sched__list b { font-size: .98rem; font-weight: 600; color: var(--ink); }
.sched__list span { display: block; font-size: .84rem; color: var(--muted); }
.sched__break time { color: var(--muted-2); }
.sched__break b { color: var(--muted); }

/* ==========================================================================
   INFO
   ========================================================================== */
.info { padding: 80px 0; background: var(--paper); }
.info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info__card { padding: 30px 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--orange); }
.info__card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--ink); }
.info__card p { color: var(--muted); font-size: .98rem; }
.info__card em { color: var(--orange-dk); font-style: normal; font-weight: 600; }

/* ==========================================================================
   CERTIFICATION
   ========================================================================== */
.certification {
  padding: 84px 0;
  background: linear-gradient(158deg, #8f3d08 0%, #c25c0e 48%, #ef8420 100%);
  color: #fff;
}
.cert__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
}
.cert__copy .eyebrow--light { color: rgba(255,255,255,.92); }
.cert__copy .eyebrow--light .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.28); }
.cert__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 16px 0 16px; }
.cert__sub { font-size: 1.12rem; color: rgba(255,255,255,.92); max-width: 460px; }
.cert__points { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.cert__points li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #fff; }
.cert__points span {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: grid; place-items: center;
  font-size: .78rem; font-weight: 700;
}

/* certificate card */
.cert__card {
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 34px 70px -24px rgba(0,0,0,.55);
}
.cert__frame { border: 3px solid var(--orange); border-radius: 4px; padding: 4px; }
.cert__frame-in {
  position: relative; overflow: hidden;
  border: 1px solid #d9a441; border-radius: 3px;
  padding: 26px 28px 0; text-align: center;
}
.cert__logo { height: 40px; width: auto; margin: 4px auto 14px; }
.cert__script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1; color: var(--orange-dk);
  margin-bottom: 20px;
}
.cert__rule {
  border-top: 1.5px dashed #b9bdc2;
  margin: 0 6px 18px;
}
.cert__body {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600; font-size: 1.02rem; line-height: 1.55;
  color: var(--ink); margin-bottom: 30px;
}
.cert__body b { color: var(--orange-dk); }
.cert__sign {
  display: flex; justify-content: space-around; gap: 14px;
  margin-bottom: 34px;
}
.cert__sign div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cert__sign i { display: block; width: 90px; border-top: 1.5px dashed #333; }
.cert__sign b { font-size: .82rem; color: var(--ink); }

.cert__wave { margin: 0 -29px; line-height: 0; }
.cert__wave svg { width: 100%; height: 66px; display: block; }

.cert__addr {
  text-align: left;
  padding: 10px 2px 16px;
}
.cert__addr p { font-size: .74rem; color: #4a4f54; line-height: 1.5; }
.cert__addr b { color: var(--ink); }

/* ==========================================================================
   REGISTER / CTA
   ========================================================================== */
.register { padding: 44px 0 96px; background: var(--paper); }
.register__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 30px; border-radius: 28px;
  background: linear-gradient(135deg, var(--orange) 0%, #F5A24B 100%);
  color: #fff;
}
.register__inner::after { content:""; position:absolute; inset:auto -6% -70% -6%; height:360px; background: radial-gradient(420px 240px at 50% 100%, rgba(38,41,44,.28), transparent 70%); pointer-events:none; }
.register .eyebrow--light { color: rgba(255,255,255,.92); }
.register .eyebrow--light .dot { background:#fff; box-shadow:0 0 0 4px rgba(255,255,255,.25); }
.register__title { position: relative; font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 16px auto 14px; max-width: 640px; }
.register__sub { position: relative; color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 30px; }
.register__cta { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER  (matches DIIT brand footer)
   ========================================================================== */
.footer { background: var(--ink); color: #C4C8CC; padding: 62px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr; gap: 40px; }
.footer__col h4 { font-size: 1.6rem; color: #fff; margin-bottom: 22px; font-weight: 700; }

.footer__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; }
.footer__logo img { height: 42px; width: auto; }
.footer__nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; font-weight: 700; }
.footer__nav a { color: #fff; font-size: 1.02rem; transition: color .15s; }
.footer__nav a:hover { color: var(--orange); }
.footer__nav span { color: var(--muted); }
.footer__copy { font-size: .9rem; color: var(--muted-2); }

.reach { list-style: none; display: grid; gap: 20px; }
.reach li { display: flex; gap: 16px; align-items: flex-start; }
.reach__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-3); color: var(--orange); display: grid; place-items: center; }
.reach__ic svg { width: 18px; height: 18px; fill: currentColor; }
.reach div { font-size: 1rem; color: #C4C8CC; line-height: 1.5; padding-top: 2px; }
.reach b { color: #fff; font-weight: 700; }
.reach a:hover b { color: var(--orange); }

.footer__about { font-size: 1rem; line-height: 1.65; color: #B7BBC0; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.soc--dark { width: 44px; height: 44px; background: #fff; color: var(--ink); }
.soc--dark:hover { background: var(--orange); color: #fff; }
.soc--dark svg { width: 20px; height: 20px; }

/* ==========================================================================
   A11Y
   ========================================================================== */
a:focus-visible, .btn:focus-visible, .nav__toggle:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .modules, .steps, .schedule__grid, .info__grid { grid-template-columns: 1fr; }
  .module--wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .topbar__visit { display: none; }
  .topbar__contact { gap: 18px; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 18px 24px 26px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-150%); transition: transform .3s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; margin-top: 8px; text-align: center; }
  .promptbar { padding-left: 16px; }
  .promptbar__text { font-size: .8rem; }
  .promptbar__send { display: none; }
  .cert__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 58px; }
  .hero__stats li { min-width: calc(50% - 7px); }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar__contact { flex-direction: column; align-items: flex-start; gap: 4px; }
  .topbar__inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 10px; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .wrap { padding-inline: 18px; }
  .register__inner { padding: 54px 22px; }
}
