/* ===== CSS VARIABLES ===== */
:root {
    /* Color Palette */
    --c-deep: #0a1428;
    --c-navy: #1e293b;
    --c-teal: #0891b2;
    --c-blue-light: #1e40af;
    --c-purple: #6366f1;
    --white: #FFFFFF;
    --light-gray: #f8fafc;
    --medium-gray: #94a3b8;
    --dark-gray: #475569;
    
    /* Typography */
    --font-size-sm: 1rem;
    --font-size-base: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-5xl: 3.25rem;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;
}

/* ===== RESET & BASE STYLES ===== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; 
    color: var(--white); 
    min-height: 100vh; 
    overflow-x: hidden; 
    font-display: swap; 
}

.navbar-brand, .nav-link, .btn-demo { 
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; 
    font-display: swap; 
}

/* ===== BACKGROUND ===== */
.bg { 
    position: fixed; 
    inset: 0; 
    z-index: -2; 
    background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-navy) 50%, var(--c-blue-light) 100%); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
}

/* ===== HERO SECTION ===== */
.vc-hero { 
    background: rgba(4, 26, 51, 0.3); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); 
    color: var(--white); 
    padding: 8rem 0 4rem; 
    text-align: center; 
}

.vc-hero h1 { 
    font-size: var(--font-size-3xl); 
    font-weight: var(--font-weight-bold); 
    margin-bottom: 1.5rem; 
    line-height: var(--line-height-tight); 
}

.vc-hero h2 { 
    font-size: var(--font-size-lg); 
    color: var(--light-gray); 
    max-width: 800px; 
    margin: 0 auto; 
    line-height: var(--line-height-relaxed); 
    font-weight: var(--font-weight-normal); 
}

/* ===== FEATURES SECTION ===== */
.features-section { 
    padding: 5rem 0; 
    background: #f8fafc; 
}

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 2rem; 
    margin-top: 3rem; 
}

.feature-card { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 0; 
    padding: 1.5rem; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    transition: all 0.3s ease; 
    position: relative; 
    overflow: hidden; 
}

.feature-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); 
    border-color: var(--c-teal); 
}

.feature-icon { 
    width: 28px; 
    height: 28px; 
    background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-navy) 100%); 
    border-radius: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 0; 
    margin-right: 0.75rem; 
    box-shadow: 0 2px 8px rgba(10, 20, 40, 0.15); 
    flex-shrink: 0; 
}

.feature-icon i { 
    font-size: 0.875rem; 
    color: var(--white); 
}

.feature-card h3 { 
    font-size: var(--font-size-sm); 
    font-weight: var(--font-weight-semibold); 
    color: var(--c-deep); 
    margin-bottom: 0.5rem; 
    line-height: 1.3; 
}

.feature-card p { 
    font-size: 0.875rem; 
    color: var(--dark-gray); 
    line-height: 1.5; 
    margin: 0; 
}

/* ===== PROCESS SECTION ===== */
.process-section { 
    padding: 5rem 0; 
    background: #ffffff; 
}

/* ===== FLOW PROCESS STYLES ===== */
.flow-process-container { 
    position: relative; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 2rem 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 2rem; 
}

.flow-step { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 0; 
    padding: 2rem; 
    text-align: center; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    position: relative; 
    width: 100%; 
    max-width: 1200px; 
    transition: all 0.3s ease; 
    overflow: hidden; 
}

.flow-step:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); 
    border-color: var(--c-teal); 
}

.step-number { 
    display: none; 
}

.step-content {
    width: 100%;
}

.step-icon { 
    width: 48px; 
    height: 48px; 
    background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-navy) 100%); 
    border-radius: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 1rem; 
    box-shadow: 0 4px 12px rgba(10,20,40,0.15); 
}

.step-icon i { 
    font-size: 1.25rem; 
    color: var(--white); 
}

.flow-step h4 { 
    font-size: var(--font-size-xl); 
    font-weight: var(--font-weight-bold); 
    color: var(--c-deep); 
    margin-bottom: 0.5rem; 
    line-height: 1.3; 
}

