/* ==========================================================================
   GENERIC SOLUTION PAGE STYLES
   ==========================================================================
*/

/* --- GENERAL BACKGROUND --- */
.sobis-solution-page {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background-color: #04121e;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
}

/* ==========================================================================
   HERO SECTION
   ==========================================================================
*/

.hero-solution {
    margin-bottom: 100px;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 40px;
}

.hero-main-text {
    flex: 0.95;
}

.hero-main-image {
    position: relative;
    flex: 1;
    margin-bottom: -10%;
    text-align: right;
}

.hero-main-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
}

/* --- HERO ICON --- */
.hero-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
}

.hero-icon-circle i {
    color: #FFFFFF;
    font-size: 48px;
}

/* --- HERO TITLE --- */
.hero-main-text h1 {
    margin: 0 0 25px;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.28px;
}

/* --- HERO DESCRIPTION --- */
.hero-main-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.1px;
}

/* ==========================================================================
   SECTION DIVIDERS
   ==========================================================================
*/

.sobis-divider-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin: 100px 0 60px;
}

.sobis-divider-glow::before,
.sobis-divider-glow::after {
    content: "";
    flex: 1;
    height: 1px;
    transform: scaleY(0.5);
    transform-origin: center;
}

.sobis-divider-glow::before {
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0) 100%
    );
}

.sobis-divider-glow::after {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0) 100%
    );
}

.sobis-divider-glow span {
    display: inline-block;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ==========================================================================
   MODULES GRID
   ==========================================================================
*/

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* --- MODULE CARD --- */
.m-card-figma {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 385px;
    padding: 40px 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 190, 255, 0.7);
    border-radius: 8px;
    background: #051220;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.7);
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.m-card-figma::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        #3BBEFF 48.08%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(4px);
}

.m-card-figma::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        #3BBEFF 48.08%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(4px);
}

.m-card-figma:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.9);
}

/* --- MODULE ICON --- */
.icon-circle-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 50%;
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
}

.icon-circle-small i {
    color: #FFFFFF;
    font-size: 32px;
}

/* --- MODULE TITLE --- */
.m-card-figma h3 {
    margin: 0 0 15px;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.15px;
    text-align: center;
}

/* --- MODULE DESCRIPTION --- */
.m-card-figma p {
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.1px;
    text-align: center;
}

/* --- MODULE DETAILS LINK --- */
.module-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.module-details-btn:hover {
    color: #1277A0;
    text-decoration: none;
}

.module-details-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.module-details-btn:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   ADVANTAGES SECTION
   ==========================================================================
*/

.advantages-flex-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 80px;
    max-width: 1100px;
    margin: 0 auto 100px;
}

.adv-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.adv-card > i {
    flex-shrink: 0;
    color: #FFFFFF;
    font-size: 48px;
}

.adv-content h4 {
    margin: 0 0 12px;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.15px;
    text-align: left;
}

.adv-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.1px;
    text-align: left;
}

/* ==========================================================================
   CTA SECTION
   ==========================================================================
*/

.cta-custom-section {
    position: relative;
    padding: 100px 0 40px;
    text-align: center;
}

.cta-custom-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 1px;
    transform: translateX(-50%) scaleY(0.5);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

.cta-container p {
    margin: 0 0 40px;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.45;
}

.sobis-blue-text {
    color: #1277A0;
    font-weight: 500;
}

/* --- CTA BUTTON --- */
.sobis-btn-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    padding: 0 28px;
    border: none !important;
    border-radius: 50px;
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
    color: #FFFFFF !important;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.sobis-btn-offer:hover,
.sobis-btn-offer:focus {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transform: scale(1.03) translateY(-2px);
    filter: brightness(1.12);
    box-shadow: none;
}

.sobis-btn-offer::before,
.sobis-btn-offer::after {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVE
   ==========================================================================
*/

@media (max-width: 1150px) {
    .modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sobis-solution-page {
        padding: 80px 0;
    }

    /* --- HERO --- */
    .hero-solution {
        margin-bottom: 60px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 35px;
        padding-top: 20px;
        text-align: left;
    }

    .hero-icon-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .hero-icon-circle i {
        font-size: 40px;
    }

    .hero-main-text h1 {
        font-size: 25px;
        line-height: 1.3;
    }

    .hero-main-text p {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-main-image {
        width: 100%;
        margin: 0;
    }

    .hero-main-image img {
        width: 100%;
        margin: 0 auto;
    }

    /* --- DIVIDERS --- */
    .sobis-divider-glow {
        gap: 15px;
        margin: 70px 0 40px;
    }

    .sobis-divider-glow span {
        font-size: 14px;
        letter-spacing: 0.2em;
    }

    /* --- MODULES --- */
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .m-card-figma {
        min-height: auto;
        padding: 32px 20px;
    }

    .icon-circle-small {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
        padding: 12px;
    }

    .icon-circle-small i {
        font-size: 27px;
    }

    .m-card-figma h3 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .m-card-figma p {
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 1.4;
    }

    .module-details-btn {
        gap: 7px;
        font-size: 15px;
    }

    .module-details-btn i {
        font-size: 17px;
    }

    /* --- ADVANTAGES --- */
    .advantages-flex-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 70px;
    }

    .adv-card {
        gap: 20px;
    }

    .adv-card > i {
        font-size: 38px;
    }

    .adv-content h4 {
        font-size: 20px;
    }

    .adv-content p {
        font-size: 16px;
    }

    /* --- CTA --- */
    .cta-custom-section {
        padding: 70px 0 20px;
    }

    .cta-container p {
        margin-bottom: 30px;
        font-size: 19px;
        line-height: 1.5;
    }

    .sobis-btn-offer {
        min-width: 190px;
        height: 50px;
        padding: 0 24px;
        font-size: 17px;
    }
}