/* =====================================
   ANBU-STARK CORPORATIVO
   Premium iOS Style
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root{

    --background:#050505;

    --glass:rgba(255,255,255,.05);

    --glass-border:rgba(255,255,255,.10);

    --white:#ffffff;

    --blue:#0A84FF;

    --purple:#BF5AF2;

    --green:#30D158;

    --orange:#FF9F0A;

}

/* =====================
   GLOBAL
===================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:var(--background);

    color:white;

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

    position:relative;

}

/* =====================
   SCROLLBAR
===================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:var(--blue);
    border-radius:20px;
}

/* =====================
   BACKGROUND
===================== */

.bg-gradient{

    position:fixed;

    width:100%;
    height:100%;

    top:0;
    left:0;

    background:
    radial-gradient(circle at top left,
    rgba(10,132,255,.18),
    transparent 35%),

    radial-gradient(circle at bottom right,
    rgba(191,90,242,.18),
    transparent 35%),

    #050505;

    z-index:-10;

}

/* =====================
   FLOATING ORBS
===================== */

.orb{

    position:fixed;

    border-radius:50%;

    filter:blur(40px);

    opacity:.45;

    z-index:-5;

}

.orb-1{

    width:350px;
    height:350px;

    background:var(--blue);

    top:5%;
    left:-5%;

    animation:float1 10s ease-in-out infinite;

}

.orb-2{

    width:250px;
    height:250px;

    background:var(--purple);

    top:50%;
    right:-5%;

    animation:float2 12s ease-in-out infinite;

}

.orb-3{

    width:180px;
    height:180px;

    background:var(--green);

    bottom:5%;
    left:45%;

    animation:float3 8s ease-in-out infinite;

}

/* =====================
   GLASS EFFECT
===================== */

.glass{

    background:

    linear-gradient(

    135deg,

    rgba(255,255,255,.06),

    rgba(255,255,255,.025)

    );

    border:

    1px solid rgba(255,255,255,.06);

    backdrop-filter:blur(24px);

    -webkit-backdrop-filter:blur(24px);

    box-shadow:

    0 10px 40px rgba(0,0,0,.25),

    inset 0 1px 1px rgba(255,255,255,.06);

}
/* =====================
   HERO
===================== */

.hero{

    min-height:85vh;

    padding-top:40px;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:120px 20px;

}

.hero-card{

    max-width:760px;

    padding:45px;

    border-radius:36px;

    margin:auto;

}
.logo{

    width:170px;

    margin-bottom:25px;

}

.hero h1{

    font-size:3.2rem;

    font-weight:800;

    letter-spacing:-2px;

    max-width:650px;

    margin:auto;

}

.hero p{

    max-width:520px;

    margin-left:auto;
    margin-right:auto;

    font-size:1.05rem;

    line-height:1.8;

}

.hero h1 span{

    color:var(--blue);

    text-shadow:
    0 0 20px rgba(10,132,255,.8);

}

.hero p{

    font-size:1.25rem;

    opacity:.8;

    margin-top:25px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:15px;

    justify-content:center;

    flex-wrap:wrap;

}

/* =====================
   SECTIONS
===================== */

.section{

    padding:70px 0;

}

.section-title{

    text-align:center;

    font-size:2.2rem;

    margin-bottom:40px;

    letter-spacing:-2px;

    margin-bottom:70px;

    font-weight:800;

}

/* =====================
   CARDS
===================== */

.service-card{

    padding:28px;

    border-radius:24px;

    transition:.4s;

    height:100%;

}

.service-card:hover{

    transform:
    translateY(-10px)
    scale(1.02);

}

.service-card i{

    font-size:2rem;

    color:var(--blue);

    margin-bottom:20px;

}

.service-card h4{

    margin-bottom:15px;

}

.service-card p{

    opacity:.8;

}

/* =====================
   DEMOS
===================== */

.demo-card{

    padding:40px;

    border-radius:30px;

    min-height:300px;

}

.bot-message{

    background:
    rgba(255,255,255,.08);

    padding:12px 18px;

    border-radius:20px;

    margin-bottom:12px;

}

/* =====================
   CONTACT
===================== */

.contact-card{

    padding:50px;

    border-radius:35px;

}

.contact-card h2{

    margin-bottom:35px;

    text-align:center;

}

.form-control{

    background:
    rgba(255,255,255,.05);

    border:
    1px solid rgba(255,255,255,.10);

    color:white;

}

.form-control:focus{

    background:
    rgba(255,255,255,.08);

    border-color:var(--blue);

    box-shadow:none;

    color:white;

}

textarea{
    resize:none;
}

/* =====================
   BUTTONS
===================== */

