/* ============================================================
   AI Ready Pilipinas — landing page mock-up
   Programme design language:
   white ground, primary blue #2868B2, red accent #DD3528,
   pink #FF84CA, sky #98C5FE, pale blue #CBEAFF, blush #F9D7D5,
   quarter-circle geometry, rounded geometric sans (Poppins).
   Mock-up only — no image assets; brand marks are typeset and
   the geometric band is rebuilt in CSS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --white: #FFFFFF;
  --blue: #2868B2;
  --blue-deep: #1C4C87;
  --red: #DD3528;
  --pink: #FF84CA;
  --sky: #98C5FE;
  --blue-pale: #CBEAFF;
  --blue-wash: #EFF7FF;
  --blush: #F9D7D5;
  --ink: #1B3A5C;
  --ink-soft: #4A6382;
  --radius: 16px;
  --font-display: 'Poppins', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue-pale); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 700;
}

a { color: var(--blue); }

img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- mock-up banner ---------- */

.mockup-note {
  background: var(--blue-deep);
  color: var(--blue-pale);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
}

.mockup-note strong { color: var(--white); }

/* ---------- header / nav ---------- */

.site-header {
  background: var(--white);
  color: var(--ink);
  border-bottom: 3px solid var(--blue-pale);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

/* CSS stand-in for the programme logo */
.brand-mark {
  width: 40px; height: 40px;
  flex: none;
  position: relative;
  border-radius: 10px;
  background: var(--blue);
  overflow: hidden;
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  right: 0; bottom: 0;
  border-radius: 100% 0 0 0;
  background: var(--pink);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  left: 0; top: 0;
  border-radius: 0 0 100% 0;
  background: var(--red);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  line-height: 1.15;
}

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover { background: var(--blue-wash); color: var(--blue); }

.site-nav a.nav-cta { background: var(--red); color: var(--white); font-weight: 600; }
.site-nav a.nav-cta:hover { background: var(--blue-deep); color: var(--white); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-wash) 60%, var(--blue-pale) 100%);
  color: var(--ink);
  padding: 4.5rem 0 5rem;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

/* quarter-circle geometry from the brand band */
.hero::before {
  width: 340px; height: 340px;
  right: -80px; top: -80px;
  border-radius: 0 0 0 100%;
  background: var(--blue);
}

.hero::after {
  width: 220px; height: 220px;
  right: 180px; bottom: -110px;
  border-radius: 100% 0 0 0;
  background: var(--pink);
}

.hero .geo-coral {
  position: absolute;
  width: 120px; height: 120px;
  right: 120px; top: 150px;
  border-radius: 50% 0 50% 50%;
  background: var(--blush);
}

.hero .wrap { position: relative; z-index: 2; }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--blue-pale);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 800;
  max-width: 17ch;
  margin-bottom: 1.2rem;
  color: var(--blue-deep);
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero p.lede {
  font-size: 1.12rem;
  max-width: 58ch;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost-1 { border-color: var(--red); color: var(--red); background: var(--white); }
.btn-ghost-1:hover { background: var(--red); color: var(--white); }
.btn-ghost-2 { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-ghost-2:hover { background: var(--blue); color: var(--white); }

.hero-note { margin-top: 1.1rem; font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- sections ---------- */

main section { padding: 3.2rem 0; }

main section:nth-child(even) { background: var(--blue-wash); }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

h2.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-bottom: 1.6rem;
  max-width: 28ch;
  color: var(--blue-deep);
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 0.9rem; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* ---------- stat tiles ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}

.stat {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1rem;
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  width: 70px; height: 70px;
  right: -20px; bottom: -20px;
  border-radius: 100% 0 0 0;
  opacity: 0.9;
}

.stat:nth-child(3n+1)::after { background: var(--pink); }
.stat:nth-child(3n+2)::after { background: var(--blue-pale); }
.stat:nth-child(3n)::after { background: var(--blush); }

.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--white);
  display: block;
  line-height: 1.1;
}

.stat .lbl { font-size: 0.82rem; color: var(--blue-pale); }

/* ---------- track cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 0 10px 24px rgba(40, 104, 178, 0.10);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

a.card { text-decoration: none; color: var(--ink); }

a.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 16px 32px rgba(40, 104, 178, 0.18);
}

.card .chip {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.chip-teachers { background: var(--blue); }
.chip-students { background: var(--pink); color: var(--blue-deep); }
.chip-stem { background: var(--sky); color: var(--blue-deep); }
.chip-faculty { background: var(--red); }
.chip-neutral { background: var(--ink-soft); }

.card h3 { font-size: 1.22rem; color: var(--blue-deep); }

.card p { color: var(--ink-soft); font-size: 0.95rem; }

.card .card-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--blue-pale);
  padding-top: 0.6rem;
}

.card .card-meta b { color: var(--blue-deep); }

.card .card-cta {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
}

/* ---------- module strip ---------- */