.flow-step p { 
    font-size: 1.05rem; 
    color: var(--dark-gray); 
    margin-bottom: 1.5rem; 
    line-height: 1.5; 
}

.step-items { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 0.75rem; 
}

.step-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.375rem; 
    padding: 0.5rem; 
    background: #f8fafc; 
    border-radius: 0; 
    border: 1px solid #e2e8f0; 
    transition: all 0.3s ease; 
}

.step-item:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
    background: #ffffff; 
}

.step-item i { 
    font-size: 1.1rem; 
    color: var(--c-teal); 
}

.step-item span { 
    font-size: 0.9rem; 
    font-weight: var(--font-weight-semibold); 
    color: var(--c-deep); 
    text-align: center; 
    line-height: 1.2; 
}

.flow-arrow { 
    width: 4px; 
    height: 40px; 
    background: linear-gradient(180deg, var(--c-teal) 0%, var(--c-deep) 100%); 
    border-radius: 2px; 
    margin: 1rem 0; 
}

.step-1 { 
    border-color: var(--c-deep); 
}

.step-2 { 
    border-color: var(--c-teal); 
}

.step-3 { 
    border-color: var(--c-deep); 
}

.step-4 { 
    border-color: var(--c-deep); 
}

.step-5 {
    border-color: var(--c-deep);
}

/* ===== PROCESSING STEPS STYLES ===== */
.processing-steps { 
    display: flex; 
    flex-direction: row; 
    gap: 1.5rem; 
    margin: 2rem 0; 
    justify-content: space-between; 
}

.processing-step { 
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); 
    border: 1px solid #e2e8f0; 
    border-radius: 0; 
    padding: 1.25rem; 
    transition: all 0.3s ease; 
    flex: 1; 
    min-width: 280px; 
    position: relative; 
    overflow: hidden; 
}

.processing-step:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    border-color: var(--c-teal); 
}

.processing-step-header { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    margin-bottom: 0.75rem; 
}

.processing-step-icon { 
    background: none; 
    border-radius: 0; 
    width: auto; 
    height: auto; 
    display: inline-block; 
    padding: 0; 
    margin: 0; 
    box-shadow: none; 
    flex-shrink: 0; 
}

.processing-step-icon i { 
    font-size: 0.875rem; 
    color: var(--c-teal); 
}

.processing-step h5 { 
    font-size: 1.05rem; 
    font-weight: var(--font-weight-semibold); 
    color: var(--c-deep); 
    margin: 0; 
    line-height: 1.3; 
    word-wrap: break-word; 
}

.processing-step p { 
    font-size: 1rem; 
    color: var(--dark-gray); 
    line-height: 1.4; 
    margin-bottom: 0.75rem; 
    text-align: left; 
}

.processing-details { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
}

.detail-item { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    font-size: 0.95rem; 
    color: var(--c-deep); 
    line-height: 1.3; 
}

.detail-item i { 
    color: var(--c-teal); 
    font-size: 0.7rem; 
    flex-shrink: 0; 
}

.processing-status { 
    margin-top: 1.5rem; 
    padding-top: 1.5rem; 
    border-top: 1px solid #e2e8f0; 
}

.status-indicator { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-navy) 100%); 
    color: var(--white); 
    padding: 0.75rem 1rem; 
    border-radius: 0; 
    font-weight: var(--font-weight-semibold); 
    font-size: 1rem; 
}

.status-indicator i { 
    font-size: 0.9rem; 
}

/* ===== CTA SECTION ===== */
.final-cta-section { 
    padding: 2rem 0 6rem 0; 
    background: #f8fafc; 
    position: relative; 
    overflow: hidden; 
}

.final-cta-content { 
    max-width: 800px; 
    margin: 0 auto; 
    position: relative; 
}

.cta-title { 
    font-size: clamp(1.25rem, 5vw, 2rem); 
    font-weight: var(--font-weight-bold); 
    color: var(--c-deep); 
    margin-bottom: 1.5rem; 
    line-height: var(--line-height-tight); 
}

