/* ── Content Protection (disabled) ── */
img {
  -webkit-user-drag: none;
  user-drag: none;
}


/* ═══════════════════════════════════════════
   QUANTA — Design System
   ═══════════════════════════════════════════ */
:root {
  --q-font: "Poppins", system-ui, sans-serif;
  /* Brand */
  --q-navy:    #141b4f;
  --q-navy-l:  #1e2766;
  --q-navy-d:  #0c1030;
  --q-royal:   #3528d9;
  --q-accent:  #e45b7c;
  --q-accent2: #c73d5f;
  /* Neutrals */
  --q-ink:     #0f172a;
  --q-muted:   #475569;
  --q-soft:    #64748b;
  /* Warm bg */
  --q-warm-a:  #ede0d0;
  --q-warm-b:  #f5ece0;
  --q-warm-c:  #e2d0b8;
  /* Util */
  --q-white:   #ffffff;
  --q-r-sm:    10px;
  --q-r-md:    16px;
  --q-r-lg:    22px;
  --q-r-xl:    28px;
  --q-sh-sm:   0 2px 12px rgba(20,27,79,.07);
  --q-sh-md:   0 8px 28px rgba(20,27,79,.11);
  --q-sh-lg:   0 18px 48px rgba(20,27,79,.16);
  --q-ease:    cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { scroll-behavior: smooth; }
html, body { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; }

body {
  margin: -24px 0 0 0px;
  font-family: var(--q-font);
  color: var(--q-ink);
  overflow-x: hidden;
      background:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(255,255,255,.6) 0%, transparent 55%),
    linear-gradient(160deg, var(--q-warm-b) 0%, var(--q-warm-a) 50%, var(--q-warm-c) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}



/* ══════════════════════════════
   HOME SCREEN
══════════════════════════════ */
.home-screen {
min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
justify-content: flex-start;
  padding: 0 clamp(16px,4vw,32px) 80px;  
  position: relative;
  overflow: hidden;
background-color: var(--q-warm-b);

}

.home-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,255,255,.5) 0%, transparent 60%);
  pointer-events: none;
}

.home-screen .hero,
.home-screen .cards { position: relative; z-index: 1; }

/* ── Hero wrap — 3 column: ranking | hero | updates ── */
.hero-wrap {
  display: grid;
  grid-template-columns: minmax(278px, 300px) minmax(0, 1fr) minmax(278px, 300px);
  align-items: flex-start;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 30px);
  width: 100%;
  max-width: 1168px;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  grid-column: 2;
  text-align: center;
  max-width: 610px;
  width: 100%;
  padding-top: 20px;
  min-width: 0;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--q-accent);
  background: rgba(228,91,124,.1);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(228,91,124,.22);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--q-navy);
}

.hero h1 .accent-text {
  background: linear-gradient(110deg, var(--q-accent) 0%, #f06292 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--q-soft);
}

.hero-brand { font-weight: 800; color: var(--q-accent); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* ── Hero Ranking Panel (left column) ── */
.hero-ranking {
  grid-column: 1;
  width: 100%;
  background: #fff;
  border-radius: var(--q-r-xl);
  box-shadow: var(--q-sh-md);
  overflow: hidden;
  border: 1px solid rgba(20,27,79,.07);
  margin-top: 20px;
  align-self: flex-start;
  position: sticky;
  top: 90px;
  order: -1;
}

/* ── Hero Updates Panel ── */
.hero-updates {
  grid-column: 3;
  width: 100%;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--q-r-xl);
  box-shadow: var(--q-sh-md);
  overflow: hidden;
  margin-top: 20px;
  align-self: flex-start;
  position: sticky;
  top: 90px;
}

.hero-updates__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(20,27,79,.07);
}

.hero-updates__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: upd-pulse 2s ease-in-out infinite;
}

@keyframes upd-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,.08); }
}

.hero-updates__title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--q-navy);
}

.hero-updates__list {
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 8px 0;
}

.hero-updates__list::-webkit-scrollbar { display: none; }

.hero-updates__item {
  padding: 0;
  border-bottom: 1px solid rgba(20,27,79,.05);
}

.hero-updates__item:last-child { border-bottom: none; }

.hero-updates__link,
.hero-updates__text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--q-navy);
  text-decoration: none;
  line-height: 1.4;
  transition: background .15s ease;
}

.hero-updates__link:hover {
  background: rgba(53,40,217,.05);
  color: var(--q-royal);
}

.hero-updates__arrow {
  flex-shrink: 0;
  color: var(--q-accent);
  font-weight: 800;
  font-size: .8rem;
  margin-top: 1px;
}

