:root {
    --bg-main: #050509;
    --bg-elevated: #101018;
    --bg-soft: #151521;
    --border-soft: #272739;
    --accent-red: #ff3333;
    --accent-red-soft: #ff6b3d;
    --text-main: #ffffff;
    --text-muted: #a1a1b5;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 50px rgba(0,0,0,0.6);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, rgba(255,0,0,0.15), transparent 55%), var(--bg-main);
    color: var(--text-main);
     /* добавляем: */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--accent-red-soft);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */


.site-main {
    flex: 1 0 auto;      /* растягивается, чтобы вытолкнуть футер вниз */
  
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(5,5,9,0.88);
    border-bottom: 1px solid rgba(39,39,57,0.9);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* новый контейнер справа */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;           /* расстояние между nav, бейджем и бургером */
}

/* бейдж "Бесплатно" */
.header-badge {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 12px;
    color: #ffffff;
    border-color: rgb(127 127 127 / 60%);
    white-space: nowrap;
}

/* мобильный вид: бейдж можно скрыть, чтобы не мешал */
@media (max-width: 325px) {
    .nav {
        display: none;
    }
    .header-badge {
        display: none;
    }
    .header-right {
        gap: 8px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 900;
    font-size: 18px;

}
.logo-main { color: #fff; }
.logo-accent { color: var(--accent-red); }

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}
.nav a {
    color: var(--text-muted);
}
.nav a:hover {
    color: #fff;
}

/* Burger for mobile */

.nav-burger {
    display: none;
    width: 32px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 8px 16px 12px;
    background: rgba(5,5,9,0.98);
    border-bottom: 1px solid rgba(39,39,57,0.9);
}
.nav-mobile a {
    color: var(--text-muted);
    padding: 6px 0;
}
.nav-mobile--open {
    display: flex;
}

/* Main layout */


/* Footer */

.site-footer {
    border-top: 1px solid rgba(39,39,57,0.9);
    background: #050509;
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: #fff;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 18px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    white-space: nowrap;
    height: 60px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-soft));
    color: #fff;
    box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--bg-soft);
    color: #fff;
    border: 1px solid var(--border-soft);
}
.btn-secondary:hover {
    border-color: var(--accent-red-soft);
}
.btn-link {
    background: transparent;
    color: var(--text-muted);
    padding-inline: 0;
    box-shadow: none;
}
.btn-link:hover {
    color: #fff;
}

.btn_cookie {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 18px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    white-space: nowrap;
    height: 40px;
}

/* Cookie consent */

.cookie-consent {
    position: fixed;
    inset: auto 0 16px 0;
    z-index: 71;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.cookie-consent--hidden {
    display: none;
}
.cookie-consent__panel {
    pointer-events: auto;
    width: 100%;
    max-width: 540px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(39,39,57,0.9);
    padding: 16px 18px;
}
.cookie-consent__panel--settings {
    display: none;
}
.cookie-consent__title {
    font-weight: 600;
    margin-bottom: 4px;
}
.cookie-consent__desc {
    font-size: 13px;
    color: var(--text-muted);
}
.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    justify-content: space-between;
}
@media (max-width: 540px) {
.cookie-consent__actions {
 flex-direction: column;
}
}

.cookie-consent__actions--full {
    justify-content: space-between;
}
.cookie-consent__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.cookie-consent__close {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
}
.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 16px;
}
.cookie-row__title {
    font-size: 14px;
    font-weight: 500;
}
.cookie-row__desc {
    font-size: 12px;
    color: var(--text-muted);
}
.cookie-toggle--locked {
    font-size: 12px;
    color: var(--text-muted);
}

/* Switch */

.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #4b5563;
    transition: .2s;
    border-radius: 999px;
}
.switch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
}
.switch input:checked + .switch-slider {
    background-color: var(--accent-red-soft);
}
.switch input:checked + .switch-slider:before {
    transform: translateX(18px);
}

/* Hero placeholder on index (we'll refine later) */

/* Hero */

