/* ============================================================
   SPRO SYSTEMS — BRAND TOKENS (matches brochure exactly)
   ============================================================ */
:root {
  --navy: #0F1B2E;
  --navy-light: #16233A;
  --gold: #D9A441;
  --gold-light: #F3D9A6;
  --teal: #0C7C74;
  --teal-light: #1E9189;
  --slate: #4B5563;
  --muted: #9CA3AF;
  --border: #E6E9ED;
  --bg: #FAFBFB;
  --cream: #FFFDF8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--navy);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ============================================================
   REVEAL-ON-SCROLL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(n+7) { transition-delay: 0.36s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,27,46,0.96);
  backdrop-filter: blur(8px);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; transition: padding 0.3s ease; }
.nav.scrolled .container { padding-top: 12px; padding-bottom: 12px; }
.nav-logo { font-family: var(--serif); font-size: 20px; color: #fff; letter-spacing: 0.5px; text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #C7CEDA; font-size: 13.5px; text-decoration: none; transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold); }
.nav-links a.cta {
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 9px 18px; border-radius: 4px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-links a.cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(217,164,65,0.35); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, #101d33 60%, #0d1830 100%);
  color: #fff;
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-decor {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
}
.hero-decor .dot {
  position: absolute; border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.hero-decor .ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(30,145,137,0.35);
  animation: pulse-ring 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(8px); }
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.9; }
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700; font-size: 48px; line-height: 1.15; margin-bottom: 20px;
  animation: fadeUp 0.9s ease both;
}
.hero h1 .accent { color: var(--gold); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero p.lead {
  font-size: 16px; color: #B9C2CE; max-width: 540px; margin-bottom: 30px; line-height: 1.65;
  animation: fadeUp 0.9s ease 0.1s both;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.9s ease 0.2s both; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 4px;
  text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,164,65,0.4); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12,124,116,0.4); }

/* Marquee */
.marquee-wrap { background: var(--navy-light); border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { color: var(--teal-light); font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; padding: 0 18px; white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   GENERIC SECTION STYLES
   ============================================================ */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section.bg-light { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--teal); }
.section-head h2 { font-family: var(--serif); font-size: 32px; color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.section-head p { color: var(--slate); font-size: 15px; line-height: 1.6; }

.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 36px; }
.stat { min-width: 100px; }
.stat .num { font-family: var(--serif); font-size: 38px; color: var(--gold); line-height: 1; }
.stat .label { font-size: 12.5px; color: var(--slate); margin-top: 6px; }
.stat-row.on-dark .num { color: var(--gold); }
.stat-row.on-dark .label { color: #B9C2CE; }

/* Cards grid */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,27,46,0.08); border-color: #D7DDE3; }
.card .num-badge { font-family: var(--serif); font-size: 13px; color: var(--teal); font-weight: 700; margin-bottom: 8px; }
.card h3 { font-size: 15.5px; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 13px; color: var(--slate); line-height: 1.55; }

/* Services (Beyond AI training) */
.service-card { border-left: 3px solid var(--gold); }
.priced-note {
  background: var(--cream); border-left: 4px solid var(--gold); border-radius: 4px;
  padding: 18px 22px; margin-top: 24px; font-size: 13.5px; color: var(--slate); line-height: 1.6;
}
.priced-note b { color: var(--navy); }

/* Curriculum accordion */
.week-list { display: flex; flex-direction: column; gap: 10px; }
.week-item {
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #fff;
  transition: border-color 0.2s ease;
}
.week-item.open { border-color: var(--teal); }
.week-head {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer;
  user-select: none;
}
.week-badge {
  font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--teal);
  background: #E4F3F1; border-radius: 4px; padding: 5px 10px; flex-shrink: 0;
}
.week-head h3 { font-size: 14.5px; color: var(--navy); flex: 1; }
.week-chevron { color: var(--muted); transition: transform 0.3s ease; font-size: 14px; }
.week-item.open .week-chevron { transform: rotate(180deg); color: var(--teal); }
.week-body {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}
.week-item.open .week-body { max-height: 200px; padding: 0 20px 18px; }
.week-body p { font-size: 13px; color: var(--slate); line-height: 1.55; margin-bottom: 8px; }
.week-body .hands-on { font-size: 13px; font-weight: 700; color: var(--navy); }
.week-body .hands-on span { color: var(--teal); }

