/* ================================================================
   landing.css — редизайн главной по скриншоту
   ================================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }

.page-landing-v2 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f5f7f6;
  color: #1e2a22;
  min-height: 100vh;
}

.lv2-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.lv2-header {
  background: #fff;
  border-bottom: 1px solid #e8edeb;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.lv2-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a5f4a;
  text-decoration: none;
  white-space: nowrap;
}

.lv2-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lv2-nav a {
  color: #444;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .15s;
}
.lv2-nav a:hover { color: #1a5f4a; }

.lv2-header .site-prep-dashboard-link {
  font-size: 0.95rem;
  font-weight: 500;
}

.lv2-header.site-header--landing-minimal {
  justify-content: flex-end;
}

/* ── HERO ── */
.lv2-hero {
  background: linear-gradient(135deg, #1a5f4a 0%, #155a3e 60%, #0e3d2b 100%);
  color: #fff;
  padding: 56px 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 380px;
}

.lv2-hero--banner {
  background: #f5f7f6;
  color: inherit;
  padding: 20px 0 12px;
  min-height: 0;
  display: block;
}

.lv2-hero__banner {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 95, 74, 0.12);
  line-height: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}

.lv2-hero__banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 95, 74, 0.18);
}

.lv2-hero__banner img {
  width: 100%;
  height: auto;
  display: block;
}

.lv2-hero__banner-cta {
  text-align: center;
  margin: 16px 0 0;
}

.visually-hidden {
  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: 640px) {
  .lv2-hero--banner { padding: 12px 0 8px; }
  .lv2-hero__banner { border-radius: 12px; }
  .lv2-hero__banner-cta .lv2-btn { width: 100%; justify-content: center; }
}

@media (max-width: 820px) {
  .lv2-hero { flex-direction: column; padding: 40px 20px; text-align: center; }
  .lv2-hero__mockup { width: 100%; }
}

.lv2-hero__text {
  flex: 1;
  max-width: 520px;
}

.lv2-hero__text h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.lv2-hero__accent { color: #4ade80; }

.lv2-hero__sub {
  font-size: 1.05rem;
  opacity: .85;
  margin-bottom: 28px;
  line-height: 1.5;
}

.lv2-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.lv2-hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 14px;
  color: #d1fae5;
}

/* ── BUTTONS ── */
.lv2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .1s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.lv2-btn:hover { opacity: .92; transform: translateY(-1px); }
.lv2-btn:active { transform: none; }

.lv2-btn--cta {
  background: #22c55e;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(34,197,94,.35);
}
.lv2-btn--primary {
  background: #1a5f4a;
  color: #fff;
}
.lv2-btn--purple {
  background: #7c3aed;
  color: #fff;
}
.lv2-btn--center {
  display: flex;
  margin: 0 auto;
}

/* ── MOCKUP ── */
.lv2-hero__mockup {
  flex-shrink: 0;
  width: 340px;
}

@media (max-width: 600px) {
  .lv2-hero__mockup { width: 100%; }
}

.lv2-mockup {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.lv2-mockup__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.lv2-mockup__card {
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px 16px;
  flex: 1;
}

.lv2-mockup__card--green { border: 1px solid rgba(74,222,128,.3); }
.lv2-mockup__card--full { flex: 1 1 100%; }

.lv2-mockup__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .65;
  margin-bottom: 6px;
}

