/* ==========================================================================
   JELODA - Software para Spas y Centros de Masajes (p/spa/dom/index.css)
   Diseño Premium Dark Glassmorphism, Bento Cards & Responsive Showcases
   Clean Code — 100% Separación de Estilos
   ========================================================================== */

/* ── Base layout ── */
.product-page-wrapper.spa-page {
    padding-top: 160px !important;
    padding-bottom: 120px !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.relative-z { 
    position: relative; 
    z-index: 2; 
}

.product-bg-wave {
    position: absolute; 
    top: 5%; 
    right: -250px; 
    width: 800px; 
    height: auto;
    opacity: 0.22; 
    z-index: 1; 
    pointer-events: none;
    animation: spaFloatSlow 16s infinite ease-in-out;
}
.product-bg-wave img { 
    width: 100%; 
    height: auto; 
}

.deco-shapes .shape {
    position: absolute; 
    opacity: 0.45;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.deco-shapes .shape:hover { 
    opacity: 0.8; 
    transform: scale(1.15) rotate(5deg); 
}
.shape-hexa { 
    top: 14%; 
    left: 5%; 
    width: 110px; 
    animation: spaFloatSlow 9s infinite ease-in-out; 
}
.shape-diamond { 
    bottom: 22%; 
    right: 5%; 
    width: 130px; 
    animation: spaFloatSlow 8s infinite ease-in-out 1.5s; 
}

@keyframes spaFloatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2.5deg); }
}

/* ── Badge Spa Wellness ── */
.badge-spa-wellness {
    display: inline-flex !important;
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.18) 0%, rgba(13, 148, 136, 0.05) 100%) !important;
    border: 1px solid rgba(20, 184, 166, 0.42) !important;
    color: #2dd4bf !important;
    padding: 6px 18px !important; 
    border-radius: 50px !important;
    font-size: 0.78rem !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important; 
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.16) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 12px;
}
.badge-spa-wellness i { 
    font-size: 1.05rem; 
    margin-right: 7px; 
}
.badge-spa-wellness:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.28) 0%, rgba(13, 148, 136, 0.12) 100%) !important;
    border-color: rgba(45, 212, 191, 0.7) !important;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.28) !important;
}

/* ── Typography & Gradients ── */
.spa-hero-title {
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
}
.text-spa-gradient {
    background: linear-gradient(135deg, #5eead4 0%, #14b8a6 50%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ── Buttons ── */
.btn-spa-wellness {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 14px 34px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 28px rgba(20, 184, 166, 0.35) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    min-height: 48px;
}
.btn-spa-wellness:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%) !important;
    box-shadow: 0 14px 34px rgba(20, 184, 166, 0.48) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-spa-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #2dd4bf !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(20, 184, 166, 0.4) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    min-height: 48px;
}
.btn-spa-outline:hover {
    background: rgba(20, 184, 166, 0.12) !important;
    border-color: #2dd4bf !important;
    color: #ffffff !important;
}

/* ── Stats ── */
.stat-number-spa {
    background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
    font-size: 2.2rem !important;
    display: block;
}

/* ── Mac Window Frame & Mockups ── */
.mac-window-frame {
    background: #111319;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(20, 184, 166, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mac-window-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(20, 184, 166, 0.2);
}
.mac-window-header {
    background: #1b1e27;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mac-window-dots {
    display: flex;
    gap: 6px;
    margin-right: 14px;
}
.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }
.mac-window-title {
    font-size: 0.78rem;
    color: #94a3b8;
    font-family: monospace;
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mac-window-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Answer-First Box ── */
.answer-first-box {
    background: rgba(20, 184, 166, 0.06);
    border-left: 3px solid #14b8a6;
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    font-size: 0.96rem;
    line-height: 1.68;
    color: #cbd5e1;
    margin-top: 14px;
}
.answer-first-box strong {
    color: #f8fafc;
}

/* ── Bento Showcase Cards ── */
.showcase-bento-card {
    background: rgba(17, 19, 26, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.showcase-bento-card:hover {
    border-color: rgba(20, 184, 166, 0.35);
}
.spa-showcase-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 14px;
}
.feature-lead-text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 22px;
}
.feature-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-bullet-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}
.feature-bullet-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.15);
    color: #2dd4bf;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}
.feature-bullet-icon i {
    font-size: 20px;
}
.feature-bullet-content strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.95rem;
    margin-bottom: 3px;
}
.feature-bullet-content span {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ── Feature Cards (3 columns) ── */
.spa-feature-card {
    background: rgba(17, 19, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.3s ease;
}
.spa-feature-card:hover {
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-3px);
}
.spa-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.25) 0%, rgba(13, 148, 136, 0.08) 100%);
    color: #2dd4bf;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.spa-card-icon i {
    font-size: 24px;
}
.spa-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 10px;
}
.spa-card-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* ── Hardware Section ── */
.hardware-spa-section {
    background: rgba(10, 12, 17, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px 24px;
}
.hw-item-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
}
.hw-item-box:hover {
    border-color: rgba(20, 184, 166, 0.4);
    background: rgba(20, 184, 166, 0.04);
}
.hw-icon {
    color: #2dd4bf;
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}
.hw-item-box strong {
    display: block;
    color: #f8fafc;
    font-size: 0.92rem;
    margin-bottom: 4px;
}
.hw-item-box span {
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.45;
    display: block;
}

/* ── Pricing Cards ── */
.pricing-spa-card {
    background: rgba(17, 19, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}
.pricing-spa-card.featured {
    border-color: rgba(20, 184, 166, 0.6);
    box-shadow: 0 16px 45px rgba(20, 184, 166, 0.18);
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.08) 0%, rgba(17, 19, 26, 0.95) 100%);
}
.pricing-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}
.pricing-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 6px;
}
.pricing-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 16px;
    min-height: 38px;
}
.pricing-amount {
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}
.pricing-amount .currency {
    font-size: 1.4rem;
    color: #2dd4bf;
    vertical-align: top;
    margin-right: 2px;
}
.pricing-amount .period {
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.45;
}
.pricing-features li .check {
    color: #2dd4bf;
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}
.pricing-cta {
    margin-top: auto;
}

/* ── Final CTA Banner ── */
.spa-cta-banner {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.16) 0%, rgba(13, 148, 136, 0.06) 50%, rgba(17, 19, 26, 0.95) 100%);
    border: 1px solid rgba(20, 184, 166, 0.35);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 184, 166, 0.15);
}
.spa-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}
.spa-cta-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
}
.spa-cta-guarantee {
    color: #64748b;
    font-size: 0.85rem;
}

/* ── Mobile Optimization (Core Web Vitals & Ergonomics) ── */
@media (max-width: 767px) {
    .product-page-wrapper.spa-page {
        padding-top: 110px !important;
        padding-bottom: 80px !important;
    }
    .showcase-bento-card {
        padding: 22px 18px;
    }
    .spa-showcase-title {
        font-size: 1.3rem;
    }
    .pricing-spa-card {
        padding: 24px 18px;
    }
    .spa-cta-banner {
        padding: 30px 20px !important;
    }
    .spa-cta-title {
        font-size: 1.5rem;
    }
    .btn-spa-wellness,
    .btn-spa-outline {
        width: 100%;
        padding: 14px 20px !important;
    }
}