.cta-description { 
    font-size: var(--font-size-base); 
    line-height: var(--line-height-relaxed); 
    color: var(--dark-gray); 
    margin-bottom: 3rem; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}

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

.btn-cta-primary { 
    background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-navy) 100%); 
    color: var(--white); 
    padding: 1.25rem 2.5rem; 
    border-radius: 0; 
    text-decoration: none; 
    font-weight: var(--font-weight-bold); 
    font-size: var(--font-size-base); 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    transition: all 0.3s ease; 
    border: 2px solid var(--c-deep); 
    box-shadow: 0 8px 32px rgba(10, 20, 40, 0.3); 
    position: relative; 
    overflow: hidden; 
}

.btn-cta-primary::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); 
    transition: left 0.5s ease; 
}

.btn-cta-primary:hover::before { 
    left: 100%; 
}

.btn-cta-primary:hover { 
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-deep) 100%); 
    transform: translateY(-4px); 
    box-shadow: 0 16px 48px rgba(10, 20, 40, 0.4); 
    color: var(--white); 
}

.btn-cta-secondary { 
    background: var(--white); 
    color: var(--c-deep); 
    padding: 1.25rem 2.5rem; 
    border-radius: 0; 
    text-decoration: none; 
    font-weight: var(--font-weight-bold); 
    font-size: var(--font-size-base); 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    transition: all 0.3s ease; 
    border: 2px solid var(--c-deep); 
    box-shadow: 0 8px 24px rgba(10, 20, 40, 0.15); 
}

.btn-cta-secondary:hover { 
    background: var(--c-deep); 
    color: var(--white); 
    transform: translateY(-4px); 
    box-shadow: 0 16px 48px rgba(10, 20, 40, 0.25); 
    border-color: var(--c-deep); 
}

/* ===== ANIMATIONS ===== */
.fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    animation: fadeInUp 0.8s ease forwards; 
}

@keyframes fadeInUp { 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

.slide-in-left { 
    opacity: 0; 
    transform: translateX(-50px); 
    animation: slideInLeft 0.8s ease forwards; 
}

@keyframes slideInLeft { 
    to { 
        opacity: 1; 
        transform: translateX(0); 
    } 
}

.slide-in-right { 
    opacity: 0; 
    transform: translateX(50px); 
    animation: slideInRight 0.8s ease forwards; 
}

@keyframes slideInRight { 
    to { 
        opacity: 1; 
        transform: translateX(0); 
    } 
}

.btn-demo-primary:hover { 
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-deep) 100%); 
    transform: translateY(-3px); 
    box-shadow: 0 12px 35px rgba(10, 20, 40, 0.5); 
    color: var(--white); 
}

.btn-demo-secondary:hover { 
    background: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 0.3); 
    transform: translateY(-3px); 
    color: var(--white); 
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .features-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 1.5rem; 
    }
    
    .vc-hero h1 { 
        font-size: clamp(1.75rem, 4vw, 2.25rem); 
    }
    
    .vc-hero h2 { 
        font-size: clamp(1rem, 2.5vw, 1.125rem); 
    }
    
    .process-section h2, .features-section h2 { 
        font-size: clamp(1.125rem, 3vw, 1.5rem); 
    }
    
    .flow-step h4 { 
        font-size: clamp(1.05rem, 2.4vw, 1.3rem); 
    }
    
    .processing-step h5 { 
        font-size: clamp(0.9rem, 2.2vw, 1.05rem); 
    }
    
    .feature-card h3 { 
        font-size: clamp(0.875rem, 2vw, 1rem); 
    }
}

