/* ============================================================== */
/* enomo15 — единый CSS (v3) */
/* ============================================================== */

/* ----- Fonts (Montserrat 400/700/800) ----- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm45_dJE7gnD_g.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm45_dJE4QnD_g.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/montserrat/v26/JTURjIg1_i6t8kCHKm45_bZF3gnD_g.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/montserrat/v26/JTURjIg1_i6t8kCHKm45_bZF7AnD_g.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/montserrat/v26/JTURjIg1_i6t8kCHKm45_bZF3wjD_g.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/montserrat/v26/JTURjIg1_i6t8kCHKm45_bZF7QjD_g.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ----- Tokens ----- */
:root {
  --bg: #0d0f16;
  --surface: #171a24;
  --surface-2: #1f2431;
  --text: #edf0f6;
  --muted: #acb3c5;
  --line: rgba(255,255,255,0.08);
  --accent: #7d4cff;
  --accent-2: #c4ff45;
  --accent-3: #22d3ee;
  --accent-4: #ff7ab6;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 18px 45px rgba(0,0,0,0.25);
}

/* ----- Base ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(125,76,255,0.18), transparent 35%), var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.page-main { padding: 120px 0 48px; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(13,15,22,0.82);
  border-bottom: 1px solid var(--line);
}
.shell-header {
  min-height: 78px; display: flex; align-items: center; gap: 16px; justify-content: space-between;
}
.site-logo { display:flex; align-items:center; gap:10px; font-weight:800; }
.site-logo img { width: 42px; height: 42px; }
.site-nav { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.site-nav a {
  padding: 10px 14px; border-radius: 999px; color: var(--muted); background: transparent;
  border: 1px solid transparent; transition: .25s;
}
.site-nav a:hover, .site-nav a.is-active {
  background: rgba(255,255,255,0.05); color: var(--text); border-color: var(--line);
}
.site-actions { display:flex; gap:10px; }

/* ----- Buttons ----- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius: 999px;
  padding: 12px 18px; font-weight: 700; transition: .25s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #6032d8); color:#fff; box-shadow: 0 8px 25px rgba(125,76,255,.35); }
.btn-secondary { background: rgba(255,255,255,.04); border:1px solid var(--line); color:var(--text); }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ----- Generic ----- */
.eyebrow {
  display:inline-flex; margin-bottom:8px; font-size:12px; text-transform:uppercase;
  letter-spacing:.12em; color:var(--accent-2);
}
.hero { margin-bottom: 22px; }
.hero-grid { display:grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }

.section-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.hero-copy { padding: 12px 0; }
.hero-copy h1, .page-intro h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; }
.hero-lead, .page-intro p { color: var(--muted); max-width: 62ch; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin: 22px 0; }
.hero-stats { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.stat-box { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.stat-box strong { display:block; font-size: 1.15rem; margin-top: 6px; }
.stat-label { color: var(--muted); font-size: .85rem; }
.hero-side h2 { margin: 0 0 10px; font-size: 1.6rem; }
.hero-side p { color: var(--muted); }

.countdown-box {
  margin: 18px 0; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: .08em;
  padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(196,255,69,.35);
  font-variant-numeric: tabular-nums;
}
.hero-list, .check-list { padding-left: 18px; margin: 0; color: var(--muted); }
.hero-list li, .check-list li { margin: 8px 0; }

.article-strip, .cta-wrap, .inner-top { margin-bottom: 22px; }
.article-card h2, .section-head h2, .prose-card h2, .promo-side h2, .footer-card h2 {
  margin: 0 0 10px; font-size: 1.7rem;
}
.prose-columns { columns: 2; column-gap: 28px; color: var(--muted); }
.prose-columns p { break-inside: avoid; -webkit-column-break-inside: avoid; margin-top: 0; }

/* prose-content — рендеринг внешнего HTML из content/*.html */
.prose-content { color: var(--muted); }
.prose-content > *:first-child { margin-top: 0; }
.prose-content > *:last-child { margin-bottom: 0; }
.prose-content h2, .prose-content h3 { color: var(--text); margin: 28px 0 12px; }
.prose-content h2 { font-size: 1.6rem; }
.prose-content h3 { font-size: 1.2rem; }
.prose-content p { margin: 0 0 14px; }
.prose-content ul, .prose-content ol { margin: 0 0 16px; padding-left: 22px; }
.prose-content li { margin: 6px 0; }
.prose-content blockquote {
  margin: 18px 0; padding: 16px 20px; border-left: 3px solid var(--accent-2);
  background: rgba(255,255,255,.03); border-radius: 0 12px 12px 0;
}
.prose-content blockquote p { margin: 0 0 10px; }
.prose-content blockquote p:last-child { margin-bottom: 0; }
.prose-content strong { color: var(--text); }
.prose-content a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.home-flow { display:grid; gap: 22px; }
.section-head { display:flex; gap:16px; justify-content:space-between; align-items:flex-end; margin-bottom: 18px; }
.section-link { color: var(--accent-2); font-weight: 700; }
.section-link:hover { text-decoration: underline; }

/* ----- Slots ----- */
.slot-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.slot-card {
  overflow:hidden; border-radius: 18px; background: rgba(255,255,255,.03);
  border:1px solid var(--line); display:flex; flex-direction:column;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.slot-card:hover { border-color: rgba(196,255,69,.35); box-shadow: 0 10px 24px rgba(0,0,0,.18); transform: translateY(-2px); }
.slot-card-link { display:flex; flex-direction:column; min-height:100%; color: inherit; }
.slot-card-media { aspect-ratio: 1.2 / 1; overflow: hidden; background: var(--surface-2); }
.slot-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-card-body { padding: 16px; }
.slot-card h3 { margin: 4px 0 12px; font-size: 1.02rem; }
.slot-provider { color: var(--muted); font-size: .82rem; margin: 0; }
.slot-meta { display:flex; justify-content:space-between; align-items:center; gap:10px; color: var(--muted); font-size: .86rem; }
.slot-meta-link { color: var(--accent-2); font-weight: 700; }

/* ----- Features ----- */
.feature-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.feature-card { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.03); border:1px solid var(--line); }
.feature-icon { display:inline-flex; font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--muted); }

/* ----- Reviews ----- */
.review-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; }
.review-item { margin:0; padding:18px; border-radius: 18px; background: rgba(255,255,255,.03); border:1px solid var(--line); }
.review-item p { margin:0 0 12px; color: var(--text); }
.review-item footer { color: var(--muted); font-size: .9rem; }
.review-item-full { margin:0; }

/* ----- FAQ ----- */
.faq-list { display:grid; gap: 12px; }
.faq-item { border-radius: 16px; background: rgba(255,255,255,.03); border:1px solid var(--line); overflow: hidden; }
.faq-item summary { cursor:pointer; list-style:none; padding: 16px 18px; font-weight:700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin:0; padding: 0 18px 18px; color: var(--muted); }

/* ----- Provider/payment chips ----- */
.provider-strip { display:flex; flex-wrap:wrap; gap: 12px; }
.provider-chip, .payment-chip {
  min-height: 54px; padding: 10px 14px; display:inline-flex; align-items:center; justify-content:center;
  border-radius: 16px; background: rgba(255,255,255,.04); border:1px solid var(--line);
  min-width: 118px; transition: border-color .25s, background .25s, transform .25s;
}
.provider-chip:hover, .payment-chip:hover {
  border-color: rgba(196,255,69,.35); background: rgba(255,255,255,.06); transform: translateY(-1px);
}
.provider-chip img { width: 80px; height: 24px; object-fit: contain; filter: brightness(1.2); }
.provider-strip-large .provider-chip img { width: 94px; }
.payment-strip { display:flex; flex-wrap:wrap; gap: 10px; }
.payment-chip { color: var(--muted); font-weight: 700; }

/* ----- CTA ----- */
.cta-card { display:flex; justify-content:space-between; align-items:center; gap: 20px; }
.breadcrumbs { color: var(--muted); display:flex; gap:10px; align-items:center; font-size:.92rem; margin-top:10px; }
.prose-card p, .prose-card li, .promo-side p { color: var(--muted); }
.prose-card ul { padding-left: 18px; }
.prose-card li { margin: 8px 0; }

