/* ================================================================
   main-page.css — стили главной страницы mxander.ru
   ================================================================ */

/* ---------- Wrapper ---------- */
.wrapper {
    position: relative;
}
.wrapper > .inner {
    padding: 5em 5em 3em 5em;
    max-width: 100%;
    width: 75em;
    margin: 0 auto;
}

/* Glass sections */
.wrapper.style1 {
    background: rgba(15, 16, 46, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wrapper.style1.fullscreen {
    background: rgba(15, 16, 46, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

/* ---------- Preload ---------- */
body.is-preload * {
    animation: none !important;
    transition: none !important;
}
body.is-preload #sidebar > .inner {
    opacity: 0;
}
body.is-preload #sidebar nav ul li {
    transform: translateY(2em);
    opacity: 0;
}

/* ---------- Sidebar ---------- */
#sidebar {
    padding: 1.5em 2.5em 0.5em 2.5em;
    background: rgba(15, 16, 46, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    cursor: default;
    height: 100vh;
    left: 0;
    overflow: hidden;
    position: fixed;
    text-align: right;
    top: 0;
    width: 18em;
    z-index: 10000;
}
#sidebar > .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(0);
    transition: opacity 1s ease;
    min-height: 100%;
    opacity: 1;
    width: 100%;
}
#sidebar nav > ul { list-style: none; padding: 0; }
#sidebar nav > ul > li {
    margin: 0.8em 0 0 0;
    opacity: 1;
    padding: 0;
    position: relative;
}
#sidebar nav > ul > li:first-child { margin: 0; }

/* Nav link — оригинальный визуал Hyperspace */
#sidebar nav a {
    transition: color 0.2s ease;
    border: 0;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 0.25em;
    line-height: 1.75;
    outline: 0;
    padding: 1em 0;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}
#sidebar nav a:hover {
    color: #fff;
}
/* Фоновая дорожка */
#sidebar nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 0.2em;
    border-radius: 0.2em;
    background: rgba(60, 44, 98, 0.6);
}
/* Активный индикатор — градиент, анимированная ширина */
#sidebar nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 0.2em;
    border-radius: 0.2em;
    background: linear-gradient(to right, #124eff, #c444ff);
    max-width: 0;
    transition: max-width 0.2s ease;
}
#sidebar nav a.active {
    color: #fff;
}
#sidebar nav a.active::after {
    max-width: 100%;
}

/* Wrapper offset for sidebar */
#sidebar + #wrapper { margin-left: 18em; }

/* Sidebar logo */
#sidebar .sidebar-logo {
    text-align: center;
    padding: 6px 0 4px;
}
#sidebar .sidebar-logo img {
    width: 180px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}
#sidebar .sidebar-logo img:hover {
    border-color: #00D0FF;
    box-shadow: 0 0 24px rgba(0, 208, 255, 0.4);
}

/* ---------- Fade-up animation ---------- */
.wrapper.fade-up > .inner {
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
    opacity: 1.0;
}
body.is-preload .wrapper.fade-up > .inner {
    opacity: 0;
    transform: translateY(1em);
}
.wrapper.fade-up.inactive > .inner {
    opacity: 0;
    transform: translateY(1em);
}

/* ---------- Intro ---------- */
#intro p {
    font-size: 1.05em;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Cards ---------- */
.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 32px 28px;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 208, 255, 0.3);
}
.card.accent {
    border-color: rgba(0, 208, 255, 0.2);
    background: rgba(0, 208, 255, 0.03);
}
.card.accent:hover {
    border-color: rgba(0, 208, 255, 0.45);
    background: rgba(0, 208, 255, 0.06);
}
.card-rule {
    width: 40px;
    height: 2px;
    background: #00D0FF;
    opacity: 0.6;
    margin-bottom: 16px;
    border-radius: 1px;
}
.indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 208, 255, 0.4);
    color: #00D0FF;
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 14px;
    flex-shrink: 0;
}

/* ---------- Hero Metrics ---------- */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin: 32px 0;
}
.hero-metric {
    background: rgba(15, 16, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    padding: 28px 20px;
}
.hero-metric .metric-value {
    display: block;
    font-size: 1.7em;
    font-weight: 700;
    color: #00D0FF;
    line-height: 1.2;
}
.hero-metric .metric-label {
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    line-height: 1.4;
}

/* ---------- Contrast Cards (Why Me) ---------- */
.contrast-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 28px 0;
}
.contrast-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.contrast-card .cc-head {
    padding: 14px 24px;
    font-weight: 700;
    font-size: 0.92em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}
