body { 
            font-family: 'Inter', sans-serif;
        }
        
        .gradient-text {
            background: linear-gradient(135deg, #d8610b 0%, #1908d5 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .card-hover {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .card-hover:hover {
            transform: translateY(-8px) scale(1.02);
        }
        
        /* Stacked Cards Animation */
        .stack-container {
            perspective: 1000px;
        }
        
        .stack-card {
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .stack-card:hover {
            transform: translateY(-12px) rotateX(2deg);
            z-index: 10;
        }
        
        .stack-card:nth-child(1) {
            animation: slideInLeft 0.6s ease-out;
        }
        
        .stack-card:nth-child(2) {
            animation: slideInLeft 0.6s ease-out 0.1s backwards;
        }
        
        .stack-card:nth-child(3) {
            animation: slideInLeft 0.6s ease-out 0.2s backwards;
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Floating Animation */
        .float-slow {
            animation: floatSlow 8s ease-in-out infinite;
        }
        
        .float-medium {
            animation: floatSlow 6s ease-in-out infinite;
            animation-delay: 1s;
        }
        
        .float-fast {
            animation: floatSlow 4s ease-in-out infinite;
            animation-delay: 2s;
        }
        
        @keyframes floatSlow {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }
        
        /* Pulse Glow */
        .pulse-glow {
            animation: pulseGlow 3s ease-in-out infinite;
        }
        
        @keyframes pulseGlow {
            0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
            50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.6); }
        }
        
        /* Reveal Animation */
        .reveal {
            animation: reveal 0.8s ease-out;
        }
        
        @keyframes reveal {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Feature Cards Stagger */
        .feature-card:nth-child(1) { animation-delay: 0s; }
        .feature-card:nth-child(2) { animation-delay: 0.15s; }
        .feature-card:nth-child(3) { animation-delay: 0.3s; }
        .feature-card:nth-child(4) { animation-delay: 0.45s; }
        
        /* Connection Lines */
        .connection-line {
            position: relative;
        }
        
        .connection-line::after {
            content: '';
            position: absolute;
            top: 50%;
            right: -32px;
            width: 32px;
            height: 2px;
            background: linear-gradient(to right, #3b82f6, transparent);
            animation: flowRight 2s ease-in-out infinite;
        }
        
        @keyframes flowRight {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }
        
        @media (max-width: 768px) {
            .connection-line::after {
                display: none;
            }
        }


        /* =============================================== */
/* 3D SIDE STACK CARDS - ENHANCED VERSION         */
/* =============================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container untuk membungkus stack dan memberikan perspektif 3D */
.stack-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    perspective: 1500px;
    perspective-origin: center center;
    padding: 3rem;
}

/* Wrapper untuk tumpukan kartu */
.card-stack {
    position: relative;
    width: 360px;
    height: 240px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Gaya dasar untuk setiap kartu di dalam tumpukan */
.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.5rem;
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 10px 20px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    backface-visibility: hidden;
    cursor: pointer;
    will-change: transform;
}

/* Hover effect untuk individual card */
.stack-card:hover {
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.15),
        0 15px 30px -8px rgba(0, 0, 0, 0.08);
}

/* Icon wrapper styling */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.stack-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
}

/* =============================================== */
/* POSISI AWAL KARTU - HORIZONTAL STACK           */
/* =============================================== */

/* Card 1 - Gereja Lokal (Front) */
.card-stack .card-1 {
    transform: 
        translateX(0px) 
        translateZ(60px) 
        scale(1);
    z-index: 3;
}

/* Card 2 - Klasis (Middle) */
.card-stack .card-2 {
    transform: 
        translateX(35px) 
        rotateY(-6deg) 
        translateZ(30px) 
        scale(0.96);
    z-index: 2;
    opacity: 0.95;
}

/* Card 3 - Sinode (Back) */
.card-stack .card-3 {
    transform: 
        translateX(70px) 
        rotateY(-12deg) 
        translateZ(0px) 
        scale(0.92);
    z-index: 1;
    opacity: 0.9;
}

/* =============================================== */
/* HOVER STATE - EXPANDED HORIZONTAL VIEW         */
/* =============================================== */

/* Card 1 - Bergerak ke kiri dengan rotasi */
.stack-container:hover .card-1 {
    transform: 
        translateX(-130%) 
        translateZ(0px)
        rotateY(8deg)
        rotateZ(-3deg)
        scale(0.98);
    z-index: 1;
    opacity: 1;
}

/* Card 2 - Tetap di tengah, menjadi fokus */
.stack-container:hover .card-2 {
    transform: 
        translateX(0%) 
        translateZ(80px)
        rotateY(0deg) 
        scale(1.05);
    z-index: 3;
    opacity: 1;
    box-shadow: 
        0 35px 70px -15px rgba(0, 0, 0, 0.2),
        0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Card 3 - Bergerak ke kanan dengan rotasi */
.stack-container:hover .card-3 {
    transform: 
        translateX(130%) 
        translateZ(0px)
        rotateY(-8deg)
        rotateZ(3deg)
        scale(0.98);
    z-index: 1;
    opacity: 1;
}

/* =============================================== */
/* PULSE GLOW ANIMATION                           */
/* =============================================== */

.icon-wrapper {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* Stagger animation delays */
.card-1 .icon-wrapper {
    animation-delay: 0s;
}

.card-2 .icon-wrapper {
    animation-delay: 0.6s;
}

.card-3 .icon-wrapper {
    animation-delay: 1.2s;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 10px 25px -5px rgba(0, 0, 0, 0.2),
            0 0 0 0 rgba(147, 197, 253, 0);
    }
    50% {
        box-shadow: 
            0 10px 25px -5px rgba(0, 0, 0, 0.2),
            0 0 30px 5px rgba(147, 197, 253, 0.4);
    }
}

/* =============================================== */
/* RESPONSIVE DESIGN                              */
/* =============================================== */

@media (max-width: 1024px) {
    .card-stack {
        width: 320px;
        height: 220px;
    }
    
    .stack-container:hover .card-1 {
        transform: 
            translateX(-120%) 
            translateZ(0px)
            rotateY(6deg)
            rotateZ(-2deg)
            scale(0.95);
    }
    
    .stack-container:hover .card-3 {
        transform: 
            translateX(120%) 
            translateZ(0px)
            rotateY(-6deg)
            rotateZ(2deg)
            scale(0.95);
    }
}

@media (max-width: 768px) {
    .stack-container {
        min-height: 400px;
        padding: 2rem 1rem;
    }
    
    .card-stack {
        width: 280px;
        height: 200px;
    }
    
    .card-stack .card-2 {
        transform: 
            translateX(25px) 
            rotateY(-5deg) 
            translateZ(20px) 
            scale(0.96);
    }
    
    .card-stack .card-3 {
        transform: 
            translateX(50px) 
            rotateY(-10deg) 
            translateZ(0px) 
            scale(0.92);
    }
    
    .stack-container:hover .card-1 {
        transform: 
            translateX(-110%) 
            translateZ(0px)
            rotateY(5deg)
            rotateZ(-2deg)
            scale(0.92);
    }
    
    .stack-container:hover .card-2 {
        transform: 
            translateX(0%) 
            translateZ(60px)
            rotateY(0deg) 
            scale(1.02);
    }
    
    .stack-container:hover .card-3 {
        transform: 
            translateX(110%) 
            translateZ(0px)
            rotateY(-5deg)
            rotateZ(2deg)
            scale(0.92);
    }
    
    .icon-wrapper {
        width: 4rem;
        height: 4rem;
    }
}
