:root {
    /* 🎨 PALETA DE COLORES OFICIAL IHRESERVAS (Dark Luxury) */
    --bg-main: #0a0a0c;
    --bg-container: rgba(20, 20, 30, 0.95);
    --primary: #ffffff;
    --text-light: #94a3b8;
    --accent: #3b82f6;
    /* Azul Principal */
    --border: rgba(255, 255, 255, 0.08);

    /* Colores VIP / Premium */
    --gold: #fbbf24;
    --silver: #cbd5e1;

    /* Efectos Core */
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    --radius: 28px;
    --radius-sm: 18px;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.luxury-text {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.text-gold {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.text-accent {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

#main-logo {
    height: 72px;
    /* Expandido */
    width: auto;
    border-radius: 0;
    /* Sin círculo */
    border: none;
    /* Sin borde */
    opacity: 1;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: none;
    font-size: 13px;
    text-align: center;
}

.btn-primary,
.btn-primary-nav {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: black;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-addon-ai {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--gold);
    padding: 10px 20px;
    font-size: 11px;
    backdrop-filter: blur(10px);
}

.btn-addon-ai:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.btn:hover {
    transform: translateY(-4px);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px 5%;
    min-height: 80vh;
    max-width: 1300px;
    margin: 0 auto;
    gap: 60px;
}

.hero h1 {
    font-size: 72px;
    line-height: 1;
    margin: 20px 0 30px 0;
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 45px;
    max-width: 650px;
    line-height: 1.5;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.mockup {
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: 0.8s;
}

.mockup:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0);
}

.dashboard-img {
    width: 550px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-num::after {
    content: "";
    display: block;
    width: 20px;
    height: 3px;
    background: var(--accent);
    margin-top: 5px;
}

.stat-lab {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: 700;
}

/* Floor Plan Tracker */
.table-tracker-ui {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.table-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid var(--border);
    color: var(--text-light);
    opacity: 0.5;
}

.table-pill.active {
    opacity: 1;
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Común para secciones Flex */
.container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.container-flex.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-text h2 {
    font-size: 48px;
    margin: 15px 0;
}

.content-text h3 {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 400;
}

.content-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* AI Section */
.ai-section {
    background: rgba(251, 191, 36, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.phone-mockup {
    width: 320px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border: 8px solid #1a1a1a;
}

.ai-list {
    list-style: none;
}

.ai-list li {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.ai-list li::before {
    content: "✨";
    margin-right: 15px;
}

/* AI Features Grid */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius-sm);
    transition: 0.3s ease;
}

.ai-feature-card:hover {
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-5px);
}

.ai-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.ai-feature-card p {
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Features Grid */
.features-grid-section {
    padding: 120px 5%;
    background: var(--bg-main);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    padding: 50px 35px;
    text-align: center;
    border-radius: var(--radius);
}

.feature-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-item:nth-child(1) .feature-icon svg { color: var(--accent); filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5)); }
.feature-item:nth-child(2) .feature-icon svg { color: #f59e0b; filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5)); }
.feature-item:nth-child(3) .feature-icon svg { color: var(--gold); filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5)); }
.feature-item:nth-child(4) .feature-icon svg { color: #10b981; filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5)); }

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Widget Section */
.widget-mockup {
    width: 350px;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(59, 130, 246, 0.2);
}

/* Pricing */
.pricing {
    padding: 120px 5%;
    text-align: center;
    background: rgba(59, 130, 246, 0.02);
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-header h2 {
    font-size: 52px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent);
    font-size: 11px;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 60px 40px;
    background: var(--bg-container);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.4s;
}

.price-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
}

.price-card.featured {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.15);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%), var(--bg-container);
}

.price-card.imperial {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.05) 0%, transparent 100%), var(--bg-container);
    position: relative;
}

.price-card.imperial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, transparent 40%, rgba(251, 191, 36, 0.25) 50%, transparent 60%, transparent 100%);
    background-size: 200% 100%;
    animation: shineEffect 5s infinite;
    z-index: 1;
}

@keyframes shineEffect {
    0%, 60% { background-position: 200% 0; }
    80%, 100% { background-position: -200% 0; }
}

.popular-badge {
    position: absolute;
    top: -18px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 11px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.price-card.imperial .popular-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: bLack;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.price-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
    font-weight: 900;
    font-family: var(--font-heading);
}

.price {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    letter-spacing: -2px;
}

.features {
    list-style: none;
    text-align: left;
    width: 100%;
    margin: 35px 0;
}

.features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-light);
}

.features li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 12px;
    font-weight: 900;
}

.price-card.imperial .features li::before {
    color: var(--gold);
}

