/**
 * Workflow Styles
 * Styles for workflow hero sections, phase indicators, value props, connectors
 */

/* ============================================
   Workflow Hero Sections
============================================ */
.workflow-hero-section {
    padding: 70px 0;
    position: relative;
    overflow: visible;
}

.workflow-hero-section.bg-gray {
    background: #f8f9fa;
}

/* ============================================
   Phase-specific Accent Colors
============================================ */
.workflow-phase-1 .phase-dot {
    background: linear-gradient(135deg, #3366FF 0%, #00bfff 100%);
}

.workflow-phase-1 .workflow-feature-item i {
    background: linear-gradient(135deg, #3366FF 0%, #00bfff 100%);
}

.workflow-phase-1 .image-accent {
    background: linear-gradient(135deg, #3366FF 0%, #00bfff 100%);
}

.workflow-phase-2 .phase-dot {
    background: linear-gradient(135deg, #00bfff 0%, #00d4aa 100%);
}

.workflow-phase-2 .workflow-feature-item i {
    background: linear-gradient(135deg, #00bfff 0%, #00d4aa 100%);
}

.workflow-phase-2 .image-accent {
    background: linear-gradient(135deg, #00bfff 0%, #00d4aa 100%);
}

.workflow-phase-3 .phase-dot {
    background: linear-gradient(135deg, #00d4aa 0%, #7c3aed 100%);
}

.workflow-phase-3 .workflow-feature-item i {
    background: linear-gradient(135deg, #00d4aa 0%, #7c3aed 100%);
}

.workflow-phase-3 .image-accent {
    background: linear-gradient(135deg, #00d4aa 0%, #7c3aed 100%);
}

.workflow-phase-4 .phase-dot {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
}

.workflow-phase-4 .workflow-feature-item i {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
}

.workflow-phase-4 .image-accent {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
}

/* ============================================
   Phase Indicator
============================================ */
.workflow-phase-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.phase-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.phase-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(51, 102, 255, 0.3);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.phase-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #3366FF 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflow-phase-2 .phase-label {
    background: linear-gradient(90deg, #00bfff 0%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflow-phase-3 .phase-label {
    background: linear-gradient(90deg, #00d4aa 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflow-phase-4 .phase-label {
    background: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Workflow Hero Content
============================================ */
.workflow-hero-content {
    padding: 20px 0;
}

.workflow-hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #0a0a23;
    margin-bottom: 20px;
}

.workflow-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* ============================================
   Workflow Features
============================================ */
.workflow-features {
    margin-bottom: 30px;
}

.workflow-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.workflow-feature-item i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    margin-top: 2px;
}

.workflow-feature-item span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* ============================================
   Value Props Badges
============================================ */
.workflow-value-props {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.value-prop-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(51, 102, 255, 0.08) 0%, rgba(0, 191, 255, 0.08) 100%);
    border: 1px solid rgba(51, 102, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #3366FF;
    transition: all 0.3s ease;
}

.value-prop-badge:hover {
    background: linear-gradient(135deg, rgba(51, 102, 255, 0.15) 0%, rgba(0, 191, 255, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(51, 102, 255, 0.2);
}

.value-prop-badge i {
    font-size: 14px;
}

.workflow-phase-2 .value-prop-badge {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.08) 0%, rgba(0, 212, 170, 0.08) 100%);
    border-color: rgba(0, 191, 255, 0.2);
    color: #00a3cc;
}

.workflow-phase-2 .value-prop-badge:hover {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(0, 212, 170, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
}

.workflow-phase-3 .value-prop-badge {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-color: rgba(0, 212, 170, 0.2);
    color: #00a878;
}

.workflow-phase-3 .value-prop-badge:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.2);
}

.workflow-phase-4 .value-prop-badge {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    border-color: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

.workflow-phase-4 .value-prop-badge:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

/* ============================================
   Document Highlights Badges
============================================ */
.workflow-document-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 170, 0.15);
}

.doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: white;
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #00a878;
    transition: all 0.3s ease;
}

.doc-badge:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
}

.doc-badge i {
    color: #7c3aed;
    font-size: 12px;
}

/* ============================================
   Workflow Hero Image
============================================ */
.workflow-hero-image {
    position: relative;
    padding: 20px;
}

.workflow-hero-section .image-wrapper {
    position: relative;
    z-index: 1;
}

.workflow-hero-section .image-wrapper img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.workflow-hero-section .image-wrapper:hover img {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2);
}

.workflow-hero-section .image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border-radius: 16px;
    z-index: -1;
    opacity: 0.15;
}

.workflow-hero-section .image-wrapper-left .image-accent,
.workflow-hero-section .accent-left {
    left: auto;
    right: 20px;
}

/* ============================================
   Workflow Connector
============================================ */
.workflow-connector {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.connector-line {
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, #3366FF 0%, rgba(51, 102, 255, 0.3) 100%);
}

.connector-arrow {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(51, 102, 255, 0.3);
    color: #3366FF;
    font-size: 14px;
    animation: bounce-arrow 2s infinite;
    border: 2px solid rgba(51, 102, 255, 0.1);
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.workflow-phase-2 .connector-line {
    background: linear-gradient(180deg, #00bfff 0%, rgba(0, 191, 255, 0.3) 100%);
}

.workflow-phase-2 .connector-arrow {
    color: #00bfff;
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.3);
}

.workflow-phase-3 .connector-line {
    background: linear-gradient(180deg, #00d4aa 0%, rgba(0, 212, 170, 0.3) 100%);
}

.workflow-phase-3 .connector-arrow {
    color: #00d4aa;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

/* ============================================
   Workflow CTA Section
============================================ */
.workflow-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3366FF 0%, #00bfff 100%);
    position: relative;
    overflow: hidden;
}

.workflow-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 60px 60px;
    opacity: 0.5;
}

.workflow-cta-content {
    position: relative;
    z-index: 1;
}

.workflow-cta-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.workflow-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.workflow-cta-content .btn {
    background: white;
    color: #3366FF;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.workflow-cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #3366FF;
}

.workflow-cta-content .btn i {
    transition: transform 0.3s ease;
}

.workflow-cta-content .btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   Responsive Styles
============================================ */
@media (max-width: 991px) {
    .workflow-hero-section {
        padding: 50px 0;
    }
    
    .workflow-hero-title {
        font-size: 30px;
    }
    
    .workflow-hero-description {
        font-size: 16px;
    }
    
    .workflow-hero-image {
        margin-bottom: 40px;
    }
    
    .workflow-connector {
        display: none;
    }
}

@media (max-width: 767px) {
    .workflow-hero-section {
        padding: 40px 0;
    }
    
    .workflow-hero-title {
        font-size: 26px;
    }
    
    .workflow-value-props {
        flex-direction: column;
    }
    
    .value-prop-badge {
        justify-content: center;
    }
    
    .workflow-hero-section .image-accent {
        display: none;
    }
    
    .workflow-cta-content h3 {
        font-size: 26px;
    }
    
    .workflow-cta-content p {
        font-size: 16px;
    }
    
    .workflow-hero-image {
        padding: 10px;
    }

    .workflow-document-highlights {
        justify-content: center;
    }
}
