/* Общие стили публичных лендингов (главная, IELTS). */
body { overflow-x: hidden; margin: 0; }

.land-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.land-nav .logo { font-size: 1.2rem; font-weight: 800; color: var(--primary); text-decoration: none; display:flex;align-items:center;gap:8px; }
.land-nav .nav-center { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-news-btn {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.93rem;
  padding: 8px 18px; border-radius: 10px; border: 1.5px solid #ede8ff;
  background: #faf8ff; transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.nav-news-btn:hover { background: #f0edff; border-color: var(--primary); color: var(--primary); }
.land-nav .nav-right { display: flex; gap: 12px; align-items: center; }
.land-nav a.nav-login { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 16px; border-radius: 8px; }
.land-nav a.nav-login:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary); color: #fff;
  padding: 10px 22px; border-radius: 10px; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(124,77,255,0.3);
}

/* HERO */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px 60px;
  background: linear-gradient(160deg, #f0edff 0%, #e8f0ff 50%, #f5edff 100%);
  position: relative; overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 740px; margin: 0 auto; }
.floating-icons { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fi {
  position: absolute; opacity: 0.12;
  animation: floatIcon linear infinite;
  user-select: none;
}
@keyframes floatIcon {
  0%   { transform: translateY(0px) rotate(0deg); opacity: 0.09; }
  50%  { transform: translateY(-24px) rotate(5deg); opacity: 0.14; }
  100% { transform: translateY(0px) rotate(0deg); opacity: 0.09; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,77,255,0.1); color: var(--primary);
  border-radius: 20px; padding: 6px 16px; font-size: 0.85rem; font-weight: 700;
  margin-bottom: 24px; border: 1px solid rgba(124,77,255,0.2);
}
.hero-title {
  font-size: 3rem; font-weight: 900; line-height: 1.15;
  color: var(--text); margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }
.hero-sub {
  font-size: 1.1rem; color: var(--muted); margin-bottom: 36px;
  line-height: 1.65; max-width: 580px; margin-left: auto; margin-right: auto;
}

.price-card {
  display: inline-block; background: #fff; border-radius: 16px;
  padding: 20px 40px; margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(124,77,255,0.12); border: 2px solid #ede8ff;
}
.price-card .lbl { font-size: 0.85rem; color: var(--muted); margin-bottom: 4px; }
.price-card .val { font-size: 2.6rem; font-weight: 900; color: var(--primary); line-height: 1; }
.price-card .sub { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-main {
  background: var(--primary); color: #fff;
  padding: 16px 36px; border-radius: 12px; font-size: 1.05rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(124,77,255,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-main:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,77,255,0.45); }
.btn-hero-sec {
  background: #fff; color: var(--primary);
  padding: 16px 36px; border-radius: 12px; font-size: 1.05rem; font-weight: 700;
  text-decoration: none; border: 2px solid rgba(124,77,255,0.3);
  transition: border-color 0.2s;
}
.btn-hero-sec:hover { border-color: var(--primary); }

.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hero-stat .val { font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.hero-stat .lbl { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* WHAT IS OZP */
.section { padding: 80px 24px; max-width: 1080px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 48px; font-size: 1rem; line-height: 1.6; max-width: 640px; margin-left: auto; margin-right: auto; }

.ozp-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.ozp-item {
  background: #fff; border-radius: 16px; padding: 24px;
  border: 1px solid #ede8ff; text-align: center;
}
.ozp-item .icon { font-size: 2rem; margin-bottom: 10px; }
.ozp-item .title { font-weight: 700; margin-bottom: 4px; font-size: 0.95rem; }
.ozp-item .desc { color: var(--muted); font-size: 0.85rem; }

/* TOPICS */
.topics-wrap { padding: 80px 24px; background: linear-gradient(135deg, #f8f6ff, #f0f4ff); }
.topics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; max-width: 1000px; margin: 0 auto;
}
.topic-item {
  background: #fff; border-radius: 14px; padding: 18px 20px;
  border: 1px solid #ede8ff; display: flex; align-items: flex-start; gap: 12px;
}
.topic-item .num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.topic-item .name { font-weight: 600; font-size: 0.92rem; line-height: 1.4; }

/* FEATURES */
.features-wrap { padding: 80px 24px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto;
}
.feature-card {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid #ede8ff; transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(124,77,255,0.1); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* HOW IT WORKS */
.how-section { background: linear-gradient(135deg, #f8f6ff, #f0f4ff); padding: 80px 24px; }
.steps { display: flex; gap: 0; max-width: 800px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.step { text-align: center; flex: 1; min-width: 160px; padding: 0 16px; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; box-shadow: 0 4px 16px rgba(124,77,255,0.35);
}
.step-title { font-weight: 700; margin-bottom: 6px; }
.step-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.step-arrow { position: absolute; right: -16px; top: 14px; font-size: 1.5rem; color: #c4b5fd; }

/* REVIEWS */
.reviews-wrap { padding: 80px 24px; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.review-card { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid #ede8ff; }
.review-stars { color: #fbbf24; margin-bottom: 10px; }
.review-text { font-size: 0.92rem; color: var(--text); line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.review-author { font-size: 0.85rem; font-weight: 700; color: var(--primary); }

/* CTA */
.cta-section {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary), #5e35b1); color: #fff;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { opacity: 0.85; margin-bottom: 32px; font-size: 1rem; }
.btn-cta {
  background: #fff; color: var(--primary);
  padding: 16px 40px; border-radius: 12px; font-size: 1.05rem; font-weight: 800;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2); transition: transform 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); }

.footer { text-align: center; padding: 24px; color: var(--muted); font-size: 0.85rem; }

/* NEWS */
.news-landing-wrap { padding: 80px 24px; background: #fff; }
.news-landing-inner { max-width: 1080px; margin: 0 auto; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 0;
}
.news-card {
  background: #fff; border-radius: 16px;
  border: 1px solid #ede8ff; overflow: hidden;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(124,77,255,0.1); }
.news-card-img { width: 100%; height: 170px; object-fit: cover; background: #f0edff; display: block; }
.news-card-placeholder { width: 100%; height: 170px; background: linear-gradient(135deg,#f0edff,#e8f0ff); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.news-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.news-card-date { font-size: 0.75rem; color: #999; }
.news-card-title { font-weight: 700; font-size: 0.93rem; line-height: 1.45; color: var(--text); }
.news-card-excerpt { font-size: 0.83rem; color: #777; line-height: 1.5; flex: 1; }
.news-card-source { font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-top: 4px; }

/* Кнопка новостей по центру навбара наезжает на «Войти», пока ширина меньше ~960px */
@media (max-width: 960px) {
  .land-nav { padding: 0 24px; }
  .land-nav .nav-center { position: static; transform: none; }
}

@media (max-width: 640px) {
  .land-nav .nav-center { display: none; }
  .hero-title { font-size: 2rem; }
  .land-nav { padding: 0 16px; height: auto; min-height: 56px; flex-wrap: nowrap; }
  .land-nav .logo { font-size: 1rem; }
  .land-nav .nav-right { gap: 8px; }
  .land-nav a.nav-login { padding: 6px 10px; font-size: 0.85rem; }
  .btn-nav { padding: 8px 14px; font-size: 0.82rem; white-space: nowrap; box-shadow: none; }
  .step-arrow { display: none; }
  .price-card { padding: 16px 24px; }
  .hero-stats { gap: 20px; }
  .hero-stat .val { font-size: 1.4rem; }
}

/* ДВА ПРОДУКТА (главная) */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px; max-width: 760px; margin: 0 auto 32px; text-align: left;
}
.product-card {
  background: #fff; border-radius: 20px; padding: 26px 24px;
  border: 2px solid #ede8ff; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 8px 28px rgba(124,77,255,0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 14px 36px rgba(124,77,255,0.16); }
.product-card .pc-head { display: flex; align-items: center; gap: 12px; }
.product-card .pc-icon { font-size: 2.2rem; }
.product-card .pc-title { font-size: 1.25rem; font-weight: 800; }
.product-card .pc-for { font-size: 0.82rem; color: var(--muted); }
.product-card ul { margin: 4px 0 0; padding-left: 18px; color: #555; font-size: 0.9rem; line-height: 1.7; }
.product-card .pc-link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--primary); font-size: 0.92rem; }
.product-card.ielts { border-color: #c8efe3; box-shadow: 0 8px 28px rgba(13,138,106,0.08); }
.product-card.ielts:hover { border-color: #0d8a6a; box-shadow: 0 14px 36px rgba(13,138,106,0.16); }
.product-card.ielts .pc-link { color: #0d8a6a; }
.tm-note { font-size: 0.75rem; color: #999; max-width: 640px; margin: 0 auto; line-height: 1.5; text-align: center; }

/* IELTS-лендинг: зелёный акцент вместо фиолетового */
.ielts-land .hero-section { background: linear-gradient(160deg, #e6f7f1 0%, #e8f3ff 50%, #eefaf5 100%); }
.ielts-land .hero-badge { background: rgba(13,138,106,0.1); color: #0d8a6a; border-color: rgba(13,138,106,0.25); }
.ielts-land .hero-title span, .ielts-land .hero-stat .val, .ielts-land .price-card .val { color: #0d8a6a; }
.ielts-land .feature-card { border-color: #d6f0e7; }
