/* Glassmorphism Cards & Modals */
.glass-card {
    background: linear-gradient(180deg, rgba(0, 220, 255, 0.40) 0%, rgba(0, 120, 180, 0.10) 60%, rgba(0, 20, 40, 0.0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 220, 255, 0.25);
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Metal Plates (Feature Cards) */
.feature-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border-radius: var(--radius-card);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Placeholder for gradient border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Metal Variants */
.feature-card.gold {
    border-color: #B8860B;
    box-shadow: inset 0 0 20px rgba(184, 134, 11, 0.1);
}

.feature-card.gold:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 30px rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.feature-card.ruby {
    border-color: #7f1d1d;
    box-shadow: inset 0 0 20px rgba(127, 29, 29, 0.1);
}

.feature-card.ruby:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4), inset 0 0 30px rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.feature-card.emerald {
    border-color: #059669;
    box-shadow: inset 0 0 20px rgba(5, 150, 105, 0.1);
}

.feature-card.emerald:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), inset 0 0 30px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.feature-card.blue {
    border-color: #1e40af;
    box-shadow: inset 0 0 20px rgba(30, 64, 175, 0.1);
}

.feature-card.blue:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), inset 0 0 30px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}


/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-metal-gold);
    color: #0F172A;
    /* Dark text on gold for contrast */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
    font-family: var(--font-main);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFF9AA 50%, #B8860B 100%);
    /* Lighter gold for hover */
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    color: #000;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Card Icons */
.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-icon-gold {
    background-image: var(--gradient-metal-gold);
}

.card-icon-ruby {
    background-image: var(--gradient-metal-ruby);
}

.card-icon-emerald {
    background-image: var(--gradient-metal-emerald);
}

.card-icon-blue {
    background-image: var(--gradient-metal-blue);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-btn);
    color: #fff;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.8);
}

/* WhatsApp Input & Prefix Selector */
.whatsapp-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.prefix-selector {
    position: relative;
    width: 110px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-btn);
    cursor: pointer;
    user-select: none;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.prefix-selector:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.selected-prefix {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
}

.prefix-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.prefix-code {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.prefix-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 180px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.prefix-selector.open .prefix-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.prefix-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #fff;
    font-size: 0.9rem;
}

.prefix-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.prefix-option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 1px;
}

/* Scrollbar for dropdown */
.prefix-dropdown::-webkit-scrollbar {
    width: 5px;
}

.prefix-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.prefix-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

@media (max-width: 600px) {
    .whatsapp-input-group {
        flex-direction: row;
        /* Keep prefix next to input even on small mobile */
    }

    .prefix-selector {
        width: 100px;
    }
}

/* Header & Neutral Buttons */
.btn-neutral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.btn-neutral:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-cta-gold-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--gradient-metal-gold);
    color: #0F172A;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.3);
}

.btn-cta-gold-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    color: #050505;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* --- Tabbed Navigation Component --- */
.tabs-section {
    padding: 40px 20px 80px 20px;
    /* Reduced top padding */
    text-align: center;
    position: relative;
    z-index: 10;
    /* Mayor prioridad para que el menú desplegable no quede detrás del contenido */
}

.mobile-tabs-dropdown {
    display: none;
}

.tabs-actions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

@media (max-width: 600px) {
    .tabs-actions-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .tabs-actions-container .btn-primary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* --- Features Icons Panel --- */
.features-icons-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 55px;
}

@media (min-width: 1100px) {
    .features-icons-panel {
        flex-wrap: nowrap;
        /* Fuerza una sola fila en escritorio */
    }
}

.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000;
    background: linear-gradient(135deg,
            rgba(184, 134, 11, 0.4) 0%,
            rgba(255, 215, 0, 0.5) 25%,
            rgba(255, 249, 170, 0.6) 50%,
            rgba(255, 215, 0, 0.5) 75%,
            rgba(184, 134, 11, 0.4) 100%);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.15),
        0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 170px;
    margin: 0 auto;
    position: relative;
    /* For background pseudo-element */
    overflow: hidden;
    /* Prevent background leak */
}

/* Specialized box for Sync */
.feature-icon-sync {
    background: #000 !important;
    /* Base color */
}