/* Responsive — stack on mobile */
@media (max-width: 1100px) {
  .hero-wrap {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    max-width: 900px;
  }
  .hero {
    grid-column: 2;
    max-width: 560px;
  }
  .hero-updates {
    grid-column: 1 / -1;
    position: static;
    width: min(100%, 620px);
    justify-self: center;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .hero-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    gap: 18px;
  }
  .hero {
    max-width: 100%;
    padding-top: 0;
    order: 2;
  }
  .hero-ranking {
    width: 100%;
    max-width: 540px;
    position: static;
    order: 1;
    align-self: center;
  }
  .hero-updates {
    width: 100%;
    max-width: 480px;
    position: static;
    order: 3;
    align-self: center;
  }
}

/* ── Cards row ── */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px,2.5vw,22px);
  max-width: 1000px;
  margin: clamp(44px,7vw,64px) auto 0;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border-radius: var(--q-r-xl);
  min-width: 240px;
  max-width: 300px;
  flex: 1;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--q-ease), box-shadow .3s var(--q-ease);
  box-shadow: var(--q-sh-md);
}

.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 110% 110%, rgba(255,255,255,.14) 0%, transparent 55%);
  pointer-events: none;
}

.course-card:hover { transform: translateY(-5px); box-shadow: var(--q-sh-lg); }

.course-card--sky  { background: linear-gradient(145deg,#5b8ef7,#2d5be3,#1a3fc7); }
.course-card--rose { background: linear-gradient(145deg,#f06292,#e45b7c,#c73d5f); }
.course-card--navy { background: linear-gradient(145deg,#2d3a8c,#141b4f,#0c1030); }
.course-card--quiz { background: linear-gradient(145deg,#7c3aed,#5b21b6,#4c1d95); }

.card-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.card-icon-wrap svg { color: #fff; }
.card-body { flex: 1; }

.card-tag {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}

.card-title {
  font-size: 1rem; font-weight: 700;
  color: #fff; line-height: 1.25;
  margin-bottom: 5px;
}

.card-desc {
  font-size: .8rem; color: rgba(255,255,255,.68);
  font-weight: 500; line-height: 1.4;
}

.card-cta {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.14);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  transition: background .2s ease;
  align-self: flex-start;
}

.course-card:hover .card-cta { background: rgba(255,255,255,.26); }

/* ══════════════════════════════
   MEET SECTION
══════════════════════════════ */
.meet-section {
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 55%, var(--q-navy-l) 100%);
  padding: clamp(56px,9vw,96px) clamp(18px,4vw,32px);
  position: relative;
  overflow: hidden;
}

.meet-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 100% 50%, rgba(228,91,124,.2) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 0% 30%, rgba(53,40,217,.22) 0%, transparent 50%);
  pointer-events: none;
}

.meet-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,5vw,72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.meet-text { text-align: left; }

.meet-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 8px;
}

.meet-role {
  font-size: clamp(.85rem,1.2vw,.95rem);
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.meet-name {
  font-size: clamp(2.6rem,5.5vw,4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(110deg, #fff 0%, rgba(228,91,124,.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.meet-desc {
  font-size: clamp(.95rem,1.5vw,1.05rem);
  line-height: 1.72;
  color: rgba(255,255,255,.68);
  max-width: 32rem;
  margin-bottom: 28px;
}

.meet-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.meet-photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.meet-photo::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 60%;
  background: radial-gradient(ellipse at center bottom, rgba(228,91,124,.28) 0%, transparent 70%);
  pointer-events: none;
}

.meet-photo img {
  width: min(80%, 360px);
  height: auto;
  display: block;
  object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.32));
}

/* ══════════════════════════════
   FEATURES SECTION
══════════════════════════════ */
.features-section {
  padding: clamp(56px,8vw,80px) clamp(18px,4vw,32px) clamp(56px,8vw,80px);
}

.features-inner { max-width: 1000px; margin: 0 auto; }

.features-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.4rem,2.8vw,1.9rem);
  font-weight: 800;
  color: var(--q-navy);
  letter-spacing: -.02em;
  margin-bottom: clamp(28px,4vw,44px);
}

.features-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--q-accent), var(--q-royal));
  box-shadow: 0 0 0 4px rgba(228,91,124,.18);
  flex-shrink: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px;
  background: linear-gradient(145deg, var(--q-navy-l) 0%, var(--q-navy) 55%, var(--q-navy-d) 100%);
  border-radius: var(--q-r-lg);
  color: #fff;
  min-height: 150px;
  box-shadow: var(--q-sh-md);
  transition: transform .28s var(--q-ease), box-shadow .28s var(--q-ease);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--q-accent), var(--q-royal));
  opacity: 0;
  transition: opacity .28s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--q-sh-lg); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.08);
  border-radius: var(--q-r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg { width: 32px; height: 32px; display: block; }

.feature-text {
  font-size: clamp(.85rem,1.4vw,.95rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-banner-wrap {
  padding: 0 clamp(18px,4vw,32px) clamp(56px,8vw,80px);
}

.cta-banner { max-width: 1000px; margin: 0 auto; }

.cta-banner-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px,4vw,44px);
  align-items: center;
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 55%, var(--q-navy-l) 100%);
  border-radius: var(--q-r-xl);
  padding: clamp(32px,5vw,52px);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--q-sh-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 65% at 100% 50%, rgba(228,91,124,.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 0%, rgba(53,40,217,.18) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-inner > * { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(1.7rem,3.5vw,2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: clamp(.92rem,1.5vw,1rem);
  line-height: 1.68;
  color: rgba(255,255,255,.65);
}

.cta-aside { display: flex; flex-direction: column; gap: 14px; }

.cta-info-card {
  display: flex;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--q-r-md);
  overflow: hidden;
}

.cta-info-half {
  flex: 1;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-info-half:first-child { border-right: 1px solid rgba(255,255,255,.1); }

.cta-info-icon { color: var(--q-accent); margin-bottom: 2px; }
.cta-info-label { font-size: .9rem; font-weight: 700; color: #fff; }
.cta-info-sub { font-size: .82rem; color: rgba(255,255,255,.58); }

.cta-contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  background: linear-gradient(105deg, var(--q-accent) 0%, var(--q-accent2) 100%);
  color: #fff;
  border-radius: var(--q-r-md);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 24px rgba(228,91,124,.4);
  transition: transform .22s var(--q-ease), box-shadow .22s var(--q-ease);
}

.cta-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(228,91,124,.5);
}

/* ══════════════════════════════
   BUTTONS (global)
══════════════════════════════ */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--q-font);
  transition: transform .22s var(--q-ease), box-shadow .22s var(--q-ease), background .2s ease;
}