/* Tool pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; font-size: 12.5px; color: var(--slate);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill.hl { border-color: var(--teal); color: var(--teal); font-weight: 700; background: #F3FAF9; }
.tool-group { margin-bottom: 20px; }
.tool-group h4 { font-size: 12.5px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }

/* Update / Job cards */
.update-card, .job-card {
  border: 1px solid var(--border); border-left: 3px solid var(--teal); border-radius: 6px;
  padding: 20px 22px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.job-card { border-left-color: var(--gold); }
.update-card:hover, .job-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,27,46,0.07); }
.update-meta, .job-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tag-chip { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; color: var(--teal); }
.job-card .tag-chip { color: var(--gold); }
.date-chip { font-size: 11.5px; color: var(--muted); }
.update-card h3, .job-card h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.job-card .org { font-size: 13px; color: var(--slate); margin-bottom: 10px; }
.update-card p, .job-card p { font-size: 13px; color: var(--slate); line-height: 1.55; margin-bottom: 8px; }
.update-card .why { font-size: 12.5px; color: var(--slate); background: var(--bg); padding: 10px 12px; border-radius: 4px; margin-bottom: 10px; }
.update-card .why b, .job-card .why b { color: var(--navy); }
.link-arrow { font-size: 12.5px; font-weight: 700; color: var(--teal); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.job-card .link-arrow { color: var(--gold); }
.tag-mini-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.tag-mini { font-size: 10.5px; border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; color: var(--slate); }

/* Trainer */
.trainer-card {
  display: flex; gap: 26px; align-items: flex-start; background: #fff;
  border: 1px solid var(--border); border-radius: 10px; padding: 28px;
}
.trainer-photo {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--gold-light);
}
.trainer-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 4px; }
.trainer-role { color: var(--teal); font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.trainer-card .li { font-size: 12.5px; color: var(--teal); font-weight: 700; display: inline-block; margin-bottom: 10px; }
.trainer-card p.bio { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

/* Pricing */
.price-card {
  background: var(--navy); color: #fff; border-radius: 10px; padding: 40px;
  position: relative; overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(217,164,65,0.18), transparent 70%);
}
.price-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; position: relative; z-index: 1; }
.price-amt { font-family: var(--serif); font-size: 44px; color: var(--gold); }
.price-amt small { font-family: var(--sans); font-size: 15px; color: #B9C2CE; font-weight: 400; }
.price-discount { font-size: 12.5px; color: var(--gold-light); margin-top: 6px; }
.price-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 30px; position: relative; z-index: 1; }
.price-list li { font-size: 13px; color: #DDE3EA; padding-left: 18px; position: relative; }
.price-list li::before { content: "●"; color: var(--gold); font-size: 7px; position: absolute; left: 0; top: 6px; }

/* Footer */
.site-footer { background: #0A1424; color: #B9C2CE; padding: 50px 0 24px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 36px; }
.footer-logo { font-family: var(--serif); font-size: 19px; color: #fff; margin-bottom: 8px; }
.footer-logo span { color: var(--gold); }
.footer-col h4 { font-size: 12px; letter-spacing: 0.5px; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 13px; color: #9AA6B8; text-decoration: none; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 12px; color: #6B7686; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy); border: none; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.2s ease; z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* Batch schedule */
.batch-card { border-left: 3px solid var(--teal); position: relative; }
.batch-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--teal); margin-bottom: 8px; }
.batch-card h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; }
.batch-days { font-size: 13.5px; color: var(--slate); margin-bottom: 4px; }
.batch-time { font-size: 14px; color: var(--navy); font-weight: 700; margin-bottom: 12px; }
.batch-countdown {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--gold);
  background: #FFF7E8; border-radius: 999px; padding: 5px 12px;
}
.batch-countdown.closed { color: var(--muted); background: var(--bg); }
.batch-note { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* Brochure request form */
.brochure-form { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 30px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-group input {
  width: 100%; font-size: 14px; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 6px; outline: none; font-family: var(--sans); transition: border-color 0.2s ease;
}
.form-group input:focus { border-color: var(--teal); }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
  .price-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--navy); flex-direction: column; align-items: flex-start; padding: 90px 28px 28px;
    transition: right 0.3s ease; gap: 22px; }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 40px; }
  .hero h1 { font-size: 30px; }
  .trainer-card { flex-direction: column; align-items: center; text-align: center; }
  .section { padding: 56px 0; }
}
