/* Styles scoped to cong-nghe.html. */

/* CSS reset & variables cho trang Công Nghệ */

        /* Màu sắc tiêu đề của các section trang Công nghệ theo thiết kế (Màu hồng đậm) */
        .section-title {
            color: var(--primary-color) !important;
            font-weight: 800;
        }

        /* Tech Banner (Hero) */
        .tech-banner {
            padding: 85px 0 65px;
            position: relative;
        }

        .tech-banner-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            align-items: center;
            gap: 60px;
        }

        .tech-banner-subtitle {
            display: block;
            color: var(--primary-color);
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .tech-banner-title {
            font-size: 42px;
            font-weight: 800;
            color: var(--text-dark);
            line-height: 1.25;
            margin-bottom: 8px;
        }

        .tech-banner-title span {
            color: var(--primary-color);
            display: block;
        }

        .tech-banner-desc {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 30px;
        }

        .tech-banner-badges {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .tech-banner-badge-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .tech-banner-badge-item .badge-icon-box {
            width: 42px;
            height: 42px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 18px;
            flex-shrink: 0;
            border: 1px solid rgba(216, 42, 98, 0.15);
        }

        .tech-banner-badge-info h4 {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .tech-banner-badge-info p {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .tech-banner-media img {
            width: 100%;
            height: auto;
            border-radius: 24px;
            box-shadow: var(--shadow-lg);
        }

        /* How it works */
        .how-works-intro {
            max-width: 650px;
            margin: 0 auto 40px;
        }

        .how-works-intro p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .how-works-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            position: relative;
        }

        .how-step-card {
            background-color: var(--white);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            transition: var(--transition-normal);
            position: relative;
        }

        .how-step-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: rgba(216, 42, 98, 0.2);
        }

        .how-step-img-box {
            width: 100%;
            aspect-ratio: 4/3;
            overflow: hidden;
            background-color: var(--bg-gray);
            border-bottom: 1px solid var(--border-color);
        }

        .how-step-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .how-step-body {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .how-step-meta {
            font-size: 11px;
            font-weight: 700;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }

        .how-step-card h3 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .how-step-card p {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* Step arrows */
        .step-arrow-divider {
            position: absolute;
            top: 30%;
            font-size: 18px;
            color: var(--primary-color);
            opacity: 0.6;
            z-index: 10;
            pointer-events: none;
        }

        .arrow-1-2 { left: calc(25% - 9px); }
        .arrow-2-3 { left: calc(50% - 9px); }
        .arrow-3-4 { left: calc(75% - 9px); }

        /* Comparison Section Desktop */
        .comparison-layout {
            display: grid;
            grid-template-columns: 140px repeat(5, 1fr);
            gap: 15px;
            margin-top: 40px;
            align-items: stretch;
        }

        .compare-label-column {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-top: 130px; /* aligns with row content */
            padding-bottom: 20px;
        }

        .compare-label-item {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-dark);
            height: 54px;
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
        }

        .compare-label-item:last-child {
            border-bottom: none;
        }

        .compare-method-card {
            background-color: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 20px 15px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: var(--transition-normal);
        }

        .compare-method-card.mlay-highlight {
            border: 2px solid var(--primary-color);
            background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
            box-shadow: var(--shadow-hover);
        }

        .compare-card-header {
            margin-bottom: 20px;
            height: 110px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
        }

        .compare-card-header img {
            max-height: 60px;
            max-width: 60px;
            object-fit: contain;
            margin-bottom: 10px;
            border-radius: 8px;
        }

        .compare-card-header h3 {
            font-size: 12px;
            font-weight: 800;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .compare-method-card.mlay-highlight .compare-card-header h3 {
            color: var(--primary-color);
        }

        .compare-card-values {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: auto;
            flex-grow: 1;
        }

        .compare-value-row {
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: var(--text-muted);
            border-bottom: 1px solid var(--border-color);
            padding: 5px 0;
            line-height: 1.4;
        }

        .compare-method-card .compare-value-row:last-child {
            border-bottom: none;
        }

        .compare-method-card.mlay-highlight .compare-value-row {
            color: var(--primary-color);
            font-weight: 600;
            border-bottom-color: rgba(216, 42, 98, 0.1);
        }

        .compare-value-row i.fa-check {
            color: var(--success);
            font-size: 16px;
        }

        .compare-value-row i.fa-times {
            color: #ccc;
            font-size: 14px;
        }

        .compare-method-card.mlay-highlight .compare-value-row i.fa-check {
            color: var(--primary-color);
            font-size: 18px;
        }

        /* Mobile Comparison Styles (giống cấu trúc trang chủ) */
        .comparison-mobile-container {
            display: none;
            flex-direction: column;
            gap: 20px;
            margin-top: 30px;
        }

        .compare-mobile-mlay-card {
            background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
            border: 2px solid var(--primary-color);
            border-radius: 20px;
            padding: 24px 20px;
            box-shadow: var(--shadow-md);
            text-align: center;
        }

        .compare-mobile-card-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 18px;
            border-bottom: 1px dashed rgba(216, 42, 98, 0.2);
            padding-bottom: 12px;
        }

        .compare-mobile-card-header img {
            max-height: 70px;
            object-fit: contain;
            margin-bottom: 10px;
            border-radius: 8px;
        }

        .compare-mobile-card-header h3 {
            font-size: 14px;
            font-weight: 800;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .compare-mobile-card-body {
            display: flex;
            flex-direction: column;
            gap: 12px;
            text-align: left;
        }

        .compare-mobile-row {
            font-size: 13px;
            color: var(--text-dark);
            line-height: 1.5;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 6px;
        }

        .compare-mobile-row:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .compare-mobile-row strong {
            color: var(--text-muted);
            font-weight: 600;
        }

        .comparison-carousel-wrapper {
            position: relative;
            width: 100%;
        }

        .comparison-carousel-track {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 16px;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 10px;
        }

        .comparison-carousel-track::-webkit-scrollbar {
            display: none;
        }

        .comparison-card-item {
            flex: 0 0 100%;
            scroll-snap-align: start;
            background-color: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 24px 20px;
            box-shadow: var(--shadow-sm);
            text-align: center;
        }

        .comparison-card-item .compare-mobile-card-header h3 {
            color: var(--text-dark);
        }

        .comparison-carousel-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 15px;
        }

        .comparison-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #ddd;
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .comparison-dot.active {
            background-color: var(--primary-color);
            width: 18px;
            border-radius: 4px;
        }

        /* Highlights Section */
        .highlights-section-grid {
            display: grid;
            grid-template-columns: 0.75fr 1.25fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .highlights-product-image img {
            width: 100%;
            height: auto;
            transform: scale(1.05);
        }

        .highlights-list-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .highlight-item-card {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 20px;
            background-color: var(--white);
            border-radius: 20px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            transition: var(--transition-normal);
        }

        .highlight-item-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            border-color: rgba(216, 42, 98, 0.15);
        }

        .highlight-card-icon {
            width: 44px;
            height: 44px;
            background-color: var(--primary-light);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 18px;
            flex-shrink: 0;
            border: 1px solid rgba(216, 42, 98, 0.1);
        }

        .highlight-card-info h4 {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 6px;
            line-height: 1.3;
        }

        .highlight-card-info p {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* Global Certificates Box */
        .global-cert-panel {
            background-color: var(--white);
            border-radius: 24px;
            border: 1px solid var(--border-color);
            padding: 30px;
            box-shadow: var(--shadow-md);
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .global-cert-panel h3 {
            font-size: 15px;
            font-weight: 800;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 5px;
        }

        .cert-vector-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .cert-vector-logos svg {
            transition: var(--transition-fast);
        }

        .cert-vector-logos svg:hover {
            transform: scale(1.08);
        }

        .cert-trust-message {
            background-color: var(--primary-light);
            border-radius: 16px;
            padding: 20px;
            display: flex;
            align-items: flex-start;
            gap: 14px;
            text-align: left;
            border: 1px dashed rgba(216, 42, 98, 0.2);
        }

        .cert-trust-message i {
            color: var(--primary-color);
            font-size: 20px;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .cert-trust-message h4 {
            font-size: 13px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 4px;
        }

        .cert-trust-message p {
            font-size: 11px;
            color: var(--text-dark);
            line-height: 1.5;
            margin: 0;
        }

        /* Bottom Call to Action Banner */
        .bottom-cta-banner {
            background-color: var(--primary-color);
            border-radius: 24px;
            padding: 40px 60px;
            box-shadow: var(--shadow-lg);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            position: relative;
            overflow: hidden;
            margin-top: 60px;
        }

        .bottom-cta-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 300px;
            height: 300px;
            background: rgba(255,255,255,0.03);
            border-radius: 50%;
            pointer-events: none;
        }

        .cta-banner-left {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .cta-banner-product-img {
            max-height: 90px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .cta-banner-text h2 {
            font-size: 20px;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 6px;
            line-height: 1.3;
        }

        .cta-banner-text p {
            font-size: 15px;
            color: rgba(255,255,255,0.9);
            margin: 0;
            font-weight: 500;
        }

        .bottom-cta-banner .btn {
            background-color: var(--white);
            color: var(--primary-color);
            border: 1px solid var(--white);
            font-weight: 700;
            flex-shrink: 0;
        }

        .bottom-cta-banner .btn:hover {
            background-color: transparent;
            color: var(--white);
            transform: translateY(-2px);
        }

        /* Responsive Styles */
        @media (max-width: 1200px) {
            .highlights-section-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
            .global-cert-panel {
                grid-column: span 2;
            }
            .highlights-product-image {
                display: none;
            }
        }

        @media (max-width: 1024px) {
            .tech-banner-grid {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }
            .tech-banner-badges {
                justify-content: center;
            }
            .tech-banner-media {
                max-width: 450px;
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .tech-banner {
                padding: 50px 0;
            }
            .tech-banner-title {
                font-size: 32px;
            }
            .tech-banner-desc {
                font-size: 14px;
            }
            .tech-banner-badges {
                grid-template-columns: 1fr;
                gap: 16px;
                text-align: left;
            }
            .how-works-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            .step-arrow-divider {
                display: none;
            }
            .highlights-section-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            .global-cert-panel {
                grid-column: span 1;
            }
            .highlights-list-grid {
                grid-template-columns: 1fr;
            }
            .bottom-cta-banner {
                flex-direction: column;
                text-align: center;
                padding: 30px 20px;
                gap: 24px;
            }
            .cta-banner-left {
                flex-direction: column;
                gap: 15px;
            }
            .cta-banner-product-img {
                max-height: 80px;
            }

            /* Slide cho Hồ sơ chứng nhận trên mobile */
            .certificate-grid {
                display: flex !important;
                overflow-x: auto !important;
                gap: 16px !important;
                scroll-snap-type: x mandatory !important;
                padding-bottom: 15px !important;
                -webkit-overflow-scrolling: touch !important;
            }

            .certificate-card {
                flex: 0 0 250px !important;
                scroll-snap-align: start !important;
                display: flex !important;
                flex-direction: column !important;
                grid-template-columns: none !important; /* Reset layout grid 2 cột của style.css */
            }

            .certificate-card-image {
                aspect-ratio: 3 / 4 !important;
                padding: 10px !important;
            }

            .compare-label-column {
                display: none !important;
            }

            .comparison-layout {
                display: none !important;
            }

            .comparison-mobile-container {
                display: flex;
            }
        }
