/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --color-primary: #284AFF;
  --color-accent: #3660F3;
  --color-gradient-start: #090CB3;
  --color-gradient-end: #082CEC;
  --color-text-heading: #000000;
  --color-text-nav: #454545;
  --color-text-body: #777777;
  --color-text-hero-sub: #B3B3B3;
  --color-text-muted: #BEBEBE;
  --color-text-authority: #3C4640;
  --color-white: #FFFFFF;
  --color-bg-path: #F1F9FF;
  --color-bg-advantages: #F3F8FE;
  --color-bg-badge: #EEF0F4;
  --color-bg-footer: #01153A;
  --color-advantage-end: #E7E6ED;
  --font-primary: 'Noto Sans SC', sans-serif;
  --font-display: 'Aboreto', cursive;
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-primary); color: var(--color-text-heading); overflow-x: hidden; background: var(--color-white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ================================================
   LAYOUT
   ================================================ */
.container {
  max-width: 74.6875vw;
  margin: 0 auto;
  padding: 0 1.0417vw;
}

/* ================================================
   SECTION COMMON
   ================================================ */
.section-header { margin-bottom: 2.0833vw; }
.section-header--center { text-align: center; }

.section-title {
  font-size: 2.0833vw;
  font-weight: 700;
  color: var(--color-text-heading);
  letter-spacing: 0.2083vw;
  line-height: 2.7604vw;
}

.section-line {
  height: 0.2083vw; /* 4/1920 */
  background: #3D65F3;
  border-radius: 0.1042vw;
  margin-top: 0.4167vw;
}

.section-header--center .section-line { margin-left: auto; margin-right: auto; }

.section-desc {
  font-size: 1.25vw;
  font-weight: 500;
  color: var(--color-text-body);
  letter-spacing: 0.24px;
  line-height: 2.2396vw;
  margin-top: 0.8333vw;
}

.text-primary { color: var(--color-primary); }

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  height: 6.7708vw;
  background: var(--color-white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand { display: flex; align-items: center; gap: 0.7292vw; }

.nav-logo {
  width: 3.6458vw;
  height: 3.6458vw;
  border-radius: 0.9896vw;
  object-fit: cover;
}

.nav-brand-text {
  font-size: 1.6667vw;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.0833vw;
}

.nav-links { display: flex; gap: 9.8958vw; }

.nav-link {
  font-size: 1.0417vw;
  font-weight: 700;
  color: var(--color-text-nav);
  padding: 0.4167vw;
  transition: color 0.3s;
}

.nav-link.active { color: var(--color-primary); }
.nav-link:hover { color: var(--color-primary); }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.25vw;
  font-weight: 700;
  letter-spacing: 0.0625vw;
  height: 3.8542vw;
  border-radius: 2.0833vw;
  cursor: pointer;
  transition: opacity 0.3s;
  border: none;
  white-space: nowrap;
}

.btn:hover { opacity: 0.9; }

.btn-primary-gradient {
  background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
  color: var(--color-white);
  padding: 0 2.0833vw;
  min-width: 16.0938vw;
}

.btn-outline-white {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
  padding: 0 2.0833vw;
  min-width: 13.1771vw;
}

/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--color-bg-footer); color: var(--color-white); }

.footer-inner { padding: 1.7188vw 3.4896vw 2.0833vw; }
.footer-top { display: flex; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8333vw;
  margin-bottom: 1.4583vw;
}

.footer-logo-icon {
  width: 4.375vw;
  height: 4.375vw;
  border-radius: 0.9896vw;
  object-fit: cover;
}

.footer-brand-name { font-size: 1.6667vw; font-weight: 700; letter-spacing: 0.0833vw; }

.footer-brand-col { width: 23.4375vw; flex-shrink: 0; }

.footer-nav-links {
  font-size: 0.8333vw;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.7708vw;
  margin-bottom: 1.4583vw;
}

.footer-contact p { font-size: 0.7292vw; font-weight: 500; letter-spacing: 0.7px; line-height: 1.5625vw; }

.footer-courses-col { margin-left: 3.6458vw; }
.footer-support-col { margin-left: 17.0313vw; }

.footer-col h4 {
  font-size: 0.8333vw;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.5625vw;
  margin-bottom: 0.8333vw;
  margin-top: 1.7708vw;
}

.footer-col ul li { font-size: 0.7292vw; font-weight: 500; letter-spacing: 0.7px; line-height: 1.5625vw; }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 1.5625vw auto 0;
}

.footer-disclaimer {
  font-size: 0.8333vw;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 1.5625vw;
  text-align: center;
  margin-top: 1.0417vw;
}

.footer-bottom { text-align: center; margin-top: 1.0417vw; }
.footer-bottom p { font-size: 0.8333vw; font-weight: 400; line-height: 1.4; margin-bottom: 0.3125vw; }
.footer-bottom p:last-child { margin-bottom: 0; }

.footer-nav-links a {
  color: var(--color-white);
  transition: opacity 0.3s;
}
.footer-nav-links a:hover {
  opacity: 0.7;
}
.footer-bottom a {
  color: var(--color-white);
  transition: opacity 0.3s;
}
.footer-bottom a:hover {
  opacity: 0.7;
}

/* ================================================
   RESPONSIVE — ≤1023px (Shared: Nav + Footer + Layout)
   ================================================ */
@media (max-width: 1023px) {
  .container { padding: 0 20px; max-width: 100%; }

  .footer, .nav {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Nav */
  .nav { height: 60px; }
  .nav-logo { width: 36px; height: 36px; border-radius: 10px; }
  .nav-brand-text { font-size: 18px; letter-spacing: 0.5px; }
  .nav-links { gap: 20px; }
  .nav-link { font-size: 14px; padding: 4px; }

  /* Buttons */
  .btn { width: 100%; justify-content: center; font-size: 16px; height: 50px; border-radius: 25px; }
  .btn-primary-gradient, .btn-outline-white { min-width: 0; padding: 0 20px; }

  /* Section common */
  .section-title { font-size: 24px; line-height: 34px; letter-spacing: 1.5px; }
  .section-desc { font-size: 15px; line-height: 26px; }
  .section-line { height: 3px; }

  /* Footer */
  .footer-inner { padding: 22px 20px 28px; }
  .footer-top { flex-direction: column; gap: 18px; }
  .footer-brand-col { width: 100%; }
  .footer-brand { gap: 10px; margin-bottom: 14px; }
  .footer-logo-icon { width: 48px; height: 48px; }
  .footer-brand-name { font-size: 22px; }
  .footer-nav-links { font-size: 14px; line-height: 28px; margin-bottom: 12px; }
  .footer-contact p { font-size: 13px; line-height: 24px; }
  .footer-courses-col { margin-left: 0; }
  .footer-support-col { margin-left: 0; }
  .footer-col h4 { font-size: 14px; margin-top: 0; margin-bottom: 8px; }
  .footer-col ul li { font-size: 13px; line-height: 26px; }
  .footer-divider { margin-top: 18px; }
  .footer-disclaimer { font-size: 13px; margin-top: 14px; }
  .footer-bottom { margin-top: 14px; }
  .footer-bottom p { font-size: 13px; }
}
