/* ═══════════════════════════════════════════════════════════════
   BUMAGA SERVICE — Main Landing Page Styles
   Location: /assets/css/index.css

   Namespace:    idx-*
   Dependencies: tokens.css (--bp-* variables)
   ═══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   § 0  PAGE WRAPPER & CONTAINER
   ══════════════════════════════════════════════════════════════ */

.idx-page {
    background: #1a1a1a;
    color: var(--bp-text);
    font-family: var(--bp-sans);
    overflow-x: hidden;
}

.idx-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ══════════════════════════════════════════════════════════════
   § 1  HERO
   ══════════════════════════════════════════════════════════════ */

.idx-hero {
    text-align: center;
    padding: 48px 0 40px;
}

.idx-hero-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #ffffff;
    font-family: var(--bp-sans);
    line-height: 1.1;
}

.idx-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--bp-accent) 0%, #2d7cd6 100%);
    border-radius: var(--bp-radius);
    box-shadow: 0 8px 25px var(--bp-accent-glow);
    flex-shrink: 0;
}

.idx-hero-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.idx-hero-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 9px;
    line-height: 1.6;
    font-weight: 400;
}

.idx-hero-tagline {
    color: rgba(255, 255, 255, 0.38);
    font-size: 14px;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════════
   § 2  STATS — Escrow layout
   ══════════════════════════════════════════════════════════════ */

.idx-stats {
    padding: 0 0 56px;
    margin-top: -8px;
}

.idx-stats-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

/* ── BIG CARD ── */
.idx-stat-main {
    background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
    border: 1px solid rgba(74, 158, 255, 0.22);
    border-radius: 14px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.idx-stat-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bp-accent), #2d7cd6);
}

.idx-stat-main::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60%;
    height: 140px;
    background: radial-gradient(ellipse at 0% 0%, rgba(74, 158, 255, 0.09), transparent 70%);
    pointer-events: none;
}

.idx-stat-main:hover {
    border-color: rgba(74, 158, 255, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.idx-stat-main-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.idx-stat-main-value {
    font-size: 52px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    color: var(--bp-text);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.idx-stat-main-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: auto;
    padding-bottom: 28px;
    position: relative;
    z-index: 1;
}

.idx-stat-main-sep {
    opacity: 0.3;
}

.idx-stat-main-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bp-accent);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.idx-stat-main-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.idx-stat-main-link:hover {
    opacity: 1;
}

/* ── SMALL CARDS GRID ── */
.idx-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.idx-stat-card {
    background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%);
    border: 1px solid var(--bp-border);
    border-radius: 14px;
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.idx-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bp-accent), #2d7cd6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.idx-stat-card:hover {
    border-color: rgba(74, 158, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.idx-stat-card:hover::before {
    transform: scaleX(1);
}

.idx-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--bp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.idx-stat-value {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    color: var(--bp-text);
    line-height: 1.2;
}

.idx-stat-card--secondary {
    opacity: 0.75;
}

.idx-stat-card--secondary:hover {
    opacity: 1;
}

.idx-btn--primary {
    background: var(--bp-accent);
    color: #fff;
    border-color: var(--bp-accent);
    box-shadow: 0 4px 14px rgba(74, 158, 255, 0.18);
}

.idx-btn--primary:hover {
    background: var(--bp-accent-hover);
    border-color: var(--bp-accent-hover);
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.28);
    transform: translateY(-1px);
}

.idx-btn--ghost {
    background: transparent;
    color: var(--bp-text-secondary);
    border-color: var(--bp-border-hover);
}

.idx-btn--ghost:hover {
    color: var(--bp-text);
    border-color: var(--bp-accent-border-strong);
    background: var(--bp-accent-dim);
}


/* ══════════════════════════════════════════════════════════════
   § 3  SMART ACCESS — Trust Search + Quick Actions
   PR-4: namespace idx-smart-access, idx-qa-*
   ══════════════════════════════════════════════════════════════ */

/* ── Секция-обёртка ── */
.idx-smart-access {
    padding: 0 0 64px;
}

/* Trust Search Widget уже имеет свои отступы в trust-search.css.
   Убираем padding-top чтобы органично примыкал к stats. */
