/* Process Workflow - Unique Hand-Crafted Design */
.home-process-workflow {
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Subtle noise texture */
.home-process-workflow::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.process-intro {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: 'Figtree', sans-serif;
}

.process-timeline-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 20px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

/* Organic connection line - not perfectly straight */
.timeline-center-line {
    position: absolute;
    top: 90px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 67, 8, 0.2) 5%,
        rgba(255, 67, 8, 0.4) 50%,
        rgba(255, 67, 8, 0.2) 95%,
        transparent 100%
    );
}

/* Each step takes exactly 1/4 minus gap */
.process-step {
    flex: 0 1 calc(25% - 20px);
    min-width: 240px;
    max-width: 310px;
    position: relative;
    margin-bottom: 20px;
}

/* Hand-drawn style dots - each different */
.step-dot {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 54px;
    background: #FF4308;
    border-radius: 48% 52% 51% 49% / 47% 48% 52% 53%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow:
        0 6px 20px rgba(255, 67, 8, 0.4),
        0 0 0 3px rgba(0, 0, 0, 1),
        0 0 0 5px rgba(255, 67, 8, 0.3);
    animation: subtle-rotate 8s ease-in-out infinite;
}

.process-step:nth-child(1) .step-dot {
    border-radius: 51% 49% 48% 52% / 52% 51% 49% 48%;
    animation-delay: 0s;
}

.process-step:nth-child(2) .step-dot {
    border-radius: 49% 51% 52% 48% / 48% 49% 51% 52%;
    animation-delay: 2s;
}

.process-step:nth-child(3) .step-dot {
    border-radius: 52% 48% 49% 51% / 51% 52% 48% 49%;
    animation-delay: 4s;
}

.process-step:nth-child(4) .step-dot {
    border-radius: 48% 52% 51% 49% / 49% 48% 52% 51%;
    animation-delay: 6s;
}

@keyframes subtle-rotate {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) rotate(5deg);
    }
}

.step-dot::after {
    content: attr(data-step);
}

/* Each card has unique styling - hand-crafted feel */
.step-card {
    background: #0a0a0a;
    border: 2px solid rgba(255, 67, 8, 0.15);
    border-radius: 16px;
    padding: 50px 24px 28px;
    position: relative;
    min-height: 480px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* Unique corners for each card */
.process-step:nth-child(1) .step-card {
    border-radius: 16px 16px 4px 16px;
    border-top: 3px solid rgba(255, 67, 8, 0.3);
}

.process-step:nth-child(2) .step-card {
    border-radius: 16px 16px 16px 4px;
    border-right: 3px solid rgba(255, 67, 8, 0.3);
}

.process-step:nth-child(3) .step-card {
    border-radius: 4px 16px 16px 16px;
    border-left: 3px solid rgba(255, 67, 8, 0.3);
}

.process-step:nth-child(4) .step-card {
    border-radius: 16px 4px 16px 16px;
    border-bottom: 3px solid rgba(255, 67, 8, 0.3);
}

.step-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg,
        rgba(255, 67, 8, 0.05) 0%,
        transparent 50%,
        rgba(255, 67, 8, 0.05) 100%
    );
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.step-card:hover {
    border-color: rgba(255, 67, 8, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(255, 67, 8, 0.15);
}

.step-card:hover::before {
    opacity: 1;
}

/* Accent line - different position for each */
.step-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF4308, transparent);
}

.process-step:nth-child(1) .step-card::after {
    top: 20px;
    left: 24px;
}

.process-step:nth-child(2) .step-card::after {
    top: 20px;
    right: 24px;
    background: linear-gradient(270deg, #FF4308, transparent);
}

.process-step:nth-child(3) .step-card::after {
    bottom: 20px;
    left: 24px;
}

.process-step:nth-child(4) .step-card::after {
    bottom: 20px;
    right: 24px;
    background: linear-gradient(270deg, #FF4308, transparent);
}

/* Header */
.step-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    display: none;
}

.number-inner,
.number-glow {
    display: none;
}

/* Icon with unique background shapes */
.step-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 67, 8, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #FF4308;
    transition: all 0.3s;
    position: relative;
}

.process-step:nth-child(1) .step-icon {
    border-radius: 50%;
    border: 2px solid rgba(255, 67, 8, 0.2);
}

