/* Eternal:Play - Main Styles */
:root {
  --bg: #F5F8FF;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --line: rgba(15, 23, 42, .10);
  --blue-900: #0B2B73;
  --blue-800: #123C9A;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --shadow-lg: 0 26px 60px rgba(15, 23, 42, .14);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, .12);
  --shadow-sm: 0 10px 22px rgba(15, 23, 42, .10);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --btn-radius: 8px;
  --container: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(700px 500px at 10% 10%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(800px 520px at 90% 20%, rgba(255, 99, 71, .12), transparent 55%),
    radial-gradient(900px 650px at 50% 120%, rgba(37,99,235,.10), transparent 60%),
    var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* Frame */
.frame { padding: 36px 0 60px; }
.page {
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

/* Header */
header { padding: 18px 22px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* DA:LOGO — нейтральный логотип */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.35));
  box-shadow: 0 14px 26px rgba(15,23,42,.14);
  border: 1px solid rgba(15,23,42,.10);
  position: relative;
  overflow: hidden;
}
.brand__mark:before {
  content: "";
  position: absolute;
  inset: -12px;
  background:
    radial-gradient(20px 20px at 30% 30%, rgba(29,78,216,.55), transparent 62%),
    radial-gradient(26px 26px at 70% 70%, rgba(240,78,62,.35), transparent 60%);
  transform: rotate(12deg);
}
.brand__name {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14px;
}

/* Navigation */
nav {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
nav a {
  font-size: 13px;
  color: rgba(15,23,42,.72);
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
nav a:hover, nav a.active {
  background: rgba(29,78,216,.08);
  color: rgba(15,23,42,.92);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  color: rgba(15,23,42,.88);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15,23,42,.10);
  transition: all .2s;
}
.btn--primary {
  background: var(--blue-900);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 24px rgba(11,43,115,.30);
}
.btn--primary:hover { background: #08255f; }
.btn--outline {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(11,43,115,.35);
  color: rgba(11,43,115,.95);
}
.btn--outline:hover { background: rgba(29,78,216,.08); }

.icon-bubble {
  width: 34px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 18px rgba(15,23,42,.10);
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.70);
  font-size: 14px;
}

/* Hero */
.hero { padding: 18px 22px 6px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}
.hero__left { padding: 28px 16px 10px 8px; }
h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.5px;
}
.hero__bullets {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  color: rgba(15,23,42,.78);
  font-size: 14px;
  line-height: 1.45;
}
.hero__bullets li { margin: 2px 0; }
.hero__fine {
  margin: 10px 0 14px;
  font-size: 12px;
  color: rgba(15,23,42,.52);
}
.hero__cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero Illustration */
.hero__right {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  background:
    radial-gradient(220px 220px at 70% 45%, rgba(240,78,62,.85), transparent 60%),
    radial-gradient(360px 260px at 45% 55%, rgba(29,78,216,.95), rgba(11,43,115,.98) 62%);
  box-shadow: var(--shadow-md);
}
.phone {
  position: absolute;
  right: 54px;
  top: 52px;
  width: 180px;
  height: 260px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.88));
  border: 2px solid rgba(15,23,42,.12);
  box-shadow: 0 22px 50px rgba(15,23,42,.28);
}
.phone:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 56px;
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.12);
}
.phone__screen {
  position: absolute;
  inset: 32px 12px 14px;
  border-radius: 22px;
  background:
    radial-gradient(200px 120px at 40% 30%, rgba(29,78,216,.22), transparent 60%),
    radial-gradient(220px 140px at 70% 70%, rgba(240,78,62,.12), transparent 60%),
    #F4F7FF;
  border: 1px solid rgba(15,23,42,.08);
}
.mini-card {
  position: absolute;
  right: 18px;
  top: 132px;
  width: 92px;
  height: 68px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 18px 36px rgba(15,23,42,.28);
  display: grid;
  place-items: center;
}
.play {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(29,78,216,.95), rgba(240,78,62,.85));
  clip-path: polygon(20% 15%, 88% 50%, 20% 85%);
}

/* Trust Bar */
.trust {
  padding: 16px 22px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: rgba(15,23,42,.78);
}
.chip__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(29,78,216,.10);
  border: 1px solid rgba(29,78,216,.18);
  display: grid;
  place-items: center;
  color: rgba(11,43,115,.95);
  font-weight: 900;
  font-size: 14px;
}

/* Sections */
section { padding: 22px 22px; }
h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.2px;
}
h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.card {
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 16px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.amount {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.4px;
}
.sub {
  font-size: 12px;
  color: rgba(15,23,42,.55);
}
.pick {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,43,115,.35);
  background: rgba(255,255,255,.92);
  color: rgba(11,43,115,.95);
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 18px rgba(15,23,42,.08);
  transition: all .2s;
}
.pick:hover {
  background: var(--blue-900);
  color: #fff;
}

/* Timeline */
.timeline {
  margin-top: 10px;
  padding: 18px 12px 6px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow-sm);
}
.timeline__title {
  text-align: center;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -0.4px;
  margin: 6px 0 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  padding: 10px 8px 18px;
}
.steps:before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16px;
  height: 3px;
  background: rgba(11,43,115,.95);
  border-radius: 999px;
  opacity: .95;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: rgba(15,23,42,.82);
  font-size: 13px;
}
.num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(11,43,115,.95);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(11,43,115,.24);
  position: relative;
  z-index: 2;
}

