/* ═══════════════════════════════════════
   THE OXFORD AI SCHOOL — Global Stylesheet
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: #1B2A3B;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── TOKENS ─── */
:root {
  --navy:       #1B3A6B;
  --navy-dark:  #0F2347;
  --pink:       #C0395B;
  --pink-light: #F9EEF1;
  --pink-muted: #F4A7B9;
  --cloud:      #F7F9FD;
  --mist:       #E2E8F4;
  --slate:      #5A6E8A;
  --ink:        #1B2A3B;
  --white:      #ffffff;
  --radius:     8px;
  --radius-lg:  14px;
  --radius-xl:  20px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--slate); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }
strong { color: var(--navy); }

/* ─── LAYOUT ─── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.65s ease both; }
.delay-1   { animation-delay: 0.1s; }
.delay-2   { animation-delay: 0.2s; }
.delay-3   { animation-delay: 0.35s; }
.delay-4   { animation-delay: 0.5s; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
  text-align: center;
}
.btn-primary  { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover  { background: #152f58; border-color: #152f58; transform: translateY(-1px); }
.btn-pink     { background: var(--pink); color: #fff; border-color: var(--pink); }
.btn-pink:hover     { background: #a8304e; border-color: #a8304e; transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover  { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-outline-white  { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mist);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(27,58,107,0.09); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); }
.nav-logo span { color: var(--pink); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--slate); font-weight: 400; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); font-weight: 500; }
.nav-cta {
  background: var(--pink); color: white;
  font-size: 14px; font-weight: 500;
  padding: 10px 22px; border-radius: var(--radius);
  border: none; cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  transition: all 0.2s;
}
.nav-cta:hover { background: #a8304e; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; flex-direction: column;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--mist); gap: 14px;
  background: white;
}
.mobile-menu a { font-size: 16px; color: var(--slate); padding: 4px 0; display: block; }
.mobile-menu a.active { color: var(--navy); font-weight: 500; }
.mobile-menu .mob-cta {
  margin-top: 8px;
  background: var(--pink); color: white;
  padding: 12px 24px; border-radius: var(--radius);
  text-align: center; font-weight: 500;
  display: block;
}
.mobile-menu.open { display: flex; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 130px 0 70px;
  background: var(--cloud);
  border-bottom: 1px solid var(--mist);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,91,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.kicker-line { width: 26px; height: 1.5px; background: var(--pink); }
.kicker-text {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pink);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: var(--pink); }
.page-hero-sub {
  font-size: 18px; color: var(--slate); font-weight: 300;
  max-width: 600px; line-height: 1.7; margin-bottom: 32px;
}
.page-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 17px; }

/* ─── TRUST STRIP ─── */
.trust { background: var(--navy); padding: 36px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { text-align: center; padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.12); }
.trust-item:last-child { border-right: none; }
.trust-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: white; margin-bottom: 4px; }
.trust-num span { color: var(--pink-muted); }
.trust-lbl { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── CARDS ─── */
.card {
  background: var(--white); border: 1px solid var(--mist);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all 0.25s ease;
}
.card:hover { border-color: var(--navy); box-shadow: 0 8px 32px rgba(27,58,107,0.09); transform: translateY(-3px); }
.card-accent { border-top: 3px solid var(--pink); }

/* ─── FEATURE LIST ─── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  font-size: 15px; color: var(--slate);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 1px; border-radius: 50%;
  background: #EDF1FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%231B3A6B' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ─── CTA SECTION ─── */
.cta-section { background: var(--white); padding: 90px 0; }
.cta-box {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 72px 64px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(192,57,91,0.1);
}
.cta-box .section-kicker { color: var(--pink-muted); margin-bottom: 14px; }
.cta-box h2 { color: white; margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,0.62); font-size: 18px; max-width: 520px; margin: 0 auto 34px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-note { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,0.3); position: relative; z-index: 1; }

/* ─── FOOTER ─── */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 60px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 20px; color: white; margin-bottom: 12px; }
.footer-brand-name span { color: var(--pink-muted); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.48); line-height: 1.6; margin-bottom: 20px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.7; }
.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-bottom a:hover { color: white; }

/* ─── CALENDLY MODAL ─── */
.modal-overlay {
  display: none; position: fixed;
  inset: 0; z-index: 500;
  background: rgba(15,35,71,0.65);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: white; border-radius: var(--radius-xl);
  width: 100%; max-width: 720px; max-height: 90vh;
  overflow: hidden; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  display: flex; flex-direction: column;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--mist);
  flex-shrink: 0;
}
.modal-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cloud); border: 1px solid var(--mist);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--slate); transition: all 0.2s;
}
.modal-close:hover { background: var(--mist); color: var(--navy); }
.modal-body { flex: 1; overflow-y: auto; padding: 0; }
.calendly-inline-widget { min-height: 620px; }

/* ─── PRICING TABLE ─── */
.price-table { width: 100%; border: 1px solid var(--mist); border-radius: var(--radius-lg); overflow: hidden; border-collapse: collapse; font-size: 14px; }
.price-table th { background: var(--cloud); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 11px; color: var(--slate); border-bottom: 1px solid var(--mist); letter-spacing: 0.08em; text-transform: uppercase; }
.price-table td { padding: 12px 16px; border-bottom: 1px solid var(--mist); color: var(--ink); vertical-align: top; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--cloud); }
.ptag { font-weight: 600; color: var(--pink); font-family: 'Playfair Display', serif; font-size: 16px; }
.apill { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 20px; background: #EDF1FA; color: var(--navy); margin: 2px 2px 0 0; font-weight: 500; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-box { padding: 48px 28px; }
  section { padding: 60px 0; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 110px 0 56px; }
  .page-hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
