/* 21st.dev inspired Micro-Animations & Premium B2B Aesthetics */

/* Glassmorphism & Glow Cards */
.premium-card {
    background: rgba(255, 255, 255, 0.05); /* Very subtle white for dark themes */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.5s;
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 192, 239, 0.5); /* GO Enerji sub-accent color */
    box-shadow: 0 20px 40px rgba(0, 77, 96, 0.2);
}

.premium-card:hover::before {
    left: 150%;
}

/* Stats / Metrics Number Reveal */
.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #004d60 0%, #009688 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #59595b;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Fade in Up Animation */
@keyframes fadeInUpSubtle {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUpSubtle 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Diagram Connector Line Animation */
.flow-line {
    position: relative;
    width: 100%;
    height: 2px;
    background: rgba(0, 77, 96, 0.1);
    overflow: hidden;
}

.flow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #004d60, transparent);
    animation: flowPulse 2s linear infinite;
}

@keyframes flowPulse {
    0% { left: -100%; }
    100% { left: 100%; }
}
