.demo-page h2 {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 750;
    max-width: none;
    margin: 0;
}

.demo-page h3 {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 620;
}

.demo-menu-item {
    transition: background 0.15s;
    background: white;
    margin-top: 0;
}

.demo-menu-item:disabled {
    cursor: default;
    opacity: 0.5;
}

.demo-menu-item + .demo-menu-item {
    margin-top: 4px;
}

.demo-menu-item.active {
    background: #fff9e5;
    border: 1px solid #ffc600;
    border-radius: 8px;
}

.demo-menu-item.active strong {
    color: #0d0d0d;
}

.demo-menu-item.active span {
    color: #5a5a52;
}

.demo-menu-item.active .demo-icon-ph {
    background: #fff9e5;
}

.demo-icon-ph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.demo-icon-ph-lg {
    width: 24px;
    height: 24px;
}

.demo-card-icon-ph {
    width: 60px;
    height: 60px;
}

.demo-feature-tags span {
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 10px;
    color: #444;
    background: #ececec87;
}

.demo-btn-start {
    background: #f1d468;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    width: 170px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 2px 0 #6b6b63;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.demo-btn-start:hover {
    background: #ffcc00;
    color: #0d0d0d;
    box-shadow: 0 2px 0 #5f5f57;
}

.demo-btn-start:active {
    background: #ffcc00;
    transform: translateY(1px);
    box-shadow: 0 1px 0 #5f5f57;
}

.demo-btn-start.is-loading {
    background: #ffcc00;
    transform: translateY(1px);
    box-shadow: 0 1px 0 #5f5f57;
    padding-left: 0;
    padding-right: 0;
    pointer-events: none;
    cursor: wait;
}

.demo-btn-start .demo-btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.25px solid #0d0d0d;
    border-right-color: transparent;
    border-radius: 50%;
    animation: demo-btn-spin 0.8s linear infinite;
    flex-shrink: 0;
}

.demo-btn-start.is-loading .demo-btn-spinner {
    display: inline-block;
}

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

.demo-btn-video {
    border: 1px solid #bbb;
}

.demo-btn-video:hover {
    background: #f5f5f3;
    color: #0d0d0d;
}


.demo-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.demo-consent-checkbox {
    -webkit-appearance: none;
    appearance: none;
    margin-top: 1px;
    width: 16px;
    height: 16px;
    border: 1px solid #8a8a84;
    border-radius: 4px;
    background: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.demo-consent-checkbox::after {
    content: "";
    width: 9px;
    height: 5px;
    border: 2px solid #ffffff;
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform 0.12s ease-in-out;
    margin-top: -1px;
}

.demo-consent-checkbox:checked {
    background: #2563eb;
    border-color: #2563eb;
}

.demo-consent-checkbox:checked::after {
    transform: rotate(-45deg) scale(1);
}


.demo-consent-policy-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.demo-consent-policy-link:hover {
    color: #2f2f2b;
}

.demo-consent.is-warning {
    background: transparent;
}

.demo-consent.is-warning .demo-consent-copy,
.demo-consent.is-warning .demo-consent-policy-link {
    color: rgba(235, 143, 6, 1);
}

.demo-consent.is-warning .demo-consent-checkbox {
    border: 1px solid rgba(235, 143, 6, 1);
}

@media (min-width: 1024px) {
    .demo-sidebar {
        width: 356px;
        flex-shrink: 0;
    }
}

.demo-results-iframe {
    width: 100%;
    min-height: 1800px;
    border: 0;
    border-radius: 30px;
    background: white;
    border: 1px solid #ECECEC;
    margin: 0 auto;
    max-width: 1420px;
}

@media (min-width: 1002px) and (max-width: 1234px) {
    .demo-results-iframe {
        min-height: 1500px;
    }
}

.demo-container-results {
    max-width: 96vw;
    width: 96vw;
}

.demo-results-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #ffffff;
    margin-top: 20px;
}

.demo-results-tab {
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 14px;
    line-height: 1;
    font-weight: 550;
    color: rgba(22, 20, 25, 0.7);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.demo-results-tab.is-active {
    background: #f1d67f;
    color: #161419;
}

.demo-results-tab:focus-visible {
    outline: 2px solid #1f1f1c;
    outline-offset: 2px;
}

.demo-results-tab-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    flex-shrink: 0;
}

.demo-results-tab-label {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .demo-results-tab {
        padding: 12px 18px;
        font-size: 15px;
        gap: 8px;
    }

    .demo-results-tab-icon {
        width: 22px;
        height: 22px;
    }
}

.demo-results-panel.is-hidden {
    display: none;
}

.demo-cta-grid {
    display: grid;
    margin-top: 15px;
    gap: 10px;
}

.demo-cta-card {
    border: 1px solid #d6d6d0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
}

.demo-cta-card-primary {
    background: #eed35f;
}


.demo-cta-title {
    margin: 0;
    color: #121019;
    line-height: 1.2;
    font-weight: 570;
    font-size: 40px;
    letter-spacing: -0.02em;
}

.demo-cta-copy {
    margin-top: 8px;
    max-width: 38ch;
    color: rgba(13, 13, 13, 0.8);
    font-size: 16px;
    line-height: 1.35;
}

.demo-cta-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 570;
    line-height: 1;
    width: fit-content;
}

.demo-cta-btn:hover {
    background: #f8f8f8;
    color: #111;
}

@media (min-width: 1024px) {
    .demo-cta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
        margin-top: 15px;
    }

    .demo-cta-card {
        min-height: 330px;
        padding: 34px 30px 28px;
    }
}

@media (max-width: 768px) {
    .demo-cta-title {
        font-size: 38px;
    }

    .demo-cta-copy {
        font-size: 20px;
    }
}
