@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #111118;
  --ink-2: #3a3a4a;
  --muted: #888899;
  --border: #e4e2da;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff4ff;
  --green: #16a34a;
  --green-soft: #f0fdf4;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --radius: 14px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
  background: rgba(247,246,242,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.04em; color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: #fff; font-weight: 800;
}
.nav-links-list { display: flex; gap: 1.8rem; list-style: none; }
.nav-links-list a { font-size: 0.88rem; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav-links-list a:hover, .nav-links-list a.active { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-pill {
  font-size: 0.82rem; font-weight: 500;
  background: var(--primary-soft); color: var(--primary);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 99px; padding: 5px 14px;
  display: flex; align-items: center; gap: 6px;
}
.lpu-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: blink 2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; border: none; background: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s; }
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 199;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 1.2rem 5vw 1.5rem; flex-direction: column; gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 0.95rem; color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 0.4rem 0; }
.mobile-nav a:hover { color: var(--primary); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 99px;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all .2s; border: none; font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 12px rgba(37,99,235,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,99,235,0.4); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 2px 12px rgba(22,163,74,0.3); }
.btn-green:hover { background: #15803d; transform: translateY(-1px); }

/* ─── SECTION PATTERNS ─── */
.section { padding: 90px 5vw; }
.section-dark { background: var(--ink); color: #fff; }
.section-surface { background: var(--surface); }
.section-kicker {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.section-dark .section-kicker { color: #60a5fa; }
.section-h {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
}
.section-dark .section-h { color: #fff; }
.section-p { color: var(--muted); font-size: 0.97rem; max-width: 480px; margin-top: 0.6rem; line-height: 1.7; }
.section-dark .section-p { color: #777; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 110px 5vw 70px;
  border-bottom: 1px solid var(--border);
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(37,99,235,0.18);
  padding: 4px 12px; border-radius: 99px; margin-bottom: 1.2rem;
  animation: riseIn .5s ease both;
}
.page-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
  animation: riseIn .5s .1s ease both;
}
.page-hero h1 em { font-style: normal; color: var(--primary); }
.page-hero p {
  font-size: 1.05rem; color: var(--ink-2); max-width: 560px;
  line-height: 1.75; animation: riseIn .5s .2s ease both;
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface); padding: 14px 0;
}
.marquee-track { display: flex; animation: marquee 22s linear infinite; width: max-content; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 28px; white-space: nowrap;
  font-size: 0.85rem; font-weight: 500; color: var(--ink-2);
  border-right: 1px solid var(--border);
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── WHY-GRID (border separator trick) ─── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; margin-top: 3rem;
  background: var(--border); border-radius: var(--radius-lg);
  overflow: hidden; border: 1.5px solid var(--border);
}
.why-card { background: var(--surface); padding: 36px 28px; transition: background .25s; }
.why-card:hover { background: #fafbff; }
.why-icon { font-size: 2rem; margin-bottom: 1rem; }
.why-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.65; }

/* ─── STEPS ─── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 3.5rem; border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); overflow: hidden;
}
.step { padding: 32px 24px; border-right: 1px solid rgba(255,255,255,0.08); }
.step:last-child { border-right: none; }
.step-n { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,0.06); margin-bottom: 16px; line-height: 1; }
.step-icon { font-size: 1.6rem; margin-bottom: 12px; }
.step-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 0.97rem; margin-bottom: 6px; }
.step-desc { font-size: 0.83rem; color: #777; line-height: 1.6; }

/* ─── DUAL CARDS ─── */
.dual-section { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.dual-card { border-radius: var(--radius-lg); padding: 44px 36px; position: relative; overflow: hidden; }
.dual-card.student { background: var(--primary-soft); border: 1.5px solid rgba(37,99,235,0.18); }
.dual-card.tutor { background: var(--green-soft); border: 1.5px solid rgba(22,163,74,0.18); }
.dual-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 99px; padding: 4px 12px; margin-bottom: 1.4rem;
}
.student .dual-badge { background: rgba(37,99,235,0.12); color: var(--primary); }
.tutor .dual-badge { background: rgba(22,163,74,0.12); color: var(--green); }
.dual-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.dual-card p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 1.8rem; }
.dual-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; }
.dual-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink-2); }
.dl-check { width: 18px; height: 18px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; margin-top: 1px; }
.student .dl-check { background: rgba(37,99,235,0.15); color: var(--primary); }
.tutor .dl-check { background: rgba(22,163,74,0.15); color: var(--green); }
.dual-deco { position: absolute; bottom: -20px; right: -10px; font-size: 7rem; opacity: 0.06; line-height: 1; }

/* ─── FAQ ─── */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--surface); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; transition: background .2s;
}
.faq-q:hover { background: var(--bg); }
.faq-q .arrow { font-size: 0.75rem; transition: transform .3s; color: var(--muted); }
.faq-q.open .arrow { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.7; }

/* ─── STATS BAND ─── */
.stats-band {
  background: var(--primary); color: #fff;
  padding: 60px 5vw; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.stat-n { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; }
.stat-l { font-size: 0.85rem; opacity: 0.75; margin-top: 4px; }

/* ─── CTA WRAP ─── */
.cta-wrap {
  margin: 0 5vw 80px;
  background: var(--ink); border-radius: var(--radius-lg);
  padding: 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-wrap::before {
  content: ''; position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-wrap h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 0.8rem;
}
.cta-wrap p { color: #777; font-size: 0.97rem; max-width: 440px; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer { background: var(--ink); color: #fff; padding: 50px 5vw 28px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 2rem; }
.footer-logo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer-tagline { font-size: 0.84rem; color: #666; margin-top: 6px; max-width: 220px; line-height: 1.6; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #555; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.86rem; color: #888; text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: #555; }
.lpu-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(37,99,235,0.15); color: #60a5fa; border-radius: 99px; padding: 3px 10px; font-size: 0.75rem; font-weight: 600; }

/* ─── FORMS ─── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.9rem; font-family: inherit; color: var(--ink);
  background: var(--bg); outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ─── ANIMATIONS ─── */
@keyframes riseIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links-list { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .dual-section { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .cta-wrap { padding: 44px 24px; margin: 0 4vw 60px; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 90px 5vw 50px; }
}
/* LOGIN MODAL */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 16px;
  width: 320px;
}
.submit-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
