/* ===== Main landing (akademicuanai.com) - shared design system ===== */
:root {
  --primary: #5388FF;
  --dark-primary: #06265F;
  --button: #1378CB;
  --background: #000000;
  --text: #FFFFFF;
  --highlight: #63FE3A;
  --warning: #A61310;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: transparent;
  transition: background 0.2s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

.navbar__logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

/* ===== Hero (main) ===== */
.hero--main {
  padding-top: 6rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.3;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero__description {
  font-size: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ===== Programs grid ===== */
.programs {
  padding: 2rem 0 4rem;
}

.section-title {
  font-size: 1.75em;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  font-weight: bold;
}

.programs__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.program-card {
  display: block;
  padding: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  background: rgba(83, 136, 255, 0.06);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  color: var(--text);
}

.program-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(83, 136, 255, 0.2);
}

.program-card__placeholder {
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.program-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.5em;
  color: var(--primary);
}

.program-card__desc {
  margin: 0 0 1rem;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.program-card__cta {
  font-weight: 600;
  color: var(--highlight);
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--background) 0%, var(--dark-primary) 100%);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.footer .container {
  text-align: center;
}

.footer__brand {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer__links {
  margin: 1rem 0;
}

.footer__links a {
  color: var(--text);
  margin: 0 0.5rem;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__copyright {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* ===== Legal page (Terms & Conditions) ===== */
.legal-page {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.legal-page__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 2rem;
  color: var(--text);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--primary);
}

.legal-section p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.65;
}

.legal-section--disclaimer p {
  font-weight: 500;
}

.legal-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 3rem 0;
}