.idx-smart-access .trs-section {
    padding-top: 0;
    margin-bottom: 48px;
}

/* ── Quick Actions wrap ── */
.idx-qa-wrap {
    padding-top: 0;
    margin-top: 0;
}

/* Разделитель — короткий, центрированный, смысловой */
.idx-qa-divider {
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 72px auto 60px;
    border: none;
}

/* ── Header — центрированный, как hero ── */
.idx-qa-header {
    text-align: center;
    margin-bottom: 28px;
}

.idx-qa-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 10px;
    opacity: 0.6;
}

.idx-qa-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0;
    line-height: 1.2;
}

/* ── Grid: 3 колонки × 2 ряда, центрированный контейнер ── */
.idx-qa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Карточка ── */
.idx-qa-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background: linear-gradient(180deg, #1c1c1c 0%, #171717 100%);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition:
        border-color var(--bp-transition),
        box-shadow var(--bp-transition),
        transform var(--bp-transition);
}

.idx-qa-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bp-accent), #2d7cd6);
    transform: scaleX(0);
    transition: transform var(--bp-transition);
    transform-origin: left;
}

.idx-qa-card:hover {
    border-color: var(--bp-accent);
    box-shadow: none;
    transform: none;
}

.idx-qa-card:hover::before {
    transform: scaleX(1);
}

/* ── Иконка ── */
.idx-qa-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bp-accent-dim);
    border: 1px solid rgba(74, 158, 255, 0.14);
    border-radius: var(--bp-radius-sm);
    transition: background var(--bp-transition), border-color var(--bp-transition);
}

.idx-qa-icon svg {
    width: 18px;
    height: 18px;
    color: var(--bp-accent);
    opacity: 0.7;
    transition: opacity var(--bp-transition);
}

.idx-qa-card:hover .idx-qa-icon {
    background: rgba(74, 158, 255, 0.16);
    border-color: rgba(74, 158, 255, 0.24);
}

.idx-qa-card:hover .idx-qa-icon svg {
    opacity: 1;
}

/* ── Текст ── */
.idx-qa-body {
    flex: 1;
    min-width: 0;
}

.idx-qa-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--bp-text);
    line-height: 1.3;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.idx-qa-sub {
    font-size: 11px;
    color: var(--bp-text-secondary);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Стрелка — появляется на hover ── */
.idx-qa-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-4px);
    transition:
        opacity var(--bp-transition),
        transform var(--bp-transition);
}

.idx-qa-arrow svg {
    width: 14px;
    height: 14px;
    color: var(--bp-accent);
}

.idx-qa-card:hover .idx-qa-arrow {
    opacity: 0.7;
    transform: translateX(0);
}


/* ══════════════════════════════════════════════════════════════
   § 4  PLATFORM OVERVIEW — Ecosystem
   PR-5: namespace idx-eco-*
   ══════════════════════════════════════════════════════════════ */

.idx-eco {
    padding: 100px 0;
}

/* ── Header ── */
.idx-eco-header {
    text-align: center;
    margin-bottom: 48px;
}

.idx-eco-kicker {
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.6;
    margin: 0 0 12px;
}

.idx-eco-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0 0 12px;
    line-height: 1.2;
}

.idx-eco-sub {
    font-size: 15px;
    color: var(--bp-text-secondary);
    margin: 0;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Grids ── */
.idx-eco-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.idx-eco-grid--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.idx-eco-grid--2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Карточки ряда 2 шириной 2/3 от строки — центрируем */
    max-width: calc((1100px - 20px) * 2 / 3 + 20px);
}

/* ── Карточка ── */
.idx-eco-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
    position: relative;
}

.idx-eco-card:hover {
    border-color: var(--bp-accent);
}

/* ── Иконка ── */
.idx-eco-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--bp-accent-dim);
    border-radius: var(--bp-radius-sm);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.idx-eco-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--bp-accent);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.idx-eco-card:hover .idx-eco-card-icon svg {
    opacity: 1;
}