.btn-primary{

    background:var(--blue);

    border:none;

}

.btn-primary:hover{

    background:#0065d1;

}

/* =====================
   FOOTER
===================== */

footer{

    text-align:center;

    padding:60px 20px;

}

.footer-logo{

    width:180px;

    margin-bottom:20px;

}

/* =====================
   IOS DOCK
===================== */

.ios-dock{

    position:fixed;

    bottom:18px;

    left:50%;

    transform:translateX(-50%);

    padding:10px 14px;

    border-radius:22px;

    backdrop-filter:blur(35px);

    background:

    rgba(255,255,255,.08);

    border:

    1px solid rgba(255,255,255,.1);

    display:flex;

    gap:8px;

    z-index:9999;

    box-shadow:

    0 15px 40px rgba(0,0,0,.3);

}

.ios-dock a{

    width:48px;
    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:white;

    border-radius:16px;

    transition:.3s;

}

.ios-dock a:hover{

    transform:
    translateY(-10px)
    scale(1.2);

    background:
    rgba(255,255,255,.10);

}

.ios-dock i{

    font-size:1.5rem;

}

/* =====================
   ANIMATIONS
===================== */

@keyframes float1{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-40px);
    }

}

@keyframes float2{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(30px);
    }

}

@keyframes float3{

    0%,100%{
        transform:translateX(0);
    }

    50%{
        transform:translateX(30px);
    }

}

/* =====================
   RESPONSIVE
===================== */

@media(max-width:768px){

    .hero h1{

        font-size:2.5rem;

    }

    .section-title{

        font-size:2rem;

    }

    .hero-card{

        padding:35px;

    }

    .logo{

        width:180px;

    }

    .ios-dock{

        transform:
        translateX(-50%)
        scale(.85);

    }

}

/* ==========================
   FLOATING WHATSAPP
========================== */

.floating-whatsapp{

    position:fixed;

    right:25px;
    bottom:110px;

    width:65px;
    height:65px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:#25D366;

    color:white;

    font-size:2rem;

    text-decoration:none;

    z-index:9999;

    box-shadow:
    0 0 25px rgba(37,211,102,.6);

    animation:
    pulseWhatsapp 2s infinite;

}

@keyframes pulseWhatsapp{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.1);

    }

    100%{

        transform:scale(1);

    }

}

/* ==========================
   PARTICLES
========================== */

.particle{

    position:fixed;

    width:4px;
    height:4px;

    background:
    rgba(255,255,255,.2);

    border-radius:50%;

    pointer-events:none;

    z-index:-1;

    animation:
    particleFloat 12s linear infinite;

}

@keyframes particleFloat{

    from{

        transform:
        translateY(0);

        opacity:0;

    }

    50%{

        opacity:1;

    }

    to{

        transform:
        translateY(-200px);

        opacity:0;

    }

}

/* ==========================
   REVEAL EFFECT
========================== */

.hidden-section{

    opacity:0;

    transform:
    translateY(60px);

    transition:
    all 1s ease;

}

.visible{

    opacity:1;

    transform:
    translateY(0);

}

/* ==========================
   CHATBOT
========================== */

.chat-container{

    display:flex;

    flex-direction:column;

    height:350px;

}

#chatMessages{

    flex:1;

    overflow-y:auto;

    padding:10px;

}

.user-message{

    background:
    linear-gradient(
    135deg,
    #0A84FF,
    #4EA5FF
    );

    color:white;

    padding:12px 18px;

    border-radius:20px;

    margin-bottom:12px;

    margin-left:auto;

    max-width:80%;

    width:fit-content;

}

.bot-message{

    background:
    rgba(255,255,255,.08);

    color:white;

    padding:12px 18px;

    border-radius:20px;

    margin-bottom:12px;

    max-width:80%;

}

.chat-input-area{

    display:flex;

    gap:10px;

    margin-top:15px;

}

.chat-input-area input{

    flex:1;

    background:
    rgba(255,255,255,.05);

    border:
    1px solid rgba(255,255,255,.1);

    color:white;

    border-radius:15px;

    padding:12px;

}

.chat-input-area button{

    background:#0A84FF;

    color:white;

    border:none;

    border-radius:15px;

    padding:12px 20px;

    cursor:pointer;

    transition:.3s;

}

.chat-input-area button:hover{

    transform:scale(1.05);

}

/* ==========================
   CALENDAR DEMO
========================== */

.calendar-demo{

    margin-top:20px;

}

.time-slots{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:20px;

}

.time-slot{

    background:
    rgba(255,255,255,.06);

    border:
    1px solid rgba(255,255,255,.1);

    color:white;

    border-radius:14px;

    padding:10px 16px;

    cursor:pointer;

    transition:.3s;

}

