:root {
  --blue-900: #0a2f6f;
  --blue-700: #0d5bd7;
  --blue-500: #2487ff;
  --blue-100: #eaf3ff;
  --ink: #122033;
  --muted: #60708a;
  --line: #dce7f5;
  --bg: #f7fbff;
  --white: #ffffff;
  --green: #16a36c;
  --amber: #f5a524;
  --shadow: 0 18px 45px rgba(11, 65, 130, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(10, 47, 111, .06);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; color: var(--blue-900); letter-spacing: 0; }
.logo-mark { width: 42px; height: 42px; border-radius: 8px; background: linear-gradient(135deg, var(--blue-900), var(--blue-500)); color: white; display: grid; place-items: center; font-weight: 900; }
.logo-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue-100); background: white; flex: 0 0 auto; }
.footer-logo { color: white; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a { padding: 10px 12px; border-radius: 8px; font-weight: 700; color: #29405d; font-size: 15px; }
.nav-menu a:hover, .nav-menu a.active { background: var(--blue-100); color: var(--blue-900); }
.btn, .nav-menu .cta, .ghost-btn {
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.btn, .nav-menu .cta { background: var(--blue-700); color: white; box-shadow: 0 10px 25px rgba(13,91,215,.22); }
.btn:hover, .nav-menu .cta:hover { background: var(--blue-900); color: white; }
.ghost-btn { background: white; color: var(--blue-900); border: 1px solid var(--line); }
.menu-toggle { display: none; border: 0; background: var(--blue-100); color: var(--blue-900); border-radius: 8px; padding: 10px; }

.hero {
  background:
    linear-gradient(115deg, rgba(10,47,111,.96), rgba(13,91,215,.82)),
    radial-gradient(circle at 82% 26%, rgba(255,255,255,.38), transparent 28%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='760' viewBox='0 0 1400 760'%3E%3Crect width='1400' height='760' fill='%23f4f9ff'/%3E%3Cg fill='none' stroke='%232487ff' stroke-width='2' opacity='.18'%3E%3Cpath d='M70 185h410v245H70zM545 130h350v210H545zM955 205h310v300H955z'/%3E%3Cpath d='M125 515h650M835 555h385M190 245h220M610 205h220M1005 275h205'/%3E%3C/g%3E%3Cg fill='%230d5bd7' opacity='.22'%3E%3Ccircle cx='1130' cy='142' r='82'/%3E%3Ccircle cx='330' cy='605' r='110'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  color: white;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 34px; align-items: center; padding: 64px 0 46px; }
.hero-copy { max-width: 760px; }
.eyebrow { color: var(--blue-500); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.hero .eyebrow { color: #a9d0ff; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(36px, 5vw, 64px); max-width: 820px; }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0; color: var(--muted); }
.hero p { color: #e8f2ff; font-size: 18px; max-width: 720px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .ghost-btn { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.32); }
.hero-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.hero-highlights div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 14px; backdrop-filter: blur(8px); }
.hero-highlights strong { display: block; font-size: 24px; color: white; line-height: 1; }
.hero-highlights span { display: block; color: #e8f2ff; font-size: 13px; font-weight: 750; margin-top: 6px; }
.hero-visual { position: relative; min-height: 420px; display: grid; align-items: center; }
.screen-card { position: relative; width: min(100%, 470px); margin-left: auto; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.6); border-radius: 8px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.24); }
.screen-top { display: flex; gap: 8px; margin-bottom: 24px; }
.screen-top span { width: 12px; height: 12px; border-radius: 50%; background: #d8e6f8; }
.code-line { height: 16px; width: 72%; border-radius: 999px; background: #d9e9ff; margin: 14px 0; }
.code-line.wide { width: 92%; background: #b9d8ff; }
.code-line.short { width: 50%; }
.mentor-card { margin-top: 26px; padding: 18px; border-radius: 8px; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: white; }
.mentor-card strong, .mentor-card span { display: block; }
.mentor-card span { color: #dcecff; margin-top: 4px; }
.tech-stack { position: absolute; right: 0; bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; width: min(350px, 85%); justify-content: flex-end; }
.tech-stack span { background: white; color: var(--blue-900); border-radius: 8px; padding: 10px 12px; font-weight: 900; box-shadow: var(--shadow); }
.featured-super { background: white; padding: 24px 0 8px; }
.super-banner { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.25fr) auto; gap: 20px; align-items: center; background: var(--blue-900); color: white; border-radius: 8px; padding: 24px; box-shadow: var(--shadow); }
.super-banner h2 { margin-top: 8px; font-size: clamp(26px, 3vw, 38px); }
.super-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; padding: 0; list-style: none; }
.super-points li { color: #e8f2ff; font-weight: 750; display: flex; gap: 8px; }
.super-points li::before { content: "✓"; color: #75f0b5; font-weight: 900; }
.hero-panel, .highlight-panel {
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-panel p, .highlight-panel p { color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; background: #fff5dc; color: #7c4c00; font-weight: 900; font-size: 13px; }
.feature-list { display: grid; gap: 10px; padding: 0; margin: 18px 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; color: #263b57; font-weight: 650; }
.feature-list li::before { content: "✓"; color: var(--green); font-weight: 900; }
.salary { background: var(--blue-100); color: var(--blue-900); padding: 12px; border-radius: 8px; font-weight: 900; margin: 16px 0; }

.section { padding: 56px 0; }
.section.alt { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 26px; }
.section-head p { max-width: 650px; margin-top: 8px; }
.grid { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-grid { grid-template-columns: 1.1fr .9fr; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(20, 72, 130, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-icon, .metric-icon { width: 46px; height: 46px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-weight: 900; margin-bottom: 14px; }
.card p { margin: 10px 0 18px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.link-btn { font-weight: 900; color: var(--blue-700); background: transparent; border: 0; padding: 0; cursor: pointer; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric { padding: 20px; border-radius: 8px; background: white; border: 1px solid var(--line); text-align: center; }
.metric strong { display: block; color: var(--blue-900); font-size: 34px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.logos span { flex: 1 1 128px; text-align: center; padding: 14px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #34445b; font-weight: 900; }

.video-rail { overflow: hidden; position: relative; }
.video-track { display: flex; gap: 16px; width: max-content; animation: rail 28s linear infinite; }
.video-card { width: 250px; min-height: 330px; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #0a2f6f, #2487ff 58%, #ffffff); color: white; position: relative; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.video-card::before { content: ""; position: absolute; inset: 16px 16px auto auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.16); }
.play { width: 58px; height: 58px; border-radius: 50%; background: white; color: var(--blue-700); display: grid; place-items: center; font-weight: 900; margin-bottom: 18px; }
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .45s ease; }
.testimonial { min-width: 100%; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 20px; color: #25364d; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #b8c9df; cursor: pointer; }
.slider-dots button.active { background: var(--blue-700); }

.contact-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-box { background: var(--blue-900); color: white; border-radius: 8px; padding: 28px; }
.contact-box p { color: #d9e9ff; margin-top: 10px; }
.contact-lines { display: grid; gap: 12px; margin: 20px 0; }
.contact-lines div { padding: 12px; background: rgba(255,255,255,.1); border-radius: 8px; }

.page-hero { background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); color: white; padding: 48px 0; }
.page-hero p { color: #e6f1ff; max-width: 760px; margin-top: 12px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 18px; }
.tab { white-space: nowrap; border: 1px solid var(--line); background: white; border-radius: 8px; padding: 11px 14px; font-weight: 850; cursor: pointer; color: var(--blue-900); }
.tab.active { background: var(--blue-700); color: white; border-color: var(--blue-700); }
.course-detail { display: none; }
.course-detail.active { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.detail-panel { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.detail-panel h3 { margin-top: 18px; }
.detail-panel ul { padding-left: 18px; color: #334761; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.legal-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: 0 8px 24px rgba(20, 72, 130, .06); }
.legal-card h2 { font-size: 24px; margin: 26px 0 10px; color: var(--blue-900); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card ul { color: #334761; padding-left: 20px; }
.legal-card li { margin: 6px 0; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.step::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-700); color: white; font-weight: 900; margin-bottom: 12px; }
.student-photo { height: 170px; border-radius: 8px; background: linear-gradient(145deg, #cfe4ff, #ffffff); display: grid; place-items: center; color: var(--blue-900); font-size: 46px; font-weight: 900; margin-bottom: 14px; }

.footer { background: #071f49; color: white; padding: 34px 0 20px; }
.footer p { color: #cbdcf3; max-width: 640px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.footer-links a { color: #dbeaff; font-weight: 750; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); margin-top: 24px; padding-top: 18px; color: #abc3e4; font-size: 14px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(3, 18, 45, .62); display: none; align-items: center; justify-content: center; padding: 18px; }
.modal-backdrop.show { display: flex; }
.modal { width: min(520px, 100%); background: white; border-radius: 8px; padding: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.25); position: relative; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--blue-100); color: var(--blue-900); font-weight: 900; cursor: pointer; }
.form-grid { display: grid; gap: 12px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; color: #29405d; font-size: 14px; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  background: white;
}
.form-note { font-size: 13px; margin: -2px 0 0; }
.form-note a { color: var(--blue-700); font-weight: 850; text-decoration: underline; }
.success { display: none; padding: 12px; border-radius: 8px; background: #e8fff4; color: #08744a; font-weight: 800; margin-top: 12px; }
.success.show { display: block; }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: var(--bg); }
.admin-side { background: var(--blue-900); color: white; padding: 22px; }
.admin-side nav { display: grid; gap: 8px; margin-top: 24px; }
.admin-side button { text-align: left; border: 0; border-radius: 8px; padding: 12px; background: rgba(255,255,255,.08); color: white; font-weight: 800; cursor: pointer; }
.admin-side button.active { background: white; color: var(--blue-900); }
.admin-main { padding: 24px; min-width: 0; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f0f6ff; color: var(--blue-900); }
.danger { background: #ffecec; color: #a31212; border: 0; border-radius: 8px; padding: 8px 10px; font-weight: 800; cursor: pointer; }
.mini { border: 0; background: var(--blue-100); color: var(--blue-900); border-radius: 8px; padding: 8px 10px; font-weight: 850; cursor: pointer; }
.login-screen { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); padding: 18px; }
.login-card { width: min(430px, 100%); background: white; border-radius: 8px; padding: 26px; box-shadow: var(--shadow); }

.reveal { opacity: 0; transform: translateY(18px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-menu { position: absolute; inset: 72px 16px auto 16px; display: none; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 12px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .hero-grid, .contact-band, .course-detail.active, .footer-grid, .split-grid, .legal-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .screen-card { margin: 0 auto; }
  .hero-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .super-banner { grid-template-columns: 1fr; }
  .super-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3, .cards-4, .metrics, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: start; flex-direction: column; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 1160px); }
  .nav-row { min-height: 64px; }
  .logo { min-width: 0; }
  .logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logo-img { width: 42px; height: 42px; }
  .nav-menu { top: 64px; }
  .hero-grid { padding: 38px 0 26px; }
  .hero-highlights, .super-points { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .tech-stack { position: static; width: 100%; justify-content: center; margin-top: 12px; }
  .featured-super { padding-top: 16px; }
  .cards-3, .cards-4, .metrics, .steps { grid-template-columns: 1fr; }
  .hero-actions, .card-actions { flex-direction: column; }
  .btn, .ghost-btn { width: 100%; }
  .section { padding: 40px 0; }
  .video-card { width: 210px; min-height: 292px; }
  .admin-main { padding: 16px; }
  .admin-side nav { grid-template-columns: 1fr; }
}
