/* Product Page Styles */

/* Hero Section */
.product-hero {
    height: 342px;
    padding: 60px 0;
    /* background: #F1E9FF; */
    background-image: url('../assets/images/section-banner-05.png');
    background-size: cover;
    background-repeat: no-repeat;

    .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: start;
        position: relative;

        h1 {
            font-size: 50px;
            margin-bottom: 20px;
        }

        h2 {
            
            font-size: 32px;
        }

        .product-hero-clouds {
            position: absolute;
            top: 0px;
            right: -120px;
            z-index: 10;
            mix-blend-mode: soft-light;
            object-fit: cover;
        }
    }
}

/* System Architecture Section */
.system-architecture {
    background-color: #fff;
    padding: 60px 0;
    position: relative;

    .container {
        h2 {
            font-weight: 700;
            font-size: 32px;
            margin-bottom: 10px;
            text-align: center;
        }

        .system-architecture-image-container {
            margin-top: 30px;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                width: 95%;
                max-width: 840px;
            }
        }

        .multi-agent-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 40px 0;

            .agent-card {
                padding: 20px;
                border-radius: 12px;
                text-align: center;
                min-height: 100px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: 700;
                font-size: 16px;

                &.natural-language {
                    background-color: #D4F7FE;
                    border: 1px solid #018CCC;
                    color: #0D86F6;
                }

                &.personal-itinerary {
                    background-color: #DBDDFB;
                    border: 1px solid #404EE7;
                    color: #404EE7;
                }

                &.live-automation {
                    background-color: #FFF4E2;
                    border: 1px solid #FF9C00;
                    color: #FF9C00;
                }

                &.ready-to-book {
                    background-color: #E6CAFF;
                    border: 1px solid #170228;
                    color: #170228;
                }

                &.images-maps {
                    background-color: #E5FEE8;
                    border: 1px solid #2ECE40;
                    color: #0BA11C;
                }

                &.voice-gestures {
                    background-color: #FFE5D2;
                    border: 1px solid #F96B00;
                    color: #F96B00;
                }

                &.profile {
                    background-color: #F0DEFF;
                    border: 1px solid #8C1BEF;
                    color: #8C1BEF;
                }
            }
        }

        .multi-agent-circle {
            width: 235px;
            height: 235px;
            background-color: #8C1BEF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 700;
            font-size: 20px;
            text-align: center;
            margin: 40px auto;
        }
    }
}

/* Multi-Agent Intelligence Section */
.multi-agent {
    background-color: #F7EEFF;
    padding: 60px 0;

    .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        .multi-agent-content {
            flex: 1;

            .multi-agent-description {
                margin: 20px auto;                
                list-style-type: none;

                li {
                    margin-bottom: 20px;
                }
            }
        }

        .multi-agent-image-container {
            flex: 1;
            max-width: 639px;
            margin: 0 auto;

            img {
                width: 100%;
                height: auto;
            }
        }
    }
}


/* Real-Time Data Pipeline Section */
.data-pipeline {
    background-color: #ffffff;
    padding: 60px 0;

    .container {
        display: flex;
        flex-direction: row;
        gap: 40px;

        .data-pipeline-image-container {
            flex: 1;
            max-width: 625px;
            margin: 0 auto;

            img {
                width: 100%;
                height: auto;
            }
        }

        .data-pipeline-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;

            .data-pipeline-text {
                p {
                    margin-bottom: 15px;
                }
            }
        }   
    }
}

/* Experience Quotient Section */
.experience-quotient {
    margin-top: 60px;
    height: 572px;
    background-image: url('../assets/images/section-banner-02.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 60px 0;

    .container {
        height: 100%;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;

        .experience-quotient-text {
            flex: 1;
        }

        .experience-chart {
            flex: 1;
            position: relative;
            margin: 0 auto;

            img {
                width: 100%;
                height: auto;
            }

            .chart-labels {
                display: flex;
                justify-content: space-around;
                margin-top: 20px;

                .chart-label {
                    font-weight: 700;
                    font-size: 13px;
                    color: #373737;
                }
            }
        }
    }
}

/* Feasibility Quotient Section */
.feasibility-quotient {
    margin: 30px 0;
    height: 572px;
    padding: 30px 0;
    
    .container {
        height: 100%;
        display: flex;
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }

    .feasibility-quotient-text {
        flex: 1;
    }

    .feasibility-chart {
        flex: 1;

        img {
            margin: auto 0;
            width: 100%;
            max-width: 350px;
            height: auto;
        }
    }
}

/* Data Reliability Index Section */
.data-reliability {
    margin: 30px 0;
    height: 580px;
    background-color: #F2FDFF;
    padding: 30px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    
    .container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;

        .data-reliability-text {
            max-width: 960px;
            text-align: center;

            h2 {
                margin-top: 20px;
            }

            p {
                margin-bottom: 20px;
            }
        }

        .data-reliability-visual {
            width: 960px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            row-gap: 20px;
            column-gap: 20px;
            place-items: center;

            .trust-badge-container {
                width: 375px;
                display: flex;
                flex-direction: row;
                gap: 5px;

                .trust-badge-icon-label {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;

                    .trust-badge-icon {
                        display: flex;
                        flex-direction: row;
                        justify-content: center;
                        align-items: center;

                        img {
                            width: 64px;
                            height: 64px;
                        }
                    }

                    .trust-badge-label {
                        width: 120px;
                        height: 40px;
                        text-align: center;
                        vertical-align: top;
                        font-size: 18px;
                        font-weight: 500;
                        line-height: 1.2;
                    }
                }

                .trust-badge-description {
                    width: 250px;

                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: start;

                    p {
                        margin-bottom: 1em;
                        font-size: 20px;
                        text-align: left;
                    }
                }
            }

            img {
                width: 80%;
                max-width: 980px;
                height: auto;
            }
        }
    }
}