.time-slot:hover{

    transform:translateY(-3px);

    border-color:#0A84FF;

}

.selected-slot{

    background:#0A84FF;

    border-color:#0A84FF;

}

.appointment-success{

    background:
    rgba(48,209,88,.15);

    border:
    1px solid rgba(48,209,88,.35);

    color:#30D158;

    border-radius:16px;

    padding:20px;

    margin-top:15px;

}

/* ==========================
   PAYMENT DEMO
========================== */

/* ==================================
   COMPACT PAYMENT
================================== */

.payment-demo{

    display:grid;

    grid-template-columns:
    320px 1fr;

    gap:30px;

    align-items:center;

    margin-top:20px;

}

.credit-card{

    width:100%;

    max-width:320px;

    height:190px;

    border-radius:26px;

    padding:22px;

    position:relative;

    background:

    linear-gradient(

    135deg,

    #0A84FF,

    #6A5CFF,

    #BF5AF2

    );

    box-shadow:

    0 25px 60px
    rgba(10,132,255,.18);

    color:white;

    overflow:hidden;

    transform:

    rotateX(8deg)
    rotateY(-8deg);

}

.credit-card::before{

    content:'';

    position:absolute;

    width:250px;
    height:250px;

    background:
    rgba(255,255,255,.08);

    border-radius:50%;

    top:-120px;
    right:-120px;

}

.card-chip{

    width:45px;
    height:34px;

    border-radius:10px;

    background:

    linear-gradient(

    135deg,

    rgba(255,255,255,.6),

    rgba(255,255,255,.2)

    );

    margin-bottom:28px;

}

.card-number{

    font-size:1rem;

    letter-spacing:2px;

    margin-bottom:22px;

    opacity:.95;

}

.card-footer{

    display:flex;

    justify-content:space-between;

}

.card-footer small{

    opacity:.7;

}

.payment-form{

    width:100%;

}

.payment-success{

    margin-top:20px;

    padding:25px;

    border-radius:20px;

    background:
    rgba(48,209,88,.15);

    border:
    1px solid
    rgba(48,209,88,.3);

    color:#30D158;

}

.payment-success h4{

    margin-bottom:10px;

}

/* RESPONSIVE */

@media(max-width:991px){

    .payment-demo{

        grid-template-columns:1fr;

    }

}

/* ==================================
   APPLE SHOWCASE
================================== */

.portfolio-subtitle{

    text-align:center;

    opacity:.7;

    margin-bottom:60px;

    font-size:1.1rem;

}

.showcase-container{

    display:flex;

    justify-content:center;

    gap:16px;

    flex-wrap:wrap;

    perspective:2000px;

}

.showcase-card{

    width:260px;

    height:420px;

    border-radius:35px;

    overflow:hidden;

    position:relative;

    cursor:pointer;

    background:

    rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:

    1px solid rgba(255,255,255,.1);

    transition:

    transform .4s ease,

    box-shadow .4s ease;

}

.showcase-card:hover{

    transform:

    translateY(-15px)

    rotateX(8deg)

    rotateY(-8deg);

    box-shadow:

    0 40px 80px

    rgba(10,132,255,.25);

}

.showcase-card img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:
    transform .8s ease;

}

.showcase-card:hover img{

    transform:scale(1.08);

}

.showcase-content{

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    padding:25px;

    background:

    linear-gradient(

    transparent,

    rgba(0,0,0,.95)

    );

}

.showcase-content h3{

    margin-bottom:8px;

}

.showcase-content p{

    opacity:.8;

}

.showcase-glow{

    position:absolute;

    width:200px;

    height:200px;

    border-radius:50%;

    background:

    rgba(10,132,255,.18);

    filter:blur(60px);

    top:-60px;

    right:-60px;

}

.showcase-card::after{

    content:'';

    position:absolute;

    top:0;
    left:-150%;

    width:80%;

    height:100%;

    background:

    linear-gradient(

    90deg,

    transparent,

    rgba(255,255,255,.15),

    transparent

    );

    transform:skewX(-20deg);

}

.showcase-card:hover::after{

    animation:
    shine 1.2s ease;

}

@keyframes shine{

    from{

        left:-150%;

    }

    to{

        left:180%;

    }

}

/* ==========================
   STATS
========================== */

.stat-card{

    padding:40px;

    border-radius:30px;

    text-align:center;

}

.counter{

    font-size:3rem;

    font-weight:800;

    color:#0A84FF;

}

.stat-card p{

    margin-top:10px;

    opacity:.8;

}

/* ==========================
   TIMELINE
========================== */

