:root {
    --cb-bg: #080808;
    /* Assombri pour faire ressortir le logo */
    --cb-text: #ffffff;
    /* Texte en blanc pour le contraste */
    --cb-font: 'Manrope', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    color: var(--cb-text);
    font-family: var(--cb-font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-color: var(--cb-bg);
}

#smooth-wrapper {
    position: relative;
    z-index: 2;
    /* Content sits above backgrounds */
}

a {
    text-decoration: none;
    color: inherit;
}

.mobile-br { display: none; }
@media (max-width: 768px) {
    .mobile-br { display: block; }
    .desktop-br { display: none; }
}

/* ==================
   NAVIGATION
   ================== */
.cb-navbar {
    position: fixed;
    /* Fixé pour rester visible au scroll */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 40px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1100;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* État Navbar Flottante Glassmorphism */
.cb-navbar.is-scrolled {
    top: 20px;
    /* Un peu plus haut */
    width: 850px;
    /* Devient une "pilule" centrée */
    max-width: 90vw;
    padding: 10px 40px;
    /* Padding réduit pour compenser le gros logo */
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cb-logo img {
    height: 120px;
    /* Logo gigantesque par défaut comme demandé */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Le logo rétrécit quand la navbar devient une pilule, mais reste bien visible */
.cb-navbar.is-scrolled .cb-logo img {
    height: 70px;
    /* Beaucoup plus gros qu'avant (c'était 45px) */
}

.cb-menu {
    display: flex;
    gap: 30px;
}

.cb-menu a {
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.cb-menu a:hover {
    opacity: 0.6;
}

/* ==================
   MACBOOK SCROLL HERO
   ================== */
.curtain-container {
    position: relative;
    z-index: 10;
}

.macbook-section {
    height: 150vh;
    margin-bottom: 50vh;
    /* Delays the arrival of the next section */
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 10;
}

.macbook-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1500px;
}

.macbook-header {
    position: absolute;
    top: 18vh;
    /* Remonté pour faire de la place au macbook en dessous */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1;
    /* Au-dessus de l'aurora */
}

.hero-header-actions {
    display: flex;
    gap: 15px;
    margin-top: 3vh;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
}

.macbook-title {
    font-size: clamp(4.5rem, 6vw, 6.5rem);
    font-weight: 800;
    /* Plus gras, plus premium */
    line-height: 1.1;
    letter-spacing: -2.5px;
    /* Tracking plus resserré */
    text-align: center;
    background: linear-gradient(to bottom right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow {
    color: #428ce4;
    -webkit-text-fill-color: #428ce4;
    /* Reset transparent fill from parents */
    text-shadow: 0 0 15px rgba(66, 140, 228, 0.4);
    display: inline-block;
    position: relative;
}

/* Ensure reveal-word inherits the color properly */
.reveal-text .text-glow .reveal-word {
    color: inherit;
    -webkit-text-fill-color: inherit;
    text-shadow: inherit;
}

.macbook-subtitle {
    font-size: 1.3rem;
    color: #a1a1aa;
    /* Gris élégant plutôt que blanc pur */
    text-align: center;
    max-width: 600px;
}

.macbook-group {
    position: absolute;
    top: 70vh;
    /* Positionné sous le texte */
    width: 900px;
    height: 560px;
    transform-style: preserve-3d;
    z-index: 2;
}

/* ÉCRAN (LID) */
.macbook-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    /* Vrai noir pour le bezel */
    border-radius: 24px 24px 0 0;
    transform-origin: bottom center;
    transform-style: preserve-3d;
    border: 2px solid #333;
    border-bottom: none;
    /* Padding utilisé au lieu du box-shadow bugué pour créer le cadre noir (bezel) */
    padding: 24px 24px 45px 24px;
}

/* Caméra au centre du cadre */
.macbook-lid::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #222;
    border-radius: 50%;
    box-shadow: inset 0 0 2px #000;
    z-index: 10;
}

.macbook-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.macbook-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* On zoom fort pour rogner la barre de navigateur blanche de votre vidéo ! */
    transform: scale(1.18) translateY(-2%);
}

/* Nom MacBook Pro en bas de l'écran */
.macbook-lid::after {
    content: 'MacBook Pro';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 1px;
    color: #555;
    font-family: -apple-system, sans-serif;
    font-weight: 600;
}

/* CLAVIER (BASE) */
.macbook-base {
    position: absolute;
    top: 100%;
    left: -20px;
    width: calc(100% + 40px);
    height: 600px;
    /* Base un peu plus profonde */
    background: linear-gradient(to bottom, #2a2a2a, #111);
    border-radius: 0 0 32px 32px;
    transform-origin: top center;
    transform: rotateX(-90deg);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9);
}

/* Encoche pour ouvrir (lip) */
.macbook-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 10px;
    background: #111;
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.macbook-keyboard {
    width: 750px;
    height: 280px;
    background: #0d0d0d;
    border-radius: 12px;
    box-shadow: inset 0 2px 15px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.macbook-keyboard::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-image:
        linear-gradient(90deg, #151515 2px, transparent 2px),
        linear-gradient(#151515 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.9;
}

.macbook-trackpad {
    width: 280px;
    height: 140px;
    background: #1e1e1e;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ==================
   MACBOOK FOOTER (Fin d'animation)
   ================== */
.macbook-footer {
    position: absolute;
    bottom: 4vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    z-index: 5;
}

.macbook-footer h2 {
    font-family: 'Outfit', sans-serif;
    /* Police très tendance/agence */
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1.5px;
    margin-bottom: 5px;
}

.macbook-actions {
    display: flex;
    gap: 20px;
}

.macbook-actions .cb-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.macbook-actions .cb-btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.macbook-actions .cb-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ==================
   IPHONE 3D SECTION
   ================== */
.iphone-section {
    height: 300vh;
    margin-bottom: 50vh;
    /* Pause before bento section */
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 20;
}

.iphone-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1500px;
}

.iphone-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8vw;
    width: 100%;
    max-width: 1200px;
    padding: 0 5vw;
    margin-top: 6vh;
    position: relative;
}

/* TEXT SIDE */
.iphone-text-side {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iphone-text-side h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.2rem, 4.5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.1;
}

.iphone-text-side p {
    font-size: 1.15rem;
    color: #a1a1aa;
    line-height: 1.6;
    max-width: 420px;
}

.iphone-text-side .macbook-actions {
    margin-top: 10px;
}

/* DEVICE SIDE */
.iphone-device-side {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.iphone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
}

.iphone-device {
    position: relative;
    width: 300px;
    height: 620px;
    background: linear-gradient(145deg, #3a3a3a, #1a1a1a, #2a2a2a);
    border-radius: 52px;
    padding: 10px;
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 100, 255, 0.08);
    transform-style: preserve-3d;
}

/* Power button */
.iphone-device::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 160px;
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, #444, #222);
    border-radius: 0 3px 3px 0;
}

/* Volume buttons */
.iphone-device::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 130px;
    width: 3px;
    height: 35px;
    background: linear-gradient(to bottom, #444, #222);
    border-radius: 3px 0 0 3px;
    box-shadow: 0 55px 0 0 #333;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 44px;
    overflow: hidden;
    position: relative;
}

.iphone-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dynamic Island */
.iphone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #000;
    border-radius: 18px;
    z-index: 10;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Glow reflection under iPhone */
.iphone-glow {
    width: 250px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(0, 120, 255, 0.25) 0%, transparent 70%);
    margin-top: 30px;
    filter: blur(20px);
    animation: iphoneGlowPulse 3s ease-in-out infinite;
}

@keyframes iphoneGlowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleX(1);
    }

    50% {
        opacity: 0.8;
        transform: scaleX(1.2);
    }
}