.btn-primary {
  background: linear-gradient(105deg, var(--q-navy-l), var(--q-navy));
  color: #fff;
  box-shadow: 0 5px 18px rgba(20,27,79,.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(20,27,79,.3);
}

.btn-outline {
  background: rgba(255,255,255,.5);
  color: var(--q-navy);
  border-color: rgba(20,27,79,.18);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(228,91,124,.4);
}

/* Quiz hero button */
.btn-quiz-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--q-r-sm);
  font-family: var(--q-font);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s var(--q-ease, ease);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(124,58,237,.35);
}
.btn-quiz-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124,58,237,.45);
  background: linear-gradient(135deg, #6d28d9, #4338ca);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.page-actions .btn-primary,
.page-actions .btn-outline { margin-top: 0; }

/* ══════════════════════════════
   INNER PAGES
══════════════════════════════ */
.inner-page .page-main {
  max-width: min(900px, 100%);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top,0px) + 108px) clamp(16px,4vw,24px) clamp(48px,8vw,72px);
  width: 100%;
  box-sizing: border-box;
}

.inner-page .page-main--wide { max-width: min(56rem,100%); }

/* Page hero banner */
.page-hero {
  margin-bottom: clamp(28px,4vw,44px);
  padding: clamp(32px,6vw,54px) clamp(22px,5vw,44px);
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 52%, var(--q-navy-l) 100%);
  border-radius: var(--q-r-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 95% 50%, rgba(228,91,124,.16) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 5% 20%, rgba(53,40,217,.18) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero > * { position: relative; z-index: 1; }

.page-kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 12px;
}

