/* Interdep Cabine - Official V1 Styles */

/* ============================================
   BASE & TYPOGRAPHY
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00D1FF 0%, #0099CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Titles - Unified Size (text-4xl mobile / text-6xl desktop) */
.section-title {
    font-size: 2.25rem; /* text-4xl = 36px */
    font-weight: 800;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem; /* text-6xl = 60px */
    }
}

/* ============================================
   SHADOWS
   ============================================ */
.soft-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.phone-shadow {
    box-shadow: 0 50px 100px -20px rgba(0, 209, 255, 0.25),
                0 30px 60px -30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   GLASSMORPHISM - ENHANCED
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset,
                0 0 80px rgba(0, 209, 255, 0.05);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.7) inset,
                0 0 100px rgba(0, 209, 255, 0.1);
}

.glass-card-dark {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Glass Tile */
.hero-glass-tile {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 32px 64px -12px rgba(0, 0, 0, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-glass-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 48px 80px -16px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 0 60px rgba(0, 209, 255, 0.15);
}

/* ============================================
   HERO 3D PERSPECTIVE TILES
   ============================================ */
.hero-perspective-container {
    perspective: 1500px;
    transform-style: preserve-3d;
}

.hero-tile-3d {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: rotateY(-12deg) rotateX(4deg);
    transform-style: preserve-3d;
    box-shadow:
        -20px 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-tile-3d:hover {
    transform: rotateY(-6deg) rotateX(2deg) translateZ(20px) scale(1.02);
    box-shadow:
        -30px 30px 80px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 0 40px rgba(0, 209, 255, 0.1);
}

.hero-parallax-tile {
    transition: transform 0.15s ease-out;
}

/* Hero 3D Float Animations */
@keyframes heroFloat3D-1 {
    0%, 100% {
        transform: rotateY(-12deg) rotateX(4deg) translateZ(0) translateY(0);
    }
    50% {
        transform: rotateY(-10deg) rotateX(2deg) translateZ(15px) translateY(-15px);
    }
}

@keyframes heroFloat3D-2 {
    0%, 100% {
        transform: rotateY(-12deg) rotateX(4deg) translateZ(0) translateY(0);
    }
    50% {
        transform: rotateY(-14deg) rotateX(6deg) translateZ(20px) translateY(-20px);
    }
}

@keyframes heroFloat3D-3 {
    0%, 100% {
        transform: rotateY(-12deg) rotateX(4deg) translateZ(0) translateY(0);
    }
    50% {
        transform: rotateY(-8deg) rotateX(3deg) translateZ(10px) translateY(-12px);
    }
}

.hero-float-3d-1 {
    animation: heroFloat3D-1 7s ease-in-out infinite;
}

.hero-float-3d-2 {
    animation: heroFloat3D-2 8s ease-in-out infinite;
    animation-delay: -2s;
}

.hero-float-3d-3 {
    animation: heroFloat3D-3 6s ease-in-out infinite;
    animation-delay: -4s;
}

/* Hero Data Line Animation */
.hero-data-line {
    height: 4px;
    background: linear-gradient(90deg, #00D1FF 0%, transparent 100%);
    border-radius: 2px;
    animation: heroDataFlow 2s ease-in-out infinite;
}

@keyframes heroDataFlow {
    0% { width: 20%; opacity: 0.5; }
    50% { width: 100%; opacity: 1; }
    100% { width: 20%; opacity: 0.5; }
}

/* Status Badge Active */
.status-badge-active {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    animation: statusBadgePulse 3s ease-in-out infinite;
}

@keyframes statusBadgePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(16, 185, 129, 0.7); }
}

/* ============================================
   BUTTONS - PILULES
   ============================================ */
.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0D0D0D;
    color: white;
    padding: 18px 40px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    cursor: pointer;
}

.btn-primary-pill:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #0D0D0D;
    padding: 18px 40px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid #e5e7eb;
    cursor: pointer;
}

.btn-secondary-pill:hover {
    border-color: #00D1FF;
    background: rgba(0, 209, 255, 0.05);
    transform: translateY(-3px);
}

/* ============================================
   HUB SECTION - V1 DATA-FLOW STYLES
   ============================================ */
.hub-instant-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

