/* static/landings/studentu-mti/style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #7c3aed;
  --primary-dark:  #5b21b6;
  --primary-light: #ede9fe;
  --secondary:     #a855f7;
  --accent:        #f0abfc;
  --accent-green:  #22c55e;
  --text:          #1e1b4b;
  --muted:         #6b7280;
  --bg:            #faf9ff;
  --white:         #ffffff;
  --radius:        14px;
  --shadow:        0 4px 28px rgba(124, 58, 237, 0.12);
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
.header {
  background: var(--white);
  box-shadow: 0 1px 10px rgba(124,58,237,.09);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -.02em;
}
.logo__gem {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .85rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(124,58,237,.35);
}
.logo span { color: var(--secondary); }

nav { display: flex; align-items: center; gap: .2rem; }
nav a {
  margin-left: 0;
  padding: .4rem .9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color .2s, background .2s;
  font-size: .92rem;
}
nav a:hover { color: var(--primary); background: var(--primary-light); }

.btn-nav {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
  color: var(--white) !important;
  padding: .45rem 1.3rem !important;
  border-radius: 9px;
  font-weight: 700 !important;
  margin-left: .5rem;
  box-shadow: 0 3px 12px rgba(124,58,237,.3);
  transition: opacity .2s !important;
}
.btn-nav:hover { opacity: .9 !important; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);
  color: var(--white);
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(240,171,252,.15);
  border: 1px solid rgba(240,171,252,.35);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.3rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #a78bfa, #f0abfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2.2rem;
  max-width: 480px;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .98rem;
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #c026d3 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(168,85,247,.4);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(168,85,247,.5); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.45);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.07); }
.btn-purple {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(124,58,237,.35);
}
.btn-purple:hover { background: var(--primary-dark); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-light); }

.hero__visual { position: relative; }
.hero__img {
  width: 100%;
  max-width: 580px;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  display: block;
}
.hero__floating {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: .7rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.hero__floating--tl { top: -18px; left: -20px; }
.hero__floating--br { bottom: 20px; right: -20px; }
.hero__floating span {
  font-size: 1.1rem;
  margin-right: .4rem;
}

/* ─── STATS BAR ─── */
.stats {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: var(--white);
  padding: 2.2rem 1.5rem;
}
.stats__grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.stat__number {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label { font-size: .85rem; opacity: .8; margin-top: .3rem; }

/* ─── SERVICES ─── */
.services { padding: 5.5rem 1.5rem; }
.section-header { text-align: center; margin-bottom: 3.2rem; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .9rem;
  border-radius: 20px;
  margin-bottom: .9rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: .6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.services__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.6rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(124,58,237,.18);
  border-bottom-color: var(--primary);
}
.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.card__icon img { width: 26px; height: 26px; color: var(--primary); filter: invert(29%) sepia(80%) saturate(1200%) hue-rotate(250deg); }
.card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .5rem; color: var(--text); }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.6; }
.card__price {
  margin-top: 1.2rem;
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: .88rem;
  padding: .3rem .8rem;
  border-radius: 8px;
}

/* ─── FEATURES ─── */
.features { background: linear-gradient(160deg, #1e1b4b 0%, #312e81 100%); padding: 5.5rem 1.5rem; }
.features .section-title { color: var(--white); }
.features .section-sub { color: rgba(255,255,255,.65); }
.features .section-tag { background: rgba(240,171,252,.15); color: var(--accent); }
.features__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.feature-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: background .2s, transform .2s;
  text-align: center;
}
.feature-card:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,.5), rgba(168,85,247,.5));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.feature-card__icon img { width: 26px; height: 26px; filter: invert(1); }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.feature-card p { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ─── HOW IT WORKS ─── */
.how { padding: 5.5rem 1.5rem; background: var(--bg); }
.steps {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: .3;
}
.step { position: relative; z-index: 1; }
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 4px 16px rgba(124,58,237,.35);
}
.step h3 { font-weight: 800; font-size: 1rem; margin-bottom: .4rem; color: var(--text); }
.step p { color: var(--muted); font-size: .88rem; }