.hero {
    position: relative;
    padding: 32px 0 56px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at top left, rgba(255,0,0,0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(139,92,246,0.25), transparent 55%),
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size:
        auto,
        auto,
        40px 40px,
        40px 40px;
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
}

.hero--center {
    text-align: center;
}

.hero-center-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(248,250,252,0.14);
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(5,5,9,0.8);
    margin-bottom: 16px;
    text-align: center;
}
  .hero-badge-dot {
      width: 10px;
      height: 10px;
      margin-right: 5px;
      background: #47d67b;
      border-radius: 50%;
      animation: pulse-dot 2s ease infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.7); }
    }

.hero-title {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 800;
    text-align: center;
}
.hero-title--center {
    text-align: center;
}
.hero-accent {
    color: var(--accent-red);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto 20px;
}
.hero-subtitle--center {
    text-align: center;
}

.hero-form-inline {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(8,8,20,0.9);
    border-radius: 15px;
    border: 1px solid rgba(148,163,184,0.3);
    overflow: hidden;
}

.hero-form-inline__input-wrap {
    flex: 1;
}

.hero-form-inline__input-wrap input {
    width: 100%;
    padding: 18px 16px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 20px;
}
.hero-form-inline__input-wrap input::placeholder {
    color: rgba(148,163,184,0.8);
}
.hero-form-inline__input-wrap input:focus {
    outline: none;
    box-shadow: none;
}

.hero-form-inline__btn {
    border-radius: 0;
    border-left: 1px solid rgba(148,163,184,0.3);
    padding-inline: 26px;
    white-space: nowrap;
}
.hero-form-inline__btn.btn-primary {
    box-shadow: none;
}

@media (max-width: 640px) {
    .hero-form-inline {
        flex-direction: column;
        max-width: 360px;
        border-radius: 18px;
    }

    .hero-form-inline__input-wrap input {
        border-bottom: 1px solid rgba(148,163,184,0.3);
    }

    .hero-form-inline__btn {
        width: 100%;
        border-left: none;
        border-top: none;
        border-radius: 0 0 18px 18px;
        justify-content: center;
        padding-block: 18px;
    }
}

.hero-consent {
    margin: 20px;
    font-size: 14px;
    color: var(--text-muted);
}
.hero-consent label {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
}
.hero-consent input[type="checkbox"] {
    margin-top: 2px;
}
.hero-status {
    margin-top: 8px;
    font-size: 13px;
    min-height: 18px;
}

.hero-tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.hero-tags span {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(15,23,42,0.7);
}

.hero-card {
    justify-items: center;
}



@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .nav-burger {
        display: inline-block;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .cookie-consent__panel {
        margin: 0 10px;
    }
}


/* Cookie‑виджет — первый экран */

.cw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: flex-start;
    margin-top: 8px;
}

.cw-column {
    background: #080814;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 16px;
}

.cw-column--left ul {
    margin: 0 0 14px;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.cw-tariff-box {
    margin-top: 12px;
    padding: 10px 12px 9px;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(248,113,113,0.18), transparent 60%), #050509;
    border: 1px solid rgba(248,113,113,0.5);
    font-size: 13px;
}
.cw-tariff-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.cw-tariff-caption {
    font-size: 11px;
    color: var(--text-muted);
}

/* Правая колонка — форма */

.cw-column--right h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.cw-column--right p {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.cw-column--right .hero-form-group label {
    font-size: 13px;
}

.cw-column--right .hero-form-group input,
.cw-column--right .hero-form-group textarea {
    font-size: 13px;
}

.cw-column--right #cw_status {
    margin-bottom: 6px;
}

/* Карточки "Зачем это нужно" ниже */

.cw-benefits {
    margin-top: 8px;
}
.cw-benefits .check-card {
    background: #080814;
    border-color: rgba(148,163,184,0.4);
}

/* Адаптив */

@media (max-width: 900px) {
    .cw-layout {
        grid-template-columns: 1fr;
    }
}
.section {
    padding: 32px 0;
}

.check-table-wrap {
    overflow-x: auto;
}