.contrast-card.other .cc-head {
    background: rgba(255, 70, 70, 0.12);
    color: #ff7070;
}
.contrast-card.me .cc-head {
    background: rgba(0, 208, 255, 0.1);
    color: #00D0FF;
}
.contrast-card .cc-body {
    padding: 18px 24px;
    background: rgba(15, 16, 46, 0.5);
}
.contrast-card .cc-body p {
    font-size: 0.92em;
    line-height: 1.6;
    margin: 0;
    padding: 10px 0;
}
.contrast-card .cc-body p + p {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.contrast-card.other .cc-body p { color: rgba(255, 255, 255, 0.65); }
.contrast-card.me .cc-body p   { color: rgba(255, 255, 255, 0.85); }

/* ---------- Pain Scenarios ---------- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin: 28px 0;
}
.pain-card {
    background: rgba(15, 16, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 28px;
}
.pain-card .pain-num {
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 208, 255, 0.6);
    margin-bottom: 14px;
}
.pain-card h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}
.pain-card p {
    font-size: 0.92em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

/* ---------- Modules Grid ---------- */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin: 28px 0;
}
.module-card {
    background: rgba(15, 16, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 28px 24px;
}
.module-card .module-rule {
    width: 28px;
    height: 2px;
    background: rgba(0, 208, 255, 0.5);
    border-radius: 1px;
    margin-bottom: 14px;
}
.module-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}
.module-card p {
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}

/* ---------- Experience Grid ---------- */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin: 28px 0;
}
.exp-card {
    background: rgba(15, 16, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 28px;
}
.exp-card .exp-years {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00D0FF;
    padding: 4px 10px;
    border: 1px solid rgba(0, 208, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 14px;
}
.exp-card h3 {
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 10px;
}
.exp-card p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

/* ---------- Ownership / Architect ---------- */
.ownership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin: 28px 0;
}
.ownership-card {
    background: rgba(15, 16, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 28px;
}
.ownership-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 14px;
}
.ownership-card ul { list-style: none; padding: 0; }
.ownership-card li {
    padding: 6px 0 6px 22px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    position: relative;
}
.ownership-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #4dff91;
    opacity: 0.7;
}

/* ---------- Process Steps ---------- */
.process-steps {
    margin: 28px 0;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom,
        rgba(0, 208, 255, 0.35),
        rgba(0, 208, 255, 0.15) 60%,
        rgba(0, 208, 255, 0.05)
    );
    border-radius: 1px;
}
.process-step {
    display: flex;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: flex-start;
}
.process-step:last-child { border-bottom: none; }
.process-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 208, 255, 0.08);
    border: 1px solid rgba(0, 208, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 700;
    color: #00D0FF;
}
.process-body h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 6px;
}
.process-body p {
    font-size: 0.92em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}
.process-body .process-meta {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 500;
    color: rgba(0, 208, 255, 0.65);
    margin-top: 8px;
    letter-spacing: 0.03em;
}

/* ---------- Pricing Hero ---------- */
.pricing-hero {
    border: 1px solid rgba(0, 208, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    margin: 28px 0;
}
.pricing-main {
    text-align: center;
    padding: 40px 28px 32px;
}
.pricing-badge {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 208, 255, 0.7);
    padding: 4px 14px;
    border: 1px solid rgba(0, 208, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 20px;
}
.pricing-price {
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.pricing-unit {
    font-size: 0.45em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}
.pricing-hours {
    font-size: 1em;
    color: rgba(0, 208, 255, 0.8);
    font-weight: 500;
}
.pricing-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.pricing-detail {
    padding: 20px 24px;
    text-align: center;
}
.pricing-detail.accent { background: rgba(0, 208, 255, 0.04); }
.pricing-label {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}
.pricing-value {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
}
.pricing-detail.accent .pricing-value { color: #4dff91; }
.pricing-note {
    display: block;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}
.pricing-includes {
    padding: 20px 28px;
    text-align: center;
}
.pricing-includes p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Filter ---------- */
.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin: 28px 0;
}
.filter-card {
    background: rgba(15, 16, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px 28px;
}
.filter-card h3 { font-size: 1.05em; font-weight: 600; margin-bottom: 16px; }
.filter-card.fit h3  { color: #4dff91; }
.filter-card.nope h3 { color: #ff7070; }
.filter-card ul { list-style: none; padding: 0; }
.filter-card li {
    padding: 6px 0 6px 22px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    position: relative;
}
.filter-card.fit li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #4dff91;
    opacity: 0.7;
}
.filter-card.nope li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 2px;
    background: #ff7070;
    opacity: 0.7;
}

/* ---------- FAQ ---------- */
.faq-list { margin: 28px 0; }
.faq-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    font-weight: 600;
    font-size: 1em;
    color: #fff;
    margin-bottom: 8px;
}
.faq-a {
    font-size: 0.92em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

/* ---------- Contacts Glass Card ---------- */
.contact-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 36px 28px;
    text-align: center;
}
.contact-glass .contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}
.contact-glass .contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}
.contact-glass .contact-link:hover {
    background: #00D0FF;
    color: #0F102E;
    border-color: #00D0FF;
    box-shadow: 0 8px 24px rgba(0, 208, 255, 0.3);
}
#contact-photo,
#contact-photo-2 {
    width: 200px;
    height: auto;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.12);
    margin-bottom: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    cursor: pointer;
}
#contact-photo:hover,
#contact-photo-2:hover {
    border-color: #00D0FF !important;
    box-shadow: 0 0 32px rgba(0, 208, 255, 0.5) !important;
}