.timeline{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.timeline-item{

    padding:35px;

    border-radius:25px;

    background:
    rgba(255,255,255,.05);

    border:
    1px solid rgba(255,255,255,.1);

}

.timeline-item span{

    width:60px;
    height:60px;

    display:flex;

    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:#0A84FF;

    font-size:1.4rem;

    font-weight:700;

    margin-bottom:20px;

}

/* ==================================
   IPAD LAYOUT
================================== */

.container{

    max-width:1200px !important;

}

body::before{

    content:'';

    position:fixed;

    inset:0;

    background:

    radial-gradient(

    circle at center,

    rgba(10,132,255,.05),

    transparent 60%

    );

    pointer-events:none;

    z-index:-3;

}

.hero-card,
.service-card,
.demo-card,
.contact-card,
.stat-card{

    transform-style:

    preserve-3d;

}

#cursor{

    width:24px;
    height:24px;

    border-radius:50%;

    position:fixed;

    pointer-events:none;

    z-index:999999;

    background:

    rgba(255,255,255,.08);

    border:

    1px solid rgba(255,255,255,.4);

    backdrop-filter:blur(12px);

    transform:

    translate(-50%,-50%);

    transition:

    width .2s ease,
    height .2s ease,
    transform .08s linear;

}

/* ==================================
   HERO VISIONOS
================================== */

.hero-layout{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    align-items:center;

    gap:60px;

}

.hero-left{

    display:flex;

    justify-content:center;

}

.hero-right{

    display:flex;

    justify-content:center;

    align-items:center;

}

/* ==========================
   IPHONE
========================== */

.iphone-scene{

    perspective:2000px;

}

.iphone{

    width:260px;

    height:530px;

    border-radius:60px;

    background:#111;

    padding:14px;

    position:relative;

    transform-style:preserve-3d;

    transform:

    rotateX(8deg)
    rotateY(-12deg);

    box-shadow:

    0 60px 120px
    rgba(0,0,0,.6),

    0 0 80px
    rgba(10,132,255,.15);

    transition:
    transform .2s ease;

}

.iphone::before{

    content:'';

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    border-radius:60px;

    border:

    1px solid rgba(255,255,255,.08);

    pointer-events:none;

}

.iphone-screen{

    width:100%;
    height:100%;

    overflow:hidden;

    border-radius:48px;

    position:relative;

}

.iphone-screen img{

    width:100%;
    height:100%;

    object-fit:cover;

}

/* NOTCH */

.iphone-screen::before{

    content:'';

    position:absolute;

    width:140px;
    height:34px;

    background:#000;

    top:12px;
    left:50%;

    transform:translateX(-50%);

    border-radius:20px;

    z-index:10;

}

/* REFLECTION */

.iphone-reflection{

    position:absolute;

    top:0;
    left:-50%;

    width:60%;

    height:100%;

    background:

    linear-gradient(

    90deg,

    transparent,

    rgba(255,255,255,.18),

    transparent

    );

    transform:

    skewX(-20deg);

    animation:
    reflectionMove 6s infinite;

}

@keyframes reflectionMove{

    0%{

        left:-60%;

    }

    100%{

        left:140%;

    }

}

/* FLOAT */

.iphone{

    animation:
    floatPhone 6s ease-in-out infinite;

}

@keyframes floatPhone{

    0%,100%{

        transform:

        rotateX(8deg)
        rotateY(-12deg)
        translateY(0px);

    }

    50%{

        transform:

        rotateX(10deg)
        rotateY(-10deg)
        translateY(-20px);

    }

}

@media(max-width:991px){

    .hero-layout{

        grid-template-columns:1fr;

    }

    .iphone{

        width:260px;

        height:540px;

    }

}

/* ==================================
   LOADER
================================== */

#loader{

    position:fixed;

    inset:0;

    background:#050505;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:999999;

    transition:
    opacity .8s ease,
    visibility .8s ease;

}

.loader-hidden{

    opacity:0;

    visibility:hidden;

}

.loader-content{

    text-align:center;

}

.loader-logo{

    width:140px;

    margin-bottom:30px;

    animation:
    pulseLogo 2s infinite;

}

.loader-bar{

    width:220px;

    height:6px;

    background:
    rgba(255,255,255,.08);

    border-radius:20px;

    overflow:hidden;

}

.loader-progress{

    width:0%;

    height:100%;

    background:

    linear-gradient(

    90deg,

    #0A84FF,

    #BF5AF2

    );

    animation:
    loadingBar 3s ease forwards;

}

@keyframes loadingBar{

    to{

        width:100%;

    }

}

@keyframes pulseLogo{

    0%,100%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.05);

    }

}

/* ==================================
   AURORA BACKGROUND
================================== */

