/* ===================================================
   Ageless Entertainments - Products & Solutions Page Styles
   Clean, Premium, High-Energy Theme Matching Lovable App & Home Page
   =================================================== */

/* ---------------------------------------------------
   1. PRODUCTS HERO SECTION
   --------------------------------------------------- */
.products-hero-wrapper {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue-deep, #030d28);
    overflow: hidden;
    padding: 140px 0 80px 0;
    color: #ffffff;
}

.products-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.products-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(3, 13, 40, 0.72) 0%,
        rgba(3, 13, 40, 0.55) 45%,
        rgba(11, 23, 39, 0.40) 100%
    );
    z-index: 1;
}

.products-hero-mesh {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 161, 0, 0.22) 0%, rgba(0, 210, 255, 0.08) 50%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: meshPulseProducts 8s ease-in-out infinite alternate;
}

.products-hero-mesh-left {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(245, 161, 0, 0.08) 50%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: meshPulseProducts 10s ease-in-out infinite alternate-reverse;
}

@keyframes meshPulseProducts {
    0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
    100% { transform: scale(1.15) translate(30px, 20px); opacity: 1; }
}

.products-hero-container {
    position: relative;
    z-index: 2;
}

.products-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 161, 0, 0.12);
    border: 1px solid rgba(245, 161, 0, 0.35);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--primary-orange, #f5a100);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(245, 161, 0, 0.15);
}

.products-hero-badge .badge-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-orange, #f5a100);
    box-shadow: 0 0 10px var(--primary-orange, #f5a100);
    animation: badgeBlink 1.5s infinite;
}

.products-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.products-hero-title span.highlight-orange {
    color: var(--primary-orange, #f5a100);
    background: linear-gradient(135deg, #f5a100 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products-hero-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 820px;
}

/* ---------------------------------------------------
   2. CATEGORY TABS / FILTER BAR
   --------------------------------------------------- */
.product-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}

.filter-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-tab-btn:hover {
    background: #fff8eb;
    border-color: rgba(245, 161, 0, 0.5);
    color: #030d28;
    transform: translateY(-2px);
}

.filter-tab-btn.is-active {
    background: var(--primary-orange, #f5a100);
    border-color: var(--primary-orange, #f5a100);
    color: #030d28;
    box-shadow: 0 6px 20px rgba(245, 161, 0, 0.35);
    transform: translateY(-2px);
}

.filter-tab-btn i {
    font-size: 1.15rem;
}

/* ---------------------------------------------------
   3. FOUR WORLDS HERO SHOWCASE BANNER
   --------------------------------------------------- */
.four-worlds-banner {
    background: #0b1727;
    border-radius: 24px;
    padding: 35px 30px;
    color: #ffffff;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.four-worlds-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 161, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.four-worlds-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
}

.four-worlds-title span {
    color: var(--primary-orange, #f5a100);
}

.four-worlds-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

/* ---------------------------------------------------
   4. PRODUCT CARDS (HIGH-CONVERTING & CLEAN)
   --------------------------------------------------- */
.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.premium-product-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 24px rgba(11, 23, 39, 0.06);
    transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.premium-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 161, 0, 0.5);
    box-shadow: 0 20px 45px rgba(11, 23, 39, 0.12), 0 0 25px rgba(245, 161, 0, 0.12);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #030d28;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.premium-product-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-category-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(3, 13, 40, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.card-category-pill.cat-theme {
    border-color: rgba(245, 161, 0, 0.5);
    color: #f5a100;
}

.card-category-pill.cat-adventure {
    border-color: rgba(0, 210, 255, 0.5);
    color: #00d2ff;
}

.card-category-pill.cat-cinema {
    border-color: rgba(168, 85, 247, 0.5);
    color: #c084fc;
}

.card-category-pill.cat-indoor {
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.card-spec-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(245, 161, 0, 0.95);
    color: #030d28;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.card-content-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #0b1727;
    line-height: 1.25;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.card-product-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 18px;
    flex-grow: 1;
}

.card-features-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.spec-chip i {
    color: var(--primary-orange, #f5a100);
    font-size: 0.9rem;
}

.card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.btn-card-quote {
    flex-grow: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary-orange, #f5a100);
    color: #030d28;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(245, 161, 0, 0.25);
    text-decoration: none;
}

.btn-card-quote:hover {
    background: #e65100;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-card-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f8fafc;
    color: #0b1727;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-card-details:hover {
    background: #0b1727;
    color: #ffffff;
    border-color: #0b1727;
}

/* ---------------------------------------------------
   5. CONSULTATION / PROJECT CALCULATOR MODAL
   --------------------------------------------------- */
.quote-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 13, 40, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quote-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.quote-modal-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 620px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.quote-modal-overlay.is-active .quote-modal-card {
    transform: translateY(0);
}

.modal-header-banner {
    background: #030d28;
    color: #ffffff;
    padding: 24px 30px;
    position: relative;
}

.modal-header-banner h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.modal-header-banner p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--primary-orange, #f5a100);
    color: #030d28;
}

.modal-form-body {
    padding: 26px 30px 30px 30px;
}

.type-select-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.type-pill-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.type-pill-input:checked + .type-pill-label {
    background: #fff8eb;
    border-color: var(--primary-orange, #f5a100);
    color: #d97706;
}

/* ---------------------------------------------------
   RESPONSIVE STYLING
   --------------------------------------------------- */
@media (max-width: 991px) {
    .products-hero-wrapper {
        padding: 120px 0 60px 0;
    }
    .product-showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .type-select-pills {
        grid-template-columns: 1fr;
    }
    .modal-form-body {
        padding: 20px;
    }
    .product-filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    .filter-tab-btn {
        flex-shrink: 0;
    }
}
.products-advantage-section .advantage-card {
    background: #ffffff;
    color: #000000;
}

.products-advantage-section .advantage-card:hover {
    background: #ffffff;
}

.products-advantage-section .advantage-title,
.products-advantage-section .advantage-desc {
    color: #000000;
}

.about-framework-section.products-framework-section {
    background: var(--primary-orange, #f5a100);
}

.products-framework-section .about-story-heading span.gradient-word {
    background: none;
    color: #030d28;
    -webkit-text-fill-color: currentColor;
}

.products-framework-section .section-pill-tag {
    background: #030d28;
    color: #ffffff;
    border-color: #030d28;
}

.about-cta-section.products-cta-section {
    background: #ffffff;
}

.products-cta-section .about-cta-glow {
    display: none;
}

.products-cta-section .about-cta-heading,
.products-cta-section .about-cta-heading span.cta-orange-glow,
.products-cta-section .about-cta-text {
    color: #030d28;
}

.products-cta-section .btn-glow-primary {
    background: #030d28;
    color: #ffffff;
}
