@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --color-primary: oklch(69.6% 0.149 162.5);
    --color-primary-light: oklch(78% 0.105 162);
    --color-primary-dark: oklch(59.6% 0.127 163);
    --color-primary-surface: oklch(97.9% 0.021 166);
    --color-primary-surface-strong: oklch(94.5% 0.04 164);
    --color-accent: oklch(69.6% 0.149 162.5);
    --color-accent-dark: oklch(59.6% 0.127 163);
    --color-accent-surface: oklch(97.9% 0.021 166);
    --color-text: oklch(22% 0.02 162);
    --color-text-secondary: oklch(38% 0.02 162);
    --color-text-muted: oklch(50% 0.015 162);
    --color-text-on-primary: oklch(98% 0.005 162);
    --color-bg: oklch(97.5% 0.01 162);
    --color-surface: oklch(99.5% 0.005 162);
    --color-border: oklch(88% 0.015 162);
    --color-border-light: oklch(93% 0.01 162);
    --color-success: oklch(60% 0.13 162);
    --color-success-surface: oklch(96% 0.025 162);
    --color-warning: oklch(75% 0.15 80);
    --color-warning-surface: oklch(96% 0.04 80);
    --color-error: oklch(55% 0.15 25);
    --color-info: oklch(50% 0.1 230);
    --color-error-surface: oklch(96% 0.02 25);
    --color-info-surface: oklch(96% 0.015 230);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --text-xs: 0.8rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.25rem;
    --text-xl: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
    --text-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    --text-3xl: clamp(2rem, 1.3rem + 2.5vw, 3rem);
    --lh-tight: 1.15;
    --lh-snug: 1.35;
    --lh-body: 1.7;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 999px;
    --shadow-sm: 0 1px 3px oklch(0% 0 0 / 0.06);
    --shadow-md: 0 2px 8px oklch(0% 0 0 / 0.08);
    --shadow-lg: 0 4px 16px oklch(0% 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--lh-body);
    color: var(--color-text);
    background: var(--color-bg);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    height: 72px;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-text);
    flex-shrink: 0;
    text-decoration: none;
}

.logo__icon {
    font-size: var(--text-2xl);
}

.logo__accent {
    color: var(--color-accent-dark);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
}

.header__nav-link {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.header__nav-link:hover {
    background: var(--color-primary-surface);
    color: var(--color-primary);
}

.header__nav-link.is-current,
.header__nav-link.active {
    background: var(--color-primary-surface);
    color: var(--color-primary);
    font-weight: 700;
    pointer-events: none;
    cursor: default;
}
.header__nav-link.is-current:hover,
.header__nav-link.active:hover {
    background: var(--color-primary-surface);
    color: var(--color-primary);
}
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.6em;
    cursor: pointer;
    padding: var(--space-sm);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .header__nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        gap: 0;
        padding: var(--space-md) var(--space-lg);
        box-shadow: var(--shadow-md);
    }
    .header__nav.nav-open {
        display: flex;
    }
    .header__nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border-light);
        width: 100%;
    }
}

.footer-nav {
    margin-bottom: 12px;
    line-height: 2;
}

.footer-nav a {
    color: var(--color-text-on-dark-muted);
    text-decoration: none;
    font-size: 0.9em;
}

.footer-nav a:hover {
    color: white;
    text-decoration: underline;
}

.page-block {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-sm);
}

.page-block h2 {
    color: var(--color-primary);
    margin-bottom: 16px;
    font-size: var(--text-2xl);
    font-weight: 800;
    line-height: var(--lh-tight);
}

.page-block h3 {
    color: var(--color-primary-dark);
    margin-bottom: 14px;
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: var(--lh-snug);
}

.page-block h4 {
    color: var(--color-primary-dark);
    margin-bottom: 8px;
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: var(--lh-snug);
}

.page-block p {
    margin-bottom: 10px;
    max-width: 65ch;
}

.page-block h2,
.page-block h3,
.page-block h4,
.home-hero h2,
.home-usp h2 {
    text-wrap: balance;
}

.page-block ul {
    margin: 12px 0 12px 24px;
}

.page-block li {
    margin-bottom: 8px;
}

.page-block a {
    color: var(--color-primary);
    text-decoration: none;
}

.page-block a:hover {
    text-decoration: underline;
}

.lead {
    font-size: 1.15em;
    color: var(--color-text-secondary);
}

.btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 32px;
    color: var(--color-text-on-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 1.05em;
    font-weight: 600;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-cta {
    background: var(--color-accent-dark);
}

.btn-cta:hover {
    background: oklch(52% 0.15 65);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--color-text-on-primary);
}

.btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.check-list {
    list-style: none;
    margin-left: 0 !important;
}

.check-list li {
    padding: 6px 0 6px 28px;
    position: relative;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.2em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.service-card {
    background: var(--color-primary-surface);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--color-border-light);
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.tier {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    background: var(--color-surface);
}

.tier-pro {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px oklch(48% 0.09 155 / 0.15);
}

.tier {
    position: relative;
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-text);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85em;
    font-weight: 700;
    white-space: nowrap;
}

.tier-economy {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-sm);
}

.tier-price {
    font-size: var(--text-xl);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--color-text);
    margin: 12px 0;
    line-height: 1.2;
}

