* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --bg-soft: #0c1a2f;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #b8c3d3;
  --accent: #6ae3ff;
  --accent-2: #7a7dff;
  --glow: 0 0 40px rgba(106, 227, 255, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(122, 125, 255, 0.15), transparent 30%),
    radial-gradient(circle at right center, rgba(106, 227, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #05101d, #091628, #061120);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.section {
  padding: 90px 0;
}

.section-dark {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.center {
  text-align: center;
}

.section-label,
.tag,
.popup-tag {
  color: var(--accent);
  letter-spacing: 1.8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 50px;
}

.section-head h2,
.two-col h2,
.cta-box h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-head p,
.hero-text,
.two-col p,
.cta-box p,
.service-card p,
.timeline-item p,
.benefit-card p,
.site-footer p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(3, 10, 20, 0.65);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  transition: 0.3s ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-btn,
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  transition: 0.3s ease;
  font-weight: 700;
}

.nav-btn,
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #04101d;
  box-shadow: var(--glow);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.btn:hover,
.nav-btn:hover,
.card-btn:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0 50px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(106, 227, 255, 0.14), transparent 22%),
    radial-gradient(circle at 80% 30%, rgba(122, 125, 255, 0.16), transparent 24%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  min-width: 145px;
  backdrop-filter: blur(10px);
}

.stat-box h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: var(--accent);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.glass-card {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--glow);
}

.card-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.glass-card h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.glass-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.glass-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.card-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.service-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card,
.benefit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  transition: 0.3s ease;
}

.service-card:hover,
.benefit-card:hover,
.timeline-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.service-card h3,
.benefit-card h3,
.timeline-item h3 {
  margin-bottom: 12px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  transition: 0.3s ease;
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.cta-section {
  padding-top: 60px;
  padding-bottom: 100px;
}

.cta-box {
  text-align: center;
  max-width: 920px;
  padding: 50px 28px;
  background: linear-gradient(135deg, rgba(106, 227, 255, 0.08), rgba(122, 125, 255, 0.08));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--glow);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
  padding-bottom: 34px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
  color: var(--muted);
}

/* Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(2, 8, 18, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, rgba(106, 227, 255, 0.13), transparent 24%),
    radial-gradient(circle at right center, rgba(122, 125, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #04101c, #081424, #030912);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  text-align: center;
  max-width: 760px;
  padding: 30px;
}

.popup-content h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 16px;
}

.popup-content p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: 0.3s ease;
}

.popup-close:hover {
  background: rgba(255,255,255,0.16);
}

.popup-note {
  font-size: 0.92rem;
  opacity: 0.85;
}
.popup-course-content {
  max-width: 1100px;
  width: 100%;
}

.popup-subtext {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 34px 0 30px;
}

.course-card {
  position: relative;
  padding: 28px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  text-align: left;
  cursor: pointer;
  transition: 0.3s ease;
  min-height: 220px;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(106, 227, 255, 0.14);
  border-color: rgba(106, 227, 255, 0.45);
}

.course-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 35px rgba(106, 227, 255, 0.18);
  background: linear-gradient(180deg, rgba(106, 227, 255, 0.08), rgba(255,255,255,0.04));
}

.course-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.course-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.course-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #04101d;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.popup-action-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.popup-main-btn {
  min-width: 320px;
}

@media (max-width: 992px) {
  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .popup-main-btn {
    min-width: 100%;
  }
}

/* Policy pages content */
.policy-section {
  padding: 120px 0 80px;
}

.policy-box {
  max-width: 920px;
  margin: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 28px;
}

.policy-box h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.policy-box h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.policy-box p,
.policy-box li {
  color: var(--muted);
}

.policy-box ul {
  padding-left: 20px;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .two-col,
  .footer-grid,
  .timeline,
  .service-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .btn,
  .nav-btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .popup-content {
    padding: 24px 16px;
  }

  .popup-close {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}