/* ============================================
   PROCESS SECTION - Sürecimiz Nasıl İşler
   Replaces Mission Control Terminal
   ============================================ */

.process-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(180deg,
            #101428 0%,
            #0f1326 15%,
            #0e1424 30%,
            #0d1522 50%,
            #0c1620 70%,
            #0d0e16 100%);
    overflow: hidden;
}

/* Subtle ambient glow */
.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 50%,
            rgba(45, 212, 191, 0.05) 0%,
            transparent 70%);
    pointer-events: none;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* Process Card */
.process-card {
    position: relative;
    padding: 40px 30px;
    background: rgba(10, 11, 22, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid rgba(45, 212, 191, 0.4);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.process-card:hover {
    background: rgba(15, 23, 42, 0.6);
    border-top-color: #2dd4bf;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(45, 212, 191, 0.15);
}

/* Hover internal translations */
.process-card:hover .process-number {
    transform: translateY(-3px);
    color: rgba(45, 212, 191, 0.8);
}

.process-card:hover .process-content {
    transform: translateY(-2px);
}

.process-card:hover .process-icon {
    transform: scale(1.15) translateY(-2px);
    opacity: 1;
}

/* Process Number */
.process-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(45, 212, 191, 0.25);
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Process Content Wrapper to expand and push icon down */
.process-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.process-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.process-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
}

.process-card:hover .process-content p {
    color: rgba(255, 255, 255, 0.85);
}

/* Process Icon */
.process-icon {
    margin-top: auto; /* Push to the very bottom */
    opacity: 0.6;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.process-icon svg {
    width: 32px;
    height: 32px;
    stroke: #2dd4bf;
    fill: none;
    stroke-width: 1.75;
    display: block;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon svg {
    filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.6));
}

/* Connector line between cards (desktop) */
@media (min-width: 800px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30%; /* Shifted to align nicely with the layout */
        right: -16px;
        width: 32px;
        height: 2px;
        background: linear-gradient(90deg, rgba(45, 212, 191, 0.4), rgba(168, 85, 247, 0.1));
        z-index: 3;
    }
}

/* Coming Soon Product Overlay */
.product-coming-soon {
    position: relative;
    cursor: default;
}

.product-coming-soon .product-card {
    opacity: 0.85;
}

.product-coming-soon:hover .product-card {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-section {
        padding: 80px 0;
    }

    .process-grid {
        gap: 24px;
    }

    .process-card {
        padding: 30px 25px;
    }

    .process-number {
        font-size: 2.5rem;
    }
}