.hub-logo-glow {
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.5),
                0 0 60px rgba(0, 209, 255, 0.3);
}

.hub-center-pulse {
    animation: hubCenterPulse 2s ease-in-out infinite;
}

@keyframes hubCenterPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 209, 255, 0.5),
                    0 0 60px rgba(0, 209, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 209, 255, 0.8),
                    0 0 80px rgba(0, 209, 255, 0.5);
    }
}

.hub-connection-line {
    height: 3px;
    background: linear-gradient(90deg,
        rgba(0, 209, 255, 0.3),
        rgba(0, 209, 255, 0.8),
        rgba(0, 209, 255, 0.3));
    position: relative;
    overflow: visible;
    border-radius: 2px;
}

.hub-connection-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -100%;
    width: 60%;
    height: 5px;
    background: linear-gradient(90deg,
        transparent,
        #fff,
        #00D1FF,
        #fff,
        transparent);
    animation: hubDataFlow 1.2s infinite;
    border-radius: 3px;
}

@keyframes hubDataFlow {
    0% { left: -60%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.hub-connection-line-vertical {
    background: linear-gradient(180deg,
        rgba(0, 209, 255, 0.3),
        rgba(0, 209, 255, 0.8),
        rgba(0, 209, 255, 0.3));
    position: relative;
    overflow: visible;
    border-radius: 2px;
}

.hub-connection-line-vertical::after {
    content: '';
    position: absolute;
    left: -2px;
    top: -100%;
    width: 5px;
    height: 60%;
    background: linear-gradient(180deg,
        transparent,
        #fff,
        #00D1FF,
        #fff,
        transparent);
    animation: hubDataFlowVertical 1.2s infinite;
    border-radius: 3px;
}

@keyframes hubDataFlowVertical {
    0% { top: -60%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ============================================
   FLOATING TILES - 3D PARALLAX EFFECT
   ============================================ */
.floating-tiles-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.floating-tile {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset,
                0 10px 40px rgba(0, 209, 255, 0.1);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-tile:hover {
    transform: translateZ(20px) scale(1.02);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.6) inset,
                0 15px 50px rgba(0, 209, 255, 0.15);
}

/* Float Animations with Different Delays */
@keyframes float1 {
    0%, 100% {
        transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
    }
    50% {
        transform: translateY(-15px) rotateX(-2deg) rotateY(2deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0px) rotateX(-1deg) rotateY(3deg);
    }
    50% {
        transform: translateY(-20px) rotateX(1deg) rotateY(-3deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0px) rotateX(3deg) rotateY(1deg);
    }
    50% {
        transform: translateY(-12px) rotateX(-3deg) rotateY(-1deg);
    }
}

.tile-float-1 {
    animation: float1 6s ease-in-out infinite;
}

.tile-float-2 {
    animation: float2 7s ease-in-out infinite;
    animation-delay: -2s;
}

.tile-float-3 {
    animation: float3 5s ease-in-out infinite;
    animation-delay: -4s;
}

/* ============================================
   FIBER OPTIC CONNECTION LINES - ENHANCED
   ============================================ */
.connection-line {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(0, 209, 255, 0.2),
        rgba(0, 209, 255, 0.8),
        rgba(0, 209, 255, 0.2));
    border-radius: 2px;
    overflow: visible;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.6),
                0 0 40px rgba(0, 209, 255, 0.4),
                0 0 60px rgba(0, 209, 255, 0.2);
}

.connection-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    bottom: -2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 209, 255, 0.3) 50%,
        transparent 100%);
    border-radius: 4px;
    animation: lineGlow 2s ease-in-out infinite;
}

.connection-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.9),
        rgba(0, 209, 255, 1),
        rgba(255, 255, 255, 0.9),
        transparent);
    animation: fiberFlow 1.5s infinite;
    border-radius: 2px;
}

@keyframes fiberFlow {
    0% {
        left: -50%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(0, 209, 255, 0.8),
                    0 0 60px rgba(0, 209, 255, 0.4);
    }
}

/* Fiber Particles - Accelerating through center */
.fiber-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00D1FF,
                0 0 20px #00D1FF,
                0 0 30px #00D1FF;
    animation: particleMove 1.2s infinite;
}

.fiber-particle:nth-child(2) {
    animation-delay: 0.4s;
}