body::after{

    content:'';

    position:fixed;

    inset:0;

    background:

    radial-gradient(

    circle at 20% 20%,

    rgba(10,132,255,.12),

    transparent 30%

    ),

    radial-gradient(

    circle at 80% 30%,

    rgba(191,90,242,.12),

    transparent 30%

    ),

    radial-gradient(

    circle at 50% 80%,

    rgba(48,209,88,.08),

    transparent 30%

    );

    animation:
    auroraMove 14s ease infinite;

    pointer-events:none;

    z-index:-4;

}

@keyframes auroraMove{

    0%{

        transform:
        translate(0,0)
        scale(1);

    }

    50%{

        transform:
        translate(-20px,-30px)
        scale(1.08);

    }

    100%{

        transform:
        translate(0,0)
        scale(1);

    }

}


/* ==================================
   NOISE
================================== */

.noise{

    position:fixed;

    inset:0;

    opacity:.035;

    pointer-events:none;

    z-index:9999;

    background-image:url(
    "https://grainy-gradients.vercel.app/noise.svg"
    );

}

/* ==================================
   CINEMATIC REVEAL
================================== */

.reveal{

    opacity:0;

    transform:

    translateY(80px)
    scale(.95);

    transition:

    opacity 1.2s ease,
    transform 1.2s ease;

}

.reveal.active{

    opacity:1;

    transform:

    translateY(0)
    scale(1);

}

*{

    transition:

    background-color .3s ease,
    border-color .3s ease,
    color .3s ease;

}

/* ==================================
   APPLE STORY
================================== */

.story-section{

    position:relative;

    height:300vh;

}

.story-track{

    position:sticky;

    top:0;

    height:100vh;

    display:flex;

    overflow:hidden;

}

.story-panel{

    min-width:100vw;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}

.story-content{

    max-width:700px;

    text-align:center;

    padding:40px;

}

.story-content h2{

    font-size:5rem;

    font-weight:800;

    line-height:1;

    letter-spacing:-4px;

    margin-bottom:25px;

}

.story-content p{

    font-size:1.2rem;

    opacity:.75;

    line-height:1.8;

}

/* PANEL COLORS */

.story-panel:nth-child(1){

    background:

    radial-gradient(

    circle at center,

    rgba(10,132,255,.08),

    transparent 60%

    );

}

.story-panel:nth-child(2){

    background:

    radial-gradient(

    circle at center,

    rgba(191,90,242,.08),

    transparent 60%

    );

}

.story-panel:nth-child(3){

    background:

    radial-gradient(

    circle at center,

    rgba(48,209,88,.08),

    transparent 60%

    );

}


/* ==================================
   DEPTH
================================== */

.story-content{

    transform:

    translateZ(50px);

}

.story-content h2{

    text-shadow:

    0 10px 40px rgba(0,0,0,.4);

}