.check-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.check-table th,
.check-table td {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(39,39,57,0.9);
}
.check-table th {
    text-align: left;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 12px;
}
.check-table tr:last-child td {
    border-bottom: none;
}

.badge-ok,
.badge-bad,
.badge-locked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}
.badge-ok {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
}
.badge-bad {
    background: rgba(248,113,113,0.15);
    color: #fb7171;
}
.badge-locked {
    background: rgba(148,163,184,0.15);
    color: var(--text-muted);
}

.cell-blur {
    filter: blur(3px);
    position: relative;
}
.cell-blur::after {
    content: 'Доступно в полном отчёте';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
    background: linear-gradient(to right, rgba(5,5,9,0.9), rgba(5,5,9,0.95));
}

/* Modal */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 80;
}
.modal-backdrop--hidden {
    display: none;
}

.modal {
    width: 100%;
    max-width: 420px;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    padding: 20px 20px 18px;
    position: relative;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 30px;
    cursor: pointer;
}

.modal__icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal__title {
    margin: 0 0 6px;
    font-size: 20px;
}

.modal__text {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.modal__group {
    margin-bottom: 10px;
}
.modal__group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.modal__group input {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: #080814;
    color: #fff;
    font-size: 20px;
}
.modal__group input:focus {
    outline: none;
    border-color: var(--accent-red-soft);
}

.modal__hint {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.modal__status {
    min-height: 16px;
    font-size: 12px;
    color: #f97373;
    margin-bottom: 8px;
}

.modal__submit {
    width: 100%;
    justify-content: center;
}

.cards-tariffs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.tariff-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tariff-card--featured {
    border-color: var(--accent-red-soft);
}
.tariff-badge {
    font-size: 11px;
    color: #facc15;
}
.tariff-name {
    font-size: 16px;
    font-weight: 600;
}
.tariff-price {
    font-size: 20px;
    font-weight: 700;
}
.tariff-list {
    margin: 0 0 12px;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .cards-tariffs {
        grid-template-columns: 1fr;
    }
}

/* Checking animation */

.checking-card {
    text-align: center;
    padding-top: 28px;
    padding-bottom: 20px;
}

.checking-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
}

.checking-spinner__outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(248,250,252,0.1);
    border-top-color: var(--accent-red-soft);
    animation: spin 1.2s linear infinite;
}

.checking-spinner__dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-red-soft);
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.checking-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.checking-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    text-align: left;
    max-width: 360px;
    margin-inline: auto;
}

.checking-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--text-muted);
    margin-bottom: 4px;
    background: rgba(15,23,42,0.7);
}

.checking-step__icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(148,163,184,0.6);
    flex-shrink: 0;
}

/* состояния шага */
.checking-step--active {
    background: rgba(248,113,113,0.08);
    color: #e5e7eb;
}
.checking-step--active .checking-step__icon {
    border-color: var(--accent-red-soft);
    background: var(--accent-red-soft);
}

.checking-step--done {
    background: rgba(22,163,74,0.12);
    color: #bbf7d0;
}
.checking-step--done .checking-step__icon {
    border-color: #22c55e;
    background: #22c55e;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    color: #f97373;
    margin-bottom: 8px;
    text-align: center;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px;
    text-align: center;
}

.section-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 520px;
    text-align: center;
     margin-left: auto;
    margin-right: auto;
}

/* 5 ключевых проверок */

.checks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.check-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
}
.check-card__icon {
    font-size: 20px;
}
.check-card__title {
    font-size: 15px;
    font-weight: 600;
}
.check-card__text {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}
.check-card__risk {
    margin-top: 4px;
    font-size: 12px;
    color: #fecaca;
    background: rgba(248,113,113,0.15);
    border-radius: 999px;
    display: inline-flex;
    padding: 2px 8px;
}

@media (max-width: 1024px) {
    .checks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .checks-grid {
        grid-template-columns: 1fr;
    }
}

/* Пример отчёта */

