/* Predictive Maintenance Page Specific Styles */

/* Set black background for the entire page */
body.predictive-maintenance-page {
    background-color: #000000;
}

/* Ensure techstack section has black background */
.flow-techstack-section {
    background-color: #000000 !important;
    background: #000000 !important;
}

.techstack-video-container {
    background-color: #000000 !important;
    background: #000000 !important;
}

.techstack-video {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Interactive Framework Styles */
.interactive-framework-section {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 120px 0;
    position: relative;
}

.interactive-framework-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 87, 184, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(32, 201, 151, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.interactive-framework-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.framework-circle {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(100px);
}

.letter-straight {
    display: inline-block;
    transform: rotate(calc(0deg - var(--angle)));
    position: relative;
    z-index: 1;
}

.circle-node {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(16, 16, 16, 0.9));
    border: 3px solid rgba(0, 87, 184, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0057B8;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 87, 184, 0.2);
    user-select: none;
}

.circle-node:hover {
    transform: scale(1.1);
    border-color: rgba(32, 201, 151, 0.8);
    color: #20c997;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(32, 201, 151, 0.4);
}

.circle-node.active {
    background: linear-gradient(135deg, #0057B8, #20c997);
    color: #fff;
    border-color: #20c997;
    transform: scale(1.2);
    box-shadow:
        0 20px 50px rgba(0, 87, 184, 0.4),
        0 0 40px rgba(32, 201, 151, 0.6);
}

/* Hero Section */
.pm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.pm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pm-hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.1) 0%, rgba(26, 26, 46, 0.3) 50%, rgba(16, 33, 62, 0.2) 100%);
    z-index: 2;
}

.pm-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pm-hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.pm-hero-text h1 .highlight {
    background: linear-gradient(45deg, #0057B8, #6e1ebf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.pm-hero-text p {
    font-size: 1.4rem;
    color: #e0f7fa;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pm-hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Gear Particles Animation */
.gear-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 87, 184, 0.6), rgba(32, 201, 151, 0.3));
    border-radius: 50%;
    animation: floatParticle 20s linear infinite;
    box-shadow: 0 0 10px rgba(0, 87, 184, 0.5);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Mission Section */
.flow-mission {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 100px 0;
    position: relative;
}

.mission-header {
    text-align: center;
    margin-bottom: 5rem;
}

.mission-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.mission-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(16, 16, 16, 0.9) 100%);
    border: 1px solid rgba(0, 87, 184, 0.3);
    border-radius: 2rem;
    padding: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mission-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0057B8, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 87, 184, 0.4);
}

.mission-content h3 {
    font-size: 1.8rem;
    color: #8955c9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
}

/* FLOW Framework */
.flow-framework {
    position: relative;
    z-index: 1;
}

.framework-title {
    text-align: center;
    color: var(--zasti-white);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.framework-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Challenges Section */
.pm-challenges {
    background-color: #000000;
    position: relative;
    padding: 80px 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-challenges::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 87, 184, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.challenges-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
}

.video-player-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 87, 184, 0.2);
    background: #000;
    aspect-ratio: 16 / 9;
}

.challenges-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    background: #000;
    cursor: pointer;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 46, 0.9) 50%, rgba(0, 87, 184, 0.3) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-play-overlay:hover {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.85) 50%, rgba(0, 87, 184, 0.4) 100%);
}

.video-play-overlay:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(0, 87, 184, 0.8);
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0057B8, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 87, 184, 0.6);
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 2.5rem;
    color: #fff;
    margin-left: 8px;
}

/* Video Placeholder Content */
.video-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.3), rgba(32, 201, 151, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(0, 87, 184, 0.5);
}

.placeholder-icon i {
    font-size: 2.5rem;
    color: #20c997;
}

.placeholder-title {
    font-family: 'Space Mono', monospace;
    font-size: 2rem !important;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.placeholder-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2rem 0;
    max-width: 400px;
}

/* Responsive placeholder */
@media (max-width: 768px) {
    .placeholder-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .placeholder-icon i {
        font-size: 1.8rem;
    }

    .placeholder-title {
        font-size: 1.5rem !important;
    }

    .placeholder-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .placeholder-icon {
        width: 50px;
        height: 50px;
    }

    .placeholder-icon i {
        font-size: 1.5rem;
    }

    .placeholder-title {
        font-size: 1.2rem !important;
    }

    .placeholder-subtitle {
        font-size: 0.8rem !important;
    }
}

