/* ============================================================ 
   SOLUTIONS UNIFIED MASTERY v6.0
   Design: Supreme Light Cohesion (Twin Architecture)
   Architecture: Frosted Motherboard & Command Flow
   ============================================================ */

.solutions-mastery-body {
    background: #F8F9FA;
    color: #1F1F1F;
    overflow-x: hidden;
}

/* --- SUPREME HERO (SYNCHRONIZED) --- */
.sol-hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 100px;
    background: #FFFFFF;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sol-hero__bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(15, 17, 26, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 17, 26, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 90%);
    pointer-events: none;
    z-index: 1;
}

.sol-hero__layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
    align-items: center;
}

.sol-hero__title {
    font-size: 3rem; /* 48px exactly */
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
    color: #1F1F1F;
}

/* Global H2 standard for solutions */
h2 {
    font-size: 2.25rem !important; /* 36px */
    font-weight: 600 !important;
    letter-spacing: -0.03em;
}

.sol-hero__desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #5F6368;
    max-width: 620px;
    margin-bottom: 48px;
}

/* --- SOLUTION MATRIX (MOTHERBOARD GRID) --- */
.section-matrix {
    padding: 100px 0 80px;
    background: #F8F9FA;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.matrix-item {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    padding: 48px;
    transition: all 0.5s var(--saas-ease);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.matrix-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
}

.matrix-item__icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.matrix-item__title {
    font-size: 1.75rem; /* 28px standard for H3 cards */
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1F1F1F;
    margin-bottom: 12px;
}

.matrix-item__desc {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #5F6368;
}

/* --- PRISMATIC ARCHITECTURE HUB --- */
.sol-hero__visual {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prismatic-hub {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prism {
    position: absolute;
    width: 80px;
    height: 200px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.prism-1 {
    transform: translateX(-40px) translateY(-20px) rotate(-15deg);
    animation: prismFloat1 6s ease-in-out infinite;
    z-index: 10;
}

.prism-2 {
    transform: translateX(40px) translateY(20px) rotate(15deg);
    animation: prismFloat2 7s ease-in-out infinite;
    z-index: 5;
    background: rgba(99, 102, 241, 0.05);
}

.prism-3 {
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    border-radius: 30px;
    filter: blur(40px);
    opacity: 0.3;
    animation: nexusPulse 3s ease-in-out infinite;
}

@keyframes prismFloat1 {
    0%, 100% { transform: translateX(-40px) translateY(-20px) rotate(-15deg); }
    50% { transform: translateX(-50px) translateY(-40px) rotate(-10deg); }
}

@keyframes prismFloat2 {
    0%, 100% { transform: translateX(40px) translateY(20px) rotate(15deg); }
    50% { transform: translateX(50px) translateY(40px) rotate(10deg); }
}

@keyframes nexusPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* --- COMMAND FLOW (LIGHT UNIFIED) --- */
.sol-command {
    padding: 100px 0;
    background: #FFFFFF;
}

.command-flow {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 120px;
}

.command-flow::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), var(--color-primary-light), transparent);
    background-size: 100% 200%;
    animation: lightDataStream 4s linear infinite;
    opacity: 0.2;
}

@keyframes lightDataStream {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 200%; }
}

.command-step {
    position: relative;
    margin-bottom: 100px;
}

.command-node {
    position: absolute;
    left: -100px;
    top: 0;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.command-card {
    background: #F8F9FA;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 32px;
    padding: 40px;
}

.command-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 16px;
}

.command-card-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #5F6368;
}

/* --- CTA HUB SYNC --- */
.sol-cta-section {
    padding: 100px 0 140px;
    background: #F8F9FA;
}

@media (max-width: 1024px) {
    .sol-hero {
        padding: calc(var(--header-height) + 40px) 0 60px !important;
        text-align: center;
    }
    .sol-hero__layout { 
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .sol-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sol-hero__title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 20px !important;
    }
    h2, .sol-section-title {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
    }
    h3 {
        font-size: 1.125rem !important;
        line-height: 1.3 !important;
    }
    .cta-title {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    .cta-desc {
        font-size: 0.9375rem !important;
        text-align: center !important;
        margin-bottom: 32px !important;
        max-width: 100% !important;
    }
    .supreme-cta {
        padding: 60px 24px !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        border-radius: 24px !important;
        text-align: center;
    }
    .sol-hero__desc {
        font-size: 0.9375rem !important;
        margin-bottom: 32px !important;
    }
    .td-actions {
        width: 100% !important;
    }
    .btn-supreme {
        width: 100% !important;
        justify-content: center !important;
    }
    .sol-hero__visual {
        height: 300px !important;
    }
    .prismatic-hub {
        transform: scale(0.8) !important;
    }

    .section-matrix {
        padding: 60px 0 !important;
    }
    .matrix-grid { 
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .matrix-item {
        padding: 32px 24px !important;
        border-radius: 24px !important;
    }
    .matrix-item__title {
        font-size: 1.125rem !important;
    }
    .matrix-item__desc {
        font-size: 0.9375rem !important;
    }

    .sol-command {
        padding: 60px 0 !important;
    }
    .command-flow { 
        padding-left: 50px !important;
        margin-top: 40px !important;
    }
    .command-flow::before {
        left: 21px !important;
    }
    .command-step {
        margin-bottom: 40px !important;
    }
    .command-node { 
        left: -50px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 0.75rem !important;
        border-radius: 8px !important;
    }
    .command-card {
        padding: 24px !important;
        border-radius: 20px !important;
    }
    .command-card-title {
        font-size: 1.125rem !important;
    }
    .command-card-desc {
        font-size: 0.9375rem !important;
    }
}