.module-list { list-style: none; counter-reset: mod; display: grid; gap: 0.7rem; }

.module-list li {
  counter-increment: mod;
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: 12px;
  padding: 0.85rem 1.1rem 0.85rem 3.4rem;
  position: relative;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(40, 104, 178, 0.07);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--red);
}

.module-list li small { display: block; font-weight: 400; color: var(--ink-soft); }

/* ---------- steps / journey ---------- */

.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.6rem 3.2rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.steps li::after {
  content: "";
  position: absolute;
  left: calc(1.05rem - 1px);
  top: 2.3rem; bottom: 0.2rem;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--sky) 0 4px, transparent 4px 9px);
}

.steps li:last-child::after { display: none; }

.steps li > strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: block;
  color: var(--blue-deep);
}

.steps li p { color: var(--ink-soft); font-size: 0.95rem; max-width: 60ch; }

/* ---------- callouts ---------- */

.callout {
  border: 1.5px solid var(--blue-pale);
  border-left-width: 10px;
  border-radius: 12px;
  background: var(--white);
  padding: 1.1rem 1.3rem;
  max-width: 68ch;
  margin: 1.4rem 0;
  box-shadow: 0 4px 12px rgba(40, 104, 178, 0.07);
}

.callout.gold { border-left-color: var(--sky); }
.callout.teal { border-left-color: var(--pink); }
.callout.coral { border-left-color: var(--red); }
.callout.cobalt { border-left-color: var(--blue); }

.callout strong { font-family: var(--font-display); color: var(--blue-deep); }

/* ---------- registration table ---------- */

.table-scroll { overflow-x: auto; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.93rem;
}

th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--blue-pale); vertical-align: top; }

thead th {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

tbody tr:nth-child(even) { background: var(--blue-wash); }

tbody tr:last-child td { border-bottom: none; }

/* ---------- progress dashboard (placeholder) ---------- */

.progress-panel {
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(40, 104, 178, 0.10);
  max-width: 640px;
}

.progress-panel h3 { color: var(--blue-deep); font-size: 1.05rem; margin-bottom: 1rem; }

.progress-item { margin-bottom: 0.9rem; }
.progress-item:last-child { margin-bottom: 0; }

.progress-item .plabel {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}

.progress-item .plabel b { color: var(--blue-deep); }

.pbar {
  height: 12px;
  border-radius: 999px;
  background: var(--blue-wash);
  border: 1px solid var(--blue-pale);
  overflow: hidden;
}

.pbar span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.pbar.pink span { background: var(--pink); }
.pbar.sky span { background: var(--sky); }
.pbar.red span { background: var(--red); }

.progress-fine { font-size: 0.78rem; color: var(--ink-soft); margin-top: 1rem; font-style: italic; }

/* ---------- partner bar & geometric band ---------- */

.partner-bar {
  background: var(--white);
  padding: 1.6rem 0;
}

.partner-bar .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.pb-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pb-group small { font-size: 0.78rem; color: var(--ink-soft); }

/* text stand-ins for partner logos */
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-deep);
  border: 1.5px dashed var(--blue-pale);
  border-radius: 8px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

/* CSS re-creation of the quarter-circle geometric band */
.geo-band {
  height: 76px;
  display: flex;
  overflow: hidden;
}

.geo-band i { flex: 1 0 76px; height: 76px; }
.geo-band i:nth-child(8n+1) { background: var(--blue); border-radius: 0 100% 0 0; }
.geo-band i:nth-child(8n+2) { background: var(--pink); border-radius: 100% 0 0 0; }
.geo-band i:nth-child(8n+3) { background: var(--sky); border-radius: 0 0 100% 0; }
.geo-band i:nth-child(8n+4) { background: var(--red); border-radius: 0 100% 0 0; }
.geo-band i:nth-child(8n+5) { background: var(--blue-pale); border-radius: 100% 0 0 0; }
.geo-band i:nth-child(8n+6) { background: var(--blue); border-radius: 0 0 0 100%; }
.geo-band i:nth-child(8n+7) { background: var(--blush); border-radius: 0 100% 0 0; }
.geo-band i:nth-child(8n+8) { background: var(--sky); border-radius: 100% 0 0 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--blue);
  color: var(--blue-pale);
  padding: 2.6rem 0 2.2rem;
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.5rem; }

.site-footer a { color: var(--white); }

.site-footer .fine {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 1rem;
  font-size: 0.78rem;
}

/* anchor targets must clear the sticky header */
[id] { scroll-margin-top: 90px; }

@media (max-width: 640px) {
  .hero { padding: 3rem 0 3.5rem; }
  .hero::after, .hero .geo-coral { display: none; }
  main section { padding: 2.4rem 0; }
  .partner-bar .wrap { justify-content: center; }
  .pb-group { justify-content: center; }
  .geo-band { height: 52px; }
  .geo-band i { flex-basis: 52px; height: 52px; }
}
