/* NEAITECH Academy hub */
:root {
  --navy: #0c1f3d;
  --blue: #1565c0;
  --blue-deep: #0d47a1;
  --cyan: #0891b2;
  --green: #2e7d32;
  --purple: #6a1b9a;
  --muted: #5a6f88;
  --bg: #f4f7fb;
  --card: #ffffff;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 20px 50px rgba(15, 39, 68, 0.1);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 10% -10%, rgba(21,101,192,0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 20%, rgba(8,145,178,0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(106,27,154,0.08), transparent 55%);
}
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }

/* Top */
.top {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid rgba(21,101,192,0.1);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-weight: 800; letter-spacing: 0.02em;
}
.brand em { font-style: italic; font-weight: 500; color: var(--blue); font-family: var(--serif); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--blue-deep), var(--cyan));
  box-shadow: 0 8px 18px rgba(13,71,161,0.3);
}
.top-nav { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; font-weight: 600; font-size: 0.92rem; }
.top-nav a { color: var(--muted); }
.top-nav a:hover { color: var(--blue); }
.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  padding: 0.5rem 0.9rem; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(13,71,161,0.25);
}

/* Hero */
.hero { padding: 2.5rem 0 1.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center;
}
.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 0.6rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12;
  margin: 0 0 1rem; color: var(--navy);
}
.hero h1 em { font-style: italic; color: var(--blue); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 48ch; margin: 0 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.hero-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.hero-pills li {
  font-size: 0.78rem; font-weight: 700; color: #334e6b;
  border: 1px solid rgba(21,101,192,0.16); background: #fff;
  padding: 0.35rem 0.7rem; border-radius: 999px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.94rem; border-radius: 12px;
  padding: 0.85rem 1.25rem; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 12px 28px rgba(13,71,161,0.28);
}
.btn-secondary {
  color: var(--blue-deep); background: #fff;
  border: 2px solid rgba(21,101,192,0.25);
}
.btn-ghost {
  color: var(--muted); background: #eef2f7;
  border: 1px dashed rgba(90,111,136,0.35);
}
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }

/* Hero visual */
.hero-stage {
  position: relative; min-height: 340px;
  display: grid; place-items: center;
}
.hero-orb {
  width: 240px; height: 240px; position: relative;
  display: grid; place-items: center;
}
.hero-orb-core {
  width: 130px; height: 130px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  color: #fff; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #64b5f6, #0d47a1 70%);
  box-shadow: 0 20px 50px rgba(13,71,161,0.35);
  animation: orb-breathe 4s ease-in-out infinite;
}
.hero-orb-core span { font-weight: 800; letter-spacing: 0.08em; font-size: 0.95rem; }
.hero-orb-core small { opacity: 0.9; font-size: 0.72rem; }
.hero-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(21,101,192,0.35);
}
.hero-orb-ring.r1 { animation: spin 18s linear infinite; }
.hero-orb-ring.r2 {
  inset: 18px; border-style: solid; border-color: rgba(8,145,178,0.25);
  animation: spin 12s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.float-chip {
  position: absolute; font-size: 0.75rem; font-weight: 800;
  padding: 0.45rem 0.75rem; border-radius: 999px; background: #fff;
  box-shadow: var(--shadow); color: var(--navy);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip.c1 { top: 12%; left: 4%; color: var(--green); animation-delay: 0s; }
.float-chip.c2 { top: 18%; right: 0; color: var(--blue); animation-delay: 0.6s; }
.float-chip.c3 { bottom: 22%; left: 0; color: var(--purple); animation-delay: 1.1s; }
.float-chip.c4 { bottom: 12%; right: 6%; color: #c62828; animation-delay: 1.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Intro */
.intro { padding: 0.5rem 0 1rem; }
.intro-card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow); border: 1px solid rgba(21,101,192,0.1);
}
.intro-card h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.7rem;
  margin: 0 0 0.6rem;
}
.intro-card > p { color: var(--muted); margin: 0 0 1.2rem; max-width: 70ch; }
.intro-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.intro-stats div {
  text-align: center; padding: 0.75rem 0.5rem; border-radius: 14px;
  background: linear-gradient(160deg, #e3f2fd, #fff);
  border: 1px solid rgba(21,101,192,0.1);
}
.intro-stats strong { display: block; font-size: 1.25rem; color: var(--blue-deep); }
.intro-stats span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

/* Courses */
.courses { padding: 2.5rem 0 2rem; }
.sec-head { margin-bottom: 1.4rem; max-width: 640px; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0.2rem 0 0.5rem;
}
.sec-head p { color: var(--muted); margin: 0; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.course {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 36px rgba(15,39,68,0.12);
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  isolation: isolate;
  background: #0c1f3d;
}
.course.live { background: linear-gradient(145deg, #0d47a1, #1565c0); }
.course.soon { background: linear-gradient(145deg, #37474f, #546e7a); }

.course-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; pointer-events: none;
  transform: scale(1.03);
  transition: transform 0.4s ease;
}
.course:hover .course-bg-img { transform: scale(1.08); }

.course-bg-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(165deg, rgba(8,20,40,0.28) 0%, rgba(8,20,40,0.55) 42%, rgba(8,20,40,0.9) 100%);
  transition: background 0.25s ease;
}
.course:hover .course-bg-veil {
  background:
    linear-gradient(165deg, rgba(8,20,40,0.2) 0%, rgba(8,20,40,0.48) 40%, rgba(8,20,40,0.88) 100%);
}

.course-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 0.45rem;
  flex: 1;
  padding: 1.35rem 1.35rem 1.25rem;
  justify-content: flex-end;
}

.course:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(8,20,40,0.28);
  border-color: rgba(100,181,246,0.4);
}
.course.live:hover { border-color: rgba(129,199,132,0.55); }

.course-top {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem;
  margin-bottom: auto;
}
.course-ico { display: none !important; }

.badge {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px;
  backdrop-filter: blur(8px);
}
.live-badge {
  background: rgba(232,245,233,0.92); color: #1b5e20; border: 1px solid #a5d6a7;
}
.soon-badge {
  background: rgba(236,239,241,0.9); color: #455a64; border: 1px solid #cfd8dc;
}

.course h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.4rem; margin: 0; line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.course-tag {
  margin: 0; font-size: 0.8rem; font-weight: 700;
  color: #90caf9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.course-inner > p:not(.course-tag) {
  margin: 0; color: rgba(255,255,255,0.88); font-size: 0.9rem; line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.course-meta {
  list-style: none; margin: 0.2rem 0 0.55rem; padding: 0;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.course-meta li {
  font-size: 0.82rem; color: rgba(255,255,255,0.9); font-weight: 600;
  padding-left: 1rem; position: relative;
}
.course-meta li::before {
  content: "◆"; position: absolute; left: 0; color: #64b5f6; font-size: 0.55rem; top: 0.3rem;
}

.btn-course {
  display: block; width: 100%; text-align: center;
  font-weight: 800; font-size: 0.92rem;
  border-radius: 12px; padding: 0.85rem 1rem;
  border: none; cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-course-live {
  color: #0d47a1 !important;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn-course-live:hover {
  transform: translateY(-2px);
  background: #e3f2fd;
  color: #0d47a1 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.btn-course-soon {
  color: rgba(255,255,255,0.75) !important;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28) !important;
  cursor: not-allowed;
  opacity: 0.95;
}

/* CTA */
.cta-band {
  margin: 1rem 0 2.5rem;
  position: relative; z-index: 1;
}
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(135deg, #0d47a1, #1565c0 55%, #0288d1);
  color: #fff; box-shadow: 0 20px 48px rgba(13,71,161,0.3);
}
.cta-inner h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: 0 0 0.3rem;
}
.cta-inner p { margin: 0; opacity: 0.92; }
.cta-inner .btn-primary {
  background: #fff; color: var(--blue-deep);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* Footer */
.foot {
  border-top: 1px solid rgba(15,39,68,0.08);
  padding: 1.25rem 0 1.6rem;
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.6);
}
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  font-size: 0.88rem; color: var(--muted);
}
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.foot-inner a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 280px; order: -1; }
  .course-grid { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .top-nav a:not(.nav-cta) { display: none; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
}

/* v=ceh-live-20260806 */
