/* ===========================================================
   Wendy Tran | AgentAI — shared site stylesheet
   Navy / Gold brand system, matching AI Foundations course materials
   =========================================================== */

:root {
  --navy: #0F1C3F;
  --navy2: #16224D;
  --gold: #C9A84C;
  --gold-light: #F6F1E4;
  --slate: #5B6472;
  --ink: #27303F;
  --line: #E4E7EE;
  --bg-tint: #FAFAF9;
  --white: #FFFFFF;
  --radius: 14px;
  --maxw: 1120px;
  --serif: 'Cambria', 'Georgia', 'Times New Roman', serif;
  --sans: 'Calibri', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); margin: 0 0 .5em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--slate); }
.eyebrow {
  font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-size: .78rem; margin-bottom: .6em; display: block;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif);
  font-weight: 700; font-size: .95rem; border: 1.5px solid var(--gold); flex-shrink: 0;
}
.brand small { display: block; font-family: var(--sans); font-weight: 400; font-size: .68rem; color: var(--slate); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 600; }
.nav-links a { color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--navy); color: var(--white) !important; padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: .88rem; border: 1px solid var(--navy);
}
.nav-cta:hover { background: var(--navy2); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 62px 0 0 0; background: var(--white); flex-direction: column;
    align-items: flex-start; padding: 24px 24px; gap: 18px; transform: translateX(100%); transition: transform .2s ease;
    box-shadow: -6px 0 24px rgba(0,0,0,.06); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: 1.1rem; cursor: pointer; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 60%, #1b2a55 100%); color: var(--white); padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.18), transparent 70%);
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--white); max-width: 780px; }
.hero p.lede { color: #C7CEDB; max-width: 620px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8bb63; }
.btn-outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy2); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-tint { background: var(--bg-tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto 44px; }
.section-head.left { margin: 0 0 44px; }

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

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--slate); margin-bottom: 0; }
.card-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card-navy h3, .card-navy .price { color: var(--white); }
.card-navy p { color: #C7CEDB; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gold-light); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px;
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 820px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.stat-label { color: #C7CEDB; font-size: .92rem; }

/* ---------- Pricing ---------- */
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; background: var(--white); position: relative; }
.price-card.featured { border-color: var(--gold); box-shadow: 0 10px 30px rgba(201,168,76,.15); }
.price-badge { position: absolute; top: -13px; right: 24px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.price { font-family: var(--serif); font-size: 2.1rem; color: var(--navy); font-weight: 700; margin: 6px 0 4px; }
.price span { font-family: var(--sans); font-size: .95rem; font-weight: 400; color: var(--slate); }
.price-list { list-style: none; padding: 0; margin: 18px 0 24px; color: var(--slate); font-size: .95rem; }
.price-list li { padding: 7px 0; border-top: 1px solid var(--line); }
.price-list li:first-child { border-top: none; }
.price-list li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--slate); }

/* ---------- Curriculum list ---------- */
.mod-row { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.mod-row:first-child { border-top: none; }
.mod-num { font-family: var(--serif); color: var(--gold); font-weight: 700; font-size: 1.1rem; width: 34px; flex-shrink: 0; }
.mod-body h4 { margin: 0 0 4px; color: var(--navy); font-size: 1.02rem; }
.mod-body p { margin: 0; color: var(--slate); font-size: .92rem; }
.track-tag { display: inline-block; background: var(--gold-light); color: #7A5E1E; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; letter-spacing: .03em; }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin: 16px 0 6px; }
label:first-of-type { margin-top: 0; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--sans);
  font-size: .96rem; color: var(--ink); background: var(--bg-tint);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C7CEDB; padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-grid h4 { color: var(--white); font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid a { display: block; color: #C7CEDB; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: .8rem; color: #8B93A8; }
.footer-legal { max-width: 640px; }

/* ---------- Misc ---------- */
.badge-pill { display: inline-block; background: var(--gold-light); color: #7A5E1E; font-weight: 700; font-size: .78rem; padding: 5px 14px; border-radius: 999px; }
.divider { height: 1px; background: var(--line); margin: 48px 0; }
.coming-soon-tag { display: inline-block; background: rgba(201,168,76,.15); color: var(--gold); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(201,168,76,.4); }
