
/* Background Mesh */
.mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 0% 0%, #f0fdf4 0%, transparent 50%), 
                radial-gradient(circle at 100% 100%, #eff6ff 0%, transparent 50%);
    z-index: 0;
}

/* Typography Tweaks */
.tracking-tight { letter-spacing: -0.025em; }
.lh-sm { line-height: 1.2; }

/* 3D Tilted Card Container */
.perspective-container {
    perspective: 1000px;
    padding: 20px; /* Space for shadows */
}

/* Main Image Card */
.hero-main-card {
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.perspective-container:hover .hero-main-card {
    transform: rotateY(0deg) rotateX(0deg); /* Flatten on hover */
}

/* Floating Cards Animation */
.floating-card {
    z-index: 2;
    animation: floatCard 6s ease-in-out infinite;
}

/* Card 1 Position (Top Right) */
.card-visa {
    top: 40px;
    right: -20px;
    animation-delay: 0s;
}

/* Card 2 Position (Bottom Left) */
.card-score {
    bottom: 60px;
    left: -20px;
    animation-delay: 3s; /* Offset animation */
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Lift Button Effect */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(34, 197, 94, 0.4) !important;
}

/* Circular Chart SVG */
.circular-chart path { 
    stroke-linecap: round; 
    transition: stroke-dasharray 1s ease;
}
.process-line-dashed {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 45px; /* Aligns with center of 50px number box + padding */
    width: 2px;
    background-image: linear-gradient(to bottom, #e2e8f0 50%, transparent 50%);
    background-size: 2px 12px; /* Creates the dash effect */
    background-repeat: repeat-y;
    z-index: 0;
}

/* Number Box (Premium Look) */
.step-number-box {
    width: 50px;
    height: 50px;
    background-color: #f0fdf4; /* Primary-subtle */
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    z-index: 2; /* Sit above the line */
}

/* Step Card Interaction */
.process-step-card {
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.process-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08) !important;
}

/* Active Step 3 Styling */
.process-step-card.bg-primary-custom .step-number-box {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Utilities for Blurs (If not supported by Bootstrap) */
.blur-3xl { filter: blur(64px); }
.blur-xl { filter: blur(24px); }
.z-n1 { z-index: -1; }