/* Collaborative Architecture Section */
.collaborative {
    padding-top: 30px;

    .container {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;

        .collaborative-text {
            flex: 1;
        }

        .collaborative-image-container {
            flex: 1;

            img {
                max-width: 100%;
                height: auto;
            }
        }
    }
}

.demo-visual {
    margin-bottom: 30px;
    padding: 30px 0;

    .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .demo-text {
        flex: 1;

        h2 {
            margin-bottom: 5px;
        }

        p {
            margin-bottom: 10px;
        }
    }

    .demo-video-container {
        flex: 1;
        margin: 0 auto;
        width: 100%;
        max-width: 840px;

        video, iframe {
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
        }
    }
}

/* Privacy-first Design Section */
.privacy-first {
    height: 444px;
    background-color: #040218;
    color: #fff;

    .container {
        height: 100%;
        display: flex;
        flex-direction: row;
        gap: 40px;
        align-items: center;
        justify-content: center;

        .privacy-first-image-container {
            flex: 1.3;
            height: 100%;
            overflow: hidden;

            img {
                height: 100%;
                object-fit: cover;
                object-position: 0% 50%;
                transform: translateX(-10%);
            }
        }

        .privacy-first-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
    }
}

/* Human Thinking Section */
.human-thinking {
    height: 327px;
    padding: 60px 0;

    .container {
        display: flex;
        flex-direction: row;
        gap: 40px;

        .human-thinking-content {
            max-width: 450px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-hero {
        .container {
            .product-hero-clouds {
                bottom: 0px;
                right: 0px;
            }
        }
    }

    .experience-quotient, .feasibility-quotient,
    .data-reliability, .demo-visual {
        height: auto;
    }

    .data-reliability {
        .container {
            .data-reliability-visual {
                width: 720px;
            }
        }
    }
}

@media (max-width: 768px) {
    .product-hero {
        height: auto;
        padding: 40px 0;

        .container {
            h1 {
                font-size: 36px;
                margin-bottom: 10px;
            }

            h2 {
                font-size: 24px;
            }
        }
    }

    .system-architecture {
        height: auto;
        padding: 30px 0;

        .container {
            .multi-agent-grid {
                grid-template-columns: 1fr;
            }

            .multi-agent-circle {
                width: 180px;
                height: 180px;
                font-size: 16px;
            }
        }
    }

    .multi-agent, .data-pipeline,
    .experience-quotient, .feasibility-quotient,
    .data-reliability, .collaborative,
    .demo-visual, .human-thinking {
        height: auto;
        padding: 30px 0;

        .container {
            flex-direction: column;
        }
    }

    .data-reliability {
        .container {
            .data-reliability-visual {
                width: auto;
                max-width: 90vw;
                grid-template-columns: 1fr;

                .trust-badge-container {
                    width: unset;

                    .trust-badge-icon-label {
                        .trust-badge-icon {
                            img {
                                width: 48px;
                                height: 48px;
                            }
                        }

                        .trust-badge-label {
                            font-size: 16px;
                        }
                    }

                    .trust-badge-description {
                        width: 200px;

                        p {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
    }

    .privacy-first {
        height: auto;
        padding: 30px 0;

        .container {
            height: auto;
            flex-direction: column;
            gap: 30px;

            .privacy-first-image-container {
                width: 100%;
                height: auto;
                min-height: 180px;
                max-height: 360px;

                img {
                    height: auto;
                }
            }

            .privacy-first-content {
                min-height: 180px;
                max-height: 360px;
            }
        }
    }
}