.section-title{

    background:

    linear-gradient(

    90deg,

    white,

    rgba(255,255,255,.5)

    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

/* ==================================
   COMPACT LAYOUT
================================== */

.row{

    --bs-gutter-x:1rem;

    --bs-gutter-y:1rem;

}

.demo-card,
.service-card,
.stat-card,
.timeline-item{

    margin-bottom:0;

}

.payment-form{

    max-width:480px;

}

.payment-form .form-control{

    height:48px;

    border-radius:14px;

    font-size:.95rem;

}

.service-card,
.demo-card,
.stat-card{

    border-radius:24px;

}

/* ==================================
   WEBGL
================================== */

#webgl{

    position:fixed;

    inset:0;

    width:100%;

    height:100%;

    z-index:-20;

    opacity:.6;

}

/* ==================================
   IPADOS SIMULATION STYLES
   ================================== */

.ipad-simulator {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Status Bar */
.ipad-status-bar {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1010;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.status-left, .status-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-left span {
    letter-spacing: 0.5px;
}

.status-right i {
    font-size: 0.95rem;
}

.status-network {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.8;
}

.battery-percent {
    font-size: 0.8rem;
    margin-right: -4px;
}

.status-center {
    display: flex;
    justify-content: center;
    flex: 1;
    pointer-events: none;
}

.ipad-camera {
    width: 60px;
    height: 6px;
    background: #000;
    border-radius: 10px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
}

/* Home Screen Desktop */
.ipad-home-screen {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 110px;
    z-index: 100;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 1;
    transform: scale(1);
}

.ipad-home-screen.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.ipad-home-content {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    max-width: 1140px;
    width: 100%;
    padding: 0 30px;
    align-items: center;
}

/* iOS Widget (Today View) */
.ipad-widget {
    border-radius: 28px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(35px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

.widget-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.widget-logo {
    width: 40px;
    height: auto;
}

.widget-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-left: 12px;
}

.ipad-widget h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ipad-widget p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.75;
    margin-bottom: 20px;
}

/* App Grid */
.ipad-app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    justify-content: center;
    align-content: center;
}

.ipad-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ipad-app-item:hover {
    transform: scale(1.08);
}

.ipad-app-item:active {
    transform: scale(0.92);
}

.ipad-app-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    color: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    transition: all 0.3s ease;
    overflow: hidden;
}

.ipad-app-icon img {
    width: 65%;
    height: auto;
    object-fit: contain;
}

.ipad-app-icon i {
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ipad-app-label {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    text-align: center;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.85);
    white-space: nowrap;
}

/* App Icon Custom Gradients */
.app-anbustark {
    background: linear-gradient(135deg, #18181b, #09090b);
    border: 1px solid rgba(255,255,255,0.08);
}
.app-anbustark img {
    filter: drop-shadow(0 2px 6px rgba(10,132,255,0.25));
}

.app-chatbot {
    background: linear-gradient(135deg, #30D158, #248a3d);
}

.app-citas {
    background: linear-gradient(135deg, #FF9F0A, #cc7800);
}

.app-pagos {
    background: linear-gradient(135deg, #5E5CE6, #3b3a9e);
}

.app-proyectos {
    background: linear-gradient(135deg, #BF5AF2, #8d2cb3);
}

.app-contacto {
    background: linear-gradient(135deg, #0A84FF, #005cc2);
}

/* App Windows Container */
.ipad-window-container {
    position: absolute;
    inset: 40px 0 95px 0;
    pointer-events: none;
    z-index: 500;
}

.ipad-window {
    position: absolute;
    inset: 20px 40px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    z-index: 1;
    background: rgba(10, 10, 10, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255,255,255,0.08) !important;
}

.ipad-window.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    z-index: 10;
}

/* Window Header */
.ipad-window-header {
    height: 54px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    user-select: none;
}

.window-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    transition: background 0.2s ease;
}

.control-dot.close {
    background: #FF453A;
    cursor: pointer;
}
.control-dot.close:hover {
    background: #ff2d20;
}

.control-dot.minimize {
    background: #FFD60A;
}

.control-dot.maximize {
    background: #30D158;
}

.window-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2px;
}

.window-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.window-close-btn:hover {
    color: #FF453A;
}

/* Window Content Area */
.ipad-window-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scroll-behavior: smooth;
}

.ipad-window-content::-webkit-scrollbar {
    width: 6px;
}

.ipad-window-content::-webkit-scrollbar-track {
    background: transparent;
}

.ipad-window-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}

.ipad-window-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* iPad Bottom Dock (Override) */
.ios-dock {
    position: fixed !important;
    bottom: 22px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: 76px !important;
    padding: 0 18px !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
    z-index: 1000 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05) !important;
    transition: all 0.3s ease !important;
}

.ios-dock a {
    width: 56px !important;
    height: 56px !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-decoration: none !important;
    position: relative !important;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease !important;
    background-size: cover;
}

.ios-dock a img {
    width: 60% !important;
    height: auto !important;
}

.ios-dock a i {
    font-size: 1.7rem !important;
}

.ios-dock a:hover {
    background: rgba(255,255,255,0.08) !important;
}

/* Active indicator dots on dock */
.dock-dot {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: white;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), bottom 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ios-dock a.active .dock-dot {
    opacity: 0.8;
}

/* iOS Home Indicator Bar */
.ipad-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    z-index: 1010;
    cursor: pointer;
    transition: background-color 0.2s ease, width 0.3s ease;
}

.ipad-home-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .ipad-home-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 580px;
        padding-bottom: 30px;
    }
    
    .ipad-widget {
        min-height: auto;
        padding: 24px;
    }
    
    .ipad-widget h2 {
        font-size: 1.5rem;
    }
    
    .ipad-app-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .ipad-app-icon {
        width: 76px;
        height: 76px;
        border-radius: 17px;
        font-size: 2rem;
    }
    
    .ipad-window {
        inset: 10px 15px 85px 15px;
        border-radius: 20px;
    }
    
    .ipad-window-header {
        height: 48px;
    }
}

@media (max-width: 768px) {
    .ipad-status-bar {
        padding: 0 16px;
    }
    
    .status-center {
        display: none;
    }
    
    .ipad-app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 15px;
    }
    
    .ios-dock {
        height: 68px !important;
        gap: 12px !important;
        padding: 0 12px !important;
        border-radius: 22px !important;
    }
    
    .ios-dock a {
        width: 48px !important;
        height: 48px !important;
        border-radius: 11px !important;
    }
    
    .ios-dock a i {
        font-size: 1.4rem !important;
    }
    
    .ipad-window {
        inset: 0 0 76px 0;
        border-radius: 0;
        border: none !important;
    }
    
    .ipad-home-indicator {
        width: 140px;
        bottom: 5px;
    }
}

