/* Начална страница */
.home2-page {
  background: #f5f7fc;
}

.home2 {
  color: #14213d;
}

.home2-in {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.home2 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.home2-kick {
  margin: 0 0 10px;
  color: #1f5eea;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home2-kick.is-orange {
  color: #ff9d16;
}

.home2-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home2-lead {
  color: #4a587a;
  font-size: 1.06rem;
  line-height: 1.6;
}

.home2-lead a {
  color: #1f5eea;
  font-weight: 700;
}

/* Бутони */
.home2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.home2-btn.is-orange {
  background: #ff9d16;
  color: #1b1000;
  box-shadow: 0 10px 24px rgba(255, 157, 22, 0.35);
}

.home2-btn.is-orange:hover {
  background: #ffb347;
}

.home2-btn.is-white {
  border-color: #d6deee;
  background: #fff;
  color: #14213d;
}

.home2-btn.is-white:hover {
  border-color: #1f5eea;
}

.home2-btn.is-blue {
  background: #1f5eea;
  color: #fff;
}

.home2-btn.is-blue:hover {
  background: #174bc0;
}

.home2-btn:focus-visible,
.home2 summary:focus-visible,
.home2-form input:focus-visible,
.home2-form textarea:focus-visible {
  outline: 3px solid rgba(31, 94, 234, 0.45);
  outline-offset: 2px;
}

/* Hero */
.home2-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(31, 94, 234, 0.12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 157, 22, 0.12), transparent 60%),
    #f5f7fc;
}

.home2-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 72px;
}

.home2-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.home2-hero h1 em {
  font-style: normal;
  color: #1f5eea;
}

.home2-mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.home2-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  z-index: -1;
  height: 0.22em;
  border-radius: 6px;
  background: rgba(255, 157, 22, 0.35);
}

.home2-hero .home2-lead {
  max-width: 520px;
  margin: 22px 0 28px;
}

.home2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home2-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #4a587a;
  font-size: 0.9rem;
  font-weight: 700;
}

.home2-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home2-trust li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #0d7a50;
  font-size: 0.72rem;
}

/* Поглед в играта */
.home2-preview {
  position: relative;
  padding: 28px 22px 22px;
}

.home2-game {
  padding: 20px;
  border-radius: 24px;
  background: #0b1f4b;
  color: #fff;
  box-shadow: 0 30px 60px rgba(11, 31, 75, 0.3);
}

.home2-game-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.home2-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.home2-question {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  color: #14213d;
}

.home2-question small {
  color: #5b6785;
  font-weight: 700;
}

.home2-question h2 {
  margin: 6px 0 16px;
  font-size: 1.3rem;
  line-height: 1.3;
}

.home2-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home2-options span {
  padding: 12px;
  border: 2px solid #e3e8f3;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.home2-options .is-correct {
  border-color: #13a35a;
  background: #e8f8ef;
  color: #0d7a50;
}

.home2-game-xp {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: #c9d3ec;
  font-size: 0.8rem;
  font-weight: 800;
}

.home2-xpbar {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.home2-xpbar i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: #ff9d16;
}

.home2-toast,
.home2-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(11, 31, 75, 0.18);
  font-weight: 800;
}

.home2-toast {
  top: 0;
  right: 0;
}

.home2-toast b {
  color: #ff9d16;
  font-size: 1.25rem;
}

.home2-toast > span,
.home2-badge > span:last-child {
  display: grid;
  font-size: 0.88rem;
}

.home2-toast small,
.home2-badge small {
  color: #5b6785;
  font-size: 0.75rem;
  font-weight: 700;
}

.home2-badge {
  left: 0;
  bottom: 0;
}

.home2-badge > span:first-child {
  font-size: 1.5rem;
}

/* Лента с факти */
.home2-strip {
  background: #0b1f4b;
  color: #fff;
}

.home2-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.home2-strip strong {
  display: block;
  font-size: 1.6rem;
}

.home2-strip span {
  color: #b9c7ea;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Секции */
.home2-section {
  padding: 80px 0;
}

.home2-section.is-tight {
  padding-top: 0;
}

.home2-card {
  border: 1px solid #e3e8f3;
  border-radius: 20px;
  background: #fff;
}

.home2-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.home2-card p {
  margin: 0;
  color: #4a587a;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home2-steps,
.home2-aud,
.home2-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.home2-step {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
}

.home2-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #eaf0ff;
  color: #1f5eea;
  font-size: 1.1rem;
  font-weight: 800;
}

/* Bento */
.home2-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.home2-b {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  overflow: hidden;
}

.home2-b.is-big {
  grid-column: span 3;
}

.home2-b.is-navy {
  border-color: #0b1f4b;
  background: #0b1f4b;
  color: #fff;
}

.home2-b.is-navy p {
  color: #c9d3ec;
}

.home2-tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
}