/* ─── SUBJECTS ─── */
.subjects { padding: 5rem 1.5rem; background: var(--white); }
.subjects__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.subject-pill {
  background: var(--bg);
  border: 1.5px solid #e0d9f7;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .2s, background .2s, transform .15s;
  cursor: default;
}
.subject-pill:hover { border-color: var(--primary); background: var(--primary-light); transform: scale(1.02); }
.subject-pill__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
}

/* ─── REVIEWS ─── */
.reviews { padding: 5.5rem 1.5rem; }
.reviews__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--secondary)) 1;
  position: relative;
  overflow: hidden;
}
.review::after {
  content: '✦';
  position: absolute;
  top: .8rem; right: 1.2rem;
  font-size: 2.5rem;
  color: var(--primary-light);
}
.review__stars { font-size: 1rem; margin-bottom: .7rem; color: #f59e0b; }
.review__text { color: var(--muted); font-size: .93rem; margin-bottom: 1.2rem; line-height: 1.65; }
.review__author { display: flex; align-items: center; gap: .8rem; }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.review__name { font-weight: 700; font-size: .9rem; color: var(--text); }
.review__role { font-size: .78rem; color: var(--muted); }

/* ─── FAQ ─── */
.faq { background: var(--bg); padding: 5rem 1.5rem; }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: .8rem;
  box-shadow: 0 2px 12px rgba(124,58,237,.07);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq__item.is-open { box-shadow: 0 4px 20px rgba(124,58,237,.14); }
.faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: .98rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__q:hover { color: var(--primary); }
.faq__arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .2s;
}
.faq__item.is-open .faq__arrow { transform: rotate(180deg); background: var(--primary); }
.faq__item.is-open .faq__arrow svg { stroke: var(--white); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
  padding: 0 1.5rem;
}
.faq__item.is-open .faq__a { max-height: 300px; padding: 0 1.5rem 1.3rem; }

/* ─── CTA ─── */
.cta-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
  color: var(--white);
  padding: 5.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,171,252,.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-section .hero__cta { justify-content: center; }

/* ─── SEO ─── */
.seo { padding: 4rem 1.5rem; background: var(--white); }
.seo__inner { max-width: 860px; margin: 0 auto; }
.seo__inner h2 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.seo__body { position: relative; color: var(--muted); font-size: .93rem; line-height: 1.85; }
.seo__body p + p { margin-top: .8rem; }
.seo__clamp { max-height: 96px; overflow: hidden; transition: max-height .4s ease; }
.seo__clamp.is-open { max-height: 2000px; }
.seo__fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none; transition: opacity .3s;
}
.seo__clamp.is-open + .seo__fade { opacity: 0; }
.seo__toggle {
  margin-top: 1rem; background: none; border: none;
  color: var(--primary); font-weight: 700; font-size: .93rem;
  cursor: pointer; padding: 0; display: flex; align-items: center; gap: .35rem;
}
.seo__toggle:hover { text-decoration: underline; }
.seo__toggle svg { transition: transform .3s; }
.seo__toggle.is-open svg { transform: rotate(180deg); }

/* ─── FOOTER ─── */
.footer {
  background: #0f0c29;
  color: rgba(255,255,255,.45);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: .88rem;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--primary), var(--secondary)) 1;
}
.footer__logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .5rem;
}
.footer__logo span { color: var(--accent); }
.footer a { color: rgba(255,255,255,.55); text-decoration: underline; }
.footer a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__floating { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 768px) {
  .header__inner nav { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero { padding: 3.5rem 1rem 3rem; }
  .btn { width: 100%; text-align: center; }
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .stat__number { font-size: 1.8rem; }
  .cta-section .hero__cta { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto 0; }
}