@media (max-width: 768px) {
    .features-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1rem; 
    }
    
    .vc-hero h1 { 
        font-size: clamp(1.5rem, 6vw, 2rem); 
        line-height: 1.2; 
    }
    
    .vc-hero h2 { 
        font-size: clamp(0.875rem, 3vw, 1.125rem); 
        line-height: 1.4; 
    }
    
    .process-section h2, .features-section h2 { 
        font-size: clamp(1rem, 4vw, 1.25rem); 
        line-height: 1.3; 
        margin-bottom: 1.5rem; 
    }
    
    .flow-step h4 { 
        font-size: clamp(0.75rem, 2.5vw, 1rem); 
        line-height: 1.3; 
    }
    
    .processing-step h5 { 
        font-size: clamp(0.7rem, 2vw, 0.875rem); 
        line-height: 1.3; 
    }
    
    .feature-card h3 { 
        font-size: clamp(0.75rem, 2.5vw, 1rem); 
        line-height: 1.3; 
    }
    
    .step-items { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.5rem; 
    }
    
    .step-item { 
        padding: 0.5rem; 
    }
    
    .step-item span { 
        font-size: 0.7rem; 
    }
    
    .processing-steps { 
        flex-direction: column; 
        gap: 1rem; 
        margin: 1.5rem 0; 
    }
    
    .processing-step { 
        padding: 1rem; 
    }
    
    .processing-status { 
        margin-top: 1rem; 
        padding-top: 1rem; 
    }
    
    .status-indicator { 
        padding: 0.75rem 1rem; 
        font-size: 0.8rem; 
    }
    
    .btn-demo-primary, .btn-demo-secondary { 
        padding: 0.875rem 1.5rem !important; 
        font-size: 0.9rem !important; 
    }
    
    .final-cta-section { 
        padding: 2rem 1rem 3rem; 
        background: #f1f5f9 !important; 
    }
    
    .cta-title { 
        margin-bottom: 1.5rem; 
        text-align: center; 
    }
    
    .cta-description { 
        font-size: var(--font-size-sm) !important; 
        margin-bottom: 2.5rem; 
        text-align: center; 
        line-height: 1.6; 
    }
    
    .final-cta-content { 
        margin-top: 0.25rem; 
        margin-bottom: 1.5rem; 
    }
    
    .cta-buttons { 
        flex-direction: column; 
        align-items: center; 
        gap: 1rem; 
    }
    
    .btn-cta-primary, .btn-cta-secondary { 
        width: auto; 
        min-width: 160px; 
        max-width: 240px; 
        justify-content: center; 
        padding: 0.875rem 1.5rem; 
        min-height: 44px; 
        font-size: 0.9rem !important; 
        line-height: 1.2; 
        gap: 0.5rem; 
    }
    
    .final-cta-section .btn-cta-primary, .final-cta-section .btn-cta-secondary { 
        width: 220px; 
    }
    
    .btn-cta-primary i, .btn-cta-secondary i { 
        font-size: 0.9rem !important; 
    }
}

@media (max-width: 480px) {
    .features-grid { 
        grid-template-columns: 1fr; 
        gap: 1rem; 
    }
    
    .vc-hero h1 { 
        font-size: clamp(1.25rem, 7vw, 1.75rem); 
        line-height: 1.2; 
    }
    
    .vc-hero h2 { 
        font-size: clamp(0.8rem, 3.5vw, 1rem); 
        line-height: 1.4; 
    }
    
    .process-section h2, .features-section h2 { 
        font-size: clamp(0.9rem, 4.5vw, 1.125rem); 
        line-height: 1.3; 
        margin-bottom: 1rem; 
    }
    
    .flow-step h4 { 
        font-size: clamp(0.7rem, 3vw, 0.9rem); 
        line-height: 1.3; 
    }
    
    .processing-step h5 { 
        font-size: clamp(0.65rem, 2.5vw, 0.8rem); 
        line-height: 1.3; 
    }
    
    .feature-card h3 { 
        font-size: clamp(0.7rem, 3vw, 0.9rem); 
        line-height: 1.3; 
    }
    
    .step-item span { 
        font-size: clamp(0.55rem, 2vw, 0.65rem); 
        line-height: 1.2; 
    }
    
    .detail-item { 
        font-size: clamp(0.6rem, 2vw, 0.7rem); 
        line-height: 1.3; 
    }
    
    .status-indicator { 
        font-size: clamp(0.65rem, 2.5vw, 0.75rem); 
    }
    
    .flow-step p, .processing-step p, .feature-card p { 
        font-size: clamp(0.75rem, 2.5vw, 0.875rem); 
        line-height: 1.4; 
    }
}
