/* How It Works Section Styles */
.how-it-works {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.step-item {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.step-item:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 1.8rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: scale(1.1);
}

.step-item:hover .step-icon i {
    color: white;
}

.step-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.step-item p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    position: relative;
    flex-shrink: 0;
}

.step-connector::before {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid #8b5cf6;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Animation for steps */
.step-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(3) { animation-delay: 0.2s; }
.step-item:nth-child(5) { animation-delay: 0.3s; }
.step-item:nth-child(7) { animation-delay: 0.4s; }
.step-item:nth-child(9) { animation-delay: 0.5s; }

.step-connector {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.step-connector:nth-child(2) { animation-delay: 0.15s; }
.step-connector:nth-child(4) { animation-delay: 0.25s; }
.step-connector:nth-child(6) { animation-delay: 0.35s; }
.step-connector:nth-child(8) { animation-delay: 0.45s; }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Launch Card Styles */
.launch-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.9));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 25px;
    padding: 3rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.launch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.launch-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.launch-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.launch-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.launch-btn i {
    font-size: 1.2rem;
}

.launch-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    }

    .step-connector::before {
        right: -3px;
        top: -5px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 8px solid #8b5cf6;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 3rem 0;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-container {
        gap: 1.5rem;
    }

    .step-item {
        padding: 1.5rem;
        min-width: auto;
    }
    
    .launch-card {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .launch-content h3 {
        font-size: 2rem;
    }
    
    .launch-content p {
        font-size: 1.1rem;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-icon i {
        font-size: 1.5rem;
    }

    .step-item h3 {
        font-size: 1.2rem;
    }

    .step-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .step-item {
        padding: 1.25rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-icon {
        width: 45px;
        height: 45px;
    }

    .step-icon i {
        font-size: 1.3rem;
    }
}
