/* Numoren — global styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1f6feb;
  --blue-dark: #1756c2;
  --teal: #12b5a6;
  --gold: #f5b301;
  --ink: #1b2430;
  --muted: #5b6878;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 31, 58, .08);
  --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #dbe5f3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .6em; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Top bar & header */
.topbar { background: var(--navy); color: #c9d6ea; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav a, .nav-toggle-sub { color: var(--ink); font-weight: 600; padding: 10px 12px; display: block; border-radius: 6px; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.main-nav a:hover, .nav-toggle-sub:hover { background: var(--bg-soft); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle-sub::after { content: "▾"; font-size: .7em; margin-left: 6px; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { display: block; }
.dropdown a { font-weight: 500; }
.dropdown small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero { background: radial-gradient(circle at 85% 20%, rgba(18,181,166,.25), transparent 45%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #dbe5f3; padding: 90px 0; }
.hero h1 { color: #fff; }
.hero .lead { color: #c9d6ea; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 28px; }
.hero-card h3 { color: #fff; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.hero-stats strong { display: block; font-size: 1.8rem; color: #fff; }
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #c9d6ea; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c9d6ea; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: #9fb3d1; }
.breadcrumb a { color: #fff; }

/* Grid & cards */
.grid { display: grid; gap: 24px; }
.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(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-icon { width: 46px; height: 46px; border-radius: 10px; background: #e8f0fe; color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #e6f7f5; color: #0b8a7e; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.badge-gold { background: #fff5d6; color: #8a6400; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: 6px 0 16px; }
.course-thumb { height: 140px; border-radius: 8px; margin: -8px -8px 16px; background: linear-gradient(135deg, var(--blue), var(--teal)); display: grid; place-items: center; color: #fff; font-size: 2.2rem; font-weight: 800; }
.course-thumb.alt { background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.course-thumb.alt2 { background: linear-gradient(135deg, #0b8a7e, var(--navy-2)); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 99px; cursor: pointer; font: inherit; font-weight: 600; color: var(--ink); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Logos strip */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; opacity: .7; font-weight: 800; font-size: 1.1rem; color: var(--muted); letter-spacing: .04em; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 28px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Pricing */
.price-card { text-align: left; position: relative; }
.price-card.featured { border: 2px solid var(--blue); }
.price-card .ribbon { position: absolute; top: -12px; right: 20px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--ink); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.billing-toggle { display: inline-flex; background: var(--bg-soft); border-radius: 99px; padding: 4px; margin-bottom: 32px; }
.billing-toggle button { border: 0; background: none; padding: 8px 18px; border-radius: 99px; font: inherit; font-weight: 600; cursor: pointer; }
.billing-toggle button.active { background: #fff; box-shadow: var(--shadow); }

/* Testimonials */
.quote { font-size: 1.05rem; }
.quote footer { margin-top: 14px; font-weight: 700; color: var(--navy); }
.quote footer span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Layout with sidebar */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.sidebar .card { position: sticky; top: 90px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.module { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 16px; }
.module span { color: var(--muted); font-size: .9rem; white-space: nowrap; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #cdd6e2; border-radius: 8px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; background: #e6f7f5; border: 1px solid #b5e6df; color: #0b6e64; padding: 14px; border-radius: 8px; }
.auth-box { max-width: 460px; margin: 0 auto; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; border-radius: 16px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; opacity: .92; }

/* Footer */
.site-footer { background: #081629; color: #9fb3d1; padding: 64px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d6ea; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { background: #0f2340; border-color: #24406a; color: #fff; }
.footer-bottom { border-top: 1px solid #1a3253; margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .sidebar .card { position: static; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 70px); border-top: 1px solid var(--line); background: #fff; padding: 16px 20px; overflow-y: auto; display: none; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .dropdown { position: static; box-shadow: none; border: 0; padding-left: 12px; display: none; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .header-actions .btn-outline { display: none; }
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .grid-4, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .cta-band { padding: 32px 24px; }
  .header-actions .btn-primary { display: none; }
}