.report-demo {
    margin-top: 16px;
    max-width: 620px;
    margin-inline: auto;
    background: #080814;
    border-radius: 18px;
    border: 1px solid rgba(248,113,113,0.4);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.report-demo__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #020617;
    border-bottom: 1px solid rgba(30,64,175,0.4);
    font-size: 12px;
    color: var(--text-muted);
}
.report-demo__dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f97373;
    margin-right: 4px;
}
.report-demo__domain {
    opacity: 0.8;
}
.report-demo__risk-tag {
    color: #fecaca;
}

.report-demo__body {
    padding: 10px 14px 8px;
    background: radial-gradient(circle at top, rgba(248,113,113,0.18), transparent 55%), #020617;
}

.report-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(15,23,42,0.8);
}
.report-row:last-child {
    border-bottom: none;
}
.report-row__name {
    color: #e5e7eb;
}
.report-row__status {
    font-size: 11px;
    border-radius: 999px;
    padding: 3px 10px;
}
.report-row__status--bad {
    background: rgba(248,113,113,0.2);
    color: #fecaca;
}
.report-row__status--ok {
    background: rgba(22,163,74,0.2);
    color: #bbf7d0;
}

.report-demo__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 12px;
    background: #090013;
    border-top: 1px solid rgba(127,29,29,0.6);
}
.report-demo__footer-label {
    font-size: 12px;
    color: var(--text-muted);
}
.report-demo__footer-value {
    font-size: 18px;
    font-weight: 700;
    color: #fecaca;
}

/* CTA */

.cta-center {
    text-align: center;
}
.cta-center__btn {
    margin-top: 6px;
}
.cta-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.report-card {
    max-width: 760px;
    margin: 20px auto 12px;
    background: #080814;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: var(--shadow-soft);
    padding: 16px 18px 14px;
}

.report-card__risk {
    font-size: 12px;
    color: #fecaca;
}
.report-card__url {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.report-card__summary {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Список проверок */



.report-issue {
    padding: 8px 8px;
    border-radius: 12px;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}
.report-issue:last-child {
    margin-bottom: 0;
}
.report-issue__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.report-issue__title {
    font-size: 14px;
    font-weight: 600;
}
.report-issue__badge {
    font-size: 11px;
    border-radius: 999px;
    padding: 2px 8px;
}
.report-issue__badge--ok {
    background: rgba(22,163,74,0.2);
    color: #bbf7d0;
}
.report-issue__badge--bad {
    background: rgba(248,113,113,0.2);
    color: #fecaca;
}
.report-issue__badge--locked {
    background: rgba(148,163,184,0.2);
    color: var(--text-muted);
}
.report-issue__body {
    font-size: 13px;
    color: var(--text-muted);
}

/* Размытие платных пунктов */

.report-issue--locked .report-issue__body {
    position: relative;
    filter: blur(4px);
}
.report-issue--locked .report-issue__body::after {
    content: 'Подробности доступны в полном отчёте';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
    background: linear-gradient(to right, rgba(5,5,9,0.96), rgba(5,5,9,0.98));
}

/* Футер отчёта */

.report-card__footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(15,23,42,0.9);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-direction: column;
    text-align: center;
}
.report-card__footer-text {
    max-width: 100%;
}
.report-card__footer-time {
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
}


/* Баннер под отчётом */

.lock-card {
    margin-top: 14px;
    padding: 14px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(248,113,113,0.5);
    background: radial-gradient(circle at top, rgba(248,113,113,0.24), transparent 65%), #050509;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lock-card__icon {
    font-size: 20px;
    margin-top: 2px;
    text-align: center;
}

.lock-card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}

.lock-card__subtitle {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 340px;
    text-align: center;
}

.lock-card__actions {
    margin-left: auto;
}

.lock-card__actions .btn {
    white-space: nowrap;
}

/* Адаптив */

@media (max-width: 640px) {
    .lock-card {
        flex-direction: column;
        align-items: center;
    }
    .lock-card__actions {
        width: 100%;
        margin-left: 0;
    }
    .lock-card__actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* Верх отчёта */

.report-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.report-card__url {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    color: var(--text-muted);
}

.report-card__status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.report-card__risk {
    font-size: 12px;
    color: #fecaca;
}

/* точки риска */

.risk-dots {
    display: inline-flex;
    gap: 4px;
}

.risk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148,163,184,0.35);
}

