/* --- SPLIT-PANEL SHOWCASE STYLES --- */

.container-large {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Split Hero */
.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.back-link {
    color: #8b8dd6;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.showcase-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: var(--text-dark);
    margin: 15px 0 20px 0;
    letter-spacing: -1px;
}

.showcase-abstract {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Action Buttons */
.action-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn-group a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #8b8dd6;
    color: #fff;
    border: 2px solid #8b8dd6;
}

.btn-primary:hover {
    background-color: #7274bf;
    border-color: #7274bf;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid #eaeaea;
}

.btn-outline:hover {
    border-color: var(--text-dark);
}

/* Hero Visual */
.hero-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    object-fit: cover;
    max-height: 600px;
}

/* Deep Dive Center Column */
.deep-dive {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.text-block {
    margin-bottom: 40px;
}

.text-block h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.text-block p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Bottom Gallery */
.schematics-grid {
    border-top: 1px solid #eaeaea;
    padding-top: 60px;
    padding-bottom: 80px;
}

.schematics-grid h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.schematic-item {
    display: flex;
    flex-direction: column;
}

.schematic-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    margin-bottom: 15px;
}

.schematic-item span {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .split-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showcase-title {
        font-size: 2.5rem;
    }
}

.split-hero {
            grid-template-columns: 1fr 2.8fr !important;
            gap: 140px !important;
            margin-top: 40px !important;
            align-items: start !important;
        }
        
        .hero-visual {
            margin-top: 180px !important;
        }

        .hero-visual video {
            max-width: none !important;
            width: 100% !important;
            height: auto !important;
        }

        .video-wrapper {
            width: 100% !important;
            box-shadow: none !important;
        }

        .hero-content {
            max-width: 480px !important;
        }

        /* View Source Code button - now stands out (solid teal like primary) */
        .btn-outline {
            background-color: #2bb095 !important;
            color: #ffffff !important;
            border: 2px solid #2bb095 !important;
        }

        .btn-outline:hover {
            background-color: #238b76 !important;
            border-color: #238b76 !important;
        }

        @media (max-width: 900px) {
            .split-hero {
                grid-template-columns: 1fr !important;
                gap: 40px !important;
            }
            .hero-visual {
                margin-top: 40px !important;
            }
        }