/* ── Заголовок категории ── */
.idx-eco-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--bp-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* ── Пункты — описание, не ссылки ── */
.idx-eco-card-items {
    font-size: 13px;
    color: var(--bp-text-secondary);
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 10px;
}

.idx-eco-sep {
    margin: 0 5px;
    opacity: 0.4;
}

/* ── Описание под пунктами ── */
.idx-eco-card-desc {
    font-size: 12px;
    color: var(--bp-text-secondary);
    opacity: 0.5;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}

/* ── CTA — появляется только на hover ── */
.idx-eco-card-cta {
    font-size: 12px;
    font-weight: 500;
    color: var(--bp-accent);
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-top: auto;
}

.idx-eco-card:hover .idx-eco-card-cta {
    opacity: 0.8;
}



/* ══════════════════════════════════════════════════════════════
   § 5  HOW IT WORKS — Dual Flow
   PR-6: namespace idx-hiw-*
   ══════════════════════════════════════════════════════════════ */

.idx-hiw {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Header ── */
.idx-hiw-header {
    text-align: center;
    margin-bottom: 36px;
}

.idx-hiw-kicker {
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.6;
    margin: 0 0 12px;
}

.idx-hiw-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0;
    line-height: 1.2;
}

/* ── Tab Switch ── */
.idx-hiw-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.idx-hiw-tab {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--bp-sans);
    background: transparent;
    border: 1px solid #333;
    border-radius: var(--bp-radius-sm);
    color: var(--bp-text-secondary);
    opacity: 0.7;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.idx-hiw-tab:hover {
    opacity: 1;
    color: var(--bp-text);
}

.idx-hiw-tab--active {
    border-color: var(--bp-accent);
    color: #fff;
    opacity: 1;
}

/* ── Panel ── */
.idx-hiw-panel {
    max-width: 1100px;
    margin: 0 auto;
}

.idx-hiw-panel--hidden {
    display: none;
}

.idx-hiw-panel-sub {
    text-align: center;
    font-size: 14px;
    color: var(--bp-text-secondary);
    opacity: 0.65;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* ── Flow row: шаги + стрелки ── */
.idx-hiw-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* ── Стрелка между шагами ── */
.idx-hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    color: rgba(255, 255, 255, 0.18);
}

.idx-hiw-arrow svg {
    width: 16px;
    height: 16px;
}

/* ── Карточка шага ── */
.idx-hiw-step {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 22px 20px;
    transition: border-color 0.2s ease;
}

.idx-hiw-step:hover {
    border-color: var(--bp-accent);
}

.idx-hiw-step-num {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--bp-mono);
    color: var(--bp-accent);
    opacity: 0.5;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.idx-hiw-step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--bp-text);
    line-height: 1.3;
    margin-bottom: 8px;
}

.idx-hiw-step-text {
    font-size: 13px;
    color: var(--bp-text-secondary);
    opacity: 0.75;
    line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════════
   § 5  RESPONSIVE — How It Works
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .idx-hiw { padding: 64px 0; }
    .idx-hiw-title { font-size: 22px; }

    .idx-hiw-tabs {
        flex-direction: column;
        align-items: center;
    }

    .idx-hiw-tab {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    /* Вертикальный список на мобайле */
    .idx-hiw-flow {
        flex-direction: column;
        gap: 0;
    }

    /* Стрелка → ↓ на мобайле */
    .idx-hiw-arrow {
        width: 100%;
        height: 28px;
        transform: rotate(90deg);
    }
}


/* ══════════════════════════════════════════════════════════════
   § 6  TRUST BLOCK
   ── PR-6 fills this section ──
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   § 6  USE CASES — Сценарии использования
   PR-7: namespace idx-uc-*
   ══════════════════════════════════════════════════════════════ */

.idx-uc {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Header ── */
.idx-uc-header {
    text-align: center;
    margin-bottom: 48px;
}

.idx-uc-kicker {
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.6;
    margin: 0 0 12px;
}

.idx-uc-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0;
    line-height: 1.2;
}

/* ── Grid: 2×2 ── */
.idx-uc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Карточка ── */
.idx-uc-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: border-color 0.2s ease;
}

.idx-uc-card:hover {
    border-color: var(--bp-accent);
}

