/* ==========================================
   PROCESS SECTION STYLES - GÜNCELLENMİŞ
   ========================================== */

.process-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

/* Metallic & Hero Text */
.process-title {
    background: linear-gradient(90deg, #444 0%, #fff 45%, #fff 55%, #444 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Smart Progress Line */
.smart-line-container {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(-50%);
    z-index: 0;
}

.smart-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, transparent, #fff, transparent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: height 0.1s ease-out;
}

.smart-line-cursor {
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #fff;
    transition: top 0.1s ease-out;
}

/* Enhanced Glass Cards */
.process-card {
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 40px;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(20, 20, 25, 0.6) 0%, 
        rgba(25, 25, 35, 0.7) 100%);
}

.process-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.1));
    border-radius: 42px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.process-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(25, 25, 35, 0.8) 0%, 
        rgba(30, 30, 45, 0.9) 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.1);
}

.process-card:hover::before {
    opacity: 1;
}

/* Enhanced Card Scan Line */
.process-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent);
    transition: left 0.8s ease;
}

.process-card:hover::after {
    left: 100%;
}

/* Stage Badge - Enhanced */
.stage-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stage-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.stage-badge:hover::before {
    left: 100%;
}

/* Icon Animation - Enhanced */
.process-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: spin 8s linear infinite;
}

.process-icon-ring-inner {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: spin 12s linear infinite reverse;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Enhanced Icon Glow */
.process-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.process-card:hover .process-icon-wrapper::after {
    opacity: 1;
}

/* Enhanced Step Number */
.process-card .absolute.-top-8.-left-8 {
    font-size: 14rem;
    opacity: 0.1;
    transition: all 0.5s ease;
}

.process-card:hover .absolute.-top-8.-left-8 {
    opacity: 0.15;
    transform: scale(1.05);
}

/* Pulse Animation */
@keyframes pulse-subtle {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }
    50% { 
        opacity: 0.9; 
        box-shadow: 0 0 25px rgba(255, 255, 255, 1); 
    }
}

/* Reveal Effects */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   PROCESS CTA BOX - ENHANCED VERSION
   ========================================== */

.process-cta-box {
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.process-cta-box:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 12px 60px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
}

/* Enhanced Corner Decorations */
.corner-decoration {
    position: absolute;
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.corner-tl {
    top: 16px;
    left: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    border-top-left-radius: 8px;
}

.corner-tr {
    top: 16px;
    right: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-top-right-radius: 8px;
}

.corner-bl {
    bottom: 16px;
    left: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom-left-radius: 8px;
}

.corner-br {
    bottom: 16px;
    right: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom-right-radius: 8px;
}

.process-cta-box:hover .corner-decoration {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.6);
    width: 40px;
    height: 40px;
}

/* Enhanced Scanning Line Effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
    animation: cta-scan 3s linear infinite;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.process-cta-box:hover .scan-line {
    opacity: 0.6;
}

@keyframes cta-scan {
    0% {
        top: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        top: 100%;
        transform: translateY(-2px);
    }
}

/* Enhanced Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-cta-box:hover .grid-overlay {
    opacity: 0.4;
}

/* CTA Button - Enhanced with arrow */
.cta-button {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    color: #000;
    border: none;
    border-radius: 8px; /* Köşeli */
    padding: 22px 56px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 
        0 6px 24px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 32px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 0 25px rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* CTA Button Text */
.cta-button-text {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #222 0%, #000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.cta-button:hover .cta-button-text {
    background: linear-gradient(90deg, #000 0%, #111 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* CTA Button Arrow */
.cta-button-arrow {
    position: relative;
    z-index: 2;
    font-size: 20px;
    transition: all 0.3s ease;
    transform: translateX(0);
    background: linear-gradient(90deg, #222 0%, #000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-button:hover .cta-button-arrow {
    transform: translateX(4px);
}

/* CTA Button Shine Effect */
.cta-button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
}

.cta-button:hover .cta-button-shine {
    left: 100%;
}

/* Enhanced Glow Effect */
.process-cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 
        inset 0 0 80px rgba(255, 255, 255, 0.05),
        0 0 60px rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.process-cta-box:hover::after {
    opacity: 1;
}

/* Metallic Text for CTA Title */
.process-cta-box h3 {
    background: linear-gradient(90deg, #666 0%, #fff 45%, #fff 55%, #666 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: scan 4s linear infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-cta-box {
        padding: 48px 24px !important;
    }
    
    .corner-decoration {
        width: 24px;
        height: 24px;
    }
    
    .process-cta-box:hover .corner-decoration {
        width: 28px;
        height: 28px;
    }
    
    .cta-button {
        padding: 20px 40px;
        font-size: 14px;
        gap: 8px;
    }
    
    .cta-button-arrow {
        font-size: 18px;
    }
    
    .process-cta-box h3 {
        font-size: 2.5rem !important;
    }
    
    .process-cta-box p {
        font-size: 1rem !important;
    }
}

@media (max-width: 640px) {
    .process-cta-box {
        padding: 40px 20px !important;
        margin: 0 -16px;
        border-radius: 16px;
    }
    
    .corner-decoration {
        width: 20px;
        height: 20px;
    }
    
    .cta-button {
        width: 100%;
        padding: 18px 32px;
        font-size: 13px;
        justify-content: center;
    }
    
    .process-cta-box h3 {
        font-size: 2rem !important;
    }
    
    .process-card {
        padding: 30px;
    }
    
    .process-section {
        padding: 80px 0;
    }
}

/* Existing Responsive */
@media (max-width: 768px) {
    .smart-line-container {
        left: 20px;
        transform: none;
    }
    
    .process-card {
        padding: 30px;
    }
    
    .process-section {
        padding: 80px 0;
    }
}