.home2-tag.is-orange { background: rgba(255, 157, 22, 0.2); color: #ffb347; }
.home2-tag.is-blue { background: #eaf0ff; color: #1f5eea; }
.home2-tag.is-violet { background: #f3ecff; color: #7a3fd1; }
.home2-tag.is-amber { background: #fff1dc; color: #9a4f00; }
.home2-tag.is-teal { background: #e6f7f6; color: #0d7a74; }

.home2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.home2-heat {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.home2-heat i {
  height: 26px;
  border-radius: 7px;
  background: #dfe5f2;
}

.home2-heat i.g { background: #13a35a; }
.home2-heat i.y { background: #f5bd3b; }
.home2-heat i.r { background: #e5484d; }

.home2-proof {
  display: grid;
  gap: 7px;
  margin-top: 6px;
}

.home2-proof span {
  padding: 9px 12px;
  border: 1px dashed #c6d1e6;
  border-radius: 10px;
  background: #f3f6fc;
  font-size: 0.88rem;
  font-weight: 700;
}

.home2-proof span.is-ok {
  border: 1px solid #9fdcbc;
  background: #e8f8ef;
}

.home2-life {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.home2-life-tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 4px 8px;
  border-radius: 14px;
  font-size: 0.82rem;
}

.home2-life-tile svg {
  width: 40px;
  height: 40px;
}

.home2-life-tile b {
  font-variant-numeric: tabular-nums;
}

.home2-life-tile.is-orange { background: #fff4e5; color: #b25400; }
.home2-life-tile.is-red { background: #fff0e8; color: #b8431c; }
.home2-life-tile.is-blue { background: #eef3ff; color: #1f4fc2; }
.home2-life-tile.is-green { background: #ebf8f1; color: #0d7a50; }

.home2-cube {
  width: 100%;
  height: 80px;
  margin-top: 4px;
}

/* За кого е */
.home2-aud .home2-card {
  padding: 24px;
}

.home2-aud h3 {
  margin: 10px 0 8px;
}

.home2-aud ul {
  margin: 0;
  padding-left: 18px;
  color: #4a587a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.home2-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  font-size: 1.4rem;
}

.home2-ico svg {
  width: 40px;
  height: 40px;
}

.home2-ico.is-amber { background: #fff1dc; }
.home2-ico.is-blue { background: #eaf0ff; }
.home2-ico.is-green { background: #e8f8ef; }

/* Планове */
.home2-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
}

.home2-plan h3 {
  font-size: 1.35rem;
}

.home2-plan ul {
  display: grid;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.home2-plan li::before {
  content: "✓ ";
  color: #13a35a;
  font-weight: 800;
}

.home2-plan .home2-btn {
  margin-top: auto;
}

.home2-plan.is-top {
  border: 2px solid #ff9d16;
  box-shadow: 0 18px 40px rgba(255, 157, 22, 0.18);
}

.home2-plan-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 99px;
  background: #ff9d16;
  color: #1b1000;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Въпроси */
.home2-faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.home2-faq details {
  margin-bottom: 10px;
  padding: 16px 20px;
  border: 1px solid #e3e8f3;
  border-radius: 16px;
  background: #fff;
}

.home2-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.home2-faq summary::-webkit-details-marker {
  display: none;
}

.home2-faq summary::after {
  content: "+";
  color: #1f5eea;
  font-size: 1.4rem;
  line-height: 1;
}

.home2-faq details[open] summary::after {
  content: "–";
}

.home2-faq details p {
  margin: 10px 0 0;
  color: #4a587a;
  line-height: 1.6;
}

/* Финал и контакт */
.home2-final {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border-radius: 28px;
  background: linear-gradient(120deg, #0b1f4b, #173b8c);
  color: #fff;
}

.home2-final h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  line-height: 1.1;
}

.home2-final > div > p:not(.home2-kick) {
  margin: 0 0 22px;
  color: #c9d3ec;
  line-height: 1.6;
}

.home2-form {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  color: #14213d;
}

.home2-form h3 {
  margin: 0;
  font-size: 1.15rem;
}

.home2-form label {
  display: block;
}

.home2-form input,
.home2-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #d6deee;
  border-radius: 11px;
  font: inherit;
}

.home2-form .form-message:empty {
  display: none;
}

/* Таблет и телефон */
@media (max-width: 980px) {
  .home2-hero-grid,
  .home2-faq,
  .home2-final {
    grid-template-columns: 1fr;
  }

  .home2-hero-grid {
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .home2-preview {
    max-width: 520px;
  }

  .home2-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home2-bento {
    grid-template-columns: 1fr 1fr;
  }

  .home2-b,
  .home2-b.is-big {
    grid-column: span 1;
  }

  .home2-b.is-big {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .home2-in {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home2-section {
    padding: 56px 0;
  }

  .home2-steps,
  .home2-aud,
  .home2-plans,
  .home2-bento {
    grid-template-columns: 1fr;
  }

  .home2-b,
  .home2-b.is-big {
    grid-column: auto;
  }

  .home2-plans {
    gap: 24px;
  }

  .home2-actions .home2-btn {
    flex: 1 1 100%;
  }

  .home2-preview {
    padding: 28px 0 24px;
  }

  .home2-toast {
    right: -4px;
  }

  .home2-badge {
    left: -4px;
  }

  .home2-question h2 {
    font-size: 1.1rem;
  }

  .home2-final {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .home2-mark {
    white-space: normal;
  }
}