.full-width {
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

footer {
    padding: 80px 5%;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    background: #070709;
}

@media (max-width: 1024px) {

    .container-flex,
    .container-flex.reverse {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .dashboard-img,
    .phone-mockup,
    .widget-mockup {
        width: 100%;
        max-width: 450px;
    }

    .hero-btns {
        justify-content: center;
    }

    .content-text h2 {
        font-size: 36px;
    }
}

/* ---------------------------------------------------- */
/* 💻 MARCO DE NAVEGADOR ESCRITORIO (HERO: Dueno1.jpg) - 65% MÁS PEQUEÑO */
/* ---------------------------------------------------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    gap: 40px;
    min-height: auto;
}

.hero-content {
    flex: 1.2;
    max-width: 580px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.05;
    margin: 18px 0 24px 0;
}

.hero p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 520px;
    line-height: 1.5;
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-app-frame {
    width: 100%;
    max-width: 380px;
    background: #0d0d12;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(59, 130, 246, 0.25);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.desktop-app-frame:hover {
    transform: translateY(-4px);
}

.browser-header-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(20, 20, 30, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-address-bar {
    font-size: 9px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-app-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* ---------------------------------------------------- */
/* 🎬 SECCIÓN DE VIDEO SHOWCASE (Presentacion.mp4) - COMPACTO */
/* ---------------------------------------------------- */
.video-showcase-section {
    padding: 40px 5%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    text-align: center;
}

.video-container {
    max-width: 540px;
    margin: 20px auto 0 auto;
    padding: 8px;
    border-radius: 18px;
    border: 1.5px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
}

.app-video-player {
    width: 100%;
    max-height: 300px;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.8);
    outline: none;
}

/* ---------------------------------------------------- */
/* 📱 MARCO DE SMARTPHONE (WIDGET & ANFITRIONA) - COMPACTO */
/* ---------------------------------------------------- */
.phone-app-frame {
    position: relative;
    width: 190px;
    margin: 0 auto;
    background: #000;
    border-radius: 28px;
    padding: 6px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(59, 130, 246, 0.25);
}

.phone-notch {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: #000;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 10;
}

.phone-widget-video {
    width: 100%;
    border-radius: 22px;
    display: block;
    outline: none;
}

.phone-mockup {
    width: 100%;
    max-width: 190px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.3);
    border: 2px solid var(--gold);
}