.page-title {
  font-size: clamp(1.8rem,4.5vw,2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.page-lead {
  margin: 14px 0 0;
  font-size: clamp(.95rem,1.7vw,1.08rem);
  line-height: 1.68;
  color: rgba(255,255,255,.7);
  max-width: 42rem;
}

/* Section headings */
.page-section { margin-bottom: clamp(32px,5vw,48px); }

.section-heading {
  font-size: clamp(1.15rem,2.2vw,1.4rem);
  font-weight: 700;
  color: var(--q-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::before {
  content: "";
  display: inline-block;
  width: 4px; height: 1.1em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--q-accent), var(--q-royal));
  flex-shrink: 0;
}

.page-prose {
  font-size: clamp(.92rem,1.5vw,1rem);
  line-height: 1.72;
  color: var(--q-muted);
}

.page-prose p + p { margin-top: 12px; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .cta-banner-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .meet-inner { grid-template-columns: 1fr; gap: 32px; }
  .meet-text { text-align: center; order: 2; }
  .meet-text .meet-desc { margin-left: auto; margin-right: auto; }
  .meet-actions { justify-content: center; }
  .meet-photo { order: 1; }
  .meet-photo img { width: min(55%, 240px); }
}

@media (max-width: 640px) {
  .inner-page .page-main {
    padding-top: calc(env(safe-area-inset-top,0px) + 88px);
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-hero { border-radius: var(--q-r-lg); padding: 26px 18px; }
  .page-title { font-size: 1.65rem; }
  .page-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero-wrap { gap: 14px; }
  .hero { padding-top: 8px; }
  .hero-kicker { margin-bottom: 14px; }
  .hero h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.05rem);
    line-height: 1.12;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-cta { flex-direction: column; align-items: center; }

  .cards { flex-direction: column; align-items: stretch; gap: 10px; }
  .course-card {
    max-width: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
  }
  .card-body { flex: 1; min-width: 0; }
  .card-cta { display: none; }
  .card-icon-wrap { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; }
  .card-icon-wrap svg { width: 22px; height: 22px; }

  .features-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .feature-card { min-height: 120px; padding: 16px 14px; }
}

/* ══════════════════════════════
   FEATURES — RICH VARIANT
══════════════════════════════ */
.features-header {
  margin-bottom: clamp(28px,4vw,44px);
}

.features-subhead {
  font-size: clamp(.9rem,1.5vw,1rem);
  color: var(--q-muted);
  margin-top: 8px;
  max-width: 38rem;
  line-height: 1.65;
}

.features-grid--rich {
  grid-template-columns: repeat(4,1fr);
}

.feature-card--rich {
  flex-direction: column;
  gap: 16px;
  min-height: 190px;
  padding: 26px 22px;
}

.feature-body { display: flex; flex-direction: column; gap: 8px; }

.feature-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.58);
  line-height: 1.6;
  font-weight: 400;
}

/* ══════════════════════════════
   STEPS SECTION
══════════════════════════════ */
.steps-section {
  padding: clamp(56px,8vw,80px) clamp(18px,4vw,32px);
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 55%, var(--q-navy-l) 100%);
  position: relative;
  overflow: hidden;
}

.steps-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 100% 50%, rgba(228,91,124,.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 30%, rgba(53,40,217,.18) 0%, transparent 50%);
  pointer-events: none;
}

.steps-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative; z-index: 1;
  text-align: center;
}

.steps-header { margin-bottom: clamp(32px,5vw,52px); }

/* ── Section kicker variants ── */

/* Dark background pe (steps, contact form) — white */
.kicker-light {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 12px;
}

/* Light background pe (VM section, features) — navy */
.kicker-dark {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--q-accent);
  background: rgba(228,91,124,.1);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(228,91,124,.22);
  margin-bottom: 12px;
}

/* Section title variants */
.section-title-light {
  font-size: clamp(1.5rem,3vw,2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.section-title-dark {
  font-size: clamp(1.5rem,3vw,2.1rem);
  font-weight: 800;
  color: var(--q-navy);
  letter-spacing: -.02em;
  line-height: 1.15;
}

/* Keep steps-kicker/steps-title for backward compat but point to dark bg */
.steps-kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255,255,255,.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 12px;
}

.steps-title {
  font-size: clamp(1.5rem,3vw,2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: clamp(32px,5vw,48px);
}

.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--q-r-lg);
  transition: background .25s ease, transform .25s var(--q-ease);
}

.step-item:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(110deg, var(--q-accent) 0%, #f06292 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.step-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.58);
  line-height: 1.6;
}

.step-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(228,91,124,.4), rgba(53,40,217,.4));
  border-radius: 2px;
  flex-shrink: 0;
  margin: 0 4px;
}

.steps-cta { margin-top: 8px; }

@media (max-width: 700px) {
  .features-grid--rich { grid-template-columns: repeat(2,1fr); }
  .step-divider { display: none; }
  .steps-grid { gap: 12px; }
  .step-item { min-width: 140px; padding: 20px 14px; }
}

