/* ==========================================================================
   JELODA - POS Restaurantes, Comandas & KDS (p/pos-restaurantes/dom/index.css)
   ========================================================================== */

.product-page-wrapper {
    padding-top: 140px !important;
    padding-bottom: 100px !important;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Background waves & decorative shapes */
.product-bg-wave {
    position: absolute;
    top: 5%;
    right: -250px;
    width: 800px;
    height: auto;
    opacity: 0.22;
    z-index: 1;
    pointer-events: none;
}

.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.1) rotate(4deg);
}

.shape-hexa {
    top: 12%;
    left: 4%;
    width: 100px;
}

.shape-diamond {
    bottom: 20%;
    right: 4%;
    width: 110px;
}

/* Hero Badge & Title */
.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.product-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

/* Hero Stats */
.hero-stats-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.stat-item-premium {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.theme--light .stat-item-premium {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.stat-item-premium:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
}

.stat-number-premium {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label-premium {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.theme--light .stat-label-premium {
    color: #64748b;
}

/* AEO Answer-first box */
.answer-first-box {
    background: rgba(16, 185, 129, 0.07);
    border-left: 4px solid #10b981;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    font-size: 0.96rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.theme--light .answer-first-box {
    background: rgba(16, 185, 129, 0.08);
    color: #1e293b;
}

/* Mac Window Frame */
.mac-window-frame {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.theme--light .mac-window-frame {
    background: #1e293b;
    border-color: rgba(0, 0, 0, 0.12);
}

.mac-window-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(16, 185, 129, 0.2);
}

.mac-window-header {
    background: rgba(15, 23, 42, 0.95);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.mac-window-dots {
    display: flex;
    gap: 6px;
}

.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }

.mac-window-title {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.76rem;
    color: #94a3b8;
    font-family: monospace;
    pointer-events: none;
}

.mac-window-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Showcase Cards */
.pos-food-showcase-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.theme--light .pos-food-showcase-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pos-food-showcase-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #f8fafc;
}

.theme--light .pos-food-showcase-title {
    color: #0f172a;
}

.pos-food-showcase-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.theme--light .pos-food-showcase-lead {
    color: #475569;
}

/* Feature Checklist */
.pos-food-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.pos-food-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.pos-food-feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pos-food-feature-icon i {
    font-size: 18px;
}

.pos-food-feature-item strong {
    display: block;
    font-size: 0.95rem;
    color: #f8fafc;
    margin-bottom: 2px;
}

.theme--light .pos-food-feature-item strong {
    color: #0f172a;
}

.pos-food-feature-item span {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.45;
}

.theme--light .pos-food-feature-item span {
    color: #64748b;
}

/* Feature Bento Cards */
.bento-card-pos {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.theme--light .bento-card-pos {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bento-card-pos:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.35);
}

.bento-icon-pos {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.bento-icon-pos i {
    font-size: 24px;
}

.bento-title-pos {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}

.theme--light .bento-title-pos {
    color: #0f172a;
}

.bento-desc-pos {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.theme--light .bento-desc-pos {
    color: #64748b;
}

/* Sector / Cluster Cards */
.sector-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.theme--light .sector-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.sector-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
}

.sector-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.sector-icon-box i {
    font-size: 22px;
}

.sector-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #f8fafc;
}

.theme--light .sector-card h5 {
    color: #0f172a;
}

.sector-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.45;
}

.theme--light .sector-desc {
    color: #64748b;
}

/* Comparison Table */
.comparison-section {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 24px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme--light .comparison-section {
    background: rgba(248, 250, 252, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

.comparison-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #f8fafc;
}

.theme--light .comparison-title {
    color: #0f172a;
}

.comparison-subtitle {
    font-size: 1rem;
    color: #94a3b8;
}

.comparison-table-wrapper {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.theme--light .comparison-table-wrapper {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.comparison-table {
    margin: 0;
    color: #e2e8f0;
}

.theme--light .comparison-table {
    color: #1e293b;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

.theme--light .comparison-table th,
.theme--light .comparison-table td {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.table-header-row th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    background: rgba(30, 41, 59, 0.6);
}

.theme--light .table-header-row th {
    background: rgba(241, 245, 249, 0.9);
    color: #334155;
}

.col-jeloda {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #34d399 !important;
    border-left: 2px solid rgba(16, 185, 129, 0.4);
    border-right: 2px solid rgba(16, 185, 129, 0.4);
}

.val-jeloda {
    background: rgba(16, 185, 129, 0.06) !important;
    border-left: 2px solid rgba(16, 185, 129, 0.4);
    border-right: 2px solid rgba(16, 185, 129, 0.4);
    font-weight: 600;
}

.val-traditional {
    color: #94a3b8;
    font-size: 0.9rem;
}

.theme--light .val-traditional {
    color: #64748b;
}

/* Final CTA Section */
.cta-final-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 24px;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
}

.cta-final-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-final-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto 1.5rem auto;
}

.cta-price-highlight {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
}

.cta-price-period {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

.cta-guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #34d399;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

.cta-guarantee-icon {
    font-size: 16px;
    vertical-align: middle;
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5) !important;
}

/* ==========================================================================
   Responsive Refinements (Mobile 360px / 390px / 768px - 0px Overflow Guaranteed)
   ========================================================================== */
@media (max-width: 991px) {
    .product-hero-title {
        font-size: 2.2rem;
    }
    .pos-food-showcase-card {
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .product-page-wrapper {
        padding-top: 100px !important;
        padding-bottom: 70px !important;
    }
    .product-hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        display: inline-flex;
    }
    .btn-premium.btn-large {
        height: auto !important;
        line-height: 1.35 !important;
        padding: 14px 22px !important;
        white-space: normal !important;
        font-size: 0.95rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 92% !important;
    }
    .product-hero-title {
        font-size: 1.85rem;
    }
    .pos-food-showcase-title {
        font-size: 1.45rem;
    }
    .pos-food-showcase-card {
        padding: 20px 16px;
    }
    .mac-window-title {
        display: none;
    }
    .comparison-title {
        font-size: 1.65rem;
    }
}

@media (max-width: 480px) {
    .product-hero-title {
        font-size: 1.65rem;
    }
    .stat-number-premium {
        font-size: 1.5rem;
    }
    .cta-final-section {
        padding: 30px 16px !important;
    }
}