/* ==================
   BENTO GRID SECTION
   ================== */
.bento-section {
    position: relative;
    z-index: 30;
    padding: 200px 5vw 100px;
    background-color: #040404;
    /* Solid background to cover iphone section */
}

.bento-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bento-header {
    text-align: center;
    margin-bottom: 60px;
}

.bento-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #428ce4;
    margin-bottom: 16px;
    padding: 6px 18px;
    border: 1px solid rgba(66, 140, 228, 0.3);
    border-radius: 50px;
    background: rgba(66, 140, 228, 0.06);
}

.bento-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.2rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.bento-header p {
    font-size: 1.15rem;
    color: #a1a1aa;
    max-width: 550px;
    margin: 0 auto;
}

/* --- 3D Marquee (Aceternity style) --- */
.marquee-3d-wrapper {
    position: relative;
    width: 100vw;
    height: 1800px;
    /* Huge height to prevent any clipping */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    margin-top: -500px;
    margin-bottom: -300px;
    pointer-events: none;
    /* Clicks pass through the huge wrapper */
    /* Optional fade at edges */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-3d-plane {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Transform to give 3D Isometric feel */
    transform: rotateX(35deg) rotateY(-5deg) rotateZ(10deg) scale(1.15);
    transform-style: preserve-3d;
    width: 200%;
}

.marquee-row {
    display: flex;
    gap: 3vw;
    width: max-content;
    /* animation removed for GSAP scroll scrub */
}

.marquee-row:hover {
    animation-play-state: paused;
}

.marquee-card {
    pointer-events: auto;
    position: relative;
    width: 380px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.marquee-card:hover {
    transform: translateZ(30px) scale(1.05);
    border-color: rgba(66, 140, 228, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(66, 140, 228, 0.2);
}

.marquee-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.marquee-card:hover video {
    opacity: 1;
}

/* Voir la démo button on marquee cards */
.marquee-demo-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.5px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.marquee-demo-btn i {
    font-size: 0.7rem;
}

.marquee-card:hover .marquee-demo-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bento-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

.bento-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.bento-large .bento-card-title {
    font-size: 1.6rem;
}

/* Stat card section removed for marquee */

.bento-cta {
    text-align: center;
    margin-top: 60px;
}

/* ==================
   PORTFOLIO (Restauré de l'ancien site)
   ================== */
.portfolio-section {
    padding: 100px 5vw;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.portfolio-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-video {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #000;
}

.card-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .card-video video {
    transform: scale(1.05);
}

.card-info {
    padding: 30px;
}

.card-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #fff;
}

.card-info p {
    font-size: 1rem;
    color: #888;
}

/* ==================
   FOOTER
   ================== */
.cb-footer {
    padding: 100px 0;
    text-align: center;
}

.cb-footer h2 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.cb-btn {
    display: inline-block;
    background-color: var(--cb-text);
    color: var(--cb-bg);
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.cb-btn:hover {
    transform: scale(1.05);
}

/* ==================
   CURSEUR CUBERTO
   ================== */
.cb-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    /* L'effet d'inversion des couleurs Magique */
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cb-cursor.is-active {
    width: 80px;
    height: 80px;
}

/* ==================
   BOUTON FLOTTANT CONTACT
   ================== */
.cb-floating-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    /* Les autres styles sont écrasés par .button d'Uiverse */
}

.cb-floating-btn:hover {
    transform: scale(1.05) translateY(-5px);
    background: #f0f0f0;
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {

    /* === CURSOR === */
    .cb-cursor {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }

    /* === NAVBAR === */
    .cb-menu {
        display: none !important;
    }

    .cb-burger {
        display: flex !important;
    }

    .cb-logo img {
        height: 70px !important;
    }

    .cb-navbar {
        padding: 15px 5vw !important;
    }

    .cb-navbar.is-scrolled {
        width: 90% !important;
        max-width: 400px !important;
        padding: 5px 20px !important;
        border-radius: 40px !important;
    }

    .cb-navbar.is-scrolled .cb-logo img {
        height: 45px !important;
    }

    .cb-navbar.is-scrolled .cb-burger {
        width: 38px !important;
        height: 38px !important;
        gap: 4px !important;
    }

    .cb-navbar.is-scrolled .cb-burger .burger-line {
        width: 16px !important;
    }

    /* === MACBOOK HERO (MOBILE) === */
    .macbook-section {
        height: 200vh !important;
        background: transparent !important;
        position: relative !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .macbook-sticky {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        perspective: 1000px !important;
        width: 100% !important;
    }

    .macbook-header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 48vh !important;
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-top: 10vh !important;
        gap: 0 !important;
        z-index: 5 !important;
    }

    .macbook-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
        letter-spacing: -1px !important;
        padding: 0 25px !important;
        line-height: 1.15 !important;
    }

    .macbook-subtitle {
        font-size: 0.82rem !important;
        padding: 0 35px !important;
        margin-top: 8px !important;
        max-width: 100% !important;
        line-height: 1.4 !important;
        opacity: 0.7 !important;
    }

    .macbook-group {
        position: absolute !important;
        top: 48vh !important;
        width: 82% !important;
        max-width: 420px !important;
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
        margin: 0 auto !important;
        perspective: none !important;
        transform-style: flat !important;
        z-index: 2 !important;
    }

    .macbook-lid {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        border: 6px solid #222 !important;
        border-radius: 14px !important;
        padding: 0 !important;
        background: #000 !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
    }

    .macbook-lid::before,
    .macbook-lid::after {
        display: none !important;
    }

    .macbook-screen {
        border-radius: 8px !important;
        width: 100% !important;
        height: 100% !important;
    }

    .macbook-screen video {
        transform: none !important;
        border-radius: 8px !important;
    }

    .macbook-base {
        display: none !important;
    }

    .macbook-footer {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding-bottom: 10vh !important;
        pointer-events: none;
    }

    .macbook-footer h2 {
        font-size: 1.8rem !important;
        padding: 0 20px !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }

    .macbook-actions {
        pointer-events: auto !important;
        margin-bottom: 0 !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 20px !important;
        display: flex !important;
    }

    .macbook-actions .button {
        width: 80% !important;
        max-width: 250px !important;
        justify-content: center !important;
        height: 2.6rem !important;
        font-size: 0.85rem !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    /* === IPHONE SECTION (MOBILE) === */
    .iphone-section {
        height: auto !important;
        min-height: auto !important;
        background: transparent !important;
        padding: 80px 20px 40px !important;
    }

    .iphone-sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        perspective: none !important;
        width: 100% !important;
        display: block !important;
    }

    .iphone-content {
        flex-direction: column !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .iphone-text-side {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        text-align: center !important;
        align-items: center !important;
        max-width: 100% !important;
    }

    .iphone-text-side h2 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .iphone-text-side p {
        max-width: 100% !important;
        font-size: 0.95rem !important;
    }

    .iphone-text-side .macbook-actions {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .iphone-device-side {
        perspective: none !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .iphone-wrapper {
        position: relative !important;
        transform: none !important;
        perspective: none !important;
        transform-style: flat !important;
    }

    .iphone-device {
        width: 190px !important;
        height: 390px !important;
        border-radius: 32px !important;
        transform: none !important;
        padding: 8px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    }

    .iphone-screen {
        border-radius: 26px !important;
    }

    .iphone-notch {
        width: 70px !important;
        height: 20px !important;
        top: 12px !important;
        border-radius: 10px !important;
    }

    .iphone-glow {
        width: 140px !important;
        height: 30px !important;
        margin-top: 15px !important;
    }

    /* === BENTO GRID === */
    .bento-section {
        padding: 60px 20px 40px !important;
    }

    .bento-header h2 {
        font-size: 1.8rem !important;
    }

    .bento-header p {
        font-size: 0.95rem !important;
        padding: 0 10px !important;
    }

    /* Removed bento grid mobile styles */

    .bento-cta {
        margin-top: 30px !important;
    }

    /* === FOOTER === */
    .cb-footer {
        padding: 50px 20px !important;
    }

    .cb-footer h2 {
        font-size: 1.8rem !important;
    }

    /* === FLOATING BTN === */
    .cb-floating-btn {
        bottom: 20px !important;
        right: 20px !important;
    }

    /* Cache le clavier sur mobile pour simplifier */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    /* === SERVICES SECTION (MOBILE) === */
    .services-section {
        padding: 80px 20px 40px !important;
    }

    .services-header h2 {
        font-size: 2rem !important;
    }

    .services-header p {
        font-size: 0.95rem !important;
    }

    .service-item {
        padding: 24px 0 !important;
    }

    .service-num {
        width: 50px !important;
        font-size: 1.2rem !important;
    }

    .service-content h3 {
        font-size: 1.3rem !important;
    }

    .service-content p {
        font-size: 0.9rem !important;
    }

    .service-arrow {
        width: 40px !important;
        height: 40px !important;
    }

    /* === PROCESS SECTION (MOBILE) === */
    .process-section {
        padding: 80px 20px 40px !important;
    }

    .process-container {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .process-left-sticky {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-height: none !important;
        text-align: center !important;
    }

    .process-left-sticky h2 {
        font-size: 2rem !important;
    }

    .process-left-sticky p {
        font-size: 0.95rem !important;
    }

    .process-progress-container {
        display: none !important;
    }

    .process-right-scroll {
        width: 100% !important;
        gap: 25px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .process-step-card {
        opacity: 1 !important;
        transform: scale(1) !important;
        padding: 30px 24px !important;
    }

    /* === FAQ SECTION (MOBILE) === */
    .faq-section {
        padding: 80px 20px 40px !important;
    }

    .faq-header h2 {
        font-size: 2rem !important;
    }

    .faq-question {
        padding: 20px 24px !important;
        font-size: 1.05rem !important;
    }

    .faq-answer {
        padding: 0 24px 20px 24px !important;
        font-size: 0.9rem !important;
    }
}

/* === SMALL PHONES === */
@media (max-width: 480px) {
    .macbook-title {
        font-size: 1.8rem !important;
    }

    .macbook-footer h2 {
        font-size: 1.4rem !important;
    }

    .iphone-text-side h2 {
        font-size: 1.6rem !important;
    }

    .iphone-device {
        width: 170px !important;
        height: 350px !important;
        border-radius: 28px !important;
    }

    .iphone-screen {
        border-radius: 22px !important;
    }

    /* Removed small screen bento styles */

    .bento-header h2 {
        font-size: 1.5rem !important;
    }

    .cb-footer h2 {
        font-size: 1.4rem !important;
    }

    .process-right-scroll {
        gap: 20px !important;
    }
}

/* ==================
   UIVERSE.IO BUTTON 
   ================== */
button,
.button {
    text-decoration: none;
    outline: none;
    border: none;
}

.button {
    position: relative;
    display: inline-flex;
    height: 3.5rem;
    align-items: center;
    border-radius: 9999px;
    padding-left: 2rem;
    padding-right: 2rem;
    font-family: var(--cb-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fafaf6;
    letter-spacing: -0.02em;
    cursor: pointer !important;
}

.button-item {
    background-color: transparent;
    color: #1d1d1f;
}

.button-item .button-bg {
    border-color: rgba(255, 255, 255);
    background-color: rgba(255, 255, 255);
}

.button-inner {
    position: relative;
    display: block;
    overflow: hidden;
}

.button-inner-static {
    display: block;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.button-inner-hover {
    display: block;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.button-bg {
    overflow: hidden;
    border-radius: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.button-bg,
.button-bg-layer,
.button-bg-layers {
    display: block;
}

.button-bg-layers {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: -60%;
    aspect-ratio: 1 / 1;
    width: max(200%, 10rem);
}

.button-bg-layer {
    border-radius: 9999px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
}

.button-bg-layer.-purple {
    background-color: rgba(66, 140, 228);
}

.button-bg-layer.-turquoise {
    background-color: rgba(66, 140, 228);
}

.button-bg-layer.-yellow {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}

.button:hover .button-inner-static {
    opacity: 0;
    transform: translateY(-100%);
}

.button:hover .button-inner-hover {
    opacity: 1;
    transform: translateY(0);
}

.button:hover .button-bg-layer {
    transition:
        transform 1.3s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.3s linear;
}

.button:hover .button-bg-layer-1 {
    transform: scale(1);
}

.button:hover .button-bg-layer-2 {
    transition-delay: 0.1s;
    transform: scale(1);
}

.button:hover .button-bg-layer-3 {
    transition-delay: 0.2s;
    transform: scale(1);
}

.portfolio-section {
    position: relative;
    /* important for canvas absolute position */
}

/* ==================
   ACETERNITY BACKGROUND LINES
   ================== */
.aceternity-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    /* Background ultime */
    pointer-events: none;
}

.aceternity-lines svg {
    width: 100%;
    height: 100%;
}

.a-line {
    fill: none;
    stroke-linecap: round;
}

/* ==================
   BOUTON FLOTTANT CONTACT
   ================== */
.cb-floating-btn {
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    z-index: 1000 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ==================
   MOBILE MENU & BURGER
   ================== */
.cb-burger {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: background 0.3s, transform 0.3s;
}

.cb-burger:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.burger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

/* Burger active state */
.cb-burger.is-active .line-top {
    transform: translateY(4px) rotate(45deg);
}

.cb-burger.is-active .line-bottom {
    transform: translateY(-4px) rotate(-45deg);
}

/* Overlay menu */
.cb-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cb-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70vh;
    text-align: center;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

.mobile-link {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.cb-mobile-menu.is-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger transition delay for open state */
.cb-mobile-menu.is-open .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.cb-mobile-menu.is-open .mobile-link:nth-child(2) {
    transition-delay: 0.2s;
}

.cb-mobile-menu.is-open .mobile-link:nth-child(3) {
    transition-delay: 0.3s;
}

.cb-mobile-menu.is-open .mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}

.cb-mobile-menu.is-open .mobile-link:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-link:hover {
    color: #428ce4;
    transform: scale(1.05);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.mobile-menu-footer p {
    font-size: 0.9rem;
    color: #888;
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-socials a {
    color: #428ce4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-socials a:hover {
    color: #fff;
}

/* ==================
   STICKY STACK COMPARISON
   ================== */
.sticky-stack-wrapper {
    position: relative;
    padding-bottom: 50px; /* space before next section */
    background: #000;
}

.sticky-card {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.4);
    padding: 0 5vw;
    overflow: hidden;
}

.sticky-card-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-card-content h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.sticky-card-content p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.5;
    max-width: 800px;
}

.sticky-card-content p strong {
    font-weight: 700;
}

/* Card Themes */
.theme-black {
    background: #040404;
    color: #fff;
    z-index: 1;
}

.theme-black h2 { color: #fff; }
.theme-black p { color: #aaa; }
.theme-black p strong { color: #fff; }

.theme-grey {
    background: #111111;
    color: #fff;
    z-index: 2;
}

.theme-grey h2 { color: #fff; }
.theme-grey p { color: #bbb; }
.theme-grey p strong { color: #fff; }

.theme-blue {
    background: #428ce4;
    color: #fff;
    z-index: 3;
}

.theme-blue h2 { color: #fff; }
.theme-blue p { color: rgba(255,255,255,0.9); }
.theme-blue p strong { color: #fff; }

.theme-white {
    background: #ffffff;
    color: #000;
    z-index: 4;
}

.theme-white h2 { color: #000; }
.theme-white p { color: #555; }
.theme-white p strong { color: #000; }

@media (max-width: 768px) {
    .sticky-card {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        box-shadow: 0 -10px 20px rgba(0,0,0,0.2);
    }
}

/* MOBILE: Adapt sticky cards content to fit viewport without overlap */
@media (max-width: 1024px) {
    .sticky-stack-wrapper {
        padding-bottom: 0;
    }

    .sticky-card {
        /* KEEP position: sticky — the scroll effect is intentional */
        min-height: 100vh;
        padding: 0 6vw !important;
    }

    .sticky-card-content {
        padding-right: 0 !important;
        display: flex;
        flex-direction: column;
    }

    .sticky-card-content h2 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        margin-bottom: 20px;
    }

    .sticky-card-content p {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
    }

    .sticky-illu-container {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-top: 30px;
        align-self: center;
    }
}

/* ==================
   SERVICES SECTION (Bento Aceternity)
   ================== */
.services-section {
    padding: 120px 5vw;
    position: relative;
    z-index: 10;
}

.services-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2vw;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.2rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 20px;
    margin-top: 15px;
}

.services-header p {
    font-size: 1.15rem;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services Bento Grid (Image Based) --- */
.services-bento {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.srv-card {
    perspective: 1000px;
    cursor: pointer;
    min-height: 450px;
}

.srv-card-inner {
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.srv-card:hover .srv-card-inner {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(66, 140, 228, 0.3);
}

.srv-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.srv-card:hover .srv-bg-img {
    transform: scale(1.05);
}

.srv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 13, 15, 0.95) 0%, rgba(13, 13, 15, 0.4) 50%, rgba(13, 13, 15, 0.1) 100%);
    z-index: 2;
    transition: background 0.6s ease;
}

.srv-card:hover .srv-overlay {
    background: linear-gradient(to top, rgba(13, 13, 15, 0.95) 0%, rgba(13, 13, 15, 0.6) 60%, rgba(13, 13, 15, 0.3) 100%);
}

.srv-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    transform: translateZ(30px);
}

.srv-num {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #428ce4;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.srv-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.srv-content p {
    font-size: 1.05rem;
    color: #e4e4e7;
    line-height: 1.6;
    max-width: 90%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .services-bento {
        grid-template-columns: 1fr;
    }

    .srv-card {
        min-height: 400px;
    }

    .srv-content h3 {
        font-size: 1.8rem;
    }
}

/* ==================
   PROCESS SECTION
   ================== */
.process-section {
    padding: 120px 5vw;
    position: relative;
    z-index: 10;
    background: radial-gradient(circle at 10% 20%, rgba(66, 140, 228, 0.05) 0%, transparent 50%);
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
    justify-content: space-between;
}

.process-left-sticky {
    position: sticky;
    top: 150px;
    width: 40%;
    max-height: calc(100vh - 200px);
}

.process-left-sticky h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 20px;
    margin-top: 15px;
    line-height: 1.1;
}

.process-left-sticky p {
    font-size: 1.1rem;
    color: #a1a1aa;
    line-height: 1.6;
}

/* Right scrolling content */
.process-right-scroll {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding-top: 50px;
    padding-bottom: 25vh;
}

.process-step-card {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    padding: 30px 0 0 0;
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.25;
    backdrop-filter: none;
}

.process-step-card.active {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
}

.step-badge {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.process-step-card.active .step-badge {
    color: #428ce4;
}

.process-step-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.process-step-card p {
    font-size: 1.05rem;
    color: #a1a1aa;
    line-height: 1.6;
}

/* ==================
   FAQ SECTION
   ================== */
.faq-section {
    padding: 120px 5vw;
    position: relative;
    z-index: 10;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.2rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 20px;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #428ce4;
}

.faq-icon {
    font-size: 1.5rem;
    color: #428ce4;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-active .faq-icon {
    transform: rotate(45deg);
    color: #fff;
}

.faq-content-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 0 30px 24px 30px;
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.6;
}

/* ==================
   LIGHT THEME (Fresh Look)
   ================== */
.light-theme-section {
    background: #f8f9fa !important;
    color: #1a1a1a !important;
    position: relative;
    /* ensure it layers over the background */
    z-index: 10;
}

.light-theme-section h2,
.light-theme-section h3,
.light-theme-section h4 {
    color: #050505 !important;
}

.light-theme-section p,
.light-theme-section .faq-answer {
    padding: 0 30px 24px 30px;
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.6;
}

/* ==================
   BRUTALIST THEME (Serious & Architect)
   ================== */
.brutalist-theme {
    background: #040404 !important;
    /* Extremely dark */
    color: #ffffff !important;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.brutalist-theme h2,
.brutalist-theme h3,
.brutalist-theme h4 {
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.brutalist-theme p,
.brutalist-theme .faq-answer {
    color: #888888 !important;
}

.brutalist-theme .bento-label {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

/* Services Bento */
.brutalist-theme .srv-card-inner {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
}

.brutalist-theme .srv-bg-img {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.brutalist-theme .srv-card:hover .srv-bg-img {
    filter: grayscale(0%);
}

.brutalist-theme .srv-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* Process Section */
.brutalist-theme .process-step-card {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    box-shadow: none;
}

.brutalist-theme .process-step-card.active {
    border-color: #ffffff;
}

.brutalist-theme .step-badge {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

/* FAQ */
.brutalist-theme .faq-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    margin-bottom: -1px;
}

.brutalist-theme .faq-question {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.brutalist-theme .faq-icon {
    color: #ffffff;
}

/* ==================
   ACETERNITY BENTO GRID
   ================== */
.aceternity-bento-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0;
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    background: transparent;
}

@media (min-width: 1024px) {
    .aceternity-bento-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.ac-feat-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.ac-col-span-1 {
    grid-column: span 1 / span 1;
}

@media (min-width: 1024px) {
    .lg-col-span-4 {
        grid-column: span 4 / span 4;
    }

    .lg-col-span-2 {
        grid-column: span 2 / span 2;
    }

    .lg-col-span-3 {
        grid-column: span 3 / span 3;
    }

    .ac-border-r {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }

    .ac-border-b {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 1023px) {
    .ac-border-b {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Typography */
.ac-feat-content {
    position: relative;
    z-index: 20;
}

.ac-feat-content h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.ac-feat-content p {
    font-size: 1.05rem;
    color: #d4d4d8; /* Plus clair et lisible */
    margin-bottom: 1rem;
    max-width: 90%;
    line-height: 1.65;
    font-weight: 400; /* Épaisseur forcée pour éviter le texte baveux/trop fin */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skeletons */
.ac-skeleton {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 250px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Skel One */
.ac-skel-one {
    padding: 2rem 0.5rem 0.5rem 0.5rem;
}

.ac-skel-one-inner {
    background: #111;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.ac-skel-one img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    border-radius: 4px;
}

.ac-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    background: linear-gradient(to top, #080808, transparent);
    z-index: 10;
    pointer-events: none;
}

.ac-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    background: linear-gradient(to bottom, #080808, transparent);
    z-index: 10;
    pointer-events: none;
}

/* Skel Two */
.ac-skel-two {
    overflow: hidden;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

.ac-gallery-row {
    display: flex;
    gap: 1rem;
    margin-left: -2rem;
}

.ac-gallery-img {
    width: 5rem;
    height: 5rem;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    padding: 4px;
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.ac-gallery-img:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 100;
}

.ac-fade-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: linear-gradient(to right, #080808, transparent);
    z-index: 10;
    pointer-events: none;
}

.ac-fade-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: linear-gradient(to left, #080808, transparent);
    z-index: 10;
    pointer-events: none;
}

/* Skel Three */
.ac-video-link {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ac-youtube-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    font-size: 4rem;
    color: #ef4444;
    z-index: 10;
    transition: transform 0.3s ease;
}

.ac-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.ac-video-link:hover .ac-video-thumb {
    filter: blur(4px);
    transform: scale(1.05);
}

.ac-video-link:hover .ac-youtube-icon {
    transform: scale(1.1);
}

/* Skel Four */
.ac-skel-four {
    position: relative;
    overflow: hidden;
}

.ac-globe-canvas {
    position: absolute;
    right: -2rem;
    bottom: -6rem;
    width: 400px !important;
    height: 400px !important;
    max-width: none;
    z-index: 5;
}

/* Skel Beams (Background Beams Effect) */
.ac-skel-beams {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.ac-beams-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-beam {
    position: absolute;
    width: 2px;
    height: 200%;
    background: linear-gradient(180deg, transparent, rgba(66, 140, 228, 0.4), rgba(66, 140, 228, 0.1), transparent);
    animation: ac-beam-move 4s ease-in-out infinite;
    opacity: 0.6;
}

.ac-beam-1 { left: 15%; animation-delay: 0s; transform: rotate(-20deg); }
.ac-beam-2 { left: 30%; animation-delay: 0.8s; transform: rotate(-10deg); height: 180%; }
.ac-beam-3 { left: 50%; animation-delay: 1.5s; transform: rotate(0deg); height: 220%; }
.ac-beam-4 { left: 70%; animation-delay: 0.4s; transform: rotate(10deg); height: 190%; }
.ac-beam-5 { left: 85%; animation-delay: 1.2s; transform: rotate(20deg); }

@keyframes ac-beam-move {
    0%, 100% { opacity: 0.2; transform: translateY(-10%) rotate(var(--r, 0deg)); }
    50% { opacity: 0.7; transform: translateY(10%) rotate(var(--r, 0deg)); }
}

.ac-beam-1 { --r: -20deg; }
.ac-beam-2 { --r: -10deg; }
.ac-beam-3 { --r: 0deg; }
.ac-beam-4 { --r: 10deg; }
.ac-beam-5 { --r: 20deg; }

.ac-beam-center {
    position: relative;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(66, 140, 228, 0.15);
    border: 1px solid rgba(66, 140, 228, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(66, 140, 228, 0.2), 0 0 80px rgba(66, 140, 228, 0.1);
}

.ac-beam-center i {
    font-size: 1.8rem;
    color: #428ce4;
}

/* ==================
   INVERTED THEME (White/Blue)
   ================== */
.inverted-theme {
    background: #fdfdfd !important;
    color: #111111 !important;
}

.inverted-theme h2,
.inverted-theme h3 {
    color: #050505 !important;
}

.inverted-theme p {
    color: #555555 !important;
}

.inverted-theme .process-step-card {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.inverted-theme .process-step-card.active {
    border-color: #428ce4;
}

.inverted-theme .step-badge {
    color: #888888;
}

.inverted-theme .process-step-card.active .step-badge {
    color: #428ce4;
}

.inverted-theme .bento-label {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #428ce4;
}

/* ==================
   BLUE THEME (Conciergeries)
   ================== */
.blue-theme {
    background: #428ce4 !important;
    color: #ffffff !important;
}

.blue-theme h2,
.blue-theme p {
    color: #ffffff !important;
}

.blue-theme .text-glow {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.blue-theme .iphone-features li {
    color: rgba(255, 255, 255, 0.9);
}

.blue-theme .iphone-features i {
    color: #050505;
}

.blue-theme .cb-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==================
   ABOUT SECTION
   ================== */
.about-section {
    padding: 100px 0 60px;
    background: #000;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5vw;
}

.about-logo {
    margin-bottom: 40px;
}

.about-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(66, 140, 228, 0.3));
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
    line-height: 1.1;
}

.about-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 60px;
}

/* MARQUEE */
.marquee-wrapper {
    width: 110%;
    margin-left: -5%;
    overflow: hidden;
    background: #428ce4;
    padding: 20px 0;
    position: relative;
    transform: rotate(-3deg) translateY(20px);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(66, 140, 228, 0.2);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 40px;
    padding-right: 40px;
}

.marquee-content span {
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .about-logo-img {
        height: 80px;
    }
}

/* ==================
   PREMIUM FOOTER
   ================== */
.premium-footer {
    position: relative;
    padding: 120px 5vw 40px;
    background-color: #040404;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(66, 140, 228, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.footer-cta {
    text-align: center;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-cta p {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 500px;
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-brand .footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.footer-brand .footer-logo-img {
    height: 80px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(66, 140, 228, 0.4));
}

.footer-brand p {
    color: #888;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-bounce:hover {
    background: #428ce4;
    border-color: #428ce4;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 20px rgba(66, 140, 228, 0.4);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #aaa;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.legal-links a:hover {
    color: #fff;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #fff;
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media (max-width: 768px) {

    .footer-bottom,
    .footer-legal {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* ==================
   FLIP BOARD EFFECT
   ================== */
.flip-board {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    max-width: 900px;
}

.flip-char {
    width: clamp(30px, 5vw, 45px);
    height: clamp(45px, 7vw, 65px);
    background: linear-gradient(to bottom, #151515 0%, #0a0a0a 100%);
    color: #fff;
    font-family: 'Outfit', monospace;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.5);
    perspective: 500px;
}

.flip-char::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
    z-index: 10;
}

.flip-char-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.flip-char.flipping .flip-char-inner {
    animation: flipAnim 0.1s linear;
}

@keyframes flipAnim {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(-180deg);
    }
}

@media (max-width: 768px) {
    .flip-char {
        gap: 4px;
        border-radius: 4px;
    }
}

/* ==================
   ROUNDED SECTIONS (Curtain Effect Borders)
   ================== */
.iphone-section,
.bento-section,
.services-section,
.process-section,
.faq-section,
.cb-footer {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

/* ==================
   MOBILE OPTIMIZATIONS (Smartphones & Tablets)
   ================== */
@media (max-width: 1024px) {

    /* --- IPHONE SECTION FIXES --- */
    .iphone-section {
        height: auto !important;
        margin-bottom: 0 !important;
        padding: 100px 0 120px !important;
        position: relative !important;
    }
    
    .marquee-3d-wrapper {
        height: auto !important;
        margin-top: -50px !important;
        margin-bottom: 0 !important;
        padding: 30px 0 !important;
    }
    
    .bento-cta {
        margin-top: 60px !important;
        margin-bottom: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .iphone-sticky {
        position: relative !important;
        height: auto !important;
    }

    .iphone-content {
        flex-direction: column !important;
        gap: 60px !important;
        padding: 0 5vw !important;
        margin-top: 0 !important;
    }

    .iphone-device-side {
        order: 2 !important;
        width: 100%;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    @keyframes iphone-mobile-float {
        0%, 100% { transform: scale(1.15) translateY(0); }
        50% { transform: scale(1.15) translateY(-15px); }
    }

    .iphone-wrapper {
        transform: scale(1.15) !important;
        animation: iphone-mobile-float 6s ease-in-out infinite !important;
    }

    .iphone-text-side {
        order: 1 !important;
        text-align: center;
        align-items: center;
        max-width: 100% !important;
    }

    .iphone-text-side-2 {
        order: 3 !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        padding-top: 40px !important;
        margin-top: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* --- SERVICES SECTION --- */
    .services-section {
        padding: 80px 20px !important;
    }

    /* --- PROCESS SECTION --- */
    .process-section {
        position: relative !important;
        z-index: 10 !important;
    }
}

@media (max-width: 768px) {

    /* Hide the floating contact button on mobile to avoid overlapping */
    .cb-floating-btn {
        display: none !important;
    }

    /* Fix Bento Section Padding and Label Visibility */
    .bento-section {
        padding-top: 80px !important;
    }

    .bento-label {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
        z-index: 10 !important;
    }

    /* Hero titre — même taille que "Pour les agences..." */
    .macbook-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
        line-height: 1.15 !important;
        padding: 0 25px !important;
    }

    .macbook-subtitle {
        margin-top: 8px !important;
        line-height: 1.4 !important;
        font-size: 0.82rem !important;
        padding: 0 35px !important;
    }

    /* CTAs centrés auto entre sous-titre et macbook */
    .hero-header-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
        width: 100%;
        padding: 0 20px !important;
    }

    .hero-header-actions .button {
        height: 2.8rem !important;
        font-size: 0.88rem !important;
        padding-left: 1.3rem !important;
        padding-right: 1.3rem !important;
        justify-content: center !important;
    }

    /* Increase general section titles */
    .bento-header h2,
    .services-header h2,
    .process-left-sticky h2,
    .faq-container h2,
    .comparison-header h2 {
        font-size: clamp(3rem, 12vw, 4.5rem) !important;
        line-height: 1.1 !important;
    }

    .iphone-text-side h2 {
        font-size: clamp(3rem, 12vw, 4.5rem) !important;
    }

    /* Improve Macbook Footer Action buttons spacing */
    .macbook-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        gap: 15px;
    }

    .macbook-actions .button {
        width: 100%;
    }

    .macbook-footer {
        bottom: 25vh !important;
    }

    /* Make the macbook footer h2 slightly bigger too */
    .macbook-footer h2 {
        font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
        text-align: center;
        padding: 0 15px;
        line-height: 1.2;
    }
}
/* ==================================
   NEW CONCRETE SKELETON ANIMATIONS
   ================================== */

/* CARD 1: WEBDESIGN (UI MOCKUP) */
.ac-skel-ui {
    background: radial-gradient(circle at center, rgba(30,30,30,0.8), #000);
    padding: 2rem;
    overflow: hidden;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ui-mockup {
    width: 100%;
    max-width: 300px;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    animation: ui-float 6s ease-in-out infinite;
}
@keyframes ui-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.ui-logo {
    width: 40px;
    height: 12px;
    background: rgba(255,255,255,0.8);
    border-radius: 4px;
}
.ui-nav {
    display: flex;
    gap: 6px;
}
.ui-nav span {
    width: 20px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}
.ui-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.ui-title {
    width: 80%;
    height: 20px;
    background: linear-gradient(90deg, #428ce4, #8b5cf6);
    border-radius: 4px;
    animation: ui-build 4s infinite;
}
.ui-subtitle {
    width: 60%;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    animation: ui-build 4s infinite 0.2s;
}
.ui-button {
    width: 80px;
    height: 25px;
    background: #fff;
    border-radius: 20px;
    margin-top: 10px;
    animation: ui-build 4s infinite 0.4s;
}
.ui-cards {
    display: flex;
    gap: 10px;
}
.ui-card {
    flex: 1;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    animation: ui-build 4s infinite 0.6s;
}
@keyframes ui-build {
    0%, 10% { opacity: 0; transform: translateY(10px) scale(0.95); }
    30%, 90% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-10px) scale(1.05); }
}

/* CARD 2: BOOKING SYSTEM */
.ac-skel-booking {
    background: radial-gradient(circle at top right, rgba(139,92,246,0.15), transparent);
    padding: 2rem;
    overflow: hidden;
    position: relative;
    perspective: 1000px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.booking-widget {
    width: 100%;
    max-width: 250px;
    background: rgba(20,20,20,0.9);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
}
.bw-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.bw-header i {
    color: #8b5cf6;
}
.bw-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.bw-input {
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #aaa;
    transition: all 0.3s;
}
.bw-btn {
    background: linear-gradient(90deg, #8b5cf6, #428ce4);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.1s;
}
.bw-cursor {
    position: absolute;
    font-size: 1.5rem;
    color: #fff;
    z-index: 10;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5));
    animation: bw-cursor-anim 5s infinite;
}
.bw-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #10b981;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(16,185,129,0.4);
    animation: bw-success-anim 5s infinite;
}
@keyframes bw-cursor-anim {
    0%, 10% { top: 80%; left: 80%; opacity: 0; }
    15% { top: 80%; left: 80%; opacity: 1; }
    30% { top: 40%; left: 50%; opacity: 1; transform: scale(1); }
    35% { top: 40%; left: 50%; opacity: 1; transform: scale(0.8); }
    40% { top: 40%; left: 50%; opacity: 1; transform: scale(1); }
    55% { top: 75%; left: 50%; opacity: 1; transform: scale(1); }
    60% { top: 75%; left: 50%; opacity: 1; transform: scale(0.8); }
    65% { top: 75%; left: 50%; opacity: 0; transform: scale(1); }
    100% { top: 75%; left: 50%; opacity: 0; }
}
@keyframes bw-success-anim {
    0%, 62% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    65% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    70%, 90% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    95%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* CARD 3: TRANSLATION (INTERNATIONAL) */
.ac-skel-lang {
    background: radial-gradient(circle at bottom right, rgba(66,140,228,0.15), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 2rem;
    flex: 1;
}
.lang-bubble {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    position: relative;
    z-index: 5;
    backdrop-filter: blur(5px);
    overflow: hidden;
}
.lang-bubble::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(66,140,228,0.5), transparent);
    animation: lang-scan 4s infinite;
}
.lang-text {
    animation: lang-text-anim 4s infinite step-end;
}
@keyframes lang-scan {
    0%, 20% { left: -100%; }
    40%, 100% { left: 200%; }
}
@keyframes lang-text-anim {
    0% { content: "Bienvenue"; }
    30% { content: "Welcome"; }
    55% { content: "مرحبا"; }
    80% { content: "Bienvenido"; }
}
.lang-bubble::before {
    content: "Bienvenue";
    animation: lang-text-anim-2 4s infinite step-end;
}
.lang-text { display: none; }
@keyframes lang-text-anim-2 {
    0% { content: "Bienvenue"; }
    30% { content: "Welcome"; }
    55% { content: "مرحبا"; }
    80% { content: "Bienvenido"; }
}
.lang-floating {
    position: absolute;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: #ccc;
    z-index: 2;
    animation: lang-float-anim 4s infinite;
}
.lang-en { top: 20%; left: 10%; animation-delay: 0.2s; }
.lang-es { bottom: 20%; right: 10%; animation-delay: 0.6s; }
.lang-ar { top: 30%; right: 15%; animation-delay: 1.2s; }
.lang-de { bottom: 30%; left: 15%; animation-delay: 1.8s; }
@keyframes lang-float-anim {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 0.8; border-color: rgba(66,140,228,0.5); }
}

/* CARD 4: SEO */
.ac-skel-seo {
    background: radial-gradient(circle at top left, rgba(16,185,129,0.1), transparent);
    padding: 2rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.seo-search {
    width: 100%;
    max-width: 280px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 2;
}
.seo-search i {
    color: #a1a1aa;
}
.seo-typewriter {
    font-size: 0.9rem;
    border-right: 2px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    animation: seo-type 6s infinite;
}
@keyframes seo-type {
    0%, 10% { width: 0; }
    30%, 80% { width: 145px; } /* "Location luxe" */
    90%, 100% { width: 0; }
}
.seo-typewriter::before {
    content: "Location luxe";
}
.seo-result {
    width: 100%;
    max-width: 280px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
    animation: seo-pop 6s infinite;
}
.seo-r1 {
    border-color: rgba(16,185,129,0.4);
    background: rgba(16,185,129,0.05);
    animation-delay: 2s;
    opacity: 0;
}
.seo-r2 {
    animation-delay: 2.2s;
    opacity: 0;
}
.seo-badge {
    display: inline-block;
    background: #10b981;
    color: #000;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.seo-badge-ad {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.seo-result-title {
    width: 80%;
    height: 12px;
    background: rgba(66,140,228,0.8);
    border-radius: 4px;
    margin-bottom: 8px;
}
.seo-r1 .seo-result-title {
    background: #10b981;
}
.seo-result-desc {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}
@keyframes seo-pop {
    0%, 30% { opacity: 0; transform: translateY(20px); }
    35%, 85% { opacity: 1; transform: translateY(0); }
    90%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* ==================
   STICKY CARD ILLUSTRATIONS
   ================== */
.sticky-card-content {
    position: relative;
    padding-right: 150px;
}

.sticky-illu-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.css-illu {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    will-change: transform;
}

/* Chat Illustration */
.illu-chat {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    align-items: flex-start;
}
.chat-bubble {
    height: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    width: 70%;
}
.chat-bubble.right {
    align-self: flex-end;
    background: #4da6ff;
    width: 50%;
}
.chat-bubble.short {
    width: 40%;
}

/* Chart Illustration */
.illu-chart {
    align-items: flex-end;
    padding: 20px;
    gap: 12px;
}
.chart-bar {
    width: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px 4px 0 0;
}
.chart-bar.b1 { height: 30%; }
.chart-bar.b2 { height: 50%; }
.chart-bar.b3 { height: 80%; background: #4da6ff; box-shadow: 0 0 15px rgba(77,166,255,0.5); }

/* Verified Illustration */
.illu-verified {
    position: relative;
}
.check-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4da6ff, #9900ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(77,166,255,0.3);
}
.check-mark {
    width: 20px;
    height: 10px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Lock Illustration */
.illu-lock {
    flex-direction: column;
    gap: 0;
}
.lock-top {
    width: 30px;
    height: 20px;
    border: 4px solid rgba(255,255,255,0.4);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    margin-bottom: -2px;
}
.lock-body {
    width: 50px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lock-keyhole {
    width: 8px;
    height: 12px;
    background: #111;
    border-radius: 4px;
}

.theme-white .css-illu {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.theme-white .lock-body { background: #000; }
.theme-white .lock-keyhole { background: #fff; }
.theme-white .lock-top { border-color: rgba(0,0,0,0.4); }

@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}
@keyframes float-2 {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}
@keyframes float-3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}
@keyframes float-4 {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(15deg); }
}

.illu-float-1 { animation: float-1 4s ease-in-out infinite; }
.illu-float-2 { animation: float-2 5s ease-in-out infinite; }
.illu-float-3 { animation: float-3 4.5s ease-in-out infinite; }
.illu-float-4 { animation: float-4 6s ease-in-out infinite; }

@media (max-width: 768px) {
    .sticky-card-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
    }
    .sticky-illu-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 30px;
        align-self: center;
    }
}