/* Why Section */
.why {
  margin-top: 16px;
  padding: 10px 10px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow-sm);
}
.why h2 {
  margin: 10px 10px 14px;
  font-size: 26px;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 10px;
}
.why__item {
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  text-align: left;
  color: rgba(15,23,42,.78);
  font-size: 12.5px;
  box-shadow: 0 10px 18px rgba(15,23,42,.07);
  min-height: 86px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.why__ico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(29,78,216,.10);
  border: 1px solid rgba(29,78,216,.18);
  display: grid;
  place-items: center;
  color: rgba(11,43,115,.95);
  font-weight: 900;
  flex: 0 0 34px;
  font-size: 14px;
}
.why__item b { display: block; color: rgba(15,23,42,.88); margin-bottom: 2px; }

/* FAQ Accordion */
.faq {
  margin-top: 16px;
  padding: 12px 12px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow-sm);
}
.faq h2 {
  margin: 10px 10px 14px;
  font-size: 26px;
}
.faq-item {
  margin: 10px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
  overflow: hidden;
}
.faq-question {
  cursor: pointer;
  font-weight: 800;
  color: rgba(15,23,42,.88);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question i {
  transition: transform .3s;
  color: var(--blue-900);
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer p {
  margin: 10px 0 0;
  color: rgba(15,23,42,.72);
  font-size: 13.5px;
  line-height: 1.55;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Footer */
footer {
  background: rgba(245,248,255,.60);
  border-top: 1px solid rgba(15,23,42,.06);
  padding: 18px 22px 22px;
}
.foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 18px;
  color: rgba(15,23,42,.72);
  font-size: 12.5px;
}
.foot b { color: rgba(15,23,42,.88); }
.foot a { color: rgba(11,43,115,.95); }
.foot a:hover { text-decoration: underline; }
.tiny {
  margin-top: 10px;
  color: rgba(15,23,42,.55);
  font-size: 11.5px;
  line-height: 1.45;
}

/* Content Pages */
.content-section {
  padding: 30px 22px;
}
.content-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
}
.content-section p {
  color: rgba(15,23,42,.78);
  margin: 12px 0;
  line-height: 1.6;
}
.content-section ul {
  padding-left: 20px;
  color: rgba(15,23,42,.78);
}
.content-section li {
  margin: 8px 0;
}
.content-box {
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  margin: 12px 0;
  box-shadow: 0 10px 18px rgba(15,23,42,.08);
}
.contact-card i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(29,78,216,.10);
  display: grid;
  place-items: center;
  color: var(--blue-900);
  font-size: 18px;
}
.legal-text {
  max-height: 400px;
  overflow-y: auto;
  padding: 20px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(15,23,42,.75);
}
.legal-text h4 {
  margin: 16px 0 8px;
  color: rgba(15,23,42,.88);
}

/* Documents Page Links */
.doc-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.doc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.doc-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.doc-link i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(29,78,216,.10);
  display: grid;
  place-items: center;
  color: var(--blue-900);
  font-size: 18px;
}
.doc-link span {
  font-weight: 700;
  color: rgba(15,23,42,.88);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.82);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(15,23,42,.70);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.98);
  z-index: 1000;
  flex-direction: column;
  padding: 20px;
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.mobile-nav a {
  padding: 16px;
  font-size: 18px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

/* Responsive */
@media (max-width: 1050px) {
  nav { display: none; }
  .menu-toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { min-height: 280px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr; }
  .doc-links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  h1 { font-size: 34px; }
  .cards { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps:before { display: none; }
  .why__grid { grid-template-columns: 1fr; }
}
.brand img {
    width: 20px;
}
@media (max-width: 560px) {
  /* уменьшаем “двойные” паддинги: контейнер + header */
  .container { padding: 0 14px; }
  header { padding: 12px 0; } /* т.к. контейнер уже даёт боковые отступы */

  /* даём флексу сжиматься */
  .brand { min-width: 0; flex: 1 1 auto; }
  .actions { min-width: 0; flex: 0 0 auto; }

  /* чтобы название не раздувало шапку */
  .brand__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* чуть компактнее кнопка */
  .actions .btn {
    padding: 0 10px;
    height: 34px;
  }
}

/* совсем узкие экраны: оставляем только иконку + actions */
@media (max-width: 360px) {
  .brand__name { display: none; }
}
/* улучшение шапки на мобиле */
@media (max-width: 560px) {
  /* убираем двойные боковые отступы: container + header */
  .container { padding: 0 14px; }
  header { padding: 10px 0; }

  /* чтобы flex не ломался из-за min-width */
  .brand { min-width: 0; flex: 1 1 auto; }
  .actions { min-width: 0; flex: 0 0 auto; }

  /* логотип: без раздувания */
  .brand__name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px; /* можно 120-180 подобрать */
  }

  /* компактнее кнопки/иконки */
  .actions { gap: 8px; }
  .actions .btn { height: 34px; padding: 0 10px; font-size: 12px; }
  .menu-toggle { width: 38px; height: 38px; }
}

/* на очень узких — прячем "Купить" в шапке (она уже есть в mobile-nav) */
@media (max-width: 420px) {
  header .actions .btn--primary { display: none; }
  .brand__name { max-width: 180px; } /* можно вернуть больше места названию */
  .topbar {padding: 0 1.5em;}
}

/* на супер-узких — прячем текст бренда, оставляем только иконку */
@media (max-width: 360px) {
  .brand__name { display: none; }
}