/* Solutions Section */
.flow-solutions {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 100px 0;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.innovative-projects-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1400px;
    height: 500px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.project-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 0 0 280px;
    height: 100%;
    background: transparent;
}

.project-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.project-btn:last-child {
    border-bottom: none;
}

.project-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.1), rgba(32, 201, 151, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-btn:hover::before {
    opacity: 1;
}

.project-btn:hover {
    background: rgba(0, 87, 184, 0.1);
    transform: scale(1.02);
}

.project-btn.active {
    background: rgba(0, 87, 184, 0.15);
}

.project-btn.active::before {
    opacity: 1;
}

.project-btn-image {
    width: 95%;
    height: 95%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.project-btn:hover .project-btn-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.project-btn.active .project-btn-image {
    filter: brightness(1.2) saturate(1.1);
    transform: scale(1.03);
}

.project-info-display {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.project-info {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.project-info.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.project-info-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.project-info-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Techstack Video Section */
.flow-techstack-section {
    background-color: #000000;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    font-family: 'Space Mono', monospace;
}

.flow-techstack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.flow-techstack-section .techstack-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: #000000;
    z-index: 1;
}

.flow-techstack-section .techstack-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: #000000;
}

/* Framework Details */
.framework-details {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.framework-step {
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.25), rgba(32, 201, 151, 0.25));
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(32, 201, 151, 0.5);
    position: relative;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(20px);
}

.framework-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-letter {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    font-weight: 700;
    color: #0057B8;
    opacity: 0.15;
    line-height: 1;
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Predictive Maintenance Specific Animations */
@keyframes gearRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gear-rotate {
    animation: gearRotate 10s linear infinite;
}

@keyframes pulseMaintenance {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 87, 184, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(32, 201, 151, 0.8);
        transform: scale(1.05);
    }
}

.maintenance-pulse {
    animation: pulseMaintenance 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .interactive-framework-diagram {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
    }

    .framework-circle {
        width: 250px;
        height: 250px;
    }

    .circle-item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(85px);
    }

    .framework-details {
        max-width: 100%;
    }

    .innovative-projects-layout {
        max-width: 900px;
        height: 450px;
    }

    .project-buttons {
        flex: 0 0 180px;
    }
}