/* ---------- About ---------- */
.about-row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    margin: 28px 0;
}
.about-photo { flex: 0 0 240px; text-align: center; }
.about-photo img {
    width: 200px;
    border-radius: 16px;
    border: 2px solid rgba(0, 208, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.about-photo img:hover {
    border-color: #00D0FF;
    box-shadow: 0 0 28px rgba(0, 208, 255, 0.45), 0 12px 32px rgba(0, 0, 0, 0.4);
}
.about-text { flex: 1; min-width: 280px; }
.about-text h2 {
    font-size: 1.5em;
    margin-bottom: 16px;
    line-height: 1.35;
}
.about-text p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 12px;
}
.about-text p strong { color: #fff; }

/* ---------- Scroll to top ---------- */
#scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 208, 255, 0.15);
    border: 1px solid rgba(0, 208, 255, 0.3);
    color: #00D0FF;
    font-size: 1.3em;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scroll-top:hover {
    background: #00D0FF;
    color: #0F102E;
}

/* ---------- Quiz ---------- */
.quiz-container {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
}
.quiz-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}
.quiz-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #00D0FF, #4dff91);
    border-radius: 2px;
    transition: width 0.4s ease;
}
.quiz-step-label {
    text-align: center;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}
.quiz-step {
    display: none;
}
.quiz-step.active {
    display: block;
    animation: quizFadeIn 0.3s ease;
}
@keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.quiz-question {
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    text-align: center;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.quiz-option {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}
.quiz-option:hover {
    background: rgba(0, 208, 255, 0.08);
    border-color: rgba(0, 208, 255, 0.3);
    color: #fff;
}
.quiz-option:active {
    background: rgba(0, 208, 255, 0.15);
    transform: scale(0.99);
}
.quiz-nav {
    margin-top: 20px;
    text-align: center;
}
.quiz-back {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.88em;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quiz-back:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Quiz Result */
.quiz-result .quiz-result-header {
    text-align: center;
    margin-bottom: 28px;
}
.quiz-result .quiz-result-header .result-tag {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00D0FF;
    padding: 4px 12px;
    border: 1px solid rgba(0, 208, 255, 0.25);
    border-radius: 4px;
    margin-bottom: 12px;
}
.quiz-result .quiz-result-header .result-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.quiz-result .quiz-result-header .result-subtitle {
    font-size: 0.92em;
    color: rgba(255, 255, 255, 0.6);
}
.quiz-result-body { margin-bottom: 28px; }
.result-block {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.result-block:last-child { border-bottom: none; }
.result-block-label {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.result-block-label.red { color: #ff7070; }
.result-block-label.yellow { color: #f0c040; }
.result-block-label.green { color: #4dff91; }
.result-block-label.blue { color: #00D0FF; }
.result-block h4 {
    font-size: 1em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.result-block p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    padding: 4px 0;
}
.result-block p:first-child { margin-top: 4px; }
.quiz-result-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.quiz-result-footer p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}
.quiz-result-contacts {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quiz Feedback (after each answer) */
.quiz-feedback {
    margin-top: 20px;
    padding: 20px 24px;
    background: rgba(0, 208, 255, 0.04);
    border: 1px solid rgba(0, 208, 255, 0.15);
    border-radius: 14px;
    animation: quizFadeIn 0.3s ease;
}
.quiz-feedback-context {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 8px;
}
.quiz-feedback-context strong { color: #00D0FF; }
.quiz-feedback-preview {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 16px;
}
.quiz-next {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(0, 208, 255, 0.12);
    border: 1px solid rgba(0, 208, 255, 0.3);
    border-radius: 10px;
    color: #00D0FF;
    font-size: 0.92em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quiz-next:hover {
    background: rgba(0, 208, 255, 0.2);
    border-color: #00D0FF;
}

/* Quiz Result Final (pricing + contacts) */
.quiz-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    margin: 20px 0;
}
.quiz-pricing-card {
    background: rgba(15, 16, 46, 0.6);
    padding: 24px 20px;
    text-align: center;
}
.quiz-pricing-card.accent {
    background: rgba(0, 208, 255, 0.04);
}
.quiz-pricing-card.trust {
    background: rgba(77, 255, 145, 0.04);
    border: 1px solid rgba(77, 255, 145, 0.15);
}
.quiz-pricing-card.trust h4 {
    color: #4dff91;
}
.quiz-pricing-card.trust .price-note {
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}
.quiz-pricing-card h4 {
    font-size: 1em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.quiz-pricing-card .price {
    font-size: 1.8em;
    font-weight: 700;
    color: #00D0FF;
    margin-bottom: 4px;
}
.quiz-pricing-card .price-note {
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Fears contrast ---------- */
.fears-contrast {
    text-align: center;
    margin-top: 28px;
    padding: 24px 28px;
    background: rgba(0, 208, 255, 0.03);
    border: 1px solid rgba(0, 208, 255, 0.12);
    border-radius: 14px;
}
.fears-contrast p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 12px;
}
.fears-contrast p:last-child { margin-bottom: 0; }

/* Fear card accent */
.pain-card.fear-card {
    border-left: 3px solid rgba(255, 112, 112, 0.3);
}

/* ---------- Comparison Table ---------- */
.comparison-table {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 28px 0;
}
.comparison-row {
    display: grid;
    grid-template-columns: 160px repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
}
.comparison-row + .comparison-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.comparison-header {
    background: rgba(0, 208, 255, 0.06);
}
.comparison-header .comparison-cell {
    font-weight: 700;
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.comparison-cell {
    padding: 16px 14px;
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    text-align: center;
}
.comparison-cell.accent {
    background: rgba(0, 208, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
}
.comparison-label {
    text-align: left;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}
.comparison-note {
    display: block;
    font-size: 0.82em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}
@media (max-width: 980px) {
    .comparison-table { font-size: 0.85em; }
    .comparison-row { grid-template-columns: 120px repeat(4, 1fr); }
    .comparison-cell { padding: 12px 8px; }
}
@media (max-width: 768px) {
    .comparison-row { grid-template-columns: 1fr 1fr; }
    .comparison-header { display: none; }
    .comparison-label { 
        grid-column: 1 / -1; 
        background: rgba(0, 208, 255, 0.06); 
        padding: 10px 14px;
        font-size: 0.9em;
    }
    .comparison-cell:first-child { display: none; }
}

/* ---------- Shared inline-style replacements ---------- */
.hero-lead {
    font-size: 1.05em;
    color: rgba(255,255,255,0.75);
}

.svg-flow {
    text-align: center;
    margin-bottom: 28px;
}
.svg-flow svg { max-width: 100%; }

.section-heading { text-align: center; }

.section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
}
.section-subtitle.mb-sm { margin-bottom: 10px; }

.section-footnote {
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: 1.05em;
}

/* Fine-print disclaimer */
.text-fine {
    color: rgba(255,255,255,0.55);
    font-size: 1.05em;
}

/* In-card accent: 80 000 ₽/мес */
.card-accent-price { color: #00D0FF; }
.text-white { color: #fff; }

/* Indicator margins */
.indicator { margin-bottom: 12px; }

/* Contact card */
.contact-photo {
    width: 200px;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.12);
    margin-bottom: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    cursor: pointer;
}
.contact-name { margin-bottom: 4px; }
.contact-role {
    color: #00D0FF;
    font-weight: 600;
    font-size: 1.05em;
    margin-bottom: 4px;
}
.contact-legal {
    font-size: 0.95em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
}

/* ================================================================
   Адаптив
   ================================================================ */

/* Tablets (sidebar collapses to top bar) */
@media (max-width: 1280px) {
    #sidebar {
        height: 3.5em;
        left: 0;
        line-height: 3.5em;
        overflow: hidden;
        padding: 0;
        text-align: center;
        top: 0;
        width: 100%;
    }
    #sidebar > .inner {
        flex-direction: row;
        align-items: stretch;
        height: inherit;
        line-height: inherit;
    }
    #sidebar nav {
        height: inherit;
        line-height: inherit;
    }
    #sidebar nav ul {
        display: flex;
        height: inherit;
        line-height: inherit;
        margin: 0;
    }
    #sidebar nav ul li {
        display: block;
        height: inherit;
        line-height: inherit;
        margin: 0 0 0 2em;
        padding: 0;
    }
    #sidebar nav a {
        height: inherit;
        line-height: inherit;
        padding: 0;
    }
    #sidebar nav a::after {
        background: #b74e91;
        background-image: none;
    }
    #sidebar nav a::before {
        display: none;
    }
    .sidebar-logo { display: none; }
    #sidebar + #wrapper { margin-left: 0; padding-top: 3.5em; }
    .wrapper > .inner { width: 100%; }
}

/* Small screens — hide sidebar */
@media (max-width: 736px) {
    #sidebar { display: none; }
    #sidebar + #wrapper { margin-left: 0; padding-top: 0; }
}

/* Medium */
@media (max-width: 980px) {
    .hero-metrics,
    .pain-grid,
    .modules-grid,
    .exp-grid { grid-template-columns: 1fr; }
    .ownership-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    .contrast-cards,
    .ownership-grid,
    .pricing-details { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: 1fr; }
    .pricing-price { font-size: 2.5em; }
    .process-step { flex-direction: column; gap: 14px; }
    .process-steps::before { display: none; }
    .contact-glass .contact-links { grid-template-columns: 1fr; }
    .about-row { gap: 28px; justify-content: center; }
    .about-photo { flex: 0 0 auto; }
    #sidebar .sidebar-logo img { width: 140px; }
    h1 { font-size: 1.6em !important; }
    h2 { font-size: 1.3em !important; }
    .hero-metric .metric-value { font-size: 1.3em; }
    .wrapper > .inner { padding: 2.5em 1.5em 1.5em 1.5em; }
    .quiz-container { padding: 24px 18px; }
    .quiz-question { font-size: 1.05em; }
    .quiz-option { padding: 14px 16px; font-size: 0.9em; }
    .quiz-result-contacts { flex-direction: column; align-items: center; }
    .quiz-result-contacts .button { width: 100%; text-align: center; }
    .quiz-pricing-grid { grid-template-columns: 1fr; }
}

/* Small mobile */
@media (max-width: 600px) {
    .hero-metrics,
    .pain-grid,
    .modules-grid,
    .exp-grid,
    .ownership-grid,
    .filter-grid { grid-template-columns: 1fr; gap: 1px; }
    .contrast-cards { grid-template-columns: 1fr; }
    .card { padding: 22px 16px; }
    .hero-metric { padding: 20px 14px; }
    .hero-metric .metric-value { font-size: 1.2em; }
    .hero-metric .metric-label { font-size: 0.82em; }
    h1 { font-size: 1.35em !important; line-height: 1.3 !important; }
    h2 { font-size: 1.15em !important; }
    h3 { font-size: 1.05em !important; }
    .process-num { width: 40px; height: 40px; font-size: 1.1em; }
    #sidebar .sidebar-logo img { width: 100px; }
    .contact-glass { padding: 24px 16px; border-radius: 16px; }
    .contact-glass .contact-link { padding: 12px; font-size: 0.9em; }
    .about-photo img { width: 160px; }
    .about-text p { font-size: 0.9em; }
    .pain-card, .module-card, .exp-card,
    .ownership-card, .filter-card { padding: 22px 16px; }
    .pain-card h3, .module-card h3, .exp-card h3 { font-size: 1.1em; }
    .pain-card p, .module-card p, .exp-card p { font-size: 0.88em; }
}

/* Very small */
@media (max-width: 400px) {
    #sidebar .sidebar-logo img { width: 80px; }
    .hero-metric { padding: 16px 10px; }
    .hero-metric .metric-value { font-size: 1.05em; }
    h1 { font-size: 1.2em !important; }
    h2 { font-size: 1.05em !important; }
}

/* Large screens (2K / 4K) */
@media (min-width: 1920px) {
    .wrapper > .inner { width: 80em; }
    .hero-metric .metric-value { font-size: 2em; }
}
@media (min-width: 2560px) {
    .wrapper > .inner { width: 75em; }
    .hero-metric .metric-value { font-size: 2.2em; }
}
@media (min-width: 3840px) {
    .wrapper > .inner { width: 65em; }
    .hero-metric .metric-value { font-size: 2.4em; }
}