.tier-price small {
    font-size: 0.5em;
    color: var(--color-text-muted);
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.tier ul {
    list-style: none;
    margin: 16px 0;
}

.tier li {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.tier li:last-child {
    border-bottom: none;
}

.tier .btn {
    background: oklch(72% 0.08 145 / 0.25);
    color: oklch(42% 0.08 145);
    text-align: center;
    display: block;
    margin-top: 18px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1.05em;
    font-weight: 600;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.tier .btn:hover {
    background: oklch(72% 0.14 145 / 0.4);
    color: oklch(35% 0.1 145);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.tier-pro .btn {
    background: var(--color-primary-dark);
    color: oklch(95% 0.01 145 / 0.7);
}

.tier-pro .btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.pricing-calc,
.pricing-compare {
    background: var(--color-success-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
    border: 1px solid oklch(90% 0.04 145);
}

.highlight {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--color-success);
}

.price-card {
    background: var(--color-primary-surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    margin: 20px auto;
    width: 100%;
    box-sizing: border-box;
}

.price-card p {
    text-align: center !important;
    display: block;
    width: 100%;
    max-width: 100% !important;
}

.price-value {
    font-size: var(--text-3xl);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--color-primary);
}

.price-value span {
    font-size: 0.45em;
    color: var(--color-text-muted);
    font-weight: 400;
}

.cases-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.case-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.case-tag {
    display: inline-block;
    background: var(--color-primary-surface);
    color: var(--color-primary);
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85em;
    margin-top: 4px;
}

.case-card {
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 16px 0;
    border: 1px solid var(--color-border-light);
}

.reviews-list {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

.review-item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
}

.review-meta {
    flex: 1;
}

.review-meta strong {
    display: block;
}

.review-meta span {
    font-size: 0.85em;
    color: var(--color-text-muted);
}

.review-stars {
    color: var(--color-warning);
    font-size: 1.1em;
}

.review-video,
.review-form {
    background: var(--color-primary-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.video-placeholder {
    background: var(--color-accent-block);
    border-radius: var(--radius-md);
    padding: 48px 20px;
    color: var(--color-text-on-primary);
    margin: 12px 0;
}

.play-btn {
    font-size: 3em;
    margin-bottom: 8px;
}

.faq-list {
    margin: 20px 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border-light);
    padding: 16px 0;
}

.faq-item h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
    cursor: pointer;
    padding: var(--space-sm) 0;
}

.faq-item h4:hover {
    color: var(--color-primary-dark);
}

.faq-ask,
.faq-contact {
    background: var(--color-primary-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.article-body {
    margin: 20px 0;
}

.article-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}

.article-section:last-of-type {
    border-bottom: none;
}

.article-solution {
    background: var(--color-success-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
    border: 1px solid oklch(90% 0.04 145);
}

.cta-top {
    background: var(--color-warning-surface);
    border: 1px solid oklch(85% 0.06 80);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.comparison-table {
    overflow-x: auto;
    margin: 20px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.comparison-table th {
    background: var(--color-primary-surface);
    font-weight: 600;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table td.yes {
    color: var(--color-success);
    font-weight: 600;
}

.comparison-table td.no {
    color: var(--color-error);
}

.comparison-table td.warn {
    color: var(--color-warning);
}

.comparison-insight {
    background: var(--color-warning-surface);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
    border: 1px solid oklch(88% 0.04 80);
}

.comparison-calc {
    background: var(--color-success-surface);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.calc-result {
    text-align: center;
    margin-top: 16px;
}

.calc-result .big {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--color-success);
}

.feature-showcase {
    margin: 20px 0;
}

.mock-screen {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 360px;
    margin: 16px 0;
}

.screen-header {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    padding: 10px 16px;
    font-weight: 600;
}

.screen-body {
    padding: 16px;
}

.mock-service {
    background: var(--color-primary-surface);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin: 8px 0;
    border: 1px solid var(--color-border-light);
}

.mock-calendar {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.mock-calendar span {
    padding: 6px 14px;
    background: var(--color-primary-surface);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.mock-calendar .selected {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
}

.benefit-list li {
    margin-bottom: 10px;
    padding-left: 8px;
}

.example-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 400px;
    margin: 16px 0;
}

.example-header {
    background: var(--color-primary-surface);
    padding: 8px 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.example-body {
    padding: 16px;
}

.example-note {
    font-size: 0.85em;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 8px !important;
}

.guide-steps {
    margin: 24px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: 700;
}

.step-time {
    font-size: 0.85em;
    color: var(--color-text-muted);
}

.guide-guarantee {
    background: var(--color-success-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
    border: 2px solid oklch(85% 0.06 145);
}

.guarantee-badge {
    font-size: 2.5em;
    margin-bottom: 8px;
}

.demo-sandbox {
    margin: 20px 0;
}

.mock-browser {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 500px;
    margin: 16px auto;
}

.browser-bar {
    background: oklch(94% 0.01 162);
    padding: 10px 16px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
}

.url-bar {
    flex: 1;
    background: var(--color-surface);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--color-text-muted);
    margin-left: 8px;
}

.mock-content {
    padding: 32px 24px;
    text-align: center;
}

.mock-content .mock-btn {
    display: inline-block;
    background: var(--color-accent-dark);
    color: var(--color-text-on-primary);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
}

.demo-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.feature-item {
    text-align: center;
    padding: 16px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.feature-item .icon {
    font-size: 2em;
    display: block;
    margin-bottom: 8px;
}

.cta-final,
.cta-demo,
.cta-pricing,
.cta-cases,
.cta-reviews,
.cta-faq,
.cta-article,
.cta-comparison,
.cta-feature,
.cta-guide {
    text-align: center;
    padding: 24px 0;
    margin-top: 16px;
}

.geo-facts {
    background: var(--color-warning-surface);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid oklch(88% 0.04 80);
}

.site-footer {
    background: var(--color-text);
    color: var(--color-text-on-dark-muted);
    text-align: center;
    padding: var(--space-xl) 0;
    margin-top: var(--space-2xl);
}

@media (max-width: 640px) {
    .pricing-tiers {
        grid-template-columns: 1fr;
    }
    .step {
        flex-direction: column;
        gap: 12px;
    }
}

.home-hero {
    text-align: center;
    padding: var(--space-lg) 0 var(--space-xl);
}

.hero {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-text-on-primary);
    padding: calc(var(--space-3xl) * 2) 0;
    text-align: center;
}

.hero h1 {
    color: var(--color-text-on-primary);
    font-size: var(--text-3xl);
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    line-height: var(--lh-tight);
    text-wrap: balance;
}

/* Lead inside .hero needs white text (default .lead is dark — invisible on dark gradient) */
.hero .lead,
.hero__subtitle {
    color: var(--color-text-on-primary);
    opacity: 0.92;
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
}

.hero__subtitle {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Fix: .btn-primary сливается с тёмным hero gradient — делаем тёмно-зелёную с тенью */
.hero .btn-primary {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

.hero .btn-primary:hover {
    background: var(--color-primary-dark);
    filter: brightness(0.92);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-text-on-primary);
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    color: var(--color-text-on-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-on-primary);
    border: 2px solid oklch(100% 0 0 / 0.4);
}

.btn-outline:hover {
    background: oklch(100% 0 0 / 0.1);
    border-color: oklch(100% 0 0 / 0.7);
    color: var(--color-text-on-primary);
}

/* Demo card CTA — fix invisible white-on-white button: light-green background, dark text for contrast */
.cta-trio-card--demo .btn-outline {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    border: 2px solid var(--color-primary);
}

.cta-trio-card--demo .btn-outline:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text-on-primary);
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-2xl) 0;
    }
    .hero h1 {
        font-size: var(--text-2xl);
    }
    .hero__subtitle {
        font-size: var(--text-lg);
    }
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
}

.home-hero h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: var(--lh-tight);
    margin-bottom: 16px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1em;
    margin: 6px;
}

.home-benefits {
    margin: var(--space-2xl) 0;
}

.benefits-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.benefit-card {
    text-align: center;
    padding: 20px 16px;
    background: var(--color-primary-surface);
    border-radius: var(--radius-md);
}

.benefit-icon {
    font-size: 2.2em;
    display: block;
    margin-bottom: 8px;
}

.benefit-card h4 {
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 0.92em;
    color: var(--color-text-secondary);
}

.home-cta-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.cta-mini {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.cta-mini h4 {
    margin-bottom: 4px;
}

.cta-mini p {
    font-size: 0.92em;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.home-reviews-preview,
.home-faq-preview {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
}

.mini-review {
    font-style: italic;
    margin: 12px 0;
}

.mini-review p {
    font-size: 1.05em;
}

.review-author {
    font-size: 0.9em;
    color: var(--color-text-muted);
    font-style: normal;
}

.mini-faq {
    margin: 12px 0;
}

.faq-q {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.95em;
}

.faq-q:last-child {
    border-bottom: none;
}

.link-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-primary);
    font-weight: 500;
}

.link-more:hover {
    text-decoration: underline;
}

.home-usp {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-primary-surface);
    border-radius: var(--radius-lg);
    text-align: center;
}

.home-usp h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: var(--lh-snug);
    margin-bottom: 12px;
}

.home-usp .lead {
    margin-bottom: 20px;
}

.usp-list {
    text-align: left;
    max-width: 720px;
    margin: 0 auto 20px;
}

.usp-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.usp-item:last-child {
    border-bottom: none;
}

.usp-icon {
    flex-shrink: 0;
    font-size: 1.3em;
    margin-top: 2px;
}

.usp-item div {
    line-height: 1.6;
}

.usp-cta {
    text-align: center;
    margin-top: 20px;
}

.home-about {
    margin: var(--space-2xl) 0;
    padding: var(--space-lg);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.home-about p {
    line-height: 1.8;
}

.home-benefits h3,
.home-how h3,
.home-links h3 {
    text-align: center;
    margin-bottom: 20px;
}

.home-how {
    margin: var(--space-2xl) 0;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.how-step {
    text-align: center;
    padding: 20px 16px;
    background: var(--color-success-surface);
    border-radius: var(--radius-md);
}

.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-success);
    color: var(--color-text-on-primary);
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.how-step h4 {
    margin-bottom: 6px;
}

.how-step p {
    font-size: 0.92em;
    color: var(--color-text-secondary);
}

.home-links {
    margin: var(--space-2xl) 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.link-card {
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px;
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.link-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 10px oklch(48% 0.09 155 / 0.1);
    text-decoration: none;
}

.link-card strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.link-card p {
    font-size: 0.9em;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.home-final-cta {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-md);
}

.facts-section {
    max-width: 800px;
    margin: 32px auto;
    padding: 0 16px;
}

.facts-card {
    background: var(--color-primary-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
}

.facts-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.facts-card ul {
    list-style: none;
    padding: 0;
}

.facts-card li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-light);
}

.facts-card li:last-child {
    border-bottom: none;
}

.facts-card li::before {
    content: "\2705";
    position: absolute;
    left: 0;
    top: 10px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

::selection {
    background: oklch(48% 0.09 155 / 0.2);
    color: var(--color-text);
}

html {
    scroll-behavior: smooth;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    border-bottom: none;
    padding: 0;
}

.faq-item h4 {
    color: var(--color-text);
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface);
    transition: background 0.15s;
    font-size: var(--text-base);
}

.faq-item h4:hover {
    background: var(--color-primary-surface);
    color: var(--color-primary);
}

.faq-item h4::after {
    content: "\25BE";
    font-size: 0.8em;
    transition: transform 0.25s ease-out;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.open h4::after {
    transform: rotate(180deg);
}

.faq-item h4 + p,
.faq-item h4 + div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 var(--space-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.faq-item.open h4 + p,
.faq-item.open h4 + div {
    max-height: 500px;
    padding: var(--space-md) var(--space-lg);
}

.card-hover {
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-card,
.link-card,
.case-item,
.service-card,
.tier,
.review-item,
.how-step,
.cta-mini {
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.benefit-card:hover,
.link-card:hover,
.case-item:hover,
.service-card:hover,
.tier:hover,
.review-item:hover,
.how-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.reviews-list {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-md);
    scroll-snap-type: x mandatory;
    margin: var(--space-xl) 0;
}

.reviews-list .review-item {
    min-width: 300px;
    max-width: 400px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: var(--color-success);
    color: var(--color-text-on-primary);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    z-index: 1000;
    font-weight: 600;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cta-final,
.cta-demo,
.cta-pricing,
.cta-cases,
.cta-reviews,
.cta-faq,
.cta-article,
.cta-comparison,
.cta-feature,
.cta-guide {
    background: oklch(55% 0.1 162);
    color: var(--color-text-on-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2xl);
}

.cta-final h3,
.cta-demo h3,
.cta-pricing h3,
.cta-cases h3,
.cta-reviews h3,
.cta-faq h3,
.cta-article h3,
.cta-comparison h3,
.cta-feature h3,
.cta-guide h3 {
    color: var(--color-text-on-primary);
}

.cta-final p,
.cta-demo p,
.cta-pricing p,
.cta-cases p,
.cta-reviews p,
.cta-faq p,
.cta-article p,
.cta-comparison p,
.cta-feature p,
.cta-guide p {
    color: oklch(95% 0.01 162);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

.cta-final .btn,
.cta-demo .btn,
.cta-pricing .btn,
.cta-cases .btn,
.cta-reviews .btn,
.cta-faq .btn,
.cta-article .btn,
.cta-comparison .btn,
.cta-feature .btn,
.cta-guide .btn {
    background: var(--color-accent);
    color: var(--color-text);
}

.cta-final .btn:hover,
.cta-demo .btn:hover,
.cta-pricing .btn:hover,
.cta-cases .btn:hover,
.cta-reviews .btn:hover,
.cta-faq .btn:hover,
.cta-article .btn:hover,
.cta-comparison .btn:hover,
.cta-feature .btn:hover,
.cta-guide .btn:hover {
    background: var(--color-accent-dark);
    color: var(--color-text-on-primary);
}

.site-footer {
    background: linear-gradient(135deg, oklch(18% 0.06 162), oklch(22% 0.08 162));
    color: oklch(75% 0.03 162);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__logo {
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: oklch(95% 0.01 162);
}

.footer__logo .logo__accent {
    color: var(--color-accent);
}

.footer__desc {
    color: oklch(60% 0.02 162);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer__title {
    color: oklch(90% 0.01 162);
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__links a {
    color: oklch(60% 0.02 162);
    font-size: var(--text-sm);
    transition: color 0.15s;
    text-decoration: none;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: oklch(60% 0.02 162);
}

.footer__contacts a {
    color: oklch(60% 0.02 162);
    text-decoration: none;
}

.footer__contacts a:hover {
    color: var(--color-accent);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.footer__social a {
    padding: 6px 14px;
    background: oklch(100% 0 0 / 0.08);
    border-radius: var(--radius-md);
    color: oklch(85% 0.01 162);
    font-size: var(--text-sm);
    transition: background 0.15s;
    text-decoration: none;
}

.footer__social a:hover {
    background: var(--color-accent);
    color: var(--color-text);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: oklch(50% 0.015 162);
    padding-top: var(--space-lg);
    border-top: 1px solid oklch(100% 0 0 / 0.08);
}

.footer__bottom a {
    color: oklch(50% 0.015 162);
    text-decoration: none;
}

.footer__bottom a:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    .reviews-list {
        flex-direction: column;
    }
    .reviews-list .review-item {
        min-width: 100%;
        max-width: 100%;
    }
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: var(--font-body);
    background: var(--color-surface);
    transition: border-color 0.15s;
}

.input-field:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px oklch(72% 0.14 65 / 0.15);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title h2 {
    position: relative;
    display: inline-block;
    color: var(--color-primary-dark);
}

.section-title p {
    margin: 0 auto 10px;
    width: fit-content;
    max-width: 65ch;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.advantage-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.advantage-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.advantage-card h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.advantage-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
}

.step-card {
    text-align: center;
    padding: var(--space-xl);
    position: relative;
}

.step-card .step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    margin: 0 auto var(--space-md);
}

.step-card__icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.step-card h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.step-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.cases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.case-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.case-result {
    text-align: center;
    padding: var(--space-md);
    background: var(--color-primary-surface);
    border-radius: var(--radius-md);
}

.case-result .value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-accent-dark);
}

.case-result .label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.case-item h4 {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.case-item p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.cases__more,
.reviews__more,
.pricing__more {
    text-align: center;
    margin-top: var(--space-lg);
}

.reviews__carousel {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-md);
    scroll-snap-type: x mandatory;
}

.reviews__carousel .review-item {
    min-width: 300px;
    max-width: 400px;
    scroll-snap-align: start;
    flex-shrink: 0;
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.reviews__carousel .review-item .stars {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.reviews__carousel .review-item p {
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.reviews__carousel .review-item .author {
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: var(--text-sm);
}

.cta-block {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-text-on-primary);
    padding: var(--space-3xl);
    text-align: center;
    border-radius: var(--radius-lg);
    margin-top: var(--space-3xl);
}

.cta-block h2 {
    color: var(--color-text-on-primary);
    margin-bottom: var(--space-md);
}

.cta-block p {
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.order-form-section {
    max-width: 720px;
    margin: var(--space-3xl) auto;
    padding: 32px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.gp-buy-form {
    max-width: 720px;
    margin: var(--space-3xl) auto;
    padding: 32px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.order-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.order-form .form-group {
    display: flex;
    flex-direction: column;
}

.order-form .form-group:nth-child(n+3) {
    grid-column: 1 / -1;
}

.order-form .form-group--full {
    grid-column: 1 / -1;
}

.order-form label {
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

select.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: var(--font-body);
    background: var(--color-surface);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

select.input-field:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px oklch(72% 0.14 65 / 0.15);
}

.captcha-group {
    display: flex;
    flex-direction: column;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
}

#captchaCanvas {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: #f5f5f5;
}

.captcha-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-refresh {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 4px 8px;
    transition: color 0.2s;
    line-height: 1;
}

.btn-refresh:hover {
    color: var(--color-primary);
}

#orderCaptcha {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    max-width: 200px;
}

.order-form .btn {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

textarea.input-field {
    resize: vertical;
    min-height: 100px;
}

@media (max-width: 768px) {
    .order-form__grid {
        grid-template-columns: 1fr;
    }
}

.pricing-note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
    .cases__grid {
        grid-template-columns: 1fr;
    }
    .reviews__carousel {
        flex-direction: column;
    }
    .reviews__carousel .review-item {
        min-width: 100%;
        max-width: 100%;
    }
}

.block-demo {
    padding: var(--space-2xl) 0;
}

.demo-hero {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.demo-hero h2 {
    margin-bottom: var(--space-md);
}

.demo-hero p {
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto;
}

.demo-views {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.demo-view-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-2xl);
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

.demo-view-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.demo-view-card__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.demo-view-card__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.demo-view-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex: 1;
}

.demo-view-card__arrow {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
}

.demo-divider {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.demo-divider::before,
.demo-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.demo-trial {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.demo-trial .captcha-group,
.demo-trial .gp-turnstile-group {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

/* В demo-trial captcha и submit прижаты к левому краю рамки */
.demo-trial .order-form-section button,
.demo-trial button,
.demo-trial .trial-form__submit {
    margin: 0 0 0 0;
    margin-right: auto;
}

.demo-trial__header {
    margin-bottom: var(--space-xl);
}

.demo-trial__header h3 {
    margin-bottom: var(--space-sm);
}

.demo-trial__header p {
    color: var(--color-text-secondary);
}

.trial-form {
    text-align: left;
}

.trial-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.trial-form .form-group {
    display: flex;
    flex-direction: column;
}

.trial-form label {
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.trial-form__submit {
    display: block;
    width: 100%;
    margin-bottom: var(--space-sm);
}

.trial-form__note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.trial-result {
    text-align: center;
    padding: var(--space-2xl);
}

.trial-result__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.trial-result h3 {
    margin-bottom: var(--space-md);
}

.trial-result > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.trial-credentials {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.trial-credential {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    min-width: 140px;
}

.trial-credential__label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.trial-credential__value {
    font-size: var(--text-lg);
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    color: var(--color-primary-dark);
}

.trial-result__note {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.trial-result__link {
    display: inline-block;
}

.trial-processing {
    text-align: center;
    padding: var(--space-3xl);
}

.trial-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.trial-processing__text {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.trial-processing__sub {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .demo-views {
        grid-template-columns: 1fr;
    }
    .trial-form__row {
        grid-template-columns: 1fr;
    }
    .trial-credentials {
        flex-direction: column;
        align-items: center;
    }
}

.block-manifest {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.manifest-hero {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.manifest-hero h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.manifest-subtitle {
    font-size: var(--text-2xl);
    color: var(--color-primary-dark);
    font-weight: 700;
}

.manifest-intro {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border);
}

.manifest-rule-intro {
    margin-top: var(--space-lg);
    font-weight: 600;
    color: var(--color-primary-dark);
}

.manifest-rule {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border-light);
}

.manifest-rule h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--color-primary-dark);
}

.manifest-rule p {
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.manifest-rule ul {
    margin: var(--space-md) 0 var(--space-md) var(--space-lg);
}

.manifest-rule li {
    line-height: 1.7;
    margin-bottom: var(--space-xs);
    list-style: disc;
}

.manifest-emphasis {
    font-style: italic;
    color: var(--color-text-secondary);
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-md);
    margin-top: var(--space-lg);
}

.manifest-callout {
    background: var(--color-primary-surface);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
    border-left: 4px solid var(--color-primary);
}

.manifest-final {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-top: var(--space-xl);
}

.manifest-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-3xl);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .block-manifest {
        padding: var(--space-xl) 0;
    }
    .manifest-hero h1 {
        font-size: var(--text-3xl);
    }
    .manifest-short {
        padding: var(--space-xl);
    }
    .manifest-cta {
        flex-direction: column;
    }
    .manifest-cta .btn {
        width: 100%;
    }
}

.pricing-hero h2,
.cases-hero h2,
.reviews-hero h2,
.faq-hero h2,
.commercial-hero h2,
.comparison-hero h2,
.article-hero h2,
.feature-hero h2,
.guide-hero h2 {
    text-align: center;
}

/* ====================================================================
   УРОВЕНЬ 3 — ФАЗА 1: CSS POLISH + 4-COL FOOTER UPGRADE
   ==================================================================== */

/* --- Smooth scroll для якорных ссылок --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* --- Skip-to-content link (accessibility) --- */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top 0.2s;
}
.skip-to-content:focus {
    top: 0;
    color: var(--color-text-on-primary);
}

/* --- Custom scrollbar (Webkit + Firefox) --- */
@supports (scrollbar-width: thin) {
    html { scrollbar-width: thin; scrollbar-color: var(--color-primary) var(--color-bg); }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary-dark); }

/* --- Анимации появления --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out both;
}
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* --- Hover-эффекты для карточек --- */
.service-card,
.case-item,
.review-item,
.faq-item,
.tier,
.price-card,
.feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover,
.case-item:hover,
.review-item:hover,
.tier:hover,
.price-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px oklch(0% 0 0 / 0.12);
    border-color: var(--color-primary-light);
}

/* --- FAQ: улучшенный hover для кнопок --- */
.faq-item h4 {
    transition: color 0.2s, padding-left 0.2s;
    cursor: pointer;
}
.faq-item:hover h4 { color: var(--color-primary); padding-left: 8px; }
.faq-item.open h4 { color: var(--color-primary); }

/* --- Reviews: легкое выделение --- */
.review-item {
    border-left: 3px solid transparent;
    transition: border-left-color 0.25s;
}
.review-item:hover { border-left-color: var(--color-accent); }

/* --- Pricing tier pro: пульсация badge --- */
.tier-pro .tier-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* --- Кнопки: улучшенный hover --- */
.btn {
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, oklch(100% 0 0 / 0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(100%); }

/* --- Header: тень при скролле (для JS в Фазе 2 будет toggle .scrolled) --- */
.site-header.scrolled {
    box-shadow: 0 4px 16px oklch(0% 0 0 / 0.12);
    background: oklch(25% 0.06 155 / 0.98);
    backdrop-filter: blur(8px);
}

/* --- Focus-visible (accessibility) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Footer upgrade: badges --- */
.footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: oklch(100% 0 0 / 0.08);
    border: 1px solid oklch(100% 0 0 / 0.12);
    border-radius: var(--radius-sm);
    color: oklch(85% 0.01 162);
    font-size: var(--text-xs);
    line-height: 1.4;
    transition: background 0.2s, border-color 0.2s;
}
.footer__badge:hover {
    background: oklch(100% 0 0 / 0.14);
    border-color: var(--color-accent);
}

/* --- Footer upgrade: иконки в контактах --- */
.footer__contacts p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: oklch(100% 0 0 / 0.08);
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.footer__contacts a:hover + .footer__icon,
.footer__contacts p:hover .footer__icon {
    background: var(--color-accent);
    transform: scale(1.1);
}

/* --- Footer upgrade: социальные ссылки (кружочки) --- */
.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: oklch(100% 0 0 / 0.08);
    border-radius: 50%;
    color: oklch(85% 0.01 162);
    font-size: var(--text-xs);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer__social-link:hover {
    background: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-2px);
}

/* --- Footer upgrade: bottom bar --- */
.footer__bottom-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.footer__sep {
    color: oklch(50% 0.015 162);
    user-select: none;
}

/* --- Mobile: sticky CTA button (для JS в Фазе 2 будет show/hide) --- */
.sticky-cta {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 100;
    padding: 14px 24px;
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    border-radius: 100px;
    box-shadow: 0 8px 24px oklch(0% 0 0 / 0.2);
    text-decoration: none;
    font-weight: 600;
    transform: translateY(150%);
    transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta:hover { background: var(--color-primary-dark); }

/* --- Print styles --- */
@media print {
    .site-header, .site-footer, .nav-toggle, .sticky-cta, .cta-*, .btn, .toast {
        display: none !important;
    }
    body { background: white; color: black; }
    a { color: black; text-decoration: underline; }
    .page-block, .container { max-width: 100%; padding: 0; }
    h1, h2, h3, h4 { page-break-after: avoid; }
}

/* --- Reduced motion: отключаем анимации для пользователей с настройкой --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Mobile polish: 44×44 touch targets --- */
@media (max-width: 768px) {
    .header__nav-link,
    .footer__links a,
    .footer__bottom-links a,
    .footer__social-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .footer__col {
        text-align: center;
    }
    .footer__contacts { align-items: center; }
    .footer__badges, .footer__social, .footer__bottom-links {
        justify-content: center;
    }
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* ====================================================================
   УРОВЕНЬ 3 — ФАЗА 2: JS-зависимые стили
   ==================================================================== */

/* --- Body scroll lock (когда мобильное меню открыто) --- */
body.nav-locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* --- Fade-in: анимация появления (управляется JS IntersectionObserver) --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cookie banner (создаётся JS, стили здесь) --- */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 16px;
    right: 16px;
    max-width: 600px;
    margin: 0 auto;
    z-index: 9998;
    background: oklch(25% 0.06 162);
    color: oklch(95% 0.01 162);
    border: 1px solid oklch(100% 0 0 / 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: 0 8px 32px oklch(0% 0 0 / 0.2);
    transition: bottom 0.4s ease-out;
}
.cookie-banner.show {
    bottom: 16px;
}
.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.cookie-banner__inner p {
    flex: 1;
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
    min-width: 200px;
}
.cookie-banner__accept {
    padding: 8px 20px;
    background: var(--color-accent);
    color: var(--color-text);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    min-height: 44px;
    min-width: 44px;
}
.cookie-banner__accept:hover {
    background: var(--color-accent-dark);
    color: var(--color-text-on-primary);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 8px;
        right: 8px;
    }
    .cookie-banner.show {
        bottom: 8px;
    }
}

/* --- Mobile menu: improved open state --- */
@media (max-width: 768px) {
    .site-header.nav-open + main,
    body.nav-locked main {
        /* subtle dim when menu open (optional) */
    }
    .site-header .header__nav.nav-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: oklch(25% 0.06 162);
        padding: var(--space-lg);
        z-index: 99;
        overflow-y: auto;
    }
    .site-header .header__nav.nav-open .header__nav-link {
        padding: 12px 16px;
        min-height: 44px;
        border-bottom: 1px solid oklch(100% 0 0 / 0.08);
    }
    .nav-toggle[aria-expanded="true"] {
        color: var(--color-accent);
    }
}

/* === Уровень 3 Фаза 3 (фиксы после SEO-аудита) === */

/* H1 на sub-pages (page-h1) */
.page-h1-wrap {
    padding-top: 32px;
    padding-bottom: 8px;
}
.page-h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 24px;
    color: var(--color-text, #1a202c);
}
@media (max-width: 768px) {
    .page-h1 { font-size: 1.5rem; }
}

/* Sticky CTA виден даже на коротких sub-pages — anchor:order-form локально */
.sticky-cta { z-index: 90; }

/* B5-M5 regions-grid start */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.regions-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
    position: relative;
    min-height: 140px;
}

.regions-card:hover,
.regions-card:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px oklch(48% 0.09 162 / 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--color-text);
    outline: none;
}

.regions-card h3 {
    color: var(--color-primary);
    font-size: 1.15em;
    margin: 0 0 8px;
    font-weight: 600;
}

.regions-card p {
    font-size: 0.9em;
    color: var(--color-text-secondary);
    margin: 0 0 12px;
    line-height: 1.5;
    flex: 1;
}

.regions-card__arrow {
    align-self: flex-end;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.2s ease-out;
}

.regions-card:hover .regions-card__arrow,
.regions-card:focus-visible .regions-card__arrow {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .regions-grid {
        grid-template-columns: 1fr;
    }
}
/* B5-M5 regions-grid end */

/* B5-M1-M4 start */

/* M1+M2: общий стиль placeholder'ов островов (пока api-islands не подгрузил контент) */
.gp-island-placeholder {
    background: var(--color-bg);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95em;
    margin: 16px 0;
}

/* M1: gp-showcase — кейсы (карточки в сетке) */
.gp-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.gp-showcase > * {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gp-showcase > *:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 10px oklch(48% 0.09 162 / 0.12);
}

/* M2: gp-reviews — отзывы (карточки в сетке) */
.gp-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.gp-reviews > * {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gp-reviews > *:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 10px oklch(48% 0.09 162 / 0.12);
}

/* M3: review-form-section — форма отзыва в стиле .demo-calc (урок #172) */
#review-form-section {
    background: oklch(97.9% 0.021 166);
    border-radius: 40px;
    padding: 56px 40px;
    margin: 32px 0;
}
#review-form-section .section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}
#review-form-section .gp-review-form {
    background: white;
    border-radius: 32px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    padding: 32px;
    max-width: 720px;
    margin: 0 auto;
}
#review-form-section .order-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
#review-form-section .form-group--full,
#review-form-section .form-group:nth-child(n+5) {
    grid-column: 1 / -1;
}
#review-form-section .gp-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
@media (max-width: 640px) {
    #review-form-section {
        padding: 32px 20px;
        border-radius: 24px;
    }
    #review-form-section .order-form__grid {
        grid-template-columns: 1fr;
    }
}

/* M4: gp-roi — карточка ROI с ограниченной шириной и фоном */
#gp-roi-section .gp-roi {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 2px 10px oklch(48% 0.09 162 / 0.06);
}
#gp-roi-section .section-title h2 {
    margin-bottom: 8px;
}
#gp-roi-section .section-title p {
    margin: 0 auto 24px;
    width: fit-content;
    max-width: 65ch;
}
@media (max-width: 640px) {
    #gp-roi-section .gp-roi {
        padding: 20px;
    }
}
/* B5-M1-M4 end */

/* B5-M8 cta-trio start */
.cta-trio-section {
    margin: var(--space-3xl) 0;
}

.cta-trio-head {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.cta-trio-head h2 {
    color: var(--color-text);
    margin: 0 0 var(--space-sm);
}

.cta-trio-head p {
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05em;
}

.cta-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.cta-trio-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.cta-trio-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px oklch(48% 0.09 162 / 0.1);
    transform: translateY(-3px);
}

.cta-trio-card__icon {
    font-size: 2.5em;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.cta-trio-card h3 {
    color: var(--color-text);
    font-size: 1.2em;
    margin: 0 0 var(--space-sm);
}

.cta-trio-card p {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0 0 var(--space-lg);
    flex: 1;
}

.cta-trio-card--trial {
    background: linear-gradient(180deg, oklch(97.9% 0.021 166) 0%, var(--color-surface) 100%);
    border-color: var(--color-primary-light);
}

.cta-trio-card--buy {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-color: var(--color-primary-dark);
    color: var(--color-text-on-primary);
}

.cta-trio-card--buy h3,
.cta-trio-card--buy p {
    color: var(--color-text-on-primary);
}

.cta-trio-card--buy .btn-cta {
    background: white;
    color: var(--color-primary-dark);
}

.cta-trio-card--buy .btn-cta:hover {
    background: var(--color-bg);
    color: var(--color-primary-dark);
}

@media (max-width: 900px) {
    .cta-trio-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* B5-M8 cta-trio end */

/* demo-sayta.html blocks (TD-062 redesign + TD-064 demo-hero) */
.demo-views {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.demo-view-card {
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.demo-view-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.demo-view-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: oklch(95% 0.04 162.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.demo-view-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 var(--space-sm);
    color: var(--color-primary-dark);
}

.demo-view-card__desc {
    color: var(--color-text-secondary);
    font-size: .95rem;
    line-height: 1.5;
    margin: 0 0 var(--space-md);
}

.demo-view-card__arrow {
    color: var(--color-primary);
    font-weight: 600;
    font-size: .95rem;
}

.demo-view-card:hover .demo-view-card__arrow {
    color: var(--color-primary-dark);
}

.demo-divider {
    text-align: center;
    margin: var(--space-2xl) 0;
    position: relative;
    color: var(--color-text-secondary);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.demo-divider::before,
.demo-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: var(--color-border);
}

.demo-divider::before { left: 0; }
.demo-divider::after { right: 0; }

.demo-divider span {
    background: var(--color-bg);
    padding: 0 var(--space-md);
}

/* demo-hero подзаголовок */
.demo-hero-text {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
}

/* try-band */
.try-band {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin: var(--space-3xl) auto;
    max-width: 720px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.try-band h3 {
    margin: 0 0 var(--space-sm);
    color: var(--color-primary-dark);
    font-size: 1.2rem;
}

.try-band p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: .95rem;
    line-height: 1.6;
}

/* subdomain-row для поддомена trial */
.subdomain-row {
    display: flex;
    align-items: stretch;
}

.subdomain-row .input-field {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
}

.subdomain-row__suffix {
    display: flex;
    align-items: center;
    padding: 0 var(--space-md);
    background: var(--color-bg-alt, oklch(96% 0.01 162));
    border: 1.5px solid var(--color-border);
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--color-text-secondary);
    font-size: .95rem;
    white-space: nowrap;
}

.subdomain-hint {
    display: block;
    margin-top: var(--space-xs);
    color: var(--color-text-secondary);
    font-size: .8rem;
}

/* consent */
.consent-row {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin: var(--space-md) 0 var(--space-lg);
    font-size: .9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

/* captcha-block label */
.captcha-group .gp-captcha-label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

/* reassure (demo vs real) */
.reassure {
    margin: var(--space-3xl) auto;
    max-width: 860px;
}

.reassure__lead {
    text-align: center;
    color: var(--color-text-secondary);
    max-width: 680px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

.reassure__lead strong {
    color: var(--color-text);
}

.reassure__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--color-surface);
}

.reassure__col {
    padding: var(--space-xl);
}

.reassure__col--demo {
    background: oklch(96.5% 0.01 162);
    border-right: 1px solid var(--color-border);
}

.reassure__col h4 {
    margin: 0 0 var(--space-md);
    font-size: 1.05rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.reassure__col ul {
    margin: 0;
    padding-left: var(--space-lg);
    color: var(--color-text-secondary);
    font-size: .95rem;
    line-height: 1.6;
}

.reassure__col li {
    margin-bottom: var(--space-sm);
}

.reassure__col li:last-child {
    margin-bottom: 0;
}

.reassure__col strong {
    color: var(--color-text);
}

@media (max-width: 768px) {
    .demo-views {
        grid-template-columns: 1fr;
    }
    .reassure__grid {
        grid-template-columns: 1fr;
    }
    .reassure__col--demo {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .try-band {
        margin-left: var(--space-md);
        margin-right: var(--space-md);
    }
}
/* demo-sayta blocks end */

/* demo-hero (TD-064 redesign) */
.demo-hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
    color: var(--color-text-on-primary);
    text-align: center;
    padding: 72px 0;
    margin-bottom: var(--space-3xl);
}

.demo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--color-text-on-primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: var(--space-md);
}

.demo-hero-title {
    font-size: 2.6rem;
    margin: 0 0 var(--space-md);
    line-height: 1.15;
    color: var(--color-text-on-primary);
    font-weight: 800;
}

.demo-hero-subtitle {
    font-size: 1.2rem;
    opacity: .94;
    max-width: 720px;
    margin: 0 auto var(--space-xl);
    line-height: 1.5;
}

.demo-hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

/* Обе кнопки на зелёном hero — светлые, чтобы не сливались */
.demo-hero-buttons .btn-accent {
    background: var(--color-text-on-primary);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-text-on-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.demo-hero-buttons .btn-accent:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.demo-hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: var(--color-text-on-primary);
    font-weight: 700;
}

.demo-hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text-on-primary);
    border-color: var(--color-text-on-primary);
    transform: translateY(-2px);
}

.demo-hero-stats {
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-stat {
    text-align: center;
    color: var(--color-text-on-primary);
}

.demo-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-on-primary);
}

.demo-stat span {
    font-size: .9rem;
    opacity: .85;
}

@media (max-width: 768px) {
    .demo-hero-title {
        font-size: 1.9rem;
    }
    .demo-hero-subtitle {
        font-size: 1.05rem;
    }
    .demo-hero-stats {
        gap: 24px;
    }
    .demo-hero-section {
        padding: 44px 0;
    }
}