@media (max-width: 768px) {
    /* Fix header video */
    .pm-hero {
        height: 100vh;
        padding: 0;
        min-height: 100vh;
    }

    .pm-hero-bg-video {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }

    /* Fix challenges video */
    .pm-challenges {
        padding: 60px 0;
    }

    .challenges-video-wrapper {
        padding: 0 1rem;
    }

    .video-player-container {
        border-radius: 15px;
    }

    .challenges-video {
        border-radius: 15px;
    }

    .play-button {
        width: 80px;
        height: 80px;
    }

    .play-button i {
        font-size: 2rem;
        margin-left: 6px;
    }

    /* Fix innovative projects section */
    .innovative-projects-layout {
        flex-direction: column;
        height: auto;
        max-width: 100%;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .project-buttons {
        flex-direction: row;
        flex: 0 0 auto;
        height: auto;
        gap: 0.5rem;
        padding: 1rem;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--zasti-blue) var(--zasti-dark-gray);
        background: linear-gradient(90deg, rgba(26, 26, 46, 0.9), rgba(16, 16, 16, 0.95));
        border-radius: 15px;
    }

    .project-buttons::-webkit-scrollbar {
        height: 4px;
    }

    .project-buttons::-webkit-scrollbar-track {
        background: var(--zasti-dark-gray);
        border-radius: 2px;
    }

    .project-buttons::-webkit-scrollbar-thumb {
        background: var(--zasti-blue);
        border-radius: 2px;
    }

    .project-btn {
        flex: 0 0 180px;
        min-height: 120px;
        padding: 0.75rem;
        border-radius: 12px;
        border: 1px solid rgba(0, 87, 184, 0.2);
        background: rgba(26, 26, 46, 0.8);
        backdrop-filter: blur(10px);
    }

    .project-btn:hover {
        transform: scale(1.05);
        border-color: rgba(0, 87, 184, 0.5);
    }

    .project-btn.active {
        border-color: var(--zasti-blue);
        background: rgba(0, 87, 184, 0.1);
    }

    .project-info-display {
        position: static;
        height: auto;
        margin-top: 1rem;
        border-radius: 15px;
        overflow: hidden;
        border: 1px solid rgba(0, 87, 184, 0.2);
    }

    .project-info {
        position: static;
        height: auto;
        transform: none;
        display: none;
        opacity: 1;
        width: 100%;
    }

    .project-info.active {
        display: block;
    }

    .project-info-video,
    .project-info-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 15px;
    }

    /* Interactive framework mobile */
    .interactive-framework-diagram {
        gap: 2rem;
        padding: 0 1rem;
    }

    .framework-circle {
        width: 220px;
        height: 220px;
    }

    .circle-item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(80px);
    }

    .circle-node {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        cursor: pointer;
        touch-action: manipulation;
    }

    .framework-step {
        padding: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .step-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .framework-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .framework-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .mission-card {
        padding: 1.5rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .mission-header h2 {
        font-size: 2rem;
    }

    /* Techstack section mobile */
    .flow-techstack-section {
        height: 100vh;
    }

    .flow-techstack-section .techstack-video-container {
        height: 100vh;
        border-radius: 0;
    }

    .flow-techstack-section .techstack-video {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .pm-hero {
        min-height: 100vh;
    }

    .pm-challenges {
        padding: 40px 0;
    }

    .challenges-video-wrapper {
        padding: 0 0.5rem;
    }

    .video-player-container {
        border-radius: 12px;
    }

    .challenges-video {
        border-radius: 12px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
        margin-left: 4px;
    }

    .innovative-projects-layout {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .project-buttons {
        padding: 0.75rem;
        gap: 0.25rem;
    }

    .project-btn {
        flex: 0 0 160px;
        min-height: 100px;
        padding: 0.5rem;
    }

    .interactive-framework-diagram {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .framework-circle {
        width: 180px;
        height: 180px;
    }

    .circle-item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(65px);
    }

    .circle-node {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .framework-step {
        padding: 1rem;
    }

    .step-content h3 {
        font-size: 1.4rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .framework-title {
        font-size: 1.5rem;
    }

    .framework-subtitle {
        font-size: 0.9rem;
    }

    .mission-header h2 {
        font-size: 1.6rem;
    }
}

/* Better spacing for sections */
.flow-mission, .flow-framework,
.flow-solutions, .flow-techstack-section {
    padding: 80px 0 !important;
}

.flow-techstack-section {
    padding: 0 !important;
}

/* FLOW Solutions section specific sizing */
.flow-solutions .section-title,
.flow-solutions h2 {
    font-size: 2rem !important;
}

.flow-solutions .section-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
    color: #b0b0b0 !important;
}

.flow-solutions {
    text-align: center;
}

.flow-solutions .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Platform Overview Sections */
.platform-overview-section {
    background: #000000;
    padding: 100px 0;
    position: relative;
}

.platform-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 87, 184, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(32, 201, 151, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.platform-overview-section .section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.platform-grid.content-left {
    grid-template-columns: 1fr 1fr;
}

.platform-grid.content-right {
    grid-template-columns: 1fr 1fr;
}

.platform-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.platform-text {
    font-family: 'Space Mono', monospace !important;
    font-size: 1.7rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: 0;
}

.platform-text.gradient-text {
    background: linear-gradient(135deg, #4e43b3 0%, #e1e2f7 50%, #7e96d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 87, 184, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.platform-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 87, 184, 0.25);
}

/* Responsive Platform Overview */
@media (max-width: 992px) {
    .platform-overview-section {
        padding: 80px 0;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .platform-grid.content-left .platform-content {
        order: 1;
    }

    .platform-grid.content-left .platform-image {
        order: 2;
    }

    .platform-grid.content-right .platform-image {
        order: 1;
    }

    .platform-grid.content-right .platform-content {
        order: 2;
    }

    .platform-text {
        font-size: 4.5rem !important;
        text-align: center;
    }

    .platform-img {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .platform-overview-section {
        padding: 60px 0;
    }

    .platform-overview-section .section-container {
        padding: 0 1.5rem;
    }

    .platform-grid {
        gap: 2rem;
    }

    .platform-text {
        font-size: 3rem !important;
        line-height: 1.5 !important;
    }

    .platform-img {
        max-width: 100%;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .platform-overview-section {
        padding: 40px 0;
    }

    .platform-overview-section .section-container {
        padding: 0 1rem;
    }

    .platform-text {
        font-size: 2.25rem !important;
        line-height: 1.5 !important;
    }

    .platform-img {
        border-radius: 12px;
    }
}