@media (max-width: 480px) {
    .ipad-app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 10px;
    }
    
    .ipad-app-icon {
        width: 68px;
        height: 68px;
        border-radius: 15px;
        font-size: 1.8rem;
    }
    
    .ipad-app-label {
        font-size: 0.75rem;
    }
    
    .ipad-widget {
        display: none; /* Hide widget on very small phones to save space */
    }
}

/* Smooth active state on buttons inside apps */
.ipad-window-content .btn {
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.ipad-window-content .btn-primary {
    background: #0A84FF;
    border: none;
}
.ipad-window-content .btn-primary:hover {
    background: #0070e3;
    transform: translateY(-2px);
}
.ipad-window-content .btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}


/* ==========================================================================
   CHATBOT CONFIGURATOR & SIMULATOR (MODAL TRANSPARENTE DIVIDIDO)
   ========================================================================== */

.chatbot-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 6, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.chatbot-modal-container {
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: rgba(10, 10, 14, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transform: scale(0.95) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease;
    opacity: 0;
}

.chatbot-modal-overlay.show .chatbot-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.chatbot-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10020;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chatbot-modal-close:hover {
    background: rgba(255, 69, 58, 0.15);
    border-color: rgba(255, 69, 58, 0.3);
    color: #FF453A;
    transform: rotate(90deg) scale(1.05);
}

.chatbot-modal-split {
    display: flex;
    height: 100%;
    width: 100%;
}

.chatbot-modal-left,
.chatbot-modal-right {
    width: 50%;
    height: 100%;
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.chatbot-modal-left {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
}

.chatbot-modal-left::-webkit-scrollbar {
    width: 6px;
}
.chatbot-modal-left::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-modal-left::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.chatbot-modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.chatbot-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.75));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.chatbot-modal-subtitle {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 20px;
    line-height: 1.45;
}

/* Configurator Form Styling */
.chatbot-config-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 18px;
    transition: all 0.3s ease;
}

.config-group:hover {
    border-color: rgba(10, 132, 255, 0.15);
    background: rgba(255, 255, 255, 0.035);
}

.config-group .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    display: inline-block;
}

.config-group .form-control {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    color: #fff !important;
    font-size: 0.85rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.config-group .form-control:focus {
    border-color: var(--blue) !important;
    box-shadow: 0 0 10px rgba(10, 132, 255, 0.25) !important;
    background: rgba(0, 0, 0, 0.4) !important;
}

.config-group textarea.form-control {
    resize: none;
}

.config-group .form-text {
    font-size: 0.75rem;
    opacity: 0.55;
}

/* Right Panel: Mock Website Preview */
.chatbot-modal-right {
    background: rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.mock-website-preview {
    flex: 1;
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #090a10, #111322);
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.75),
                0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Mock Web Nav */
.mock-web-nav {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    user-select: none;
}

.mock-web-logo {
    font-weight: 800;
    letter-spacing: -0.2px;
}

.mock-web-menu {
    display: flex;
    gap: 12px;
    opacity: 0.6;
}

.mock-web-menu span {
    font-size: 0.7rem;
}

/* Mock Web Hero */
.mock-web-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    padding-bottom: 70px;
}

.mock-web-hero h4 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mock-web-hero p {
    font-size: 0.8rem;
    opacity: 0.65;
    max-width: 300px;
    margin-bottom: 15px;
    line-height: 1.45;
}

/* Mock Bot Bubble Launcher */
.mock-bot-bubble {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #30D158, #20993d);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(48, 209, 88, 0.4);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mock-bot-bubble:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 25px rgba(48, 209, 88, 0.5);
}

.mock-bot-bubble:active {
    transform: scale(0.95);
}

.mock-bot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #FF453A;
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 6px;
    box-shadow: 0 3px 8px rgba(255, 69, 58, 0.4);
    animation: bounceBadge 2s infinite;
}

@keyframes bounceBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.pulse-green {
    animation: pulseGreenAnimation 2s infinite;
}