@media (max-width: 420px) {
  .features-grid--rich { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   HOME — VISION & MISSION
══════════════════════════════ */
.home-vm-section {
  padding: clamp(56px,8vw,80px) clamp(18px,4vw,32px);
}

.home-vm-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.home-vm-header {
  text-align: center;
  margin-bottom: clamp(28px,4vw,44px);
}

.home-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-vm-card {
  padding: clamp(26px,4vw,38px) clamp(22px,3.5vw,32px);
  border-radius: var(--q-r-xl);
  position: relative;
  overflow: hidden;
  transition: transform .28s var(--q-ease), box-shadow .28s var(--q-ease);
  box-shadow: var(--q-sh-md);
}

.home-vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--q-sh-lg);
}

.home-vm-card--vision {
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 100%);
  border: 1px solid rgba(255,255,255,.07);
}

.home-vm-card--mission {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1060 55%, #3d1a7a 100%);
  border: 1px solid rgba(228,91,124,.15);
}

.home-vm-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 60% at 110% 110%, rgba(255,255,255,.07) 0%, transparent 55%);
  pointer-events: none;
}

.home-vm-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--q-accent);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

.home-vm-title {
  font-size: clamp(1.1rem,2vw,1.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}

.home-vm-desc {
  font-size: clamp(.88rem,1.5vw,.96rem);
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  position: relative; z-index: 1;
}

@media (max-width: 600px) {
  .home-vm-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ══════════════════════════════
   HOME — CONTACT FORM SECTION
══════════════════════════════ */
.home-contact-section {
  margin: 0px 0 -25px 0px;
  padding: clamp(56px,8vw,80px) clamp(18px,4vw,32px);
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 55%, var(--q-navy-l) 100%);
  position: relative;
  overflow: hidden;
}

.home-contact-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 100% 50%, rgba(228,91,124,.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 30%, rgba(53,40,217,.2) 0%, transparent 50%);
  pointer-events: none;
}

.home-contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px,5vw,64px);
  align-items: start;
  position: relative; z-index: 1;
}

.home-contact-text .kicker-light { margin-bottom: 10px; }

.home-contact-text .section-title-light {
  text-align: left;
  margin-bottom: 14px;
}

.home-contact-desc {
  font-size: clamp(.9rem,1.5vw,1rem);
  line-height: 1.7;
  color: rgba(255,255,255,.62);
  margin-bottom: 22px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.home-contact-chips {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.home-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}

.home-contact-chip svg { color: var(--q-accent); flex-shrink: 0; }

/* Form card */
.home-contact-form-wrap {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--q-r-xl);
  padding: clamp(22px,3.5vw,32px);
  backdrop-filter: blur(12px);
}

.home-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
}

.home-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-form-label {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
}

.home-form-label .req { color: var(--q-accent); }

.home-form-field input,
.home-form-field select,
.home-form-field textarea {
  font-family: var(--q-font);
  font-size: .9rem;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.home-form-field input::placeholder,
.home-form-field textarea::placeholder { color: rgba(255,255,255,.3); }

.home-form-field select option { background: var(--q-navy); color: #fff; }

.home-form-field textarea { resize: vertical; min-height: 96px; }

.home-form-field input:focus,
.home-form-field select:focus,
.home-form-field textarea:focus {
  outline: none;
  border-color: var(--q-accent);
  box-shadow: 0 0 0 3px rgba(228,91,124,.18);
}

.home-form-submit {
  margin-top: 4px;
  align-self: flex-start;
  padding: 11px 24px;
  background: linear-gradient(105deg, var(--q-accent), var(--q-accent2));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--q-font);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(228,91,124,.38);
  transition: transform .22s var(--q-ease), box-shadow .22s var(--q-ease);
}

.home-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(228,91,124,.5);
}

.home-form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(22,163,74,.15);
  border: 1px solid rgba(22,163,74,.3);
  border-radius: var(--q-r-md);
  color: #86efac;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.5;
}

.home-form-error {
  padding: 11px 14px;
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.3);
  border-radius: 10px;
  color: #fca5a5;
  font-size: .88rem;
  font-weight: 500;
}

.hp-wrap {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .home-contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .home-contact-text .section-title-light { text-align: center; }
  .home-contact-text .kicker-light { display: block; text-align: center; }
  .home-contact-desc { text-align: center; }
  .home-contact-chips { align-items: center; }
  .home-contact-section { padding-left: 16px; padding-right: 16px; }
  .home-contact-form-wrap { padding: 18px 14px; }
}

@media (max-width: 480px) {
  .home-form-row { grid-template-columns: 1fr; }
  .home-form-submit { width: 100%; justify-content: center; }
}