/* ---------------------------------------------------- */
/* 📱 REGLAS DE RESPONSIVIDAD TOTAL (100% RESPONSIVE)   */
/* ---------------------------------------------------- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        margin: 0 auto 30px auto;
        font-size: 15px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 25px;
    }

    .hero-visual {
        width: 100%;
    }

    .desktop-app-frame {
        max-width: 360px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 14px;
    }

    .stat-num {
        font-size: 24px;
    }

    .desktop-app-frame {
        max-width: 300px;
    }

    .video-container {
        max-width: 100%;
    }

    .phone-app-frame,
    .phone-mockup {
        width: 170px;
    }
}

/* ---------------------------------------------------- */
/* 💬 ISABELLA AI — WHATSAPP CHAT SIMULATOR              */
/* ---------------------------------------------------- */
.visual-phone {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wa-phone-frame {
    position: relative;
    width: 320px;
    margin: 0 auto;
    background: #000;
    border-radius: 36px;
    padding: 8px;
    border: 2px solid rgba(251, 191, 36, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(251, 191, 36, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.wa-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 14px;
    background: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

.wa-chat-window {
    background: #0b141a;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px;
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px 16px;
    background: #1f2c34;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25) 0%, rgba(217, 119, 6, 0.25) 100%);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-avatar-icon {
    font-size: 18px;
}

.wa-header-info {
    display: flex;
    flex-direction: column;
}

.wa-header-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    color: #e9edef;
    letter-spacing: 0.3px;
}

.wa-header-status {
    font-size: 10px;
    color: var(--gold);
    font-weight: 600;
}

.wa-messages {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    scrollbar-width: none;
    background:
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
        #0b141a;
}

.wa-messages::-webkit-scrollbar {
    display: none;
}

/* Message Bubbles */
.wa-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.45;
    font-family: var(--font-body);
    color: #e9edef;
    position: relative;
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    animation: waBubbleIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.wa-bubble.received {
    align-self: flex-start;
    background: #1f2c34;
    border-bottom-left-radius: 4px;
}

.wa-bubble.sent {
    align-self: flex-end;
    background: #005c4b;
    border-bottom-right-radius: 4px;
}

.wa-bubble .wa-time {
    display: block;
    text-align: right;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.wa-bubble.received .wa-sender {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 3px;
}

/* Typing indicator */
.wa-typing {
    align-self: flex-start;
    background: #1f2c34;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    padding: 12px 18px;
    display: flex;
    gap: 4px;
    align-items: center;
    opacity: 0;
    animation: waBubbleIn 0.3s ease forwards;
}

.wa-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    animation: waTypingPulse 1.2s ease-in-out infinite;
}

.wa-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes waTypingPulse {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
    30% { opacity: 1; transform: scale(1.1); }
}

@keyframes waBubbleIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Input Bar */
.wa-input-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #1f2c34;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-input-placeholder {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
}

.wa-send-icon {
    font-size: 16px;
    opacity: 0.5;
}

/* Responsive adjustments for the chat simulator */
@media (max-width: 1024px) {
    .wa-phone-frame {
        width: 280px;
    }
    .wa-chat-window {
        height: 420px;
    }
}

@media (max-width: 640px) {
    .wa-phone-frame {
        width: 260px;
    }
    .wa-chat-window {
        height: 380px;
    }
}

/* ---------------------------------------------------- */
/* 🚀 SECCIÓN 3 PASOS (ONBOARDING)                      */
/* ---------------------------------------------------- */
.steps-section {
    padding: 100px 5%;
    background: radial-gradient(circle at top center, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.step-card {
    flex: 1;
    position: relative;
    padding: 40px 30px;
    text-align: center;
    border-color: rgba(16, 185, 129, 0.2);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: #10b981;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-heading);
    line-height: 1;
    z-index: 0;
}

.step-icon {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #10b981;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.5));
}

.step-card h4 {
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.step-connector {
    display: flex;
    align-items: center;
    color: rgba(16, 185, 129, 0.4);
    position: relative;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.connector-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 1), transparent);
    animation: pulseLight 2s infinite ease-in-out;
}

@keyframes pulseLight {
    0% { left: -100%; }
    100% { left: 100%; }
}

.connector-arrow {
    font-size: 14px;
    margin-left: -2px;
}

@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* ---------------------------------------------------- */
/* ❓ SECCIÓN FAQ (ACORDEÓN)                             */
/* ---------------------------------------------------- */
.faq-section {
    padding: 100px 5%;
    background: radial-gradient(circle at bottom center, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    border-top: 1px solid var(--border);
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-container);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #8b5cf6;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #8b5cf6;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    border-color: #8b5cf6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ---------------------------------------------------- */
/* 🌌 HERO BENTO ECOSYSTEM (FLOATING UI)                */
/* ---------------------------------------------------- */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(139, 92, 246, 0.3) 50%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseOrb 8s infinite alternate ease-in-out;
}

@keyframes pulseOrb {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.hero-bento-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

/* Floating Animations */
@keyframes floatMain {
    0% { transform: translateY(0px) rotateX(2deg); }
    50% { transform: translateY(-15px) rotateX(-1deg); }
    100% { transform: translateY(0px) rotateX(2deg); }
}
@keyframes floatSub1 {
    0% { transform: translateY(0px) translateZ(30px); }
    50% { transform: translateY(-10px) translateZ(30px); }
    100% { transform: translateY(0px) translateZ(30px); }
}
@keyframes floatSub2 {
    0% { transform: translateY(0px) translateZ(20px); }
    50% { transform: translateY(-8px) translateZ(20px); }
    100% { transform: translateY(0px) translateZ(20px); }
}

/* Base Bento Card */
.hero-bento-container .glass-card {
    position: absolute;
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Main Card: Floor Plan */
.bento-card-main {
    width: 380px;
    top: 20px;
    left: 10%;
    border-radius: 12px;
    animation: floatMain 6s infinite ease-in-out;
    transform-style: preserve-3d;
}

.bento-header {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px 12px 0 0;
}

.bento-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.bento-header .red { background: #ff5f56; }
.bento-header .yellow { background: #ffbd2e; }
.bento-header .green { background: #27c93f; }
.bento-title {
    margin-left: 10px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
}

.bento-body {
    padding: 15px;
}

.fake-table-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fake-table {
    padding: 15px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
}
.fake-table small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.8;
}
.fake-table.reserved {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}
.fake-table.free {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}
.fake-table.vip {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.3);
}

/* Sub Card 1: AI Notification */
.bento-card-ai {
    width: 240px;
    top: -15px;
    right: 5%;
    border-radius: 30px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatSub1 5s infinite ease-in-out 1s;
    border-color: rgba(234, 179, 8, 0.3) !important;
}
.ai-avatar {
    background: rgba(234, 179, 8, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.ai-text strong {
    display: block;
    font-size: 12px;
    color: #eab308;
}
.ai-text span {
    font-size: 11px;
    color: white;
}

/* Sub Card 2: Chart */
.bento-card-chart {
    width: 200px;
    bottom: 20px;
    right: 15%;
    border-radius: 12px;
    padding: 15px;
    animation: floatSub2 7s infinite ease-in-out 2s;
}
.chart-title {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 40px;
    gap: 8px;
    margin-bottom: 10px;
}
.chart-bars .bar {
    flex: 1;
    background: linear-gradient(to top, rgba(16, 185, 129, 0.2), #10b981);
    border-radius: 2px 2px 0 0;
}
.chart-value {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

@media (max-width: 1024px) {
    .hero-bento-container {
        transform: scale(0.8);
    }
}
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-bento-container {
        display: none; /* Ocultar en móvil para mantenerlo limpio */
    }
    .hero-glow-orb {
        display: none;
    }
}

/* ---------------------------------------------------- */
/* ✨ HERO MICRO-ANIMATIONS & PARTICLES                 */
/* ---------------------------------------------------- */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px #fbbf24, 0 0 20px #fbbf24;
    opacity: 0;
}
.p1 { top: 10%; left: 20%; animation: particleFloat 4s infinite 0.5s; }
.p2 { top: 80%; left: 80%; animation: particleFloat 5s infinite 1.5s; width: 5px; height: 5px; }
.p3 { top: 70%; left: 10%; animation: particleFloat 4.5s infinite 2.5s; background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }

@keyframes particleFloat {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    50% { opacity: 0.8; transform: translateY(-20px) scale(1); }
    100% { transform: translateY(-40px) scale(0); opacity: 0; }
}

/* Table live booking animation */
.table-anim {
    animation: tableBooking 8s infinite;
}
@keyframes tableBooking {
    0%, 40% { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.3); }
    45%, 90% { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border-color: rgba(59, 130, 246, 0.3); }
    100% { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.3); }
}

/* Chart bars growing animation */
.bar-anim-1 { animation: growBar1 3s ease-out forwards; }
.bar-anim-2 { animation: growBar2 3s ease-out forwards 0.2s; }
.bar-anim-3 { animation: growBar3 3s ease-out forwards 0.4s; }
.bar-anim-4 { animation: growBar4 3s ease-out forwards 0.6s; }

@keyframes growBar1 { 0% { height: 0%; } 100% { height: 40%; } }
@keyframes growBar2 { 0% { height: 0%; } 100% { height: 70%; } }
@keyframes growBar3 { 0% { height: 0%; } 100% { height: 50%; } }
@keyframes growBar4 { 0% { height: 0%; } 100% { height: 100%; } }

/* Review Card */
.bento-card-review {
    width: auto;
    bottom: -10px;
    left: 5%;
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    animation: floatSub1 6s infinite ease-in-out 3s;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    z-index: 10;
}

/* ---------------------------------------------------- */
/* 🏢 ISOMETRIC 3D FLOOR PLAN (DOBLE IMPACTO)            */
/* ---------------------------------------------------- */
.isometric-floor-plan {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    /* Ángulos mucho más suaves (casi top-down) para garantizar legibilidad */
    transform: rotateX(30deg) rotateZ(-20deg);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.isometric-floor-plan:hover {
    transform: rotateX(25deg) rotateZ(-15deg) scale(1.05);
}

.iso-floor {
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 25, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7), 
        inset 0 0 40px rgba(59, 130, 246, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    /* Grid background */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.iso-table {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid #3b82f6;
    border-radius: 8px;
    transform-style: preserve-3d;
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.5),
        inset 0 0 10px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 3D Thickness for the table */
.iso-table::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -2px;
    width: calc(100% + 4px);
    height: 10px;
    background: #1e3a8a;
    transform-origin: top;
    transform: rotateX(-90deg);
    border-radius: 0 0 4px 4px;
}

.iso-table::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 100%;
    width: 10px;
    height: calc(100% + 4px);
    background: #1e40af;
    transform-origin: left;
    transform: rotateY(90deg);
    border-radius: 0 4px 4px 0;
}

.iso-table:hover {
    transform: translateZ(20px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    background: rgba(59, 130, 246, 0.2);
}

.iso-status {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Contrarrestamos los nuevos ángulos para que el texto nos mire de frente */
    transform: translate(-50%, -50%) rotateZ(20deg) rotateX(-30deg) translateZ(50px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    color: white;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    animation: floatIsoStatus 3s infinite ease-in-out alternate;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@keyframes floatIsoStatus {
    from { transform: translate(-50%, -50%) rotateZ(20deg) rotateX(-30deg) translateZ(40px); }
    to { transform: translate(-50%, -50%) rotateZ(20deg) rotateX(-30deg) translateZ(55px); }
}

.iso-status.serving { color: #10b981; border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.15); }
.iso-status.cleaning { color: #f59e0b; border-color: rgba(245, 158, 11, 0.5); background: rgba(245, 158, 11, 0.15); }

/* Table Positions on Grid */
.iso-t1 { top: 40px; left: 40px; }
.iso-t2 { top: 40px; left: 160px; }
.iso-t3 { top: 160px; left: 40px; }
.iso-t4 { top: 160px; left: 160px; }
.iso-t5 { top: 280px; left: 160px; width: 140px; } /* Mesa Larga (Cluster) */
.iso-t6 { top: 280px; left: 40px; }

@media (max-width: 768px) {
    .isometric-floor-plan {
        transform: scale(0.7) rotateX(30deg) rotateZ(-20deg);
    }
}

/* ---------------------------------------------------- */
/* 🧩 TABLE TETRIS ANIMATION (DRAG & DROP)              */
/* ---------------------------------------------------- */
.tetris-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background: rgba(20, 20, 25, 0.6);
}

.tetris-header {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
}

.tetris-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.tetris-header .red { background: #ff5f56; }
.tetris-header .yellow { background: #ffbd2e; }
.tetris-header .green { background: #27c93f; }

.tetris-canvas {
    height: 250px;
    position: relative;
    background: rgba(10, 10, 15, 0.9);
    overflow: hidden;
}

.tetris-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.t-mesa {
    position: absolute;
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid #3b82f6;
    border-radius: 8px;
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    z-index: 2;
}

.t-mesa small {
    font-size: 12px;
    opacity: 0.8;
    font-weight: normal;
    margin-top: 3px;
}

/* Visual Cues: Chairs */
.t-chair {
    position: absolute;
    width: 24px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
}
.t-chair-top { top: -10px; }
.t-chair-bottom { bottom: -10px; }

.t-mesa-1 {
    width: 85px;
    height: 85px;
    left: 50%;
    top: 75px;
    /* Anclado a la mitad izquierda del cluster resultante (-90px) */
    transform: translateX(-90px);
    animation: fadeOutCluster 6s infinite;
}

.t-mesa-2 {
    width: 85px;
    height: 85px;
    left: 50%;
    top: 75px;
    animation: dragMesa 6s infinite;
}

.t-cluster {
    width: 180px; /* 85 + 85 + 10 gap */
    height: 85px;
    left: 50%;
    top: 75px;
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    opacity: 0;
    animation: popCluster 6s infinite;
    z-index: 3;
}

.t-cursor {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 10;
    left: 50%;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
    animation: moveCursor 6s infinite;
}

.t-flash {
    position: absolute;
    width: 190px;
    height: 110px;
    left: 50%;
    top: 60px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.8) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    animation: flashEffect 6s infinite;
    z-index: 4;
}

/* Animations (Bulletproof Center-anchored) */
@keyframes moveCursor {
    0%, 5% { top: 200px; transform: translateX(80px); opacity: 0; }
    15% { top: 110px; transform: translateX(70px) scale(1); opacity: 1; } /* Move to Mesa 2 (30 + 40) */
    20%, 25% { top: 110px; transform: translateX(70px) scale(0.8); opacity: 1; } /* Click and HOLD */
    45% { top: 110px; transform: translateX(45px) scale(0.8); opacity: 1; } /* Drag to Mesa 1 (5 + 40) */
    50% { top: 110px; transform: translateX(45px) scale(1); opacity: 1; } /* Release */
    60%, 100% { top: 180px; transform: translateX(60px); opacity: 0; } /* Move away and hide */
}

@keyframes dragMesa {
    0%, 25% { transform: translateX(30px); opacity: 1; }
    45% { transform: translateX(5px); opacity: 1; } /* Moved next to Mesa 1 */
    50%, 100% { transform: translateX(5px); opacity: 0; } /* Disappears into cluster */
}

@keyframes fadeOutCluster {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes flashEffect {
    0%, 48% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
    55%, 100% { opacity: 0; transform: translateX(-50%) scale(1.5); }
}

@keyframes popCluster {
    0%, 49% { opacity: 0; transform: translateX(-50%) scale(0.9); }
    52% { opacity: 1; transform: translateX(-50%) scale(1.05); }
    56%, 90% { opacity: 1; transform: translateX(-50%) scale(1); }
    95%, 100% { opacity: 0; transform: translateX(-50%) scale(0.9); }
}