/* ============================================================
   Nexus Cursos — style.css
   Identidade: índigo #4F46E5 ? violeta #7C3AED ? rosa #EC4899
   Dark #0F0F23 / Light #FAFAFF · Space Grotesk + Inter
   ============================================================ */

:root {
  --indigo: #4F46E5;
  --violet: #7C3AED;
  --pink: #EC4899;
  --dark: #0F0F23;
  --dark-2: #16162e;
  --light: #FAFAFF;
  --ink: #1E1B4B;
  --ink-soft: #4b477a;
  --white-soft: rgba(255, 255, 255, 0.78);
  --grad: linear-gradient(120deg, var(--indigo), var(--violet), var(--pink));
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --font-title: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow-card: 0 18px 45px rgba(15, 15, 35, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.2rem; }

a { color: inherit; }

ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* Foco visível (acessibilidade) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- utilitários ---------- */
.gradient-text {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

.section--light { background: var(--light); color: var(--ink); }
.section--dark { background: var(--dark); color: var(--white-soft); }
.section--dark h2 { color: #fff; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-head p { margin-top: 0.75rem; color: var(--ink-soft); }
.section-head--light p { color: var(--white-soft); }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease;
}

.btn--gradient {
  color: #fff;
  background: var(--grad);
  background-size: 200% 200%;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.btn--gradient:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.4);
}

.btn--ghost {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
}

.btn--lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(15, 15, 35, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}

.nav__brand img { width: 180px; height: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  color: var(--white-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 0.3s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 7.5rem 0 4rem;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(79, 70, 229, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 30%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 50% at 50% 95%, rgba(236, 72, 153, 0.22), transparent 60%);
  background-size: 160% 160%;
  animation: glowDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowDrift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.12);
  color: #fbcfe8;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--white-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero__stats {
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-title);
  font-size: 1.5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stats span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.hero__figure {
  position: relative;
}
.hero__figure img {
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__chip {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 15, 35, 0.55);
  animation: chipFloat 5s ease-in-out infinite;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   CATEGORIAS
   ============================================================ */
.categories { padding: 4.5rem 0 1rem; }

.categories__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cat-pill {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-pill:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-card); }

.cat-pill--tech      { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.cat-pill--gestao    { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.cat-pill--saude     { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.cat-pill--industria { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.cat-pill--design    { background: #fce7f3; color: #9d174d; border-color: #fbcfe8; }

/* ============================================================
   CURSOS (grid marketplace + tilt 3D)
   ============================================================ */
.courses { padding: 4.5rem 0 5.5rem; }

.courses__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.course-card {
  background: #fff;
  border: 1px solid #e7e5f4;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.06);
  transition: box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.course-card:hover {
  box-shadow: 0 24px 55px rgba(79, 70, 229, 0.18);
}

.course-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}
.badge--tech      { background: #e0e7ff; color: #3730a3; }
.badge--gestao    { background: #fef3c7; color: #92400e; }
.badge--saude     { background: #d1fae5; color: #065f46; }
.badge--industria { background: #fee2e2; color: #991b1b; }
.badge--design    { background: #fce7f3; color: #9d174d; }
.badge--mode      { background: #f3f2fb; color: var(--ink-soft); border: 1px solid #e7e5f4; }

.course-card h3 { color: var(--ink); }
.course-card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }

.course-card__meta {
  display: flex;
  gap: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo);
  border-top: 1px dashed #e7e5f4;
  padding-top: 0.8rem;
}

/* ============================================================
   METODOLOGIA
   ============================================================ */
.method { padding: 5.5rem 0; }

.method__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.method__figure {
  display: grid;
  gap: 1.2rem;
}
.method__figure img {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.method__img--offset { transform: translateX(2rem); }

.method__steps {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}
.method__steps li {
  padding: 1.1rem 1.4rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.method__steps li:hover {
  transform: translateX(6px);
  border-color: rgba(236, 72, 153, 0.45);
}
.method__steps strong {
  display: block;
  font-family: var(--font-title);
  color: #fff;
  margin-bottom: 0.25rem;
}
.method__steps p { font-size: 0.92rem; }

.method__mentoria img {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

/* ============================================================
   NEXUS HUB
   ============================================================ */
.hub {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(236, 72, 153, 0.12), transparent 60%),
    var(--dark-2);
}

.hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.hub-card {
  padding: 1.75rem 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.hub-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: var(--grad);
  margin-bottom: 1rem;
}

.hub-card h3 { color: #fff; margin-bottom: 0.4rem; }
.hub-card p { font-size: 0.92rem; }

.hub__cta {
  text-align: center;
  margin-top: 2.75rem;
}

/* ============================================================
   NÚMEROS
   ============================================================ */
.numbers {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.number-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
}
.number-item span { font-size: 0.95rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials { padding: 5.5rem 0; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e7e5f4;
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.4rem; left: 1.2rem;
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.14);
}
.testimonial-card p {
  margin: 1.6rem 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.testimonial-card footer strong {
  display: block;
  font-family: var(--font-title);
  color: var(--ink);
}
.testimonial-card footer span { font-size: 0.85rem; color: var(--ink-soft); }

/* ============================================================
   CONTATO
   ============================================================ */
.contact {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 65% 55% at 90% 85%, rgba(79, 70, 229, 0.2), transparent 60%),
    var(--dark);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__info p { max-width: 30rem; }

.contact__address {
  font-style: normal;
  margin-top: 1.75rem;
  display: grid;
  gap: 0.6rem;
}
.contact__address a { color: #fff; text-decoration-color: var(--pink); }

.contact__form {
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}

.form-field { display: grid; gap: 0.35rem; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field select option { color: var(--ink); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--pink);
  background: rgba(255, 255, 255, 0.1);
}

.form-feedback {
  min-height: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: #f9a8d4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.form-feedback.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a0a1a;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 20rem; }

.footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer ul { display: grid; gap: 0.55rem; }
.footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--pink); }
.footer p { font-size: 0.9rem; }
.footer__contact p + p { margin-top: 0.5rem; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  background: var(--dark);
  color: var(--white-soft);
  position: relative;
  overflow: hidden;
}

.login-page__canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.login-page__glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 20% 15%, rgba(79, 70, 229, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 80%, rgba(236, 72, 153, 0.25), transparent 60%);
  background-size: 160% 160%;
  animation: glowDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.login-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 4%;
}

.login-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(920px, 100%);
  overflow: hidden;
  background: rgba(22, 22, 46, 0.55);
}

.login-panel__side {
  padding: 3rem 2.5rem;
  background:
    linear-gradient(160deg, rgba(79, 70, 229, 0.35), rgba(124, 58, 237, 0.22) 55%, rgba(236, 72, 153, 0.25));
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.login-panel__side h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: #fff;
}
.login-panel__brand img { width: 170px; height: auto; }

.login-panel__perks {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.login-panel__back {
  margin-top: auto;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.login-panel__back:hover { color: var(--pink); }

.login-panel__forms {
  padding: 3rem 2.5rem;
}

.login-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 2rem;
}

.login-tab {
  position: relative;
  z-index: 1;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 0;
  cursor: pointer;
  transition: color 0.3s ease;
}
.login-tab.is-active { color: #fff; }

.login-tabs__slider {
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--grad);
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.login-tabs.register-active .login-tabs__slider { transform: translateX(100%); }

.auth-form {
  display: none;
  gap: 1.1rem;
}
.auth-form.is-active { display: grid; }

.auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.checkbox { display: flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.checkbox input { accent-color: var(--violet); }
.auth-form__forgot { color: #f9a8d4; text-decoration: none; }
.auth-form__forgot:hover { text-decoration: underline; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
  .hub__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 560px; }
  .hero__chip { left: 1rem; }
  .method__grid { grid-template-columns: 1fr; }
  .method__img--offset { transform: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }

  .login-panel { grid-template-columns: 1fr; }
  .login-panel__side { border-right: none; border-bottom: 1px solid var(--glass-border); }

  /* menu mobile */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 62px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    width: min(320px, 82vw);
    height: calc(100vh - 62px);
    padding: 2rem 1.75rem;
    background: rgba(15, 15, 35, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.05rem; }
}

@media (max-width: 560px) {
  .courses__grid { grid-template-columns: 1fr; }
  .hub__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 6.5rem; }
  .hero__stats { gap: 1.5rem; }
  .login-panel__side, .login-panel__forms { padding: 2rem 1.5rem; }
  .contact__form { padding: 1.5rem; }
}