/* ── Top: иконка + название в ряд ── */
.idx-uc-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.idx-uc-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--bp-accent-dim);
    border-radius: var(--bp-radius-sm);
}

.idx-uc-card-icon svg {
    width: 17px;
    height: 17px;
    color: var(--bp-accent);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.idx-uc-card:hover .idx-uc-card-icon svg {
    opacity: 1;
}

.idx-uc-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--bp-text);
    line-height: 1.2;
}

/* ── Описание ── */
.idx-uc-card-desc {
    font-size: 13px;
    color: var(--bp-text-secondary);
    opacity: 0.7;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

/* ── Теги сервисов ── */
.idx-uc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.idx-uc-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--bp-accent);
    background: var(--bp-accent-dim);
    border: 1px solid rgba(74, 158, 255, 0.14);
    border-radius: 6px;
    padding: 3px 9px;
    opacity: 0.8;
    white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════════
   § 6  RESPONSIVE — Use Cases
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .idx-uc { padding: 64px 0; }
    .idx-uc-title { font-size: 22px; }
    .idx-uc-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   § 7  FINAL CTA
   PR-8: namespace idx-cta-*
   ══════════════════════════════════════════════════════════════ */

.idx-cta {
    padding: 100px 0 120px;
}

.idx-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.idx-cta-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}

.idx-cta-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Кнопки ── */
.idx-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.idx-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--bp-sans);
    border-radius: var(--bp-radius-sm);
    border: 1px solid transparent;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.idx-cta-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Основная — синяя */
.idx-cta-btn--primary {
    background: var(--bp-accent);
    border-color: var(--bp-accent);
    color: #fff;
    box-shadow: 0 4px 18px rgba(74, 158, 255, 0.22);
}

.idx-cta-btn--primary:hover {
    background: var(--bp-accent-hover);
    border-color: var(--bp-accent-hover);
    box-shadow: 0 4px 24px rgba(74, 158, 255, 0.32);
}

/* Вторичная — ghost */
.idx-cta-btn--ghost {
    background: transparent;
    border-color: #444;
    color: var(--bp-text-secondary);
}

.idx-cta-btn--ghost:hover {
    border-color: rgba(74, 158, 255, 0.45);
    color: var(--bp-text);
}


/* ══════════════════════════════════════════════════════════════
   § 7  RESPONSIVE — CTA
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .idx-cta { padding: 72px 0 88px; }
    .idx-cta-title { font-size: 26px; }
    .idx-cta-sub { font-size: 14px; margin-bottom: 32px; }
    .idx-cta-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
    .idx-cta-btn { justify-content: center; }
}


/* ══════════════════════════════════════════════════════════════
   § 8  TRUST BLOCK
   ── PR-8 fills this section ──
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   § 8  PRIVACY BLOCK
   PR-9: namespace idx-privacy-*
   ══════════════════════════════════════════════════════════════ */

.idx-privacy {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.idx-privacy-header {
    text-align: center;
    margin-bottom: 48px;
}

.idx-privacy-kicker {
    font-size: 12px;
    font-weight: 600;
    color: var(--bp-accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.6;
    margin: 0 0 12px;
}

.idx-privacy-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--bp-text);
    margin: 0 0 10px;
    line-height: 1.2;
}

.idx-privacy-sub {
    font-size: 15px;
    color: var(--bp-text-secondary);
    opacity: 0.6;
    margin: 0;
    line-height: 1.5;
}