/* ----- Footer ----- */
.site-footer { border-top:1px solid var(--line); margin-top: 30px; padding: 26px 0 34px; }
.footer-grid { display:grid; grid-template-columns: 1.15fr 1.05fr .9fr; gap: 18px; align-items: stretch; }
.footer-links { display:flex; flex-wrap:wrap; gap: 10px 14px; margin-top: 12px; color: var(--muted); }
.footer-card { min-height: 100%; display:flex; flex-direction:column; justify-content:flex-start; }
.footer-legal p { margin: 0 0 14px; color: var(--muted); }
.footer-bottom {
  display:flex; justify-content:space-between; gap: 20px; padding-top: 18px;
  margin-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size:.92rem;
}
.footer-bottom a { color: var(--accent-2); }
.footer-bottom a:hover { text-decoration: underline; }
.footer-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.footer-card-head h2 { margin: 0; font-size: 1.4rem; line-height: 1.15; }
.footer-card-head-link { color: inherit; }
.footer-card-head-link:hover { color: var(--accent-2); }
.footer-card-head span { color: var(--muted); font-size:.82rem; }
.footer-card-compact { padding:20px; min-height:240px; }
.provider-strip-footer, .payment-strip-footer { align-content:flex-start; }
.provider-chip-footer, .payment-chip-footer { min-width:96px; min-height:48px; padding:10px 12px; border-radius:14px; }
.provider-chip-footer img { width:72px; height:22px; }
.footer-bottom-compact { align-items:center; }
.footer-legal { padding:20px; }
.footer-legal .footer-links { margin-top:auto; padding-top:8px; }
.footer-links a:hover { color: var(--text); }

/* ============================================================== */
/* Variant-классы (пункт 32 — усилены, чтобы реально различались) */
/* ============================================================== */

/* v1 — базовый, без модификаций */

/* v2 — фиолетовый акцент: подсвеченная рамка + тень в тон */
.variant-v2 {
  border-color: rgba(125,76,255,.32);
  box-shadow: 0 18px 45px rgba(125,76,255,.18), var(--shadow);
}
.variant-v2 .eyebrow { color: var(--accent); }

/* v3 — повышенная плотность фона и контраст */
.variant-v3 {
  background:
    linear-gradient(180deg, rgba(196,255,69,.06), rgba(34,211,238,.04)),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border-color: rgba(34,211,238,.25);
}
.variant-v3 .eyebrow { color: var(--accent-3); }

/* v4 — больший радиус + розовый акцент */
.variant-v4 {
  border-radius: calc(var(--radius) + 6px);
  border-color: rgba(255,122,182,.30);
}
.variant-v4 .eyebrow { color: var(--accent-4); }
.variant-v4 .section-link { color: var(--accent-4); }

/* ============================================================== */
/* Responsive */
/* ============================================================== */
@media (max-width: 1100px) {
  /* пункт 31 — на планшетах prose-columns в одну колонку, чтоб не было висячих строк */
  .prose-columns { columns: 1; }
}
@media (max-width: 980px) {
  .site-nav { display:none; }
  .hero-grid, .footer-grid, .cta-card { grid-template-columns: 1fr; display:grid; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-grid, .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-card-compact, .footer-legal { min-height: auto; }
}
@media (min-width: 981px) { .footer-legal { padding-left: 10px; } }
@media (max-width: 640px) {
  .shell { width: min(1160px, calc(100% - 20px)); }
  .page-main { padding-top: 96px; }
  .shell-header { min-height: 68px; }
  .site-actions { gap: 8px; }
  .site-actions .btn { padding: 10px 14px; }
  .hero-copy h1, .page-intro h1 { font-size: 2rem; }
  .hero-stats, .slot-grid, .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .section-card { padding: 18px; border-radius: 18px; }
  .provider-chip img { width: 70px; }
  .footer-bottom { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