.process-step:nth-child(2) .step-icon {
    border-radius: 12px;
    transform: rotate(5deg);
    border: 2px solid rgba(255, 67, 8, 0.2);
}

.process-step:nth-child(3) .step-icon {
    border-radius: 50% 50% 0 50%;
    border: 2px solid rgba(255, 67, 8, 0.2);
}

.process-step:nth-child(4) .step-icon {
    border-radius: 8px;
    border: 2px solid rgba(255, 67, 8, 0.2);
}

.step-card:hover .step-icon {
    background: rgba(255, 67, 8, 0.15);
    border-color: rgba(255, 67, 8, 0.5);
    transform: scale(1.05);
}

.process-step:nth-child(2) .step-card:hover .step-icon {
    transform: rotate(0deg) scale(1.05);
}

/* Content - using project fonts */
.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
}

.step-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: center;
    font-family: 'Figtree', sans-serif;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
}

.step-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 1.5;
    font-family: 'Figtree', sans-serif;
    transition: color 0.2s;
}

.step-features li:hover {
    color: rgba(255, 255, 255, 0.9);
}

.step-features li:last-child {
    border-bottom: none;
}

.step-features li i {
    color: #FF4308;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

/* Duration badge - simple & clean */
.step-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    align-self: center;
    font-family: 'Space Grotesk', sans-serif;
}

.step-duration i {
    font-size: 12px;
    opacity: 0.5;
}

/* Summary Cards - Stats Dashboard Style */
.process-summary {
    display: flex;
    gap: 16px;
    margin-top: 80px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.summary-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 67, 8, 0.03) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-left: 4px solid #FF4308;
    border-radius: 0 12px 12px 0;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, #FF4308, #FB8500);
    transition: height 0.6s ease;
}

.summary-card:hover::before {
    height: 100%;
}

.summary-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 67, 8, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.summary-card:hover {
    background: linear-gradient(135deg, rgba(255, 67, 8, 0.06) 0%, rgba(0, 0, 0, 0.6) 100%);
    transform: translateX(4px);
    box-shadow: -4px 0 20px rgba(255, 67, 8, 0.15);
}

/* Stats badge style */
.summary-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 67, 8, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FF4308;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 67, 8, 0.2);
    transition: all 0.3s;
}

.summary-card:hover .summary-icon {
    background: rgba(255, 67, 8, 0.2);
    border-color: rgba(255, 67, 8, 0.4);
    transform: scale(1.08);
}

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

.summary-content h4 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: 'Space Grotesk', sans-serif;
}

.summary-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Unique styling for each card */
.summary-card:nth-child(1) {
    border-left-color: #FF4308;
}

.summary-card:nth-child(1) .summary-icon {
    background: rgba(255, 67, 8, 0.12);
    color: #FF4308;
}

.summary-card:nth-child(2) {
    border-left-color: #10B981;
}

.summary-card:nth-child(2) .summary-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border-color: rgba(16, 185, 129, 0.2);
}

.summary-card:nth-child(2)::before {
    background: linear-gradient(180deg, #10B981, #059669);
}

.summary-card:nth-child(3) {
    border-left-color: #3B82F6;
}

.summary-card:nth-child(3) .summary-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #3B82F6;
    border-color: rgba(59, 130, 246, 0.2);
}

.summary-card:nth-child(3)::before {
    background: linear-gradient(180deg, #3B82F6, #2563EB);
}

/* Responsive */
@media (max-width: 1200px) {
    .process-step {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 991px) {
    .process-timeline-wrapper {
        padding: 40px 20px;
        gap: 30px;
    }

    .process-step {
        flex: 1 1 calc(50% - 15px);
        min-width: auto;
    }

    .step-card {
        min-height: 420px;
        padding: 45px 20px 24px;
    }

    .timeline-center-line {
        display: none;
    }

    .step-dot {
        top: -25px;
    }

    .process-summary {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }

    .summary-card {
        padding: 24px 20px;
    }

    .summary-value {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .process-step {
        flex: 1 1 100%;
    }

    .step-card {
        min-height: auto;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 14px;
    }

    .step-features li {
        font-size: 13px;
        padding: 9px 0;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .step-dot {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .process-summary {
        margin-top: 40px;
    }

    .summary-card {
        padding: 20px 18px;
    }

    .summary-value {
        font-size: 26px;
    }

    .summary-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