/* Home redesign: study platform overview */
body.home-page {
  background:
    linear-gradient(135deg, rgba(20,27,79,.06) 0 1px, transparent 1px) 0 0 / 26px 26px,
    radial-gradient(ellipse 55% 42% at 16% 4%, rgba(228,91,124,.16), transparent 62%),
    radial-gradient(ellipse 48% 38% at 86% 8%, rgba(53,40,217,.12), transparent 58%),
    linear-gradient(160deg, #f8efe4 0%, #efe1cf 45%, #e3cfb8 100%);
}

body.home-page .home-screen {
  background:
    linear-gradient(135deg, rgba(20,27,79,.055) 0 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(ellipse 46% 36% at 50% 0%, rgba(255,255,255,.72), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
  padding-bottom: clamp(70px, 9vw, 110px);
}

body.home-page .home-screen::before {
  background:
    radial-gradient(ellipse 36% 36% at 12% 22%, rgba(228,91,124,.13), transparent 64%),
    radial-gradient(ellipse 34% 32% at 88% 26%, rgba(53,40,217,.11), transparent 62%);
}

body.home-page .hero {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--q-r-xl);
  background: rgba(255,255,255,.56);
  box-shadow: 0 24px 70px rgba(20,27,79,.12);
  backdrop-filter: blur(18px);
}

body.home-page .hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  letter-spacing: 0;
}

body.home-page .hero > p:not(.hero-kicker) {
  margin: 18px auto 0;
  max-width: 35rem;
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  line-height: 1.72;
  color: var(--q-muted);
}

body.home-page .hero-kicker {
  color: var(--q-navy);
  background: rgba(255,255,255,.8);
  border-color: rgba(228,91,124,.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

body.home-page .hero-cta .btn-primary {
  background: linear-gradient(105deg, var(--q-accent), var(--q-accent2));
  box-shadow: 0 12px 30px rgba(228,91,124,.32);
}

body.home-page .hero-cta .btn-outline {
  background: rgba(20,27,79,.06);
  border-color: rgba(20,27,79,.16);
}

body.home-page .hero-ranking,
body.home-page .hero-updates {
  border-radius: var(--q-r-lg);
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 48px rgba(20,27,79,.12);
}

body.home-page .cards {
  max-width: 1168px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

body.home-page .course-card {
  min-width: 0;
  max-width: none;
  min-height: 220px;
  border-radius: var(--q-r-lg);
  border: 1px solid rgba(255,255,255,.22);
}

body.home-page .features-section {
  background:
    radial-gradient(ellipse 44% 42% at 10% 10%, rgba(228,91,124,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.08));
}

body.home-page .features-inner,
body.home-page .cta-banner,
body.home-page .home-vm-inner,
body.home-page .home-contact-inner {
  max-width: 1168px;
}

body.home-page .features-header {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(260px, .55fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
}

body.home-page .features-heading {
  margin-bottom: 0;
}

body.home-page .features-subhead {
  margin-top: 0;
}

body.home-page .features-grid--rich {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.home-page .feature-card--rich {
  min-height: 180px;
  border-radius: var(--q-r-lg);
}

body.home-page .feature-card--rich:nth-child(2n) {
  background: linear-gradient(145deg, #24115a 0%, var(--q-navy) 58%, var(--q-navy-d) 100%);
}

body.home-page .feature-card--rich:nth-child(3n) {
  background: linear-gradient(145deg, #3b1f70 0%, #1e2766 58%, #0c1030 100%);
}

@media (max-width: 1040px) {
  body.home-page .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body.home-page .features-header { grid-template-columns: 1fr; align-items: start; }
  body.home-page .features-grid--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body.home-page .hero {
    padding: 20px 16px;
    border-radius: var(--q-r-lg);
  }

  body.home-page .cards {
    display: flex;
    width: 100%;
  }

  body.home-page .course-card {
    min-height: 0;
  }

  body.home-page .features-grid--rich { grid-template-columns: 1fr; }
}

body.home-page main > .meet-section,
body.home-page main > .three {
  display: none !important;
}

.q-index-inner {
  width: min(1168px, calc(100% - 36px));
  margin: 0 auto;
}

.q-index-overview,
.q-study-flow,
.q-rank-zone,
.q-mentor-section {
  position: relative;
  padding: clamp(58px, 8vw, 92px) 0;
  overflow: hidden;
}

.q-index-overview {
  background:
    linear-gradient(135deg, rgba(255,255,255,.76), rgba(255,255,255,.38)),
    radial-gradient(ellipse 42% 38% at 86% 8%, rgba(228,91,124,.13), transparent 62%);
}

.q-study-flow {
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 56%, var(--q-navy-l) 100%);
}

.q-rank-zone {
  background:
    radial-gradient(ellipse 44% 38% at 0% 10%, rgba(228,91,124,.12), transparent 62%),
    linear-gradient(180deg, #f7eee3, #ead9c5);
}

.q-mentor-section {
  background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.1));
}

.q-section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.q-section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, .7fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
}

.q-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--q-accent);
  background: rgba(228,91,124,.1);
  border: 1px solid rgba(228,91,124,.18);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.q-section-head h2,
.q-rank-copy h2,
.q-mentor-copy h2 {
  color: var(--q-navy);
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

.q-section-head p,
.q-rank-copy p,
.q-mentor-copy p {
  color: var(--q-muted);
  font-size: clamp(.96rem, 1.4vw, 1.05rem);
  line-height: 1.75;
}

.q-study-flow .q-section-head h2,
.q-study-flow .q-section-head p {
  color: #fff;
}

.q-study-flow .q-eyebrow {
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}

.q-feature-board {
  display: grid;
  grid-template-columns: 1.22fr repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.q-feature-tile {
  min-height: 246px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--q-r-lg);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 18px 46px rgba(20,27,79,.1);
  color: var(--q-navy);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .24s var(--q-ease), box-shadow .24s var(--q-ease);
}

.q-feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(53,40,217,.07), transparent 48%),
    radial-gradient(ellipse 72% 62% at 110% 0%, rgba(228,91,124,.15), transparent 58%);
  pointer-events: none;
}

.q-feature-tile > * {
  position: relative;
  z-index: 1;
}

.q-feature-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(20,27,79,.15);
}

.q-feature-tile--large {
  grid-row: span 2;
  color: #fff;
  background: linear-gradient(145deg, var(--q-navy-d) 0%, var(--q-navy) 58%, var(--q-navy-l) 100%);
}

.q-feature-tile--large::before {
  background:
    radial-gradient(ellipse 76% 60% at 100% 0%, rgba(228,91,124,.28), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,.08), transparent 50%);
}

.q-tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: currentColor;
  background: rgba(228,91,124,.1);
  margin-bottom: auto;
}