.fiber-particle:nth-child(3) {
    animation-delay: 0.8s;
}

/* Accelerated particle movement */
@keyframes particleMove {
    0% {
        left: 0;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    /* Accelerate in the middle (center hub) */
    40% {
        left: 35%;
        transform: scale(1);
    }
    50% {
        left: 50%;
        transform: scale(1.5);
        box-shadow: 0 0 20px #00D1FF,
                    0 0 40px #00D1FF,
                    0 0 60px #00D1FF;
    }
    60% {
        left: 65%;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* ============================================
   GLOW EFFECTS
   ============================================ */
.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.5),
                0 0 40px rgba(0, 209, 255, 0.3),
                0 0 60px rgba(0, 209, 255, 0.2);
}

.glow-cyan-intense {
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.7),
                0 0 60px rgba(0, 209, 255, 0.5),
                0 0 90px rgba(0, 209, 255, 0.3),
                0 0 120px rgba(0, 209, 255, 0.2);
    animation: intensePulse 2s ease-in-out infinite;
}

@keyframes intensePulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 209, 255, 0.7),
                    0 0 60px rgba(0, 209, 255, 0.5),
                    0 0 90px rgba(0, 209, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 209, 255, 0.9),
                    0 0 80px rgba(0, 209, 255, 0.7),
                    0 0 120px rgba(0, 209, 255, 0.5),
                    0 0 150px rgba(0, 209, 255, 0.3);
    }
}

.pulse-dot {
    animation: nodePulse 2s infinite;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(0, 209, 255, 0.8),
                    0 0 60px rgba(0, 209, 255, 0.4);
    }
}

/* Old operator-specific logo styles removed - replaced by .logo-box */

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-12px);
}

.step-card:hover {
    transform: translateY(-5px);
}

/* Zero Commission Badge */
.zero-commission-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6);
    }
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* QR Code Container */
.qr-container {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-link {
    position: relative;
    color: #4B5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00D1FF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D1FF, #00B8E6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #00D1FF;
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 40;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* ============================================
   FLOW ARROWS
   ============================================ */
.flow-arrow {
    animation: arrowPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(0, 209, 255, 0.8));
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(0);
        filter: drop-shadow(0 0 5px rgba(0, 209, 255, 0.5));
    }
    50% {
        opacity: 1;
        transform: translateX(5px);
        filter: drop-shadow(0 0 15px rgba(0, 209, 255, 1));
    }
}

/* ============================================
   HUB BACKGROUND
   ============================================ */
.hub-bg {
    background: radial-gradient(ellipse at center,
        rgba(0, 209, 255, 0.15) 0%,
        transparent 70%);
}

