:root {
    --spico-brand: #42D596;
    --spico-brand-soft: #f0fff8;
    --bg-light: var(--bg-alt);
	--text-spico: #4ade80;
}

.slide-tag {
    display: inline-block;
    color: var(--text-spico);
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.slide-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--text-spico);
}

.slide-tag.white { color: var(--text-inverse); }
.slide-tag.white::before { background: var(--text-inverse); }
.slide-tag.blur { opacity: 0.6; }

.slide-title.align-center { text-align: center; }
.slide-title.white { color: var(--text-inverse); }
.t-feature-num { color: var(--text-spico); }
.t-tech-badge { color: var(--text-spico); }
h2.quote-box {
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    h2.quote-box { font-size: 2rem; }
}

.highlight-blue { color: var(--theme-spico); }

.bg-light { background-color: var(--bg-light); }
.bg-blue-grad { background: linear-gradient(120deg, var(--theme-spico) 0%, #1d9265 100%); }
.bg-blue { background-color: var(--spico-brand); }


.slide-p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
}

.spico-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.spico-logo-main {
    width: 180px;
    margin-bottom: 10px;
}

.logo-accent-line {
    width: 120px;
    height: 4px;
    background: var(--spico-brand);
}

/* VISION */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}


.small-card.blue { background: var(--theme-spico); color: var(--text-inverse); }

/* CORE */
.core-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
}

.core-info { display: flex; flex-direction: column; gap: 40px; width: 300px; }
.core-info.left { text-align: right; }

.info-pod h5 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 800; color: var(--text-main); }
.info-pod p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.core-main-mockup { position: relative; }
.floating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--spico-brand);
    color: var(--text-inverse);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 10px 20px rgba(66, 213, 150, 0.4);
}

/* PROCESS */
.practice-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 80px;
}

.step-card { width: 30%; position: relative; }
.step-num { 
    font-family: 'Outfit'; 
    font-size: 4rem; 
    font-weight: 900; 
    opacity: 0.1; 
    line-height: 1; 
    position: absolute; 
    top: -40px; 
    left: -10px;
    z-index: 0; 
}
.step-num.highlight { opacity: 1; color: var(--theme-spico); }

.step-img { 
    position: relative; 
    z-index: 2; 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    margin-bottom: 25px; 
    border: 1px solid var(--border-subtle); 
    background: var(--bg-card); 
    aspect-ratio: 8/16;
}
.step-img video, .step-img img { width: 100%; height: 100%; object-fit: fill; display: block; }
.step-card h4 { font-size: 1.3rem; margin-bottom: 10px; }
.step-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ENGINEERING */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.tech-box {
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-inverse);
    transition: transform 0.3s ease;
}

.tech-icon { font-size: 2.5rem; margin-bottom: 25px; }
.tech-box h4 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 800; }
.tech-box p { font-size: 0.95rem; line-height: 1.7; opacity: 0.8; }

/* IMPACT */
.impact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.impact-main {
    background: var(--spico-brand-soft);
    border-radius: 40px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.award-hero .award-year { font-weight: 800; color: var(--spico-brand); opacity: 0.5; letter-spacing: 2px; }
.award-hero h3 { font-size: 2.5rem; margin: 20px 0; font-weight: 800; }
.award-hero p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; }

.retro-side { display: flex; flex-direction: column; gap: 30px; }
.retro-box { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 40px; border-radius: 30px; }
.retro-box label { font-family: 'Outfit'; font-weight: 900; color: var(--spico-brand); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 15px; }
.retro-box p { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); }

/* Outro */
.align-center-vh { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.full-height { min-height: 70vh; }     
.award-badge { background: var(--bg-overlay); color: var(--text-inverse); padding: 8px 20px; border-radius: 100px; font-weight: 800; margin-bottom: 20px; display: inline-block; }
.btn-outline.white-border { border-color: var(--border-inverse); color: var(--text-inverse); }
.btn-outline.white-border:hover { background: var(--text-inverse); color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .vision-grid, .impact-grid { grid-template-columns: 1fr; }
    .core-showcase { flex-direction: column; }
    .practice-grid { flex-direction: column; gap: 80px; align-items: center; }
    .step-card { width: 100%; max-width: 350px; text-align: center; }
    .tech-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .ty-title { font-size: 3rem; }
    .vision-mockup img, .vision-mockup video, .core-main-mockup img { width: 100% !important; max-width: 300px; height: auto; }
}

@media (max-width: 1120px) {
    .vision-cards {
        flex-direction: column;
        gap: 15px;
    }
}

.automation-flow {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.automation-flow::before { display: none; }

.auto-card {
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.auto-card:nth-child(even) {
    text-align: right;
}

.auto-card:nth-child(even) .auto-img {
    order: 2;
    justify-self: end;
}

.auto-card:nth-child(even) .auto-info {
    order: 1;
}

.auto-card:nth-child(even) .auto-info {
    align-items: flex-end;
}

.auto-img {
    width: 550px;
    height: 280px;
    background: transparent;
    border: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.auto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auto-info {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auto-info h5 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.auto-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.flow-summary.dark-mode-text {
    margin-top: 100px;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .auto-card, .auto-card:nth-child(even) {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .auto-card:nth-child(even) .auto-img {
        order: -1;
        justify-self: center;
    }
    
    .auto-card:nth-child(even) .auto-info {
        order: 0;
        align-items: center;
    }

    .auto-img {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: auto;
    }

    .auto-img img {
        height: auto;
        object-fit: contain;
    }
    
    .auto-info {
        max-width: 100%;
    }

    .auto-info h5 {
        font-size: 1.4rem;
    }

    .auto-info p {
        font-size: 1rem;
    }
}

/* --- Feature Spotlight Layout (For Slide 6) --- */
.feature-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.fs-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.fs-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fs-visual img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.feature-spotlight:hover .fs-visual img {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .feature-spotlight {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .feature-spotlight {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .fs-text {
        align-items: center;
        order: 1;
    }

    .fs-visual {
        order: 2;
    }
    
    .fs-visual img {
        max-width: 100%;
    }
    
    .feature-spotlight {
        text-align: left !important;
    }
    .fs-text {
        align-items: flex-start !important;
    }
}

/* --- Spico Specific Gradient Background --- */
.bg-spico-grad {
    background: linear-gradient(135deg, #0f172a 0%, #052e16 100%);
    color: var(--text-inverse);
}
.bg-spico-grad { color: var(--accent); }