.q-feature-tile--large .q-tile-icon {
  background: rgba(255,255,255,.12);
}

.q-tile-kicker {
  color: var(--q-accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.q-feature-tile--large .q-tile-kicker {
  color: rgba(255,255,255,.62);
}

.q-feature-tile strong {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.2;
}

.q-feature-tile span:last-child {
  color: var(--q-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.q-feature-tile--large span:last-child {
  color: rgba(255,255,255,.66);
}

.q-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.q-flow-step {
  min-height: 228px;
  padding: 24px;
  border-radius: var(--q-r-lg);
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.q-flow-step span {
  display: inline-flex;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--q-accent);
  margin-bottom: 34px;
}

.q-flow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.q-flow-step p {
  color: rgba(255,255,255,.66);
  line-height: 1.65;
  font-size: .9rem;
}

.q-rank-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.q-rank-copy p,
.q-mentor-copy p {
  margin-top: 16px;
}

.q-rank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.q-score-panel {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--q-r-xl);
  background: linear-gradient(145deg, #fff, rgba(255,255,255,.74));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 68px rgba(20,27,79,.15);
}

.q-score-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.q-score-head span,
.q-score-row span {
  color: var(--q-muted);
  font-size: .84rem;
  font-weight: 600;
}

.q-score-head strong {
  color: var(--q-navy);
  font-size: 1.15rem;
}

.q-score-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 8px;
}

.q-score-row strong {
  color: var(--q-navy);
}

.q-score-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(20,27,79,.08);
  overflow: hidden;
}

.q-score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--q-royal), var(--q-navy));
}

.q-score-bar--rose span {
  background: linear-gradient(90deg, var(--q-accent), var(--q-accent2));
}

.q-mini-leaderboard {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.q-mini-leaderboard span {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(20,27,79,.06);
  color: var(--q-navy);
  font-size: .86rem;
  font-weight: 700;
}

.q-mentor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--q-r-xl);
  background: linear-gradient(135deg, var(--q-navy-d), var(--q-navy) 58%, var(--q-navy-l));
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 74px rgba(20,27,79,.18);
}

.q-mentor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 100% 20%, rgba(228,91,124,.24), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 46%);
}

.q-mentor-card > * {
  position: relative;
  z-index: 1;
}

.q-mentor-copy h2,
.q-mentor-copy p {
  color: #fff;
}

