:root { --navy:#1b1740; --indigo:#4a3f9f; --blue:#3f6fb5; --coral:#f2706b; --ink:#2b2d42; --muted:#6c6f85; --line:#e8e9f3; --soft:#f6f5fc; }
body { font-family:'Inter',system-ui,sans-serif; color:var(--ink); background:#fff; }
h1,h2,h3,h4,h5,.serif { font-family:'Playfair Display',Georgia,serif; color:var(--navy); font-weight:700; }
a { color:var(--blue); }
.text-muted { color:var(--muted) !important; }

/* brand + buttons */
.brand { display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; }
.brand-badge { width:40px; height:40px; border-radius:11px; background:linear-gradient(135deg,#4a3f9f,#3f6fb5); color:#fff; font:700 .9rem Georgia,serif; display:inline-flex; align-items:center; justify-content:center; }
.brand-name { font:700 1.2rem 'Playfair Display',Georgia,serif; color:var(--navy); } .brand-name span { color:var(--blue); }
.btn-site { background:var(--blue); color:#fff; border:0; border-radius:10px; font-weight:600; padding:.5rem 1.1rem; }
.btn-site:hover { background:var(--indigo); color:#fff; }
.btn-outline-site { background:#fff; color:var(--navy); border:1px solid var(--line); border-radius:10px; font-weight:600; }
.btn-outline-site:hover { background:var(--soft); color:var(--navy); }
.btn-coral { background:var(--coral); color:#fff; border:0; border-radius:10px; font-weight:600; padding:.65rem 1.3rem; } .btn-coral:hover { background:#e25a55; color:#fff; }

/* nav */
.site-nav { background:#fff; border-bottom:1px solid var(--line); padding:.7rem 0; }
.site-nav .nav-link { color:#555a7a; font-weight:600; font-size:.9rem; border-radius:8px; padding:.45rem .8rem; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color:var(--blue); background:#eef3fb; }

/* hero */
.hero, .page-hero { background:linear-gradient(135deg,#f3f0fb 0%,#fbeeee 100%); }
.hero { padding:5rem 0 4.5rem; } .page-hero { padding:3.5rem 0; }
.eyebrow { font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--coral); font-weight:700; }
.eyebrow.light { color:#ff8f8a; }
.eyebrow-pill { display:inline-flex; align-items:center; gap:.5rem; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color:var(--navy); background:#fff; border:1px solid var(--line); border-radius:30px; padding:.3rem .8rem; margin-bottom:1rem; }
.eyebrow-pill i { color:var(--coral); font-size:.45rem; }
.display-title { font-size:clamp(2.2rem,5vw,3.6rem); line-height:1.1; margin-bottom:1rem; } .display-title span { color:var(--indigo); }
.display-title.sm { font-size:clamp(1.9rem,4vw,2.8rem); }
.lead-text { color:var(--muted); max-width:560px; margin-bottom:1.5rem; }
.hero-card { background:#fff; border-radius:20px; padding:2rem; box-shadow:0 20px 50px rgba(27,23,64,.12); }
.mini { background:var(--soft); border-radius:10px; padding:.6rem; } .mini strong { display:block; color:var(--navy); } .mini span { font-size:.7rem; color:var(--muted); }

/* sections */
.section { padding-top:3.5rem; padding-bottom:3.5rem; }   /* not 'padding:3.5rem 0' - that wiped the side gutters of .container sections */
.section-head { text-align:center; margin-bottom:2.2rem; } .section-head h2 { font-size:2rem; margin:.3rem 0; } .section-head p { color:var(--muted); }
.stats-strip { margin-top:-2rem; position:relative; z-index:2; margin-bottom:1rem; } .stats-strip.sm { margin-top:1.5rem; }
.stat-box { display:flex; align-items:center; justify-content:center; gap:1rem; background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.1rem; text-align:center; flex-direction:column; color:inherit; }
.stat-box.left { flex-direction:row; justify-content:flex-start; text-align:left; } .stat-box.left > i { font-size:1.5rem; color:var(--indigo); background:#ece9fb; width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.stat-box .num { font:700 1.6rem 'Playfair Display',serif; color:var(--navy); line-height:1.1; } .stat-box .lbl { font-size:.78rem; color:var(--muted); }

/* cards */
.course-card { display:block; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; text-decoration:none; color:inherit; height:100%; transition:.2s; }
a.course-card:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(27,23,64,.1); }
.course-media { height:150px; background:linear-gradient(135deg,#17174a,#3a3aa0) center/cover; position:relative; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.85); font-size:3rem; }
.level-badge { position:absolute; top:10px; right:10px; font-size:.68rem; background:rgba(0,0,0,.55); color:#fff; padding:2px 9px; border-radius:20px; font-weight:600; }
.course-body { padding:1.1rem; } .course-body h5 { font-size:1.05rem; margin:.2rem 0 .4rem; } .course-body p { font-size:.85rem; color:var(--muted); min-height:2.6em; }
.course-meta { display:flex; flex-wrap:wrap; gap:.9rem; font-size:.78rem; color:var(--muted); margin-bottom:.8rem; } .course-meta.big { font-size:.9rem; }
.course-foot { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding-top:.8rem; }
.price { font-weight:700; color:var(--navy); font-size:1.1rem; } .price.free { color:#1e9e5a; } .old { color:#a0a3b8; font-size:.85rem; }
.topic-card { display:block; background:linear-gradient(135deg,#2a2160,#4a3f9f); color:#fff; border-radius:16px; padding:1.5rem; text-decoration:none; height:100%; transition:.2s; }
.topic-card:hover { transform:translateY(-4px); color:#fff; } .topic-card i { font-size:2rem; opacity:.9; } .topic-card h5 { color:#fff; margin:.8rem 0; } .topic-card span { font-size:.82rem; opacity:.85; }
.cta-band { background:linear-gradient(135deg,#1b1740,#3a2f87); color:#fff; border-radius:24px; padding:3rem; margin:1rem 0; } .cta-band h2 { color:#fff; } .cta-band p { color:#c9c6e8; max-width:600px; }
.road-step { background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.1rem; height:100%; } .road-step h6 { font-family:'Playfair Display',serif; color:var(--navy); }
.road-step p { font-size:.8rem; color:var(--muted); margin:0; } .road-no { display:inline-flex; width:30px; height:30px; border-radius:50%; background:var(--coral); color:#fff; align-items:center; justify-content:center; font-weight:700; margin-bottom:.6rem; font-size:.85rem; }
.value-row { display:flex; gap:.8rem; margin-bottom:1rem; } .value-row i { color:var(--coral); margin-top:.15rem; }
.story-box { background:var(--soft); border-radius:18px; padding:2.5rem; }
.chips { display:flex; flex-wrap:wrap; gap:.5rem; } .chip { padding:.4rem 1rem; border-radius:30px; border:1px solid var(--line); text-decoration:none; color:var(--navy); font-size:.85rem; font-weight:600; background:#fff; }
.chip.active, .chip:hover { background:var(--navy); color:#fff; border-color:var(--navy); }
.empty-box { text-align:center; padding:3rem 1rem; background:var(--soft); border-radius:16px; color:var(--muted); }

/* challenges */
.chal-card { display:block; background:#fff; border:1px solid var(--line); border-radius:16px; padding:1.3rem; text-decoration:none; color:inherit; height:100%; transition:.2s; } .chal-card:hover { transform:translateY(-3px); box-shadow:0 12px 26px rgba(27,23,64,.1); }
.chal-card h5 { margin:.3rem 0 .5rem; } .chal-card p { font-size:.85rem; color:var(--muted); }
.chal-foot { display:flex; justify-content:space-between; font-size:.8rem; color:var(--muted); border-top:1px solid var(--line); padding-top:.7rem; } .chal-foot .fw-semibold { color:var(--navy); }
.tag { font-size:.68rem; font-weight:700; background:#ece9fb; color:var(--indigo); padding:2px 10px; border-radius:20px; } .tag.easy { background:#e3f6ec; color:#1e9e5a; } .tag.medium { background:#fff3d6; color:#b7791f; } .tag.hard { background:#fde4e3; color:#d64545; }
.pts { color:var(--coral); font-weight:700; font-size:.85rem; }

/* forms / auth */
.form-card, .buy-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:1.8rem; } .buy-card { position:sticky; top:90px; box-shadow:0 14px 34px rgba(27,23,64,.08); }
.form-label { font-size:.82rem; font-weight:600; color:var(--navy); }
.form-control { border-radius:10px; border-color:#dfe1ee; padding:.6rem .8rem; } .form-control:focus { border-color:var(--blue); box-shadow:0 0 0 .2rem rgba(63,111,181,.15); }
.auth-wrap { min-height:70vh; display:flex; align-items:center; justify-content:center; padding:3rem 1rem; background:linear-gradient(135deg,#f3f0fb,#fbeeee); }
.auth-card { width:100%; max-width:440px; background:#fff; border-radius:20px; padding:2.2rem; box-shadow:0 20px 50px rgba(27,23,64,.12); }
.portal-nav { background:var(--soft); border-bottom:1px solid var(--line); padding:.6rem 0; } .portal-nav a { text-decoration:none; color:#555a7a; font-weight:600; font-size:.9rem; padding:.4rem .9rem; border-radius:8px; } .portal-nav a.active, .portal-nav a:hover { background:#fff; color:var(--blue); }
.accordion-button:not(.collapsed) { background:var(--soft); color:var(--navy); }

/* footer */
.site-footer { background:#0f1630; color:#aab0cc; padding:3.5rem 0 1.5rem; margin-top:0; }
.site-footer h6 { color:#fff; font-family:'Playfair Display',serif; margin-bottom:1rem; } .site-footer a { color:#aab0cc; text-decoration:none; } .site-footer a:hover { color:#fff; } .site-footer li { margin-bottom:.45rem; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding-top:1.2rem; }

/* ===== split (login / signup / contact) ===== */
.split-body { background:#eef2f9; min-height:100vh; display:flex; }
.split-wrap { width:100%; max-width:1100px; margin:auto; padding:1.5rem 1rem 2.5rem; }
.back-home { display:inline-block; margin:0 0 .8rem .4rem; color:#5a6a85; font-size:.85rem; text-decoration:none; } .back-home:hover { color:var(--navy); }
.split-card { display:grid; grid-template-columns:1fr 1fr; background:#fff; border-radius:28px; overflow:hidden; box-shadow:0 30px 70px rgba(27,40,80,.14); border:1px solid #e3e8f2; min-height:600px; }
.split-left { position:relative; padding:3rem 3rem 2.5rem; color:#fff; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden;
  background:linear-gradient(150deg,#0f1830 0%,#17284a 55%,#1f3c66 100%); }
.split-left::before { content:""; position:absolute; inset:0; opacity:.35; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:34px 34px; }
.split-left::after { content:""; position:absolute; width:380px; height:380px; right:-170px; top:-170px; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.split-left > * { position:relative; z-index:1; }
.split-icon { width:58px; height:58px; border-radius:16px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); display:inline-flex; align-items:center; justify-content:center; font-size:1.5rem; color:#7aaef0; margin-bottom:1.6rem; }
.split-eyebrow { font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:#6fa0e0; font-weight:700; margin-bottom:.9rem; }
.split-title { font:700 clamp(2.2rem,4vw,3.3rem)/1.1 'Playfair Display',Georgia,serif; color:#fff; margin-bottom:1.1rem; } .split-title span { color:#6fa0e0; }
.split-text { color:#b9c6e0; line-height:1.7; max-width:420px; margin-bottom:2rem; }
.split-items { list-style:none; padding:0; margin:0; display:grid; gap:.9rem; }
.split-items li { display:flex; align-items:center; gap:.9rem; }
.split-items .ic { width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.07); display:inline-flex; align-items:center; justify-content:center; color:#7aaef0; flex-shrink:0; }
.split-items .feature .l1 { font-weight:700; color:#fff; font-size:.92rem; } .split-items .feature .l2 { font-size:.8rem; color:#8fa3c4; }
.split-items .info .l1 { font-size:.72rem; color:#8fa3c4; } .split-items .info .l2 { font-weight:700; color:#fff; font-size:.92rem; }
.follow { font-size:.78rem; color:#8fa3c4; margin:2rem 0 .6rem; } .social { display:flex; gap:.6rem; }
.social a { width:40px; height:40px; border-radius:11px; background:rgba(255,255,255,.07); color:#c4d3ee; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; transition:.2s; } .social a:hover { background:rgba(255,255,255,.16); color:#fff; }

.split-right { padding:3rem 3.4rem; display:flex; flex-direction:column; justify-content:center; }
.split-right h2 { font:700 1.7rem 'Playfair Display',Georgia,serif; color:#11182f; margin-bottom:.3rem; }
.split-right .sub { color:#7a8499; font-size:.92rem; margin-bottom:1.6rem; }
.fl { font-weight:700; font-size:.82rem; color:#1b2340; margin:.9rem 0 .4rem; display:block; }
.field { position:relative; display:flex; align-items:center; background:#fbfcfe; border:1px solid #dfe5f0; border-radius:12px; transition:.15s; }
.field:focus-within { border-color:#4a80c4; box-shadow:0 0 0 .22rem rgba(63,111,181,.14); background:#fff; }
.field input, .field textarea { flex:1; min-width:0; border:0; background:transparent; outline:0; padding:.82rem .9rem .82rem .4rem; font-size:.92rem; color:#1b2340; resize:none; }
.field .lead-ic { color:#98a3b8; padding-left:.95rem; font-size:1rem; }
.field.area { align-items:flex-start; } .field.area .lead-ic { padding-top:.95rem; } .field.area textarea { padding-top:.8rem; }
.field .eye { border:0; background:transparent; color:#98a3b8; padding:0 1rem; } .field .eye:hover { color:#3f6fb5; }
.small-link { color:#3f6fb5; font-weight:700; font-size:.82rem; text-decoration:none; } .small-link:hover { text-decoration:underline; }
.check { display:flex; align-items:center; gap:.5rem; font-size:.85rem; color:#5a6a85; margin:1.1rem 0 1.3rem; cursor:pointer; } .check input { width:18px; height:18px; accent-color:#3f6fb5; }
.hint { font-size:.8rem; color:#5a6a85; margin:.5rem 0 1rem; } .counter { text-align:right; font-size:.75rem; color:#98a3b8; margin:.3rem 0 1rem; }
.btn-split { width:100%; border:0; border-radius:12px; padding:.95rem; color:#fff; font-weight:700; font-size:.95rem; background:linear-gradient(90deg,#3f78b8,#5067c6); box-shadow:0 10px 24px rgba(63,111,181,.35); transition:.2s; }
.btn-split:hover { filter:brightness(1.07); transform:translateY(-1px); }
.split-divider { border-top:1px solid #e8ecf4; margin:1.6rem 0 1.1rem; }
.secure { text-align:center; font-size:.76rem; color:#98a3b8; margin:0; } .secure i { color:#4a80c4; margin-right:.25rem; }

@media (max-width:860px) {
  .split-card { grid-template-columns:1fr; border-radius:22px; }
  .split-left { padding:2rem 1.6rem; } .split-items, .split-text { display:none; } .split-icon { margin-bottom:1rem; } .follow { margin-top:1rem; }
  .split-right { padding:2rem 1.6rem; }
}

/* split pages inside the normal site header/footer */
.split-section { background:#eef2f9; padding:2.8rem 0 3.2rem; }
.split-container { max-width:1100px; }

/* ===== footer (matches the client's design) ===== */
.site-footer { background:#0f1629; padding-top:3.5rem; }
.ft-about { color:#9aa5c0; font-size:.88rem; line-height:1.8; max-width:330px; }
.ft-social { display:flex; gap:.6rem; margin-top:1.2rem; }
.ft-social a { width:40px; height:40px; border-radius:10px; background:#18213a; border:1px solid #232d4a; color:#cbd5ec; display:inline-flex; align-items:center; justify-content:center; transition:.2s; } .ft-social a:hover { background:#232d4a; color:#fff; }
.ft-h { position:relative; color:#fff; font:700 1rem 'Playfair Display',serif; margin-bottom:1.3rem; padding-bottom:.5rem; }
.ft-h::after { content:""; position:absolute; left:0; bottom:0; width:22px; height:2px; background:#4a80c4; border-radius:2px; }
.ft-links { list-style:none; padding:0; margin:0; } .ft-links li { margin-bottom:.7rem; }
.ft-links a { color:#9aa5c0; font-size:.88rem; text-decoration:none; display:inline-flex; align-items:center; gap:.45rem; } .ft-links a i { font-size:.65rem; color:#4a80c4; } .ft-links a:hover { color:#fff; }
.ft-contact { display:flex; align-items:center; gap:.8rem; margin-bottom:.9rem; font-size:.85rem; color:#e6ebf7; }
.ft-contact .ic { width:40px; height:40px; border-radius:10px; background:#18213a; display:inline-flex; align-items:center; justify-content:center; color:#cbd5ec; flex-shrink:0; }
.ft-contact small { display:block; font-size:.62rem; letter-spacing:.1em; color:#7f8bab; }
.ft-cta { display:flex; flex-wrap:wrap; gap:1.2rem; justify-content:space-between; align-items:center; border-top:1px solid #1d2742; padding:1.8rem 0; }
.ft-eyebrow { font-size:.65rem; letter-spacing:.18em; text-transform:uppercase; color:#4a80c4; font-weight:700; margin-bottom:.3rem; }
.ft-cta-title { font:700 1.35rem 'Playfair Display',serif; color:#fff; } .ft-cta-title span { color:#6fa0e0; } .ft-cta-sub { color:#8d99b7; font-size:.82rem; margin-top:.2rem; }
.site-footer .footer-bottom { border-top:1px solid #1d2742; color:#7f8bab; padding:1.2rem 0 .3rem; }

/* ===== forgot / reset password ===== */
.reset-wrap { background:linear-gradient(135deg,#f3f6fd 0%,#e8f1fb 100%); padding:4rem 1rem 4.5rem; min-height:640px; display:flex; align-items:center; justify-content:center; }
.reset-card { position:relative; width:100%; max-width:540px; background:#fff; border-radius:24px; padding:2.8rem 2.6rem 2.2rem; box-shadow:0 24px 60px rgba(27,40,80,.12); overflow:hidden; border:1px solid #e3e8f2; }
.reset-card::before { content:""; position:absolute; left:0; right:0; top:0; height:5px; background:linear-gradient(90deg,#2563eb,#06b6d4); }
.reset-icon { width:70px; height:70px; border-radius:50%; background:#eaf1ff; border:1px solid #d6e4ff; color:#2563eb; font-size:1.7rem; display:flex; align-items:center; justify-content:center; margin:0 auto 1.2rem; } .reset-icon.bad { background:#fdecec; border-color:#f8cfcf; color:#d64545; }
.reset-card h1 { font:700 1.8rem 'Playfair Display',Georgia,serif; text-align:center; color:#11182f; margin-bottom:.6rem; }
.reset-card .sub { text-align:center; color:#6b7590; font-size:.92rem; line-height:1.7; margin-bottom:1.8rem; }
.btn-reset { width:100%; border:0; border-radius:12px; background:#2563eb; color:#fff; font-weight:700; padding:.95rem; margin-top:1.3rem; box-shadow:0 10px 22px rgba(37,99,235,.28); transition:.2s; } .btn-reset:hover { background:#1d4fd8; color:#fff; transform:translateY(-1px); }
.reset-note { display:flex; gap:.6rem; align-items:center; margin-top:1.3rem; border:1px solid #e3e8f2; background:#fbfcfe; border-radius:12px; padding:.8rem 1rem; font-size:.8rem; color:#5a6a85; } .reset-note i { color:#2563eb; }
.reset-card .small-link { color:#2563eb; }

/* ===== course player ===== */
.learn-wrap { padding:1.6rem 0 3rem; background:#f7f8fc; min-height:70vh; }
.player-box { background:#0b1020; border-radius:16px; overflow:hidden; box-shadow:0 14px 34px rgba(27,23,64,.15); }
.player-box video { width:100%; max-height:70vh; display:block; background:#000; } .player-box iframe { border:0; }
.pdf-box { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; margin-bottom:.4rem; } .pdf-box iframe { width:100%; height:75vh; border:0; display:block; }
.reading { line-height:1.85; font-size:1.02rem; }
.lesson-side { position:sticky; top:90px; max-height:calc(100vh - 110px); overflow-y:auto; background:#fff; border:1px solid var(--line); border-radius:16px; }
.side-module { width:100%; display:flex; justify-content:space-between; align-items:center; border:0; background:#f3f5fb; padding:.7rem 1rem; font-weight:700; font-size:.85rem; color:var(--navy); text-align:left; border-bottom:1px solid var(--line); }
.side-lesson { display:flex; align-items:center; gap:.6rem; padding:.65rem 1rem; border-bottom:1px solid #f0f2f8; text-decoration:none; color:var(--ink); font-size:.86rem; }
a.side-lesson:hover { background:#f6f8fd; } .side-lesson.active { background:#eaf1fb; border-left:3px solid var(--blue); font-weight:600; } .side-lesson.locked { opacity:.6; }
.pulse { animation:pulse 1.2s ease 2; } @keyframes pulse { 0%,100% { box-shadow:0 0 0 0 rgba(63,111,181,.5); } 50% { box-shadow:0 0 0 8px rgba(63,111,181,0); } }
@media (max-width:991px) { .lesson-side { position:static; max-height:none; } }

/* ===== payments / receipt ===== */
.receipt { background:#fff; border:1px solid var(--line); border-radius:18px; padding:2.2rem; box-shadow:0 14px 34px rgba(27,23,64,.06); }
.receipt .brand-name { font-size:1.5rem; }
.receipt-title { font:700 1.1rem 'Playfair Display',serif; letter-spacing:.12em; color:var(--navy); margin-bottom:.3rem; }
.receipt-table thead th { background:var(--soft); color:var(--navy); font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; border-bottom:0; }
.receipt-table tfoot th { border-top:2px solid var(--navy); padding-top:.9rem; }
@media print {
  .site-nav, .site-footer, .portal-nav, .no-print, .alert-dismissible { display:none !important; }
  body { background:#fff !important; } main, .section { padding:0 !important; margin:0 !important; }
  .receipt { border:0; box-shadow:none; padding:0; }
}

/* footer: stop columns overlapping */
.site-footer .row > [class*="col"] { min-width:0; }
.site-footer .ft-links a, .site-footer .ft-contact > div { overflow-wrap:anywhere; }
.site-footer .ft-links a { display:inline-flex; align-items:baseline; }
