:root {
  --primary: #0b3d91;
  --primary-dark: #082c69;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #0f172a;
  --muted: #64748b;
  --surface: #f8fafc;
  --radius: 14px;
}
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; }
a { text-decoration: none; }
.text-primary { color: var(--primary) !important; }
.bg-primary { background: var(--primary) !important; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.btn-accent { background: var(--accent); color: #111; border: none; font-weight: 600; }
.btn-accent:hover { background: var(--accent-dark); color: #111; }
.text-accent { color: var(--accent) !important; }
.rounded-xl { border-radius: var(--radius) !important; }
.shadow-soft { box-shadow: 0 10px 30px -12px rgba(2, 6, 23, 0.18); }
.section { padding: 64px 0; }
.section-title { font-weight: 800; letter-spacing: -0.02em; }
.section-sub { color: var(--muted); max-width: 720px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent-dark); }

/* top bar */
.topbar { background: var(--ink); color: #e2e8f0; font-size: 13px; }
.topbar a { color: #fbbf24; font-weight: 600; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee span { display: inline-block; padding-left: 100%; animation: marquee 28s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* navbar */
.navbar-site { background: #fff; border-bottom: 1px solid #e2e8f0; }
.navbar-site .navbar-brand { font-weight: 800; color: var(--primary); font-size: 1.25rem; }
.navbar-site .navbar-brand img { height: 46px; }
.navbar-site .nav-link { font-weight: 600; color: #1e293b; padding: .6rem .9rem !important; border-radius: 8px; }
.navbar-site .nav-link:hover, .navbar-site .nav-link.active { color: var(--primary); background: #eff6ff; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 10% -10%, #1e40af 0%, transparent 60%), radial-gradient(900px 400px at 90% 10%, #f59e0b33 0%, transparent 60%), linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 80px 0 60px; position: relative; overflow: hidden; }
.hero h1 { font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.hero .lead { color: #dbeafe; font-size: 1.1rem; }
.hero .stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 16px; backdrop-filter: blur(4px); }
.hero .stat b { font-size: 1.25rem; display: block; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px; }
.carousel-item img { border-radius: var(--radius); height: 320px; object-fit: cover; width: 100%; }

/* cards */
.card-course { border: 1px solid #e2e8f0; border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; height: 100%; background: #fff; }
.card-course:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -18px rgba(2,6,23,.35); }
.card-course .thumb { height: 170px; background: linear-gradient(135deg, #dbeafe, #fef3c7); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--primary); position: relative; overflow: hidden; }
.card-course .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-course .badge-float { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #111; font-weight: 700; }
.card-course dl { font-size: .9rem; margin: 0; }
.card-course dt { color: var(--muted); font-weight: 500; }
.feature-box { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 26px; height: 100%; transition: all .2s; }
.feature-box:hover { border-color: var(--primary); box-shadow: 0 12px 30px -16px rgba(11,61,145,.4); }
.feature-box .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: #eff6ff; color: var(--primary); margin-bottom: 14px; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid #e2e8f0; height: 100%; }
.testimonial .stars { color: #f59e0b; }
.notice-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #e2e8f0; }
.notice-item .tag { font-size: 10px; letter-spacing: .1em; font-weight: 800; text-transform: uppercase; background: #fee2e2; color: #b91c1c; border-radius: 6px; padding: 4px 8px; height: fit-content; white-space: nowrap; }
.partner-logo { filter: grayscale(1); opacity: .75; transition: all .2s; max-height: 46px; }
.partner-logo:hover { filter: none; opacity: 1; }
.cta { background: linear-gradient(120deg, var(--accent), #fbbf24); border-radius: var(--radius); padding: 40px; }
.page-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 56px 0; }
.page-banner h1 { font-weight: 800; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose h2, .prose h3, .prose h4 { font-weight: 700; margin-top: 1.5rem; }
.exam-card { border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 20px; height: 100%; background: #fff; }
.exam-card .meta { color: var(--muted); font-size: .88rem; }
footer.site-footer { background: #0b1220; color: #cbd5e1; padding: 56px 0 20px; margin-top: 64px; }
footer.site-footer h6 { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; margin-bottom: 16px; }
footer.site-footer a { color: #cbd5e1; }
footer.site-footer a:hover { color: #fff; }
footer .social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1e293b; margin-right: 6px; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 1030; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4); }
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; cursor: pointer; }
.auth-wrap { min-height: calc(100vh - 140px); display: flex; align-items: center; background: var(--surface); }
.auth-card { max-width: 460px; width: 100%; margin: 40px auto; }
.table-results th { background: var(--primary); color: #fff; }
@media (max-width: 768px) { .section { padding: 44px 0; } .hero { padding: 50px 0 40px; } }