.q-mentor-copy p {
  color: rgba(255,255,255,.68);
  max-width: 42rem;
}

.q-mentor-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.q-mentor-points span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 700;
}

.q-mentor-photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 330px;
}

.q-mentor-photo img {
  width: min(100%, 310px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.3));
}

body.home-page .home-contact-section {
  background:
    radial-gradient(ellipse 40% 42% at 100% 0%, rgba(228,91,124,.24), transparent 62%),
    linear-gradient(135deg, var(--q-navy-d), var(--q-navy) 58%, var(--q-navy-l));
}

body.home-page .home-contact-inner {
  align-items: center;
}

body.home-page .home-contact-form-wrap {
  border-radius: var(--q-r-lg);
  background: rgba(255,255,255,.08);
}

@media (max-width: 940px) {
  .q-section-head--split,
  .q-rank-layout,
  .q-mentor-card {
    grid-template-columns: 1fr;
  }

  .q-feature-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .q-feature-tile--large {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .q-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .q-mentor-photo {
    min-height: 240px;
    order: -1;
  }

  .q-mentor-photo img {
    width: min(60%, 240px);
  }
}

@media (max-width: 560px) {
  .q-index-inner {
    width: min(100% - 28px, 1168px);
  }

  .q-feature-board,
  .q-flow-grid {
    grid-template-columns: 1fr;
  }

  .q-feature-tile,
  .q-flow-step {
    min-height: 0;
  }

  .q-flow-step span {
    margin-bottom: 18px;
  }

  .q-rank-actions {
    flex-direction: column;
  }

  .q-rank-actions .btn-primary,
  .q-rank-actions .btn-outline {
    width: 100%;
  }

  .q-mentor-card {
    padding: 24px 18px;
  }
}




/* ── Ranking Card Head ── */
.wrc-head {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px 12px 16px;
  background: linear-gradient(135deg, var(--q-navy-d) 0%, var(--q-navy) 60%, var(--q-navy-l) 100%);
  position: relative;
  overflow: hidden;
}
.wrc-head::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 90% at 110% 50%, rgba(228,91,124,.2) 0%, transparent 60%);
  pointer-events: none;
}
.wrc-head > * { position: relative; z-index: 1; }
.wrc-head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.wrc-title {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wrc-subtitle {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  max-width: 132px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wrc-view-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.wrc-view-all:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ── List ── */
.wrc-list { padding: 4px 0; }

.wrc-no-test {
  text-align: center;
  padding: 24px 16px;
  font-size: .82rem;
  color: var(--q-muted);
}

/* ── Item ── */
.wrc-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.wrc-item:last-child { border-bottom: none; }
.wrc-item:hover { background: #f8fafc; }

.wrc-rank {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
  width: 26px;
  text-align: center;
}
.wrc-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
}
.wrc-avatar-initial {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--q-navy-l), var(--q-navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
  border: 2px solid rgba(20,27,79,.12);
}
.wrc-info { flex: 1; min-width: 0; }
.wrc-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--q-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wrc-score {
  font-size: .68rem;
  color: var(--q-muted);
  margin-top: 1px;
}
.wrc-score-badge {
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 800;
  color: var(--q-navy);
  background: linear-gradient(135deg, #eef1ff, #dde3ff);
  border: 1px solid rgba(53,40,217,.12);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: -.01em;
}

/* Gold / Silver / Bronze */
.wrc-item:nth-child(1) .wrc-score-badge { background: linear-gradient(135deg,#fef9c3,#fde68a); border-color: rgba(202,138,4,.2); color: #92400e; }
.wrc-item:nth-child(2) .wrc-score-badge { background: linear-gradient(135deg,#f1f5f9,#e2e8f0); border-color: rgba(100,116,139,.2); color: #334155; }
.wrc-item:nth-child(3) .wrc-score-badge { background: linear-gradient(135deg,#fff7ed,#fed7aa); border-color: rgba(194,65,12,.15); color: #9a3412; }

@media (max-width: 768px) {
  .wrc-head { padding: 13px 16px 11px; }
  .wrc-subtitle { max-width: 200px; }
  .wrc-item { padding: 11px 16px; gap: 10px; }
  .wrc-avatar, .wrc-avatar-initial { width: 34px; height: 34px; }
  .wrc-name { font-size: .88rem; }
  .wrc-score-badge { font-size: .8rem; }
}

/* ══════════════════════════════
   MEET SECTION — Social Icons
══════════════════════════════ */
.meet-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.meet-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  flex-shrink: 0;
}

.meet-social-icon:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .meet-socials {
    justify-content: center;
  }
}