.feature-icon-sync::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/marketchef-573d4.firebasestorage.app/o/LandingGNIA%2FImagenes%20CajaIcono%2FSincronizacion.jpg?alt=media&token=f23f3fd3-6e9f-4b79-8098-5de1558fbb8d');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.feature-icon-sync .feature-icon-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Specialized box for Multi-device */
.feature-icon-multi {
    background: #000 !important;
}

.feature-icon-multi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/marketchef-573d4.firebasestorage.app/o/LandingGNIA%2FImagenes%20CajaIcono%2FMultidipositivos.jpg?alt=media&token=8bda9f02-7ea0-40cf-ad0d-c03d1d9676da');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.feature-icon-multi .feature-icon-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Specialized box for Languages */
.feature-icon-lang {
    background: #000 !important;
}

.feature-icon-lang::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/marketchef-573d4.firebasestorage.app/o/LandingGNIA%2FImagenes%20CajaIcono%2FDivisas.jpg?alt=media&token=552a7b97-78f1-4b43-a2a7-a57908bd873d');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.feature-icon-lang .feature-icon-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Specialized box for POS */
.feature-icon-pos {
    background: #000 !important;
}

.feature-icon-pos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/marketchef-573d4.firebasestorage.app/o/LandingGNIA%2FImagenes%20CajaIcono%2FFacturaPOS.jpg?alt=media&token=70fb5141-d730-4910-878a-fd7d74204904');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.feature-icon-pos .feature-icon-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Specialized box for Invoice */
.feature-icon-invoice {
    background: #000 !important;
}

.feature-icon-invoice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/marketchef-573d4.firebasestorage.app/o/LandingGNIA%2FImagenes%20CajaIcono%2FFacturacionElectronica.jpg?alt=media&token=f184f2e2-4db6-4460-b8b5-a0745e6ff0de');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.feature-icon-invoice .feature-icon-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Specialized box for Support */
.feature-icon-support {
    background: #000 !important;
}

.feature-icon-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://firebasestorage.googleapis.com/v0/b/marketchef-573d4.firebasestorage.app/o/LandingGNIA%2FImagenes%20CajaIcono%2FAsesorias.jpg?alt=media&token=db3640d7-b059-47ac-b76a-eb4d6427cbb3');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.feature-icon-support .feature-icon-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}


.feature-icon-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-icon-item:hover .icon-wrapper {
    transform: scale(1.1);
}

.feature-icon-text {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.875rem;
    /* Reduced by 2px (14px) */
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon-text small {
    display: block;
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 500;
    text-transform: none;
    opacity: 0.9;
}

/* Tooltip styles */
.feature-icon-item.has-tooltip .feature-icon-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.4;
    text-transform: none;
    font-weight: 500;
    text-shadow: none;
    z-index: 3;
    pointer-events: none;
}

.feature-icon-item.has-tooltip:hover .feature-icon-tooltip,
.feature-icon-item.has-tooltip:active .feature-icon-tooltip {
    opacity: 1;
}

.feature-icon-item.has-tooltip .feature-icon-text {
    transition: opacity 0.4s ease;
}

.feature-icon-item.has-tooltip:hover .feature-icon-text,
.feature-icon-item.has-tooltip:active .feature-icon-text {
    opacity: 0;
}

@media (max-width: 992px) {
    .features-icons-panel {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .features-icons-panel {
        gap: 10px;
        margin-top: 30px;
    }

    .feature-icon-item {
        width: calc(50% - 10px);
        /* 2 columns on mobile */
        max-width: none;
        aspect-ratio: 1 / 1;
        padding: 12px 10px;
        min-height: auto;
    }

    .feature-icon-text {
        font-size: 0.7rem;
        /* Even smaller for mobile 2-col */
    }

    .icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
}

.tabs-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: none;
    /* Removed line */
    padding-bottom: 10px;
    flex-wrap: wrap;
    /* Safety for smaller screens */
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-text-secondary);
    font-family: var(--font-main);
    font-size: 0.82rem !important;
    /* Retorno a estética original balanceada */
    cursor: pointer;
    padding: 12px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    text-align: center;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.tab-btn::after {
    display: none;
    /* Remove underline */
}

.tab-btn:hover {
    transform: translateY(-3px);
}