.idx-privacy-compare {
    display: grid;
    grid-template-columns: 1fr 72px 1fr;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.idx-privacy-col {
    background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.idx-privacy-col--bad {
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.idx-privacy-col--good {
    border: 1px solid rgba(74, 158, 255, 0.22);
    position: relative;
}

.idx-privacy-col--good::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bp-accent), #2d7cd6);
    border-radius: 14px 14px 0 0;
}

.idx-privacy-col-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.idx-privacy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.idx-privacy-dot--red  { background: #ef4444; }
.idx-privacy-dot--blue { background: var(--bp-accent); }

.idx-privacy-col-head-label--bad  { color: #f87171; }
.idx-privacy-col-head-label--good { color: var(--bp-accent); }

.idx-privacy-rows {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.idx-privacy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
}

.idx-privacy-row:last-child {
    border-bottom: none;
}

.idx-privacy-row-label {
    font-size: 12px;
    color: var(--bp-text-secondary);
    opacity: 0.7;
    flex-shrink: 0;
}

.idx-privacy-row-val {
    font-size: 11px;
    font-family: 'Roboto Mono', monospace;
    color: rgba(255, 255, 255, 0.25);
    flex: 1;
    text-align: center;
}

.idx-privacy-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.idx-privacy-badge--red {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.idx-privacy-badge--orange {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.idx-privacy-badge--green {
    background: rgba(34, 197, 94, 0.08);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.idx-privacy-badge--blue {
    background: var(--bp-accent-dim);
    color: var(--bp-accent);
    border: 1px solid rgba(74, 158, 255, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.idx-privacy-badge--blue svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.idx-privacy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.idx-privacy-divider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(74, 158, 255, 0.15) 30%,
        rgba(74, 158, 255, 0.15) 70%,
        transparent 100%
    );
}

.idx-privacy-shield {
    width: 48px;
    height: 48px;
    background: #1e2433;
    border: 1px solid rgba(74, 158, 255, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    flex-shrink: 0;
}

.idx-privacy-shield svg {
    width: 22px;
    height: 22px;
    color: var(--bp-accent);
}

@media (max-width: 768px) {
    .idx-privacy { padding: 64px 0; }
    .idx-privacy-title { font-size: 22px; }
    .idx-privacy-compare {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .idx-privacy-divider { display: none; }
    .idx-privacy-col--bad {
        border-radius: 14px 14px 0 0;
        border-bottom: none;
    }
    .idx-privacy-col--good {
        border-radius: 0 0 14px 14px;
    }
    .idx-privacy-col--good::before { display: none; }
}

@media (max-width: 480px) {
    .idx-privacy-row-val { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   § 9  RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .idx-stats-layout {
        grid-template-columns: 1fr;
    }
    .idx-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .idx-stat-main-value {
        font-size: 44px;
    }
    .idx-qa-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .idx-eco-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .idx-eco-grid--2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .idx-hero { padding: 40px 0 32px; }
    .idx-hero-title { font-size: 28px; gap: 12px; }
    .idx-hero-icon { width: 44px; height: 44px; }
    .idx-hero-icon svg { width: 24px; height: 24px; }
    .idx-hero-subtitle { font-size: 14px; margin-bottom: 20px; }
    .idx-stat-main { padding: 24px 20px; }
    .idx-stat-main-value { font-size: 36px; }
    .idx-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .idx-stat-card { padding: 18px 16px; }
    .idx-stat-value { font-size: 22px; }

    .idx-eco { padding: 64px 0; }
    .idx-eco-title { font-size: 22px; }
    .idx-eco-grid--3,
    .idx-eco-grid--2 { grid-template-columns: 1fr; max-width: 100%; }
    .idx-eco-grid--3 { margin-bottom: 12px; }

    .idx-smart-access { padding-bottom: 48px; }
    .idx-smart-access .trs-section { margin-bottom: 36px; }
    .idx-qa-wrap { padding-top: 52px; }
    .idx-qa-title { font-size: 18px; }
    .idx-qa-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 100%; }
    .idx-qa-card { padding: 14px 12px; gap: 11px; }
    .idx-qa-icon { width: 34px; height: 34px; }
    .idx-qa-icon svg { width: 16px; height: 16px; }
    .idx-qa-name { font-size: 12px; }
    .idx-qa-sub { font-size: 10px; }
}

@media (max-width: 480px) {
    .idx-hero-title { font-size: 22px; gap: 10px; flex-direction: column; }
    .idx-stats-grid { grid-template-columns: 1fr; }
    .idx-stat-main-value { font-size: 32px; }

    .idx-qa-grid { grid-template-columns: 1fr; }
    .idx-qa-card { padding: 16px 14px; }
    .idx-qa-arrow { opacity: 0.4; transform: translateX(0); }
}