.lv2-mockup__val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lv2-mockup__val span { font-size: 0.9rem; font-weight: 400; opacity: .7; }
.lv2-mockup__val--green { color: #4ade80; }

.lv2-mockup__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lv2-tag {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.lv2-tag--red { background: rgba(239,68,68,.2); color: #fca5a5; }
.lv2-tag--orange { background: rgba(245,158,11,.2); color: #fcd34d; }

.lv2-mockup__bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.lv2-mockup__bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  overflow: hidden;
}
.lv2-mockup__bar-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 999px;
}
.lv2-mockup__bar-pct { font-size: 0.85rem; color: #4ade80; font-weight: 700; }

.lv2-mockup__dna {
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  opacity: .35;
  pointer-events: none;
}

/* ── FEATURES ── */
.lv2-features {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid #e8edeb;
}

.lv2-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .lv2-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .lv2-features__grid { grid-template-columns: 1fr; }
}

.lv2-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

.lv2-feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #f0fdf4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HOW IT WORKS ── */
.lv2-how {
  padding: 56px 0 52px;
  background: linear-gradient(180deg, #fff 0%, #f4fbf7 50%, #fff 100%);
}

.lv2-how__head {
  text-align: center;
  margin-bottom: 44px;
}

.lv2-section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #1e2a22;
}

.lv2-section-title--how {
  margin-bottom: 10px;
}

.lv2-how__lead {
  margin: 0;
  font-size: 1.05rem;
  color: #64748b;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.lv2-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.lv2-step {
  text-align: center;
  flex: 1 1 0;
  min-width: 200px;
  max-width: 280px;
  padding: 36px 20px 24px;
  margin-top: 14px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid #dcefe6;
  box-shadow: 0 10px 32px rgba(26, 95, 74, 0.07);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lv2-step:hover {
  transform: translateY(-6px);
  border-color: #86efac;
  box-shadow: 0 16px 40px rgba(26, 95, 74, 0.12);
}

.lv2-step--1 { border-top: 4px solid #22c55e; }
.lv2-step--2 { border-top: 4px solid #1a5f4a; }
.lv2-step--3 { border-top: 4px solid #4ade80; }

.lv2-step__badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #34d399 0%, #1a5f4a 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(26, 95, 74, 0.22);
  z-index: 2;
}

.lv2-step__icon {
  margin: 8px auto 16px;
  width: 80px;
  height: 80px;
  background: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  border: 1px solid #d1fae5;
}

.lv2-step__icon svg {
  display: block;
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 2px 8px rgba(26, 95, 74, 0.12));
}

.lv2-step:hover .lv2-step__icon {
  transform: scale(1.06);
}

.lv2-step__title {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: #1a5f4a;
}

.lv2-step__desc {
  margin: 0;
}

.lv2-step__pill {
  display: inline-block;
  padding: 8px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #166534;
  font-weight: 600;
  line-height: 1.35;
}

.lv2-step__arrow {
  flex: 0 0 44px;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #22c55e;
  padding-top: 14px;
}

.lv2-step__arrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.35);
}

.lv2-step__arrow svg {
  opacity: 0.85;
}

@media (max-width: 900px) {
  .lv2-steps {
    flex-wrap: wrap;
    gap: 28px 12px;
    justify-content: center;
  }
  .lv2-step__arrow { display: none; }
  .lv2-step {
    flex: 1 1 calc(50% - 16px);
    max-width: none;
  }
  .lv2-step--3 {
    flex: 1 1 100%;
    max-width: 320px;
  }
}

@media (max-width: 520px) {
  .lv2-step {
    flex: 1 1 100%;
    max-width: 340px;
  }
}

.lv2-login-hint {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #666;
}
.lv2-login-hint a { color: #1a5f4a; font-weight: 600; }

/* ── SERVICES ── */
.lv2-services {
  background: #f0fdf4;
  padding: 56px 0 48px;
}

.lv2-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

@media (max-width: 680px) {
  .lv2-cards { grid-template-columns: 1fr; }
}

.lv2-btn--teal {
  background: #0f766e;
  color: #fff;
}

.lv2-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

.lv2-card__img {
  height: 180px;
  overflow: hidden;
}
.lv2-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lv2-card__body {
  padding: 24px 22px;
}
.lv2-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.lv2-card__price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a5f4a;
  margin-bottom: 14px;
}
.lv2-card__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lv2-card__body li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #444;
}

/* ── APPLY FORM ── */
.lv2-apply {
  padding: 40px 0;
}
.lv2-apply h2 { margin-bottom: 20px; font-size: 1.4rem; }
.lv2-form { max-width: 560px; }
.lv2-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.lv2-form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lv2-form__group label { font-size: 0.9rem; font-weight: 600; color: #444; }
.lv2-form__group input,
.lv2-form__group textarea {
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.lv2-form__group input:focus,
.lv2-form__group textarea:focus { border-color: #1a5f4a; }

/* ── Кабинеты + ФИПИ (низ страницы) ── */
.lv2-cabinet-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

@media (max-width: 640px) {
  .lv2-cabinet-actions {
    grid-template-columns: 1fr;
  }
}

.lv2-cabinet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 18px 24px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.lv2-cabinet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lv2-cabinet-btn--student {
  background: #1a5f4a;
  color: #fff;
  border: 2px solid #1a5f4a;
}

.lv2-cabinet-btn--parent {
  background: #fff;
  color: #1a5f4a;
  border: 2px solid #1a5f4a;
}

.lv2-cabinet-btn--parent:hover {
  background: #f0fdf4;
}

.lv2-fipi-notice {
  margin-top: 28px;
  padding: 28px 32px;
  background: #fff;
  border: 2px solid #c5e8d4;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26, 95, 74, 0.08);
}

.lv2-fipi-notice__text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #1e2a22;
  font-weight: 500;
}

.lv2-fipi-notice__text a {
  color: #1a5f4a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lv2-fipi-notice__text a:hover {
  color: #134e3a;
}

.lv2-fipi-notice__sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 1rem;
  color: #64748b;
  font-weight: 600;
}

@media (max-width: 480px) {
  .lv2-fipi-notice {
    padding: 22px 18px;
  }
  .lv2-fipi-notice__text {
    font-size: 1rem;
  }
}