/* CHEF INDEPENDIENTE - BLUE PRO THEME */
.tab-btn[data-tab="tab-chef"]:hover,
.tab-btn[data-tab="tab-chef"].active {
    background: linear-gradient(135deg, #020617 0%, #172554 20%, #3b82f6 50%, #1e40af 80%, #020617 100%) !important;
    color: #FFFFFF !important;
    border-color: #3b82f6;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

/* RESTAURANTES PEQUEÑOS - GOLD THEME */
.tab-btn[data-tab="tab-small"]:hover,
.tab-btn[data-tab="tab-small"].active {
    background: linear-gradient(135deg, #422006 0%, #b45309 20%, #fcd34d 50%, #b45309 80%, #2a1801 100%) !important;
    color: #4a3b00 !important;
    border-color: #fbbf24;
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.3);
}

/* RESTAURANTES MEDIANOS - RUBY RED THEME */
.tab-btn[data-tab="tab-large"]:hover,
.tab-btn[data-tab="tab-large"].active {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 20%, #ef4444 50%, #7f1d1d 80%, #450a0a 100%) !important;
    color: #FFFFFF !important;
    border-color: #ef4444;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.3);
}

/* Tab Content */
.tabs-content-wrapper {
    min-height: 400px;
    /* Prevent layout shift */
    position: relative;
    z-index: 5;
    /* Por debajo de los botones pero por encima de las sticky cards */
    overflow: hidden;
    /* Ensure rounded corners for image */
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* Text Column */
.tab-module-title {
    font-family: var(--font-main);
    /* Montserrat */
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 700;
}

.tab-subtitle {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 3px solid #FFD700;
    padding-left: 15px;
}

.tab-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Modules Tags */
.tab-modules-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.module-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: default;
}

.module-tag:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Image Column */
.tab-image-col {
    position: relative;
    height: 400px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

.tab-slider {
    aspect-ratio: 1 / 1;
    height: auto !important;
}

.tab-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease-in-out;
}

.tab-slider .tab-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.tab-slider .tab-img.active {
    opacity: 1;
}

.tab-image-col:hover .tab-img {
    transform: scale(1.05);
}

/* Responsive Tabs */
@media (max-width: 900px) {

    /* Hide the dropdown, show desktop buttons instead */
    .mobile-tabs-dropdown {
        display: none !important;
    }

    .tabs-buttons-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .tab-btn {
        width: 100%;
        max-width: 380px;
        min-width: unset;
        padding: 14px 20px;
        border-radius: 12px;
        font-size: 0.85rem !important;
    }

    .mobile-tabs-toggle {
        width: 100%;
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 215, 0, 0.5);
        border-radius: 10px;
        color: #FFD700;
        font-family: var(--font-main);
        /* Montserrat */
        font-size: 1rem;
        text-transform: uppercase;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .mobile-tabs-toggle::after {
        content: '▼';
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .mobile-tabs-dropdown.open .mobile-tabs-toggle::after {
        transform: rotate(180deg);
    }

    .mobile-tabs-menu {
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        background: #0f172a;
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-radius: 10px;
        z-index: 1001;
        /* Un nivel más arriba que su contenedor */
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }

    .mobile-tabs-dropdown.open .mobile-tabs-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .mobile-tabs-item {
        padding: 15px 20px;
        color: var(--color-text-secondary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        cursor: pointer;
        text-transform: uppercase;
        font-family: var(--font-main);
        /* Montserrat */
        font-size: 0.85rem;
    }

    .mobile-tabs-item:last-child {
        border-bottom: none;
    }

    .mobile-tabs-item.active[data-tab="tab-chef"] {
        background: linear-gradient(135deg, #422006 0%, #b45309 20%, #fcd34d 50%, #b45309 80%, #2a1801 100%);
        color: #4a3b00;
    }

    .mobile-tabs-item.active[data-tab="tab-small"] {
        background: linear-gradient(135deg, #020617 0%, #172554 20%, #3b82f6 50%, #1e40af 80%, #020617 100%);
        color: #FFFFFF;
    }

    .mobile-tabs-item.active[data-tab="tab-large"] {
        background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 20%, #ef4444 50%, #7f1d1d 80%, #450a0a 100%);
        color: #FFFFFF;
    }

    .tab-grid {
        grid-template-columns: 1fr;
    }

    .tab-image-col {
        height: 250px;
        order: -1;
    }

    .tab-pane {
        text-align: center;
    }

    .tab-subtitle {
        border-left: none;
        padding-left: 0;
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto;
    }

    .tab-modules-list {
        justify-content: center;
    }

    .tab-desc {
        text-align: center;
    }
}

/* ==========================================================================
   Footer Redesign
   ========================================================================== */

.main-footer {
    padding: 80px 0 40px;
    background: linear-gradient(to bottom, transparent, rgba(1, 4, 15, 0.95));
    border-top: 1px solid rgba(0, 220, 255, 0.15);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

/* Contact & Social Column */
.footer-contact-col {
    align-items: flex-start;
}

.footer-contact-btn {
    margin-bottom: 30px;
    padding: 12px 25px;
    font-size: 0.9rem;
    width: auto;
}

.footer-social-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--gradient-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.social-icon.whatsapp {
    width: 100%;
    border-radius: 8px;
    gap: 10px;
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.social-icon.whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
}

/* =========================================================================
   POST-HERO MARQUEE GALLERY ANIMATION
   ========================================================================= */

.marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full bleed effect beyond container */
    max-width: 100vw;
    overflow: hidden;
    padding: 20px 0;
}

/* Optional: Fading edges to make the loop entry/exit look seamless */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-main) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-main) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 15px;
    /* Spacing between cards */
    width: max-content;
    /* Ensure track spans width of all cards + duplicates */
    animation: marquee-scroll 45s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
    /* Pause animation when user hovers to click */
}

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

    100% {
        transform: translateX(calc(-50% - 7.5px));
        /* shift exactly half the width (the first set of 15 minus half a gap) */
    }
}

/* =========================================================================
   GALLERY CARD STYLES (Glass & Neon aesthetics)
   ========================================================================= */

.gallery-card {
    display: flex;
    flex-direction: column;
    width: 200px;
    /* Fixed width per card */
    min-width: 200px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 220, 255, 0.2);
    /* Subtle blue neon border base */
    border-radius: 12px;
    padding: 10px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.gallery-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.gallery-card-title {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Hover Effects (Zoom & Neon glow increase) */
.gallery-card:hover,
.gallery-card:active {
    transform: translateY(-5px) scale(1.05);
}

/* Plan Specific Glows */
.gallery-card.glow-flash:hover {
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(16, 185, 129, 0.5);
}

.gallery-card.glow-pro:hover {
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.5);
}

.gallery-card.glow-gold:hover {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(251, 191, 36, 0.5);
}

.gallery-card.glow-elite:hover {
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(239, 68, 68, 0.5);
}

.gallery-card.glow-enterprise:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.5);
}