.risk-dot--1.active {
    background: #f97373; /* красный */
    box-shadow: 0 0 8px rgba(248,113,113,0.7);
}
.risk-dot--2.active {
    background: #facc15; /* жёлтый */
    box-shadow: 0 0 8px rgba(250,204,21,0.6);
}
.risk-dot--3.active {
    background: #22c55e; /* зелёный */
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
}

/* Блок суммы штрафов в полном отчёте */

.report-sum {
    margin: 10px 0 12px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(248,113,113,0.6);
    background: rgba(127,29,29,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.report-sum__label {
    font-size: 12px;
    color: var(--text-muted);
}
.report-sum__value {
    font-size: 18px;
    font-weight: 700;
    color: #fecaca;
}

/* Сумма штрафов в бесплатном отчёте */

/* Сумма штрафов в бесплатном отчёте */

.report-sum-free {
    margin: 10px 0 8px;
    padding: 10px 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(248,113,113,0.6);
    background: rgba(127,29,29,0.35);
    display: flex;
    flex-direction: column;      /* вертикально */
    align-items: center;         /* всё по центру */
    text-align: center;          /* текст по центру */
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.report-sum-free__label {
    font-size: 12px;
    color: var(--text-muted);
}

.report-sum-free__value {
    font-size: 30px;
    font-weight: 900;
    color: #fecaca;
}

/* Уровень серьёзности для каждого пункта */

.report-issue__right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.severity-badge {
    font-size: 11px;
    border-radius: 999px;
    padding: 2px 8px;
}
.severity-badge--high {
    background: rgba(248,113,113,0.25);
    color: #fecaca;
}
.severity-badge--mid {
    background: rgba(250,204,21,0.22);
    color: #facc15;
}
.severity-badge--info {
    background: rgba(148,163,184,0.2);
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .report-sum {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Реквизиты */

.req-card {
    max-width: 640px;
    margin: 0 auto;
    background: #080814;
    border-radius: 24px;
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: var(--shadow-soft);
    padding: 20px 22px 18px;
}

.req-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(39,39,57,0.7);
}
.req-row:last-child {
    border-bottom: none;
}

.req-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148,163,184,0.9);
    margin-bottom: 2px;
}

.req-value {
    font-size: 14px;
    color: #e5e7eb;
}
.req-value--bold {
    font-weight: 600;
}

.req-link {
    color: #f97373;
}
.req-link:hover {
    color: #fca5a5;
}

/* --- Печатная версия --- */

@media print {
    /* скрыть всё кроме основного отчёта */
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .site-header,
    .site-footer,
    .cookie-consent,
    .hero,
    .section:not(:has(.report-card)) {
        display: none !important;
    }

    .section:has(.report-card) {
        padding: 0 !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 20px !important;
    }

    .report-card {
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        background: #ffffff !important;
        color: #000000 !important;
        padding: 16px 0 0 !important;
    }

    .report-card__url,
    .report-card__summary,
    .report-issue__body,
    .report-card__footer-text,
    .report-card__footer-time {
        color: #000000 !important;
    }

    .report-issues {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    .report-issue {
        border-bottom: 1px solid #e5e7eb;
        border-radius: 0;
        padding: 8px 0;
    }

    .report-sum {
        border-radius: 0;
        border: 1px solid #fca5a5;
        background: #fee2e2;
    }

    .severity-badge,
    .report-issue__badge {
        border-radius: 4px;
    }

    /* скрыть кнопку печати в печатной версии */
    button,
    .btn {
        display: none !important;
    }
}

/* Размытие фона при открытой модалке */

body.modal-open .site-main,
body.modal-open .site-header,
body.modal-open .site-footer,
body.cookie-open .site-main,
body.cookie-open .site-header,
body.cookie-open .site-footer {
    filter: blur(10px);
    transition: filter 0.15s ease;
    pointer-events: none;
}

body.modal-open,
body.cookie-open {
    /* небольшой затемняющий фон под backdrop */
    background: radial-gradient(circle at top left, rgba(0,0,0,0.4), transparent 55%), var(--bg-main);
}

/* Карточка "Нарушений не найдено" */

.ok-card {
    text-align: center;
}

.ok-card__body {
    padding: 20px 0 10px;
}

.ok-card__icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.ok-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 6px;
}

.ok-card__text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.ok-card__footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(15,23,42,0.9);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}
/* Плавающая кнопка настроек cookie */

.cookie-fab {
    position: fixed;
    bottom: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(15,23,42,0.95);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 70;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.cookie-fab:hover {
    transform: translateY(-1px);
    background: rgba(15,23,42,1);
    box-shadow: 0 14px 34px rgba(0,0,0,0.8);
}

/* на очень маленьких экранах можно скрыть/смещать */
@media (max-width: 480px) {
    .cookie-fab {
        bottom: 12px;
        left: 12px;
    }
}

.myreq-sites-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.myreq-site-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(39,39,57,0.9);
    background: radial-gradient(circle at top left, rgba(248,113,113,0.12), transparent 55%), #050509;
    text-decoration: none;
    color: #e5e7eb;
}

.myreq-site-item:hover {
    border-color: #f97373;
}

.myreq-site-item__url {
    font-family: SFMono-Regular,Consolas,monospace;
    font-size: 13px;
}

.myreq-site-item__meta {
    font-size: 12px;
    color: #9ca3af;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.badge--success {
    background: rgba(34,197,94,0.18);
    color: #bbf7d0;
}

.badge--muted {
    background: rgba(148,163,184,0.18);
    color: #e5e7eb;
}

.myreq-timeline {
    position: relative;
    margin-top: 10px;
    padding-left: 18px;
}
.myreq-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: rgba(148,163,184,0.4);
}
.myreq-timeline__item {
    position: relative;
    padding: 8px 0 8px 8px;
}