@keyframes pulseGreenAnimation {
    0% {
        box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(48, 209, 88, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(48, 209, 88, 0);
    }
}

/* Mock Chat Window Widget */
.mock-chat-box {
    position: absolute;
    bottom: 80px;
    right: 18px;
    width: 300px;
    height: 380px;
    border-radius: 20px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(12, 14, 24, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    transform: scale(1) translateY(0);
}

.mock-chat-box.hide {
    opacity: 0;
    transform: scale(0.85) translateY(40px);
    pointer-events: none;
}

/* Chat Header */
.mock-chat-header {
    height: 56px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-chat-avatar-wrapper {
    position: relative;
    margin-right: 10px;
}

.mock-chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A84FF, #005cc2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: #30D158;
    border: 1.8px solid #0d0f19;
    border-radius: 50%;
    box-shadow: 0 0 8px #30D158;
}

.mock-chat-info {
    flex: 1;
}

.mock-chat-info h5 {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.mock-chat-info span {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    display: block;
}

.mock-chat-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.mock-chat-close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Chat Body Messages */
.mock-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-chat-body::-webkit-scrollbar {
    width: 4px;
}
.mock-chat-body::-webkit-scrollbar-track {
    background: transparent;
}
.mock-chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.mock-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.78rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-msg {
    background: rgba(255, 255, 255, 0.06);
    color: #e5e5ea;
    align-self: flex-start;
    border-bottom-left-radius: 3px;
}

.user-msg {
    background: linear-gradient(135deg, #0A84FF, #0066cc);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 3px;
    box-shadow: 0 4px 10px rgba(10, 132, 255, 0.15);
}

/* Quick Replies */
.quick-replies-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    width: 100%;
}

.quick-reply-btn {
    width: 100%;
    background: rgba(10, 132, 255, 0.06);
    border: 1px solid rgba(10, 132, 255, 0.15);
    color: #0A84FF;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.74rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: normal;
}

.quick-reply-btn:hover {
    background: rgba(10, 132, 255, 0.12);
    border-color: #0A84FF;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(10, 132, 255, 0.12);
}

.quick-reply-btn:active {
    transform: translateY(0);
}

/* Chat Footer Input */
.mock-chat-footer {
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 8px;
    align-items: center;
}

.mock-chat-footer input {
    flex: 1;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    color: white;
    font-size: 0.8rem;
    padding: 7px 10px;
    outline: none;
}

.mock-chat-footer input:focus {
    border-color: var(--blue) !important;
}

.mock-chat-footer button {
    background: #0A84FF;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
}

.mock-chat-footer button:hover {
    background: #0070e3;
    transform: scale(1.08);
}

.mock-chat-footer button:active {
    transform: scale(0.95);
}

/* Typing Indicator Animation */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    align-self: flex-start;
}

.typing-dot {
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Direct WhatsApp Button */
.btn-whatsapp-direct {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #25D366, #1c9e4b);
    color: white !important;
    font-weight: 600;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.74rem;
    margin-top: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
    border: none;
}

.btn-whatsapp-direct:hover {
    background: linear-gradient(135deg, #2bf077, #20b054);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-direct i {
    font-size: 0.9rem !important;
}

/* Fade in class */
.animate-fade-in {
    animation: fadeInMsg 0.25s ease forwards;
}

@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive modal logic */
@media (max-width: 991px) {
    .chatbot-modal-container {
        height: 90vh;
        margin: 5vh auto;
    }
    .chatbot-modal-split {
        flex-direction: column;
        overflow-y: auto;
    }
    .chatbot-modal-left,
    .chatbot-modal-right {
        width: 100%;
        height: auto;
    }
    .chatbot-modal-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 25px;
        overflow-y: visible;
    }
    .mock-website-preview {
        height: 350px;
    }
}

/* ==========================================================================
   STYLE OVERRIDES FOR STANDALONE CITAS & PAGOS MODALS
   ========================================================================== */

.chatbot-modal-right .payment-demo {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    justify-items: center !important;
}

.chatbot-modal-right .credit-card {
    margin: 0 auto !important;
    transform: rotateX(4deg) rotateY(-4deg) !important;
    max-width: 280px !important;
    height: 165px !important;
    padding: 16px !important;
}

.chatbot-modal-right .card-chip {
    margin-bottom: 14px !important;
}

.chatbot-modal-right .card-number {
    font-size: 0.9rem !important;
    margin-bottom: 14px !important;
}

.chatbot-modal-right .payment-form {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
}

.chatbot-modal-right .payment-form .form-control {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    font-size: 0.8rem !important;
}

.mock-calendar-box, .mock-payment-box {
    background: rgba(12, 14, 24, 0.45);
    border-radius: 16px;
    height: 100%;
}

.mock-calendar-box .time-slots {
    margin-top: 12px;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
}

.mock-calendar-box .time-slot {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 10px;
}

.mock-calendar-box input[type="date"] {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    border-radius: 10px;
    font-size: 0.85rem;
    padding: 6px 10px;
}
