/* lab.css - DéfisproTECH AI Business LAB */
:root {
    --lab-glow: rgba(0, 242, 255, 0.2);
    --lab-border: rgba(0, 242, 255, 0.1);
    --lab-accent-gold: rgba(212, 175, 55, 0.3);
    --card-bg: rgba(10, 11, 30, 0.7);
}

.lab-page {
    background-color: var(--bg-dark);
    color: #fff;
    min-height: 100vh;
}

/* Blueprint Effect Container */
.blueprint-bg {
    background-image: 
        linear-gradient(var(--lab-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--lab-border) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.lab-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 5% 60px;
}

/* Header Lab */
.lab-header {
    margin-bottom: 60px;
    text-align: left;
    max-width: 800px;
}

.lab-badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.lab-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Bento Grid Architecture - Restructured for 2-column symmetry */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 30px;
}

.bento-item {
    background: rgba(15, 17, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: 1;
}

.bento-item:hover::before {
    left: 200%;
}

.bento-item:hover {
    border-color: rgba(0, 242, 255, 0.4);
    background: rgba(20, 22, 45, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 255, 0.15);
    transform: translateY(-8px);
}

/* Equal sizes for all items as per user request */
.item-large, .item-tall, .item-wide { 
    grid-column: span 1; 
    grid-row: span 1; 
}

/* Styles internes du Bento */
.bento-item .category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.block-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--lab-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.05);
}

.bento-item h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.bento-item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Icon / Graphic element for Bento */
.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    margin: 10px 0;
}

/* Shop / Product Card Style */
.shop-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--lab-accent-gold);
    border: 1px solid #d4af37;
    color: #ffd700;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
}

.btn-lab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 12px 25px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
}

.btn-lab:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Newsletter Bridge Styles */
.newsletter-inline-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.news-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 12px 20px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.news-input:focus {
    border-color: #0077b5;
    background: rgba(255,255,255,0.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .item-large, .item-wide, .item-tall {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .item-large, .item-wide, .item-tall {
        grid-column: span 1;
    }
    .lab-content {
        padding-top: 100px;
    }
}

/* Scanner Animation for Lab Loader */
.loader-scanner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #00f2ff, transparent);
    animation: scan 1.5s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* DETAIL VIEW STYLES */
.detail-view {
    padding-top: 150px;
}

.detail-header {
    margin-bottom: 50px;
}

.detail-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: -10px;
    font-weight: 600;
}

.detail-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.main-analysis {
    padding: 50px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.main-analysis h2 {
    margin-bottom: 30px;
    color: var(--primary);
}

.analysis-text {
    color: rgba(255,255,255,0.85);
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    padding: 30px;
}

.sidebar-box h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--primary);
}

.archive-mini-list {
    list-style: none;
    margin-bottom: 20px;
}

.archive-mini-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.archive-mini-list h5 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.archive-mini-list span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* TRAINING SPRINT CONTENT STYLES */
.lead-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 40px;
}

.sprint-day {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.sprint-day:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.day-badge {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.sprint-day h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.sprint-day ul {
    list-style: none;
    padding-left: 0;
}

.sprint-day ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

.sprint-day ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.benefits-list li {
    background: rgba(0, 242, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 242, 255, 0.1);
}

/* Modal specific for Quote Training */
.modal-overlay.active { display: flex; }
.modal-container {
    background: #0a0b1e;
    border: 10px solid var(--primary); /* Thick border for premium feel */
    border-radius: 0; /* Brutalist feel */
    max-width: 600px;
    width: 90%;
    padding: 40px;
    position: relative;
}

.quote-form input, .quote-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.quote-form label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

.benefit-card {
    background: rgba(0, 242, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-pratique p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.info-pratique strong {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .detail-body {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        order: -1;
    }
}
