:root {
    --sx-navy: #09162d;
    --sx-navy-2: #11264a;
    --sx-blue: #3478f6;
    --sx-blue-dark: #245bd6;
    --sx-text: #26364d;
    --sx-muted: #64748b;
    --sx-line: #dfe7f1;
    --sx-soft: #f5f8fc;
    --sx-white: #ffffff;
}

body.theme-page {
    margin: 0;
    background: var(--sx-white);
    color: var(--sx-text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.theme-page h1,
.theme-page h2,
.theme-page h3,
.theme-page h4 {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0;
}

.theme-page-hero {
    background: var(--sx-navy);
    color: var(--sx-white);
    padding: 76px 24px 82px;
}

.theme-page-hero__inner {
    width: min(1320px, 100%);
    margin: 0 auto;
}

.theme-page-hero h1 {
    max-width: 820px;
    margin: 12px 0 16px;
    color: var(--sx-white);
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.08;
}

.theme-page-hero p {
    max-width: 720px;
    margin: 0;
    color: #c8d5e8;
    font-size: 1.12rem;
    line-height: 1.75;
}

.theme-eyebrow {
    display: inline-block;
    color: #79a7ff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.theme-about .stats-section {
    background: var(--sx-navy-2);
    padding: 64px 24px;
}

.theme-about .section-block,
.theme-about .approach-section {
    background: var(--sx-soft);
}

.theme-about .approach-card,
.theme-about .mission-card,
.theme-about .vision-card {
    border: 1px solid var(--sx-line);
    border-radius: 8px;
    box-shadow: none;
}

.theme-contact .contact-top {
    min-height: 650px;
    background: var(--sx-soft);
    padding: 70px max(4vw, 24px);
}

.theme-contact .contact-top-image {
    inset: 0 0 0 52%;
    opacity: .14;
}

.theme-contact .contact-top-content {
    width: min(44%, 620px);
    padding: 0;
}

.theme-contact .ct-title {
    color: var(--sx-navy);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.theme-contact .ct-title span,
.theme-contact .ct-info-value a {
    color: var(--sx-blue);
}

.theme-contact .ct-form-card {
    right: max(5vw, 30px);
    width: min(44%, 620px);
    border: 1px solid var(--sx-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(9, 22, 45, .11);
}

.theme-contact .ct-submit {
    background: var(--sx-blue);
    border-radius: 6px;
}

.theme-contact .features-strip {
    background: var(--sx-white);
}

.theme-consultation .consultation-section {
    padding: 56px 24px 80px;
    background: var(--sx-soft);
}

.theme-consultation .consultation-card {
    border: 1px solid var(--sx-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(9, 22, 45, .08);
}

.theme-consultation .consultation-info {
    background: var(--sx-navy);
    color: var(--sx-white);
}

.theme-consultation .consultation-info h2,
.theme-consultation .consultation-info h4 {
    color: var(--sx-white);
}

.theme-consultation .consultation-info p {
    color: #c8d5e8;
}

.theme-consultation .consultation-info-item i {
    background: rgba(52, 120, 246, .18);
    color: #79a7ff;
}

.theme-search .page-header {
    background: var(--sx-navy);
    padding: 72px 24px;
}

.theme-search .page-header h1 {
    color: var(--sx-white);
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.6rem);
}

.theme-search .page-header p {
    color: #c8d5e8;
}

.theme-search .search-results-container {
    max-width: 1120px;
}

.theme-search .search-box,
.theme-search .result-item {
    border: 1px solid var(--sx-line);
    border-radius: 8px;
    box-shadow: none;
}

.theme-search .search-btn {
    background: var(--sx-blue);
    border-radius: 6px;
}

.theme-training .hero,
.theme-investor .investor-hero {
    background: var(--sx-navy);
}

.theme-training .hero::before,
.theme-investor .investor-hero::before,
.theme-investor .investor-hero::after {
    display: none;
}

.theme-training .hero-badge,
.theme-investor .highlight-card {
    border-radius: 8px;
}

.theme-training .stat-number,
.theme-investor .highlight-number {
    color: #79a7ff;
}

.theme-training .section-dark {
    background: var(--sx-navy);
}

.theme-training .program-card,
.theme-training .method-card,
.theme-investor .highlight-card,
.theme-investor .opportunity-card,
.theme-investor .document-card {
    border-radius: 8px;
    box-shadow: none;
}

.theme-investor .highlight-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
}

.theme-pricing .pricing-hero,
.theme-pricing .contact-cta {
    background: var(--sx-navy);
}

.theme-pricing .mission-vision,
.theme-pricing .about-section,
.theme-pricing .services-overview {
    display: none;
}

.theme-pricing .pricing-section {
    background: var(--sx-soft);
}

.theme-pricing .category-header {
    background: var(--sx-blue);
    border-radius: 6px 6px 0 0;
}

.theme-pricing .pricing-table {
    background: var(--sx-white);
    border: 1px solid var(--sx-line);
    border-radius: 0 0 6px 6px;
    box-shadow: none;
}

.theme-pricing .price {
    color: var(--sx-blue-dark);
}

.theme-pricing .btn {
    color: var(--sx-blue-dark);
    border-radius: 6px;
}

.theme-web {
    margin-left: 0 !important;
    background: var(--sx-white) !important;
    background-image: none !important;
    color: var(--sx-text) !important;
}

.theme-web .sidebar,
.theme-web .sidebar-toggle {
    display: none !important;
}

.theme-web .main-content {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0;
}

.theme-web .hero-section {
    padding: 86px 24px;
    background: var(--sx-navy);
    color: var(--sx-white);
}

.theme-web .hero-title {
    color: var(--sx-white);
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
}

.theme-web .hero-subtitle {
    color: #c8d5e8;
}

.theme-web .template-section,
.theme-web #contact {
    background: var(--sx-soft);
    border-color: var(--sx-line);
}

.theme-web .template-section:nth-of-type(even) {
    background: var(--sx-white);
}

.theme-web .section-header h2 {
    color: var(--sx-navy);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.theme-web .template-card,
.theme-web .process-step,
.theme-web .testimonial-card,
.theme-web .terminal-window {
    background: var(--sx-white);
    color: var(--sx-text);
    border: 1px solid var(--sx-line);
    border-radius: 8px;
    box-shadow: none;
}

.theme-web .template-title,
.theme-web .process-step h4,
.theme-web .testimonial-card h5 {
    color: var(--sx-navy);
}

.theme-web .template-card p,
.theme-web .section-header p,
.theme-web .testimonial-card p {
    color: var(--sx-muted);
}

.theme-web .terminal-body,
.theme-web .terminal-body pre,
.theme-web .terminal-body code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.theme-support {
    background: var(--sx-white) !important;
    color: var(--sx-text) !important;
}

.theme-support .emergency-banner {
    position: static;
    background: var(--sx-blue-dark);
    border: 0;
}

.theme-support .hero-section {
    background: var(--sx-navy);
}

.theme-support .hero-section::before {
    display: none;
}

.theme-support .section,
.theme-support #services,
.theme-support #request-support {
    background: var(--sx-soft) !important;
    color: var(--sx-text);
}

.theme-support .section:nth-of-type(even) {
    background: var(--sx-white) !important;
}

.theme-support .section-header h2,
.theme-support .section h2,
.theme-support .section h3,
.theme-support .section h4 {
    color: var(--sx-navy);
}

.theme-support .section-header .subtitle,
.theme-support .section p {
    color: var(--sx-muted);
}

.theme-support .service-card,
.theme-support .plan-card,
.theme-support .process-step,
.theme-support .testimonial-card {
    background: var(--sx-white);
    color: var(--sx-text);
    border: 1px solid var(--sx-line);
    border-radius: 8px;
    box-shadow: none;
}

.theme-support .service-icon {
    background: var(--sx-blue);
    border-radius: 8px;
}

.theme-support .response-badge {
    color: var(--sx-blue-dark);
    background: #eaf1ff;
}

@media (max-width: 900px) {
    .theme-page-hero {
        padding: 56px 20px 62px;
    }

    .theme-contact .contact-top {
        display: block;
        min-height: 0;
        padding: 52px 20px;
    }

    .theme-contact .contact-top-image {
        display: none;
    }

    .theme-contact .contact-top-content,
    .theme-contact .ct-form-card {
        position: static;
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }

    .theme-contact .ct-form-card {
        margin-top: 34px;
    }

    .theme-consultation .consultation-grid {
        grid-template-columns: 1fr;
    }

    .theme-web .hero-section,
    .theme-support .hero-section {
        padding: 56px 20px;
    }

    .theme-web [data-aos],
    .theme-support [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }

    .theme-web .row,
    .theme-support .row {
        margin-right: 0;
        margin-left: 0;
    }

    .theme-web .emergency-banner,
    .theme-support .emergency-banner {
        display: none;
    }
}

@media (max-width: 600px) {
    .theme-page-hero h1 {
        font-size: 2.25rem;
    }

    .theme-search .search-box form {
        display: grid;
        gap: 10px;
    }

    .theme-pricing .pricing-category {
        overflow-x: auto;
    }

    .theme-pricing .pricing-table {
        min-width: 680px;
    }
}
