/* ========================================
   WORKFLOW PAGE STYLES
   ======================================== */

/* WORKFLOW HERO */
.workflow-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    padding: 6rem 0 3rem 0;
}

.workflow-hero-content {
    text-align: center;
}

.workflow-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #ADFF2F;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.workflow-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
}
/* SLATE HERO SCREENSHOT */
.slate-hero-screenshot {
    padding: 3rem 0;
    background: #0a0a0a;
}

.hero-screenshot-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(157, 0, 255, 0.3);
    box-shadow: 0 10px 40px rgba(173, 255, 47, 0.1);
}

.hero-screenshot-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* THE PROBLEM */
.workflow-problem {
    padding: 3rem 0;
    background: #0a0a0a;
}

.problem-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.problem-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.problem-text strong {
    color: #ADFF2F;
    font-weight: 700;
}

/* SYSTEM OVERVIEW */
.system-overview {
    padding: 5rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title-workflow {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.system-card {
    padding: 2.5rem 2rem;
    background: #1a1a1a;
    border: 2px solid rgba(157, 0, 255, 0.2);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.system-card:hover {
    border-color: #ADFF2F;
    box-shadow: 0 5px 20px rgba(173, 255, 47, 0.2);
    transform: translateY(-5px);
}

.system-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #9D00FF;
    margin-bottom: 1rem;
}

.system-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ADFF2F;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.system-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* KEY FEATURES */
.key-features {
    padding: 5rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.features-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    padding: 2.5rem;
    background: #1a1a1a;
    border-left: 4px solid #9D00FF;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-left-color: #ADFF2F;
    transform: translateX(10px);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.feature-icon {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #9D00FF;
    min-width: 50px;
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ADFF2F;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 65px;
}

/* TECH STACK */
.tech-stack {
    padding: 5rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    padding: 2rem;
    background: #1a1a1a;
    border: 2px solid rgba(157, 0, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: #ADFF2F;
    box-shadow: 0 5px 20px rgba(173, 255, 47, 0.2);
}

.tech-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ADFF2F;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tech-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #9D00FF;
}

/* VISUALIZATION MODES */
.visualization-modes {
    padding: 5rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mode-card {
    background: #1a1a1a;
    border: 2px solid rgba(157, 0, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mode-card:hover {
    border-color: #ADFF2F;
    transform: translateY(-5px);
}

.mode-screenshot {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: 2px solid rgba(157, 0, 255, 0.2);
    background: #000;
}

.mode-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mode-card:hover .mode-screenshot img {
    transform: scale(1.05);
}

.mode-info {
    padding: 2rem;
}

.mode-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ADFF2F;
    margin-bottom: 0.75rem;
}

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

/* AI AGENTS */
.ai-agents {
    padding: 5rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.agents-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.agent-block {
    flex: 1;
    padding: 2.5rem;
    background: #1a1a1a;
    border: 2px solid rgba(157, 0, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.agent-block:hover {
    border-color: #ADFF2F;
    transform: translateY(-5px);
}

.agent-arrow {
    font-size: 3rem;
    color: #ADFF2F;
    font-weight: 300;
    flex-shrink: 0;
}

.agent-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ADFF2F;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.agent-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.agents-note {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* WORKFLOW CTA */
.workflow-cta {
    padding: 7rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.workflow-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.workflow-cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.workflow-cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .system-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .agents-content {
        flex-direction: column;
    }

    .agent-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .workflow-hero {
        min-height: 30vh;
        padding: 5rem 0 2rem 0;
    }

    .system-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .feature-body p {
        margin-left: 0;
    }

    .feature-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .workflow-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }
}