/* Target Mobile Sizes specifically */
@media (max-width: 768px) {
    .marquee-track {
        gap: 10px;
        /* Less gap on mobile */
    }

    .gallery-card {
        width: 160px;
        min-width: 160px;
        padding: 8px;
    }

    .gallery-card img {
        height: 110px;
    }

    .gallery-card-title {
        font-size: 0.75rem;
    }

    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 30px;
        /* Smaller fade edges */
    }
}


/* Footer Bottom */
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 30px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
        margin-bottom: 30px;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-contact-col {
        align-items: center;
    }

    .social-icons-grid {
        justify-content: center;
    }
}

/* =========================================================================
   HIGHLIGHT QUOTE SECTION (POST-GALLERY)
   ========================================================================= */
.highlight-quote-section {
    padding: 20px 0;
    /* Reducido para compactar scroll */
    background-color: transparent;
}

.highlight-box {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    /* Imagen de fondo Cyborg Chef */
    background-image: url('https://firebasestorage.googleapis.com/v0/b/marketchef-573d4.firebasestorage.app/o/LandingGNIA%2FImagenes%20Generales%2FGNIAoptimizada.webp?alt=media&token=78b2e3a5-6256-4b53-a556-a84712e96f67');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Efecto Neón Blanco */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
}

.highlight-box:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Oscurecimiento de la imagen para contraste */
.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.highlight-content {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    /* Reducido de 140px para optimizar espacio */
    text-align: center;
}

.highlight-text {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 850px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .highlight-quote-section {
        padding: 40px 15px;
    }

    .highlight-content {
        padding: 50px 20px;
    }

    .highlight-text {
        font-size: 15px;
    }
}

/* =========================================
   GNIA PREMIUM PRELOADER
   ========================================= */
.gnia-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020617; /* Dark slate background to match site theme */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.gnia-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 80px;
    height: auto;
    position: relative;
    z-index: 2;
    animation: preloaderPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.preloader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: preloaderGlowPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes preloaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes preloaderGlowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0.8;
    }
}