.connection-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1024px) {
    .connection-line {
        width: 4px;
        height: 60px;
        background: linear-gradient(180deg,
            rgba(0, 209, 255, 0.2),
            rgba(0, 209, 255, 0.8),
            rgba(0, 209, 255, 0.2));
    }

    .connection-line::after {
        width: 100%;
        height: 50%;
        left: 0;
        top: -100%;
        background: linear-gradient(180deg,
            transparent,
            rgba(255, 255, 255, 0.9),
            rgba(0, 209, 255, 1),
            rgba(255, 255, 255, 0.9),
            transparent);
        animation: fiberFlowVertical 1.5s infinite;
    }

    .floating-tiles-container {
        perspective: none;
    }

    .floating-tile {
        animation: floatMobile 4s ease-in-out infinite;
    }

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

@keyframes fiberFlowVertical {
    0% {
        top: -50%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ============================================
   TRANSACTION SUCCESS TILE
   ============================================ */
.transaction-tile {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.checkmark-circle {
    animation: checkmarkPop 0.6s ease-out;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ============================================
   BADGE FLOAT
   ============================================ */
.badge-float {
    animation: floatBadge 3s ease-in-out infinite;
}

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

/* ============================================
   SUCCESS CHECKMARK
   ============================================ */
.success-check {
    width: 20px;
    height: 20px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* ============================================
   LOGO BOX : UNIFIED SQUARE 1:1 FULL-FILL
   ============================================ */
.logo-box {
    aspect-ratio: 1 / 1;
    border-radius: 1rem; /* rounded-2xl */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Variant: logo-wave.png (future) */
.logo-box-wave {
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    overflow: hidden;
    background: #00D1FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-box-wave img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================
   SECTION SERVICES : NEO-MINIMALISME
   ============================================ */
.neo-card {
    background: #FAFAFA;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.neo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px; /* Largeur de la bordure */
    background: linear-gradient(135deg, rgba(0, 209, 255, 0.5), rgba(0, 209, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.neo-card:hover::before {
    opacity: 1;
}

.neo-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -16px rgba(0, 209, 255, 0.15);
}

.neo-card-dark {
    background: #0D0D0D;
    color: white;
}

.neo-card-dark::before {
    background: linear-gradient(135deg, #00D1FF, #FF7900, #FFCC00);
}

.neo-card-dark:hover {
    background: #1a1a1a;
    box-shadow: 0 32px 64px -16px rgba(0, 209, 255, 0.3);
}

/* ============================================
   TESTIMONIAL CARDS (Glassmorphism)
   ============================================ */
.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 209, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(0, 209, 255, 0.12);
    border-color: rgba(0, 209, 255, 0.25);
}

/* --- Inputs & Textarea --- */
.custom-input {
    width: 100%;
    background-color: #f9fafb;
    padding: 1.25rem;
    border-radius: 1rem;
    outline: none;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-input:focus {
    border-color: #00D1FF;
    background-color: white;
    box-shadow: 0 10px 20px -10px rgba(0, 209, 255, 0.2);
}

/* --- Select Modernisé --- */
.custom-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00D1FF;
    pointer-events: none;
    font-size: 0.8rem;
}

.custom-select {
    width: 100%;
    background-color: #f9fafb;
    padding: 1.25rem;
    border-radius: 1rem;
    outline: none;
    border: 2px solid transparent;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select:focus {
    border-color: #00D1FF;
    background-color: white;
}

/* --- Bouton Pilule --- */
.pill-button {
    width: 100%;
    background-color: #00D1FF;
    color: white;
    font-weight: 900;
    letter-spacing: 0.05em;
    padding: 1.5rem;
    border-radius: 9999px; /* Forme pilule */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -10px rgba(0, 209, 255, 0.3);
}

.pill-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(0, 209, 255, 0.5);
    background-color: #00bce6;
}

.pill-button:active {
    transform: translateY(-1px);
}

/* ============================================
   SECTION GUIDE : ARRIÈRE-PLAN ANIMÉ (V1)
   ============================================ */
.bg-soft-waves {
    background: linear-gradient(-45deg, #f8fafc, #e0f7fa, #f0fdff, #ffffff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Amélioration de la lisibilité des cartes sur ce fond */
.step-card-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.step-card-premium:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 209, 255, 0.1);
}

/* --- Navbar V5 : Gradient Glow Pill --- */
.nav-glow-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 9999px;
    position: relative;
    z-index: 1;
}

.nav-glow-pill::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #00D1FF, #A8E0F0, #00D1FF);
    z-index: -1;
    opacity: 0.5;
    animation: navGlowRotate 4s linear infinite;
    background-size: 200% 200%;
    transition: opacity 0.4s ease;
}

.nav-glow-pill:hover::before {
    opacity: 0.75;
}

@keyframes navGlowRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-glow-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4B5563;
    transition: all 0.3s;
    padding: 6px 0;
    position: relative;
}

.nav-glow-link:hover {
    color: #00D1FF;
}

.nav-glow-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D1FF, #A8E0F0);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-glow-link:hover::after {
    width: 100%;
}

.nav-glow-link.active {
    color: #00D1FF;
}

.nav-glow-link.active::after {
    width: 100%;
}

/* Animation d'apparition au chargement */
@keyframes pillFadeIn {
    from { transform: translate(-50%, -30px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

nav {
    animation: pillFadeIn 1s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   V4 STACKED BLOCKS - BURGER MENU
   ============================================ */
.burger-btn {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 200;
    position: relative;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1A1A1A;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.burger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.open span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

.burger-btn.white span { background: white; }
.burger-btn.open.white span { background: white; }

.v4-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.v4-overlay.open { pointer-events: all; }

.v4-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.v4-overlay.open .v4-block { transform: scaleY(1); }
.v4-overlay.open .v4-block:nth-child(1) { transition-delay: 0.05s; }
.v4-overlay.open .v4-block:nth-child(2) { transition-delay: 0.12s; }
.v4-overlay.open .v4-block:nth-child(3) { transition-delay: 0.19s; }
.v4-overlay.open .v4-block:nth-child(4) { transition-delay: 0.26s; }

.v4-block a {
    font-size: 2.5rem;
    font-weight: 900;
    transition: all 0.3s;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.v4-block a:hover {
    letter-spacing: 0.3em;
}

.v4-block:nth-child(1) { background: #0D0D0D; }
.v4-block:nth-child(1) a { color: white; }
.v4-block:nth-child(1) a:hover { color: #00D1FF; }

.v4-block:nth-child(2) { background: #00D1FF; }
.v4-block:nth-child(2) a { color: white; }
.v4-block:nth-child(2) a:hover { color: #0D0D0D; }

.v4-block:nth-child(3) { background: white; }
.v4-block:nth-child(3) a { color: #0D0D0D; }
.v4-block:nth-child(3) a:hover { color: #00D1FF; }

.v4-block:nth-child(4) { background: #0D0D0D; }
.v4-block:nth-child(4) a { color: #00D1FF; }
.v4-block:nth-child(4) a:hover { color: white; }

.v4-block:nth-child(5) { background: #00D1FF; }
.v4-block:nth-child(5) a { color: #0D0D0D; }
.v4-block:nth-child(5) a:hover { color: white; }
.v4-overlay.open .v4-block:nth-child(5) { transition-delay: 0.33s; }

/* ============================================
   FAQ V5 : SPLIT INTERACTION
   ============================================ */
.v5-container {
    display: flex;
    gap: 3rem;
    min-height: 400px;
}

.v5-questions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v5-q-btn {
    text-align: left;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid transparent;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v5-q-btn:hover {
    background: rgba(0, 209, 255, 0.05);
}

.v5-q-btn.active {
    background: white;
    border-color: rgba(0, 209, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 209, 255, 0.08);
}

.v5-q-btn .v5-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all 0.3s;
    flex-shrink: 0;
}

.v5-q-btn.active .v5-dot {
    background: #00D1FF;
    box-shadow: 0 0 8px rgba(0, 209, 255, 0.5);
}

.v5-q-btn h3 {
    font-weight: 600;
    font-size: 1rem;
    color: #6b7280;
    transition: color 0.3s;
}

.v5-q-btn.active h3 {
    color: #1A1A1A;
    font-weight: 700;
}

.v5-answer-panel {
    flex: 1;
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.v5-answer-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.v5-ans-content {
    animation: v5FadeIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes v5FadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.v5-ans-content .v5-ans-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 209, 255, 0.12);
    line-height: 1;
    margin-bottom: 1rem;
}

.v5-ans-content h4 {
    font-weight: 800;
    font-size: 1.4rem;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.v5-ans-content p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .v5-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .v5-answer-panel {
        padding: 2rem;
    }
}

/* ============================================
   PARALLAX & SCROLL PERFORMANCE
   ============================================ */
.hero-parallax-tile {
    will-change: transform;
}

[data-parallax-bg] {
    will-change: background-position;
    background-attachment: fixed;
}

/* Reveal with parallax inertia */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax-enhanced reveal (added by JS) */
.reveal.parallax-reveal {
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   MOBILE: DISABLE HEAVY PARALLAX
   ============================================ */
@media (max-width: 768px) {
    .hero-parallax-tile {
        will-change: auto;
    }

    [data-parallax-bg] {
        background-attachment: scroll;
        will-change: auto;
    }

    .reveal {
        transform: translateY(30px);
        will-change: auto;
    }

    /* ---- FIX 2: Buttons compact on mobile ---- */
    .btn-mobile-compact {
        padding: 14px 24px;
        font-size: 14px;
    }

    /* ---- FIX 3: Floating tiles visible & stacked on mobile ---- */
    .hero-perspective-container {
        height: auto !important;
        perspective: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-tile-3d {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 340px;
        transform: none !important;
        animation: none !important;
    }

    .hero-tile-3d:hover {
        transform: translateY(-4px) !important;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .btn-mobile-compact {
        padding: 12px 18px;
        font-size: 13px;
    }
}