.myreq-timeline__time {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.myreq-timeline__title {
    font-size: 13px;
    font-weight: 600;
}
.myreq-timeline__meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.myreq-layout {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1.4fr);
    gap: 16px;
}

.myreq-layout__left,
.myreq-layout__right {
    min-width: 0;
}

@media (max-width: 900px) {
    .myreq-layout {
        grid-template-columns: 1fr;
    }
}

/* Таймлайн (как раньше) */

.myreq-timeline {
    position: relative;
    margin-top: 10px;
    padding-left: 18px;
}
.myreq-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: rgba(148,163,184,0.4);
}
.myreq-timeline__item {
    position: relative;
    padding: 8px 0 8px 8px;
}
.myreq-timeline__item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f97373;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.3);
}
.myreq-timeline__time {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.myreq-timeline__title {
    font-size: 13px;
    font-weight: 600;
}
.myreq-timeline__meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.myreq-hero-form {
    margin-top: 8px;
  
}

.myreq-hero-form__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    max-width: 520px;
    border-radius: 999px;
    overflow: hidden;
    background: #050509;
    border: 1px solid rgba(39,39,57,0.9);
}

/* input в стиле поля URL на главной */
.myreq-hero-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 14px;
    border: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 18px;
    font-family: inherit;
}
.myreq-hero-input::placeholder {
    color: #6b7280;
}
.myreq-hero-input:focus {
    outline: none;
}

/* кнопка в стиле «проверить» */
.myreq-hero-button {
    flex: 0 0 auto;
    padding: 0 20px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff3333, #ff7a3d);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* мобильное поведение: стэк как на второй картинке */
@media (max-width: 640px) {
    .myreq-hero-form__row {
        flex-direction: column;
        border-radius: 18px;
        overflow: hidden;
    }
    .myreq-hero-form {
        width: 90%;
    }

    .myreq-hero-input {
        padding: 11px 14px;
    }

    .myreq-hero-button {
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid rgba(39,39,57,0.9);
    }
}

 }
}