/* ==========================================================================
   File: modular-kitchen.css
   Description: Specific styles for Modular Kitchen Service Page
   Author: AGOID INTERIOR
   Optimization: 100/100 PageSpeed Optimized, GPU Accelerated, Glassmorphism
   ========================================================================== */

/* --- 1. KITCHEN HERO (LCP Optimized for WebP/AVIF) --- */
.kitchen-hero {
    /* Modern Browsers will load WebP/AVIF if available on server */
    background-image: linear-gradient(rgba(10, 10, 42, 0.7), rgba(10, 10, 42, 0.9)), 
                      image-set(
                          url('../../assets/images/portfolio/luxury-l-shaped-kitchen-design-kolkata-2.webp') type('image/webp'),
                          url('../../assets/images/portfolio/luxury-l-shaped-kitchen-design-kolkata-2.jpg') type('image/jpeg')
                      );
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    
    /* Hardware acceleration for smooth scrolling & performance */
    transform: translateZ(0);
    will-change: transform;
}

/* --- 2. 10-GRID LAYOUT SYSTEM (Shapes) --- */
.layout-master-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.layout-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.layout-box:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(51, 213, 229, 0.1), rgba(10, 10, 42, 0.4));
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(51, 213, 229, 0.15);
}
.layout-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-cyan);
}
.layout-box h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.layout-box p { color: #aaa; font-size: 0.85rem; line-height: 1.5; }

/* --- 3. FEATURE HIGHLIGHTS --- */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.feature-box i {
    color: #2ecc71;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* --- 4. SIZE SECTION CARDS --- */
.size-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.size-card {
    background: #0f0f36;
    border-left: 5px solid;
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.size-card:hover { transform: translateX(10px); }
.size-small { border-color: #2ecc71; }   /* Green */
.size-medium { border-color: #f1c40f; }  /* Yellow */
.size-big { border-color: #e74c3c; }     /* Red */

/* --- 5. ADVANCED COMPARISON SECTION (Glassmorphism) --- */
.specs-container {
    background: #0d0d35; /* Deep Background */
    padding: 80px 0;
}
.specs-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    background: rgba(20, 20, 58, 0.95);
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 800;
    letter-spacing: 0.5px;
    position: sticky;
    top: 70px; /* Sticky Header */
    z-index: 20;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px 15px 0 0;
}
.col-head {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.col-head span { display: block; font-size: 0.7rem; font-weight: 400; margin-top: 5px; opacity: 0.7; text-transform: none; }
.specs-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
    transition: 0.3s;
    background: #0A0A2A;
}
.specs-row:hover { background: rgba(51, 213, 229, 0.05); }
.specs-row:last-child { border-bottom: none; border-radius: 0 0 15px 15px; }
.specs-label { color: #fff; font-weight: 600; display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.specs-label i { color: var(--accent-cyan); font-size: 1.1rem; width: 25px; }
.specs-val { text-align: center; font-size: 0.9rem; color: #ccc; line-height: 1.5; }
.specs-val.highlight { color: #fff; font-weight: 500; }
.bid-col { color: #aaa; }
.sid-col { color: #33D5E5; }
.lid-col { color: #E849E8; }
.lpid-col { color: #FFD700; }

@media (max-width: 991px) {
    .specs-header { display: none; }
    .specs-row { grid-template-columns: 1fr; gap: 15px; padding: 25px; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; border-radius: 12px; position: relative; }
    .specs-val { text-align: left; display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 8px; }
    .specs-val::before { content: attr(data-label); font-weight: 700; color: var(--accent-cyan); font-size: 0.8rem; }
    .specs-label { font-size: 1.1rem; border-bottom: 2px solid var(--accent-cyan); padding-bottom: 10px; margin-bottom: 10px; }
}

/* --- 6. ACCESSORY GRID --- */
.accessory-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}
.accessory-item:hover img { transform: scale(1.05); }

/* ==========================================================
   🚀 7, 8, 9: INTERACTIVE DIGITAL SHOWROOM (APPLE UI)
   ========================================================== */
.premium-studio-section {
    background: #05051a;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background Glowing Orbs for 3D Depth */
.studio-glow-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; pointer-events: none;
}
.orb-1 { width: 400px; height: 400px; background: rgba(51, 213, 229, 0.2); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: rgba(232, 73, 232, 0.2); bottom: -150px; right: -100px; }

/* The Main Wrapper */
.studio-interface-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- THE TABS (Controls) --- */
.studio-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
.studio-tab-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}
.studio-tab-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.studio-tab-btn.active {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
    color: #fff;
    box-shadow: 0 5px 20px rgba(51, 213, 229, 0.4);
}

/* --- THE DISPLAY SCREEN --- */
.studio-display-screen {
    background: rgba(10, 10, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    min-height: 600px;
}

.studio-tab-content { display: none; animation: fadeInZoom 0.5s ease forwards; }
.studio-tab-content.active { display: block; }

.tab-header-info { text-align: center; margin-bottom: 25px; }
.tab-header-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; font-weight: 700; }
.tab-header-info p { color: #aaa; font-size: 0.95rem; max-width: 700px; margin: 0 auto; }

/* Cinematic Frame for Images/360 */
.screen-frame {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    background: #000;
    aspect-ratio: 16/9; /* Forces a perfect cinematic ratio */
}

/* 360 Viewer */
#panorama-container { width: 100%; height: 100%; }

/* --- HIGH-TECH RADAR HOTSPOTS --- */
.hotspot-wrapper .hotspot-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-hotspot { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%); z-index: 10; cursor: pointer; }

.hotspot-core {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-cyan); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 12px; z-index: 2; box-shadow: 0 0 15px var(--accent-cyan);
    transition: 0.3s;
}
.tech-hotspot:hover .hotspot-core { transform: scale(1.2); background: var(--accent-pink); box-shadow: 0 0 20px var(--accent-pink); color: #fff; }

.radar-ping {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    transform: translate(-50%, -50%); background: transparent; border: 2px solid var(--accent-cyan);
    border-radius: 50%; z-index: 1; animation: radarPulse 2s infinite ease-out;
}
@keyframes radarPulse { 0% { width: 100%; height: 100%; opacity: 1; } 100% { width: 300%; height: 300%; opacity: 0; } }

/* Glassmorphism Tooltip */
.glass-tooltip {
    position: absolute; bottom: 45px; left: 50%; transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 35, 0.9); backdrop-filter: blur(15px); border: 1px solid rgba(51, 213, 229, 0.3);
    padding: 15px; border-radius: 12px; width: 260px; color: #fff; text-align: left;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 20; pointer-events: none;
}
.tech-hotspot:hover .glass-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.glass-tooltip img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.1); }
.glass-tooltip h4 { color: var(--accent-cyan); font-size: 1.1rem; margin-bottom: 5px; }
.glass-tooltip p { color: #ccc; font-size: 0.85rem; line-height: 1.4; margin: 0; }

/* --- PREMIUM COLOR VISUALIZER --- */
.visualizer-container { position: relative; }
.kitchen-base { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.cabinet-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: transparent; mix-blend-mode: multiply; z-index: 2; transition: background-color 0.5s ease;
}

/* Floating Material Palette */
.floating-palette {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
    display: flex; gap: 15px; z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.palette-swatch {
    width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff;
    cursor: pointer; position: relative; transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.palette-swatch:hover { transform: translateY(-5px) scale(1.1); border-color: var(--accent-cyan); }

/* Swatch Tooltip */
.swatch-name {
    position: absolute; top: -35px; left: 50%; transform: translateX(-50%);
    background: #fff; color: #000; font-size: 0.75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 4px; white-space: nowrap;
    opacity: 0; visibility: hidden; transition: 0.3s; pointer-events: none;
}
.swatch-name::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border-width: 4px 4px 0; border-style: solid; border-color: #fff transparent transparent transparent; }
.palette-swatch:hover .swatch-name { opacity: 1; visibility: visible; top: -40px; }

/* Responsive */
@media (max-width: 768px) {
    .studio-controls { flex-direction: column; border-radius: 16px; padding: 15px; }
    .studio-tab-btn { justify-content: center; width: 100%; }
    .studio-display-screen { padding: 15px; min-height: auto; }
    .floating-palette { bottom: 15px; padding: 8px; gap: 10px; }
    .palette-swatch { width: 30px; height: 30px; }
}

/* ==========================================================
   🚀 10. SCIENCE & ANATOMY (TECH BLUEPRINT UI)
   ========================================================== */
.premium-science-section {
    background: #0d0d35;
    padding: 100px 0;
    position: relative;
}

.science-master-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Perfect balanced ratio */
    gap: 50px;
    align-items: stretch;
    margin-top: 40px;
}

/* --- LEFT COLUMN: PRINCIPLES --- */
.science-content-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: space-between; /* This dynamically fills the height! */
}

.science-principle-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 0 15px 15px 0;
    transition: all 0.4s ease;
}

.science-principle-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent-cyan);
    transform: translateX(10px);
}

.science-principle-card:nth-child(2):hover { border-left-color: var(--accent-pink); }
.science-principle-card:nth-child(3):hover { border-left-color: #FFD700; }
.science-principle-card:nth-child(4):hover { border-left-color: #2ecc71; }

.principle-number {
    width: 45px;
    height: 45px;
    background: var(--accent-cyan);
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.principle-text h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
.principle-text p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }
.principle-text strong { color: #fff; }

/* The Zone Mini Grid */
.zone-grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}
.zone-badge {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(232, 73, 232, 0.3);
    color: #ddd;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.zone-badge i { color: var(--accent-pink); }
.zone-badge:hover { background: rgba(232, 73, 232, 0.1); color: #fff; border-color: var(--accent-pink); }

/* --- RIGHT COLUMN: ANATOMY SPEC SHEET --- */
.premium-anatomy-card {
    background: linear-gradient(145deg, rgba(20, 20, 55, 0.8), rgba(10, 10, 30, 0.9));
    border: 1px solid rgba(51, 213, 229, 0.2);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.anatomy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 15px;
}
.anatomy-header h3 { color: #fff; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.anatomy-header h3 i { color: var(--accent-cyan); }

.pulse-badge {
    background: rgba(51, 213, 229, 0.1);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(51, 213, 229, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(51, 213, 229, 0); } 100% { box-shadow: 0 0 0 0 rgba(51, 213, 229, 0); } }

/* The Image Wrapper with Scanner Effect */
.anatomy-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.05);
}
.anatomy-core-img { width: 100%; display: block; opacity: 0.85; transition: 0.4s; }
.premium-anatomy-card:hover .anatomy-core-img { opacity: 1; transform: scale(1.02); }

/* The Sci-Fi Scanner Line */
.scanner-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    animation: scanImage 3s ease-in-out infinite;
    opacity: 0.7;
}
@keyframes scanImage { 0% { top: 0; } 50% { top: 100%; } 100% { top: 0; } }

/* The Premium Spec List */
.premium-layers-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 15px;
    flex-grow: 1; /* Pushes content evenly */
}
.premium-layers-list li {
    display: flex; align-items: flex-start; gap: 15px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: 0.3s;
}
.premium-layers-list li:hover { background: rgba(51, 213, 229, 0.05); border-color: rgba(51, 213, 229, 0.3); transform: translateY(-3px); }

.layer-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-cyan); font-size: 1.1rem; flex-shrink: 0;
}
.layer-info strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 4px; }
.layer-info span { color: #aaa; font-size: 0.85rem; line-height: 1.4; display: block; }

/* Responsive Handling */
@media (max-width: 1024px) {
    .science-master-grid { grid-template-columns: 1fr; }
    .science-content-panel { gap: 20px; }
    .zone-grid-mini { grid-template-columns: 1fr; }
    .zone-badge:last-child { grid-column: span 1; }
}

/* --- 11. KOLKATA PROOF ENGINEERING --- */
.engineering-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 40px;
}
.eng-card {
    background: #0d0d35; padding: 25px; border-radius: 15px;
    border: 1px solid rgba(51, 213, 229, 0.2); text-align: center;
}
.eng-video {
    width: 100%; height: 180px; object-fit: cover;
    border-radius: 10px; margin-bottom: 15px; background: #000;
}

/* --- 12. SMART KITCHEN FEATURES --- */
.smart-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 40px;
}
.smart-card {
    background: #14143a; border: 1px solid rgba(51, 213, 229, 0.2);
    border-radius: 15px; overflow: hidden; transition: 0.3s;
}
.smart-card:hover { transform: translateY(-5px); border-color: #33D5E5; }
.smart-img { width: 100%; height: 200px; object-fit: cover; }
.smart-content { padding: 25px; }

/* ==========================================================
   🚀 13. HARDWARE FACE-OFF (APPLE/TESLA STYLE COMPARISON)
   ========================================================== */
.hardware-faceoff-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Right card is slightly wider */
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
}

/* Base Card Styling */
.hw-card {
    background: rgba(15, 15, 45, 0.6);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

/* The Local Market Card (Dull, Negative Psychology) */
.local-hw-card {
    background: rgba(10, 10, 30, 0.4);
    opacity: 0.85;
}
.local-hw-card:hover { opacity: 1; border-color: rgba(255, 71, 87, 0.3); }

/* The Premium AGOID Card (Glowing, Positive Psychology) */
.premium-hw-card {
    background: linear-gradient(145deg, rgba(20, 20, 55, 0.9), rgba(10, 10, 35, 0.9));
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(51, 213, 229, 0.15);
    z-index: 5;
}
.premium-hw-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(51, 213, 229, 0.25);
}

/* Crown Icon for Premium Card */
.crown-icon {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FFD700, #f39c12);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

/* Card Headers */
.hw-card-header { margin-bottom: 30px; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 20px; }
.hw-badge {
    display: inline-block; padding: 5px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px;
}
.badge-danger { background: rgba(255, 71, 87, 0.1); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.3); }
.badge-gold { background: rgba(255, 215, 0, 0.1); color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.3); }

.hw-card-header h3 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; font-weight: 700; }
.hw-card-header p { color: #aaa; font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* Comparison List */
.hw-compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 25px; }
.hw-compare-list li { display: flex; flex-direction: column; gap: 6px; }

.hw-spec-title { color: #888; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.hw-spec-value { font-size: 1.3rem; font-weight: 800; font-family: 'Poppins', sans-serif; display: flex; align-items: center; gap: 8px; }

/* Colors */
.text-danger { color: #ff4757; }
.text-cyan { color: var(--accent-cyan); }
.bg-danger { background: #ff4757; }
.bg-cyan { background: var(--accent-cyan); }

/* Visual Metric Bars (The Game Changer) */
.metric-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 5px 0;
    overflow: hidden;
}
.metric-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Descriptive Note */
.hw-note { color: #999; font-size: 0.85rem; margin: 0; font-style: italic; }
.premium-hw-card .hw-note { color: #ccc; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hardware-faceoff-container { grid-template-columns: 1fr; }
    .premium-hw-card { transform: scale(1); }
    .premium-hw-card:hover { transform: translateY(-5px); }
}

/* ==========================================================
   🚀 14. PREMIUM MATERIAL FINISHES GALLERY (WORLD-CLASS UI)
   ========================================================== */

/* Container for Desktop Grid & Mobile Scroll */
.material-gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 cards in a row for desktop */
    gap: 20px;
    margin-top: 40px;
}

/* The Tactical Material Card */
.material-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4; /* Perfect portrait ratio for premium cards */
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* The Texture Image with Zoom Effect */
.material-texture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #2a2a35; /* Fallback color if image is loading/missing */
}

.material-card:hover .material-texture-img {
    transform: scale(1.15); /* Zooms in to "feel" the texture */
}

/* The Glassmorphism Info Overlay */
.material-glass-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(5, 5, 20, 0.95) 0%, rgba(5, 5, 20, 0.7) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(35px); /* Hides the paragraph initially */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.material-card:hover .material-glass-content {
    transform: translateY(0); /* Slides up to reveal description */
}

/* Tag, Title, and Description */
.mat-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.material-glass-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.material-glass-content p {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease 0.1s; /* Fades in smoothly */
}

.material-card:hover .material-glass-content p {
    opacity: 1;
}

/* Brand Theme Accent Tags */
.mat-tag.text-cyan { color: var(--accent-cyan); background: rgba(51, 213, 229, 0.1); border-color: rgba(51, 213, 229, 0.2); }
.mat-tag.text-pink { color: var(--accent-pink); background: rgba(232, 73, 232, 0.1); border-color: rgba(232, 73, 232, 0.2); }
.mat-tag.text-gold { color: #FFD700; background: rgba(255, 215, 0, 0.1); border-color: rgba(255, 215, 0, 0.2); }

/* --- MOBILE RESPONSIVE (Swipeable App-like Carousel) --- */
@media (max-width: 1024px) {
    .material-gallery-container {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        gap: 15px;
        
        /* Hide scrollbar */
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }
    .material-gallery-container::-webkit-scrollbar { display: none; }
    
    .material-card {
        flex: 0 0 240px; /* Fixed width for cards on tablet/mobile */
        aspect-ratio: 3 / 4;
    }
    
    /* On mobile, keep text always visible (no hover required for touch devices) */
    .material-glass-content { transform: translateY(0); background: linear-gradient(to top, rgba(5, 5, 20, 0.95) 20%, transparent 100%); }
    .material-glass-content p { opacity: 1; }
}

@media (max-width: 768px) {
    .material-card { flex: 0 0 220px; }
}

/* ==========================================================
   🚀 15. THE 45-DAY TRANSFORMATION ROADMAP (WORLD-CLASS UI)
   ========================================================== */
.premium-roadmap-section {
    background: #0d0d35;
    padding: 100px 0;
    position: relative;
}

/* The Main Wrapper */
.modern-timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding-left: 50px; /* Space for the track and nodes */
}

/* The Glowing Vertical Track */
.timeline-track {
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(51, 213, 229, 0), 
        rgba(51, 213, 229, 0.5) 10%, 
        rgba(232, 73, 232, 0.5) 50%, 
        rgba(255, 215, 0, 0.5) 90%, 
        rgba(255, 215, 0, 0)
    );
    z-index: 1;
}

/* Each Step Container */
.timeline-card-box {
    position: relative;
    margin-bottom: 40px;
    z-index: 2;
}
.timeline-card-box:last-child { margin-bottom: 0; }

/* The Icon Node (Replaces the ugly broken text circles) */
.timeline-node {
    position: absolute;
    left: -50px; /* Aligns perfectly over the track */
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0A0A2A;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.glow-cyan { border-color: var(--accent-cyan); color: var(--accent-cyan); box-shadow: 0 0 15px rgba(51, 213, 229, 0.3); }
.glow-pink { border-color: var(--accent-pink); color: var(--accent-pink); box-shadow: 0 0 15px rgba(232, 73, 232, 0.3); }
.glow-gold { border-color: #FFD700; color: #FFD700; box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }

/* The Glassmorphism Content Card */
.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-card-box:hover .timeline-node { transform: scale(1.1); }
.hover-glow-cyan:hover { background: rgba(51, 213, 229, 0.05); border-color: rgba(51, 213, 229, 0.3); transform: translateX(10px); }
.hover-glow-pink:hover { background: rgba(232, 73, 232, 0.05); border-color: rgba(232, 73, 232, 0.3); transform: translateX(10px); }
.hover-glow-gold:hover { background: rgba(255, 215, 0, 0.05); border-color: rgba(255, 215, 0, 0.3); transform: translateX(10px); }

/* Card Header (Date Pill & Location) */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.date-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.location-tag {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.location-tag i { color: #555; }

/* Text Content */
.timeline-content h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; font-weight: 700; }
.timeline-content p { color: #aaa; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modern-timeline-wrapper { padding-left: 40px; }
    .timeline-track { left: 16px; }
    .timeline-node { left: -40px; width: 32px; height: 32px; font-size: 0.9rem; }
    .timeline-content { padding: 25px 20px; }
    .timeline-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   🚀 16. SOCIAL PROOF & TRUST HUB (WORLD-CLASS UI)
   ========================================================== */
.premium-trust-section {
    background: #0A0A2A;
    padding: 100px 0;
    position: relative;
}

/* Google Trust Badge */
.google-rating-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.google-rating-badge i { color: #ea4335; margin-right: 8px; font-size: 1.1rem; }
.google-rating-badge strong { color: #fff; }

/* The Wall of Love Grid */
.trust-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr; /* Cinematic Video takes more space */
    gap: 25px;
    margin-top: 40px;
}

/* Base Card Style */
.review-card {
    background: rgba(15, 15, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.review-card:hover { transform: translateY(-8px); border-color: rgba(255, 215, 0, 0.3); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }

/* --- Cinematic Video Card --- */
.video-review-card { cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.video-thumbnail { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.5s; }
.video-review-card:hover .video-thumbnail { opacity: 0.4; transform: scale(1.05); }

.video-overlay { position: absolute; z-index: 2; text-align: center; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(to top, rgba(10,10,42,0.9), transparent); }
.play-btn-ripple {
    width: 60px; height: 60px; background: var(--accent-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; font-size: 1.5rem; margin-bottom: 20px;
    box-shadow: 0 0 0 0 rgba(51, 213, 229, 0.7); animation: ripple 2s infinite; transition: 0.3s;
}
.video-review-card:hover .play-btn-ripple { transform: scale(1.1); background: var(--accent-pink); box-shadow: 0 0 0 0 rgba(232, 73, 232, 0.7); }
@keyframes ripple { 70% { box-shadow: 0 0 0 20px rgba(51, 213, 229, 0); } 100% { box-shadow: 0 0 0 0 rgba(51, 213, 229, 0); } }

.video-info h4 { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
.video-info p { color: var(--accent-cyan); font-size: 0.85rem; }

/* --- Text Review Card --- */
.text-review-card { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.review-stars { color: #FFD700; font-size: 1rem; margin-bottom: 15px; letter-spacing: 2px; }
.review-text { color: #ccc; font-size: 0.95rem; line-height: 1.6; font-style: italic; margin-bottom: 25px; position: relative; z-index: 2; }
.review-text::before { content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: -15px; left: -10px; font-size: 3rem; color: rgba(255,255,255,0.03); z-index: -1; }

.reviewer-profile { display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.reviewer-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--accent-cyan); color: #000; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; }
.reviewer-details h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 2px; display: flex; align-items: center; gap: 6px; }
.verified-badge { color: #2ecc71; font-size: 0.9rem; }
.reviewer-details span { color: #888; font-size: 0.8rem; }

/* --- High-Impact Metrics Bar --- */
.impact-metrics-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(90deg, rgba(20, 20, 55, 0.8), rgba(10, 10, 30, 0.9));
    border: 1px solid rgba(51, 213, 229, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}
.metric-item { text-align: center; flex: 1; }
.metric-number { font-size: 3rem; font-weight: 800; color: #fff; font-family: 'Poppins', sans-serif; line-height: 1; }
.metric-plus { font-size: 2rem; font-weight: 800; color: var(--accent-cyan); }
.metric-item p { color: #aaa; font-size: 0.95rem; margin-top: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.metric-divider { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .video-review-card { grid-column: span 2; }
}
@media (max-width: 768px) {
    .trust-grid { grid-template-columns: 1fr; }
    .video-review-card { grid-column: span 1; }
    .impact-metrics-bar { flex-direction: column; gap: 30px; padding: 40px 20px; }
    .metric-divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent); }
}

/* --- 17. CALCULATOR ADD-ONS --- */
.addon-group {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0;
    background: rgba(0,0,0,0.2); padding: 15px; border-radius: 10px;
}
.addon-item { display: flex; align-items: center; gap: 10px; color: #ccc; cursor: pointer; }
.addon-item input { width: 18px; height: 18px; accent-color: var(--accent-cyan); }

/* ==========================================================
   🚀 18. SMART ESTIMATOR (WORLD-CLASS SAAS UI)
   ========================================================== */
.pricing-explorer-container {
    background: linear-gradient(145deg, #0d0d35, #05051a);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(51, 213, 229, 0.15);
    position: relative;
    overflow: hidden;
}
.estimator-header { text-align: center; margin-bottom: 40px; }
.estimator-header h2 { font-size: 2.2rem; color: #fff; margin-bottom: 10px; }
.estimator-header p { color: #aaa; font-size: 0.95rem; }

/* The Sleek Tab Navigation (FIXED: Single Line Swipeable) */
.layout-tabs-wrapper { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 40px; 
    width: 100%;
    overflow: hidden; /* Prevents container from breaking */
}

.layout-tabs {
    display: flex; 
    gap: 10px; 
    background: rgba(255,255,255,0.03);
    padding: 8px; 
    border-radius: 50px; 
    border: 1px solid rgba(255,255,255,0.05);
    
    /* 🔥 THE MAGIC FIX: Keeps tabs in one single line & makes them swipeable */
    flex-wrap: nowrap; 
    overflow-x: auto; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling for iOS */
    
    /* Hide scrollbar for a clean Apple-like look */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.layout-tabs::-webkit-scrollbar { display: none; }

.layout-tab-btn {
    background: transparent; border: none; color: #aaa;
    padding: 12px 25px; border-radius: 50px; cursor: pointer;
    font-size: 0.95rem; font-weight: 600; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif;
    
    /* 🔥 Ensures buttons don't shrink and keep their full shape */
    flex-shrink: 0; 
    white-space: nowrap; 
}

.layout-tab-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.layout-tab-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan), #0984e3);
    color: #000; box-shadow: 0 5px 20px rgba(51, 213, 229, 0.4); transform: translateY(-2px);
}

/* 📱 Mobile Specific Fixes for the Tabs */
@media (max-width: 768px) {
    .layout-tabs-wrapper {
        justify-content: flex-start; /* Aligns to left on mobile so user knows they can swipe */
    }
    .layout-tabs {
        padding: 8px; /* Slightly more space for touch */
        border-radius: 12px; /* Flatten out the pill shape slightly on mobile */
    }
}

/* The Size Grid & Cards */
.smart-size-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px; animation: fadeIn 0.5s ease-in-out;
}
.smart-size-card {
    background: rgba(15, 15, 45, 0.6); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
    overflow: hidden; transition: 0.4s; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.smart-size-card:hover { border-color: rgba(51, 213, 229, 0.3); transform: translateY(-5px); }

/* 🔥 THE MAGIC FIX: Make the 3rd card span full width to fill the empty space */
.smart-size-card:nth-child(3) {
    grid-column: 1 / -1; /* Spans across all available columns */
    background: linear-gradient(135deg, rgba(20, 20, 50, 0.6), rgba(10, 10, 30, 0.9)); /* Gives it a premium look */
}

/* For Desktop: Make the 3rd card horizontal (Side-by-Side) */
@media (min-width: 1025px) {
    .smart-size-card:nth-child(3) {
        display: flex;
        align-items: center;
    }
    
    .smart-size-card:nth-child(3) .smart-card-header {
        flex: 0 0 35%; /* Header takes 35% space */
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 30px;
    }
    
    .smart-size-card:nth-child(3) .smart-pkg-list {
        flex: 1; /* Pricing list takes remaining space */
        display: grid;
        grid-template-columns: 1fr 1fr; /* Split prices into 2 columns */
        gap: 20px;
        padding: 30px;
    }
}

/* Card Header & Input */
.smart-card-header {
    background: rgba(255,255,255,0.03); padding: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sch-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sch-top h4 { color: #fff; font-size: 1.3rem; font-weight: 700; margin: 0; }
.sch-badge {
    background: rgba(51, 213, 229, 0.1); color: var(--accent-cyan);
    font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 50px;
    border: 1px solid rgba(51, 213, 229, 0.3);
}
.sch-input-group {
    display: flex; justify-content: space-between; align-items: center;
    background: #05051a; padding: 12px 20px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.sch-input-group label { color: #888; font-size: 0.9rem; font-weight: 600; margin: 0; }
.sch-input-wrapper { display: flex; align-items: center; gap: 10px; }
.sch-input {
    background: transparent; border: none; color: #fff; font-size: 1.4rem;
    font-weight: 800; width: 60px; text-align: right; outline: none; font-family: 'Poppins', sans-serif;
}
.sch-input:focus { color: var(--accent-cyan); border-bottom: 1px solid var(--accent-cyan); }
.sch-input-wrapper i { color: #555; font-size: 0.9rem; }

/* The Psychological Pricing Rows */
.smart-pkg-list { padding: 25px; display: flex; flex-direction: column; gap: 15px; }

.est-pkg-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; border-radius: 12px; background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03); transition: 0.3s;
}
.est-pkg-row:hover { background: rgba(255,255,255,0.05); transform: translateX(5px); }

/* Left Side (Name & Rate) */
.est-row-left { display: flex; flex-direction: column; gap: 4px; }
.est-pkg-name { color: #fff; font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.est-mini-tag { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; }
.est-pkg-rate { color: #888; font-size: 0.8rem; font-weight: 500; }

/* Right Side (Base, Discount, Final) */
.est-row-right { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.est-price-breakdown { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.est-base-price {
    color: #666; font-size: 0.85rem; font-weight: 600; text-decoration: line-through;
    text-decoration-color: #ff4757;
}
.est-discount-badge {
    background: rgba(255, 71, 87, 0.15); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.3);
    font-size: 0.65rem; font-weight: 800; padding: 2px 6px; border-radius: 4px;
}
.est-final-price { color: #fff; font-size: 1.3rem; font-weight: 800; font-family: 'Poppins', sans-serif; letter-spacing: 0.5px; }

/* Themes for Tags & Final Price */
.theme-basic .est-mini-tag { background: rgba(149, 165, 166, 0.2); color: #95a5a6; }
.theme-standard .est-mini-tag { background: rgba(51, 213, 229, 0.2); color: var(--accent-cyan); }
.theme-standard .est-final-price { color: var(--accent-cyan); }
.theme-standard { border-color: rgba(51, 213, 229, 0.2); background: rgba(51, 213, 229, 0.05); }

.theme-luxury .est-mini-tag { background: rgba(232, 73, 232, 0.2); color: var(--accent-pink); }
.theme-luxury .est-final-price { color: var(--accent-pink); }

.theme-elite .est-mini-tag { background: rgba(255, 215, 0, 0.2); color: #FFD700; }
.theme-elite .est-final-price { color: #FFD700; }

@media (max-width: 768px) {
    .pricing-explorer-container { padding: 30px 20px; }
    .layout-tabs-wrapper { overflow-x: auto; padding-bottom: 10px; justify-content: flex-start; }
    .layout-tabs { flex-wrap: nowrap; border-radius: 12px; }
    .layout-tab-btn { flex-shrink: 0; padding: 10px 20px; }
    .sch-top { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================
   🚀 19. VISUAL MEASUREMENT GUIDE (ARCHITECTURAL BLUEPRINT UI)
   ========================================================== */
.premium-measure-wrapper {
    background: linear-gradient(145deg, rgba(15, 15, 45, 0.8), rgba(5, 5, 26, 0.95));
    border: 1px solid rgba(51, 213, 229, 0.15);
    border-radius: 24px;
    padding: 50px 40px;
    margin-top: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.measure-header { text-align: center; margin-bottom: 40px; }
.tech-badge {
    display: inline-block; padding: 6px 15px; border-radius: 50px;
    background: rgba(232, 73, 232, 0.1); color: var(--accent-pink);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    border: 1px solid rgba(232, 73, 232, 0.3); margin-bottom: 15px;
}
.measure-header h3 { color: #fff; font-size: 1.8rem; margin-bottom: 10px; font-weight: 700; }
.measure-header p { color: #aaa; font-size: 0.95rem; max-width: 600px; margin: 0 auto; }

.measure-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.measure-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}
.measure-step-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.04); }

.hover-glow-cyan:hover { border-color: rgba(51, 213, 229, 0.4); box-shadow: 0 10px 30px rgba(51, 213, 229, 0.1); }
.hover-glow-pink:hover { border-color: rgba(232, 73, 232, 0.4); box-shadow: 0 10px 30px rgba(232, 73, 232, 0.1); }
.hover-glow-gold:hover { border-color: rgba(255, 215, 0, 0.4); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1); }

.step-number {
    display: inline-block; padding: 4px 12px; border-radius: 8px;
    background: var(--accent-cyan); color: #000;
    font-size: 0.8rem; font-weight: 800; text-transform: uppercase;
    margin-bottom: 15px;
}

.measure-step-card h4 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.measure-step-card p { color: #999; font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px; }

/* CAD Blueprint Visualization */
.cad-blueprint-box {
    background: #030312;
    height: 160px;
    border-radius: 12px;
    border: 1px solid rgba(51, 213, 229, 0.2);
    display: flex; align-items: center; justify-content: center;
    position: relative; margin-bottom: 20px;
    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: 15px 15px;
}
.blueprint-top-view { position: relative; width: 140px; height: 100px; }
.wall-line {
    position: absolute; background: rgba(51, 213, 229, 0.15); border: 2px solid var(--accent-cyan);
    display: flex; align-items: center; justify-content: center; color: var(--accent-cyan);
    font-size: 0.7rem; font-weight: 700; text-shadow: 0 0 5px #000;
}
.wall-a { width: 140px; height: 30px; top: 0; left: 0; }
.wall-b { width: 30px; height: 70px; top: 30px; left: 0; border-top: none; }
.corner-point {
    position: absolute; top: 12px; left: 12px; width: 6px; height: 6px;
    background: #ff4757; border-radius: 50%; box-shadow: 0 0 10px #ff4757;
}

/* Pro Tip Box */
.pro-tip-box {
    background: rgba(255, 215, 0, 0.05); border-left: 3px solid #FFD700;
    padding: 12px; border-radius: 0 8px 8px 0; display: flex; gap: 10px; align-items: flex-start;
}
.pro-tip-box i { color: #FFD700; margin-top: 3px; }
.pro-tip-box span { color: #ccc; font-size: 0.8rem; line-height: 1.4; }
.pro-tip-box strong { color: #fff; }

/* Height Profile List */
.height-profile-list { display: flex; flex-direction: column; gap: 15px; }
.h-profile-item { display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.3); padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.03); }
.h-visual {
    width: 30px; background: rgba(255,255,255,0.1); border-bottom: 2px solid #fff;
    display: flex; align-items: center; justify-content: center; position: relative; border-radius: 4px 4px 0 0;
}
.h-visual.low { height: 25px; border-top: 2px solid #888; }
.h-visual.medium { height: 45px; border-top: 2px solid var(--accent-cyan); background: rgba(51,213,229,0.1); }
.h-visual.full { height: 60px; border-top: 2px solid var(--accent-pink); background: rgba(232,73,232,0.1); }
.h-val { font-size: 0.7rem; color: #fff; font-weight: 700; }
.h-text { display: flex; flex-direction: column; }
.h-text strong { color: #fff; font-size: 0.95rem; }
.h-text span { color: #888; font-size: 0.8rem; }

/* Math Engine Box (Wide Card) */
.bento-wide { grid-column: span 2; }
.wide-header-flex { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.wide-header-flex h4 { margin-bottom: 0; }

.math-engine-box { background: #05051a; border-radius: 15px; border: 1px solid rgba(255, 215, 0, 0.2); overflow: hidden; }
.math-formula {
    background: rgba(255, 215, 0, 0.1); padding: 15px 20px;
    font-family: 'Courier New', Courier, monospace; font-size: 1.1rem; color: #ddd; font-weight: 700;
    text-align: center; border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
}
.math-operator { color: #FFD700; margin: 0 10px; }
.math-result { color: #fff; background: #FFD700; color: #000; padding: 2px 10px; border-radius: 4px; }

.math-example { padding: 25px; color: #aaa; font-size: 0.95rem; text-align: center; }
.ex-label { color: #FFD700; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.ex-calculation {
    display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap;
}
.calc-block { background: rgba(255,255,255,0.05); padding: 15px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; }
.calc-block span { font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.calc-block strong { font-size: 1.4rem; color: #fff; font-family: 'Courier New', Courier, monospace; }
.calc-block.final { background: linear-gradient(135deg, #FFD700, #f39c12); border: none; }
.calc-block.final span { color: rgba(0,0,0,0.6); }
.calc-block.final strong { color: #000; }

/* --- MOBILE RESPONSIVE (Safely kept old code intact) --- */
@media (max-width: 991px) {
    .measure-bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .ex-calculation { gap: 10px; }
    .calc-block { padding: 10px 15px; }
    .calc-block strong { font-size: 1.1rem; }
    .premium-measure-wrapper { padding: 30px 20px; }
}

@media (max-width: 768px) {
    /* Saved code for Top Estimator Tabs so they don't break on mobile */
    .layout-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; }
    .layout-tab-btn { flex-shrink: 0; }
    .price-row { grid-template-columns: 1fr 1fr; gap: 5px; }
    .pkg-rate { grid-column: 1 / -1; text-align: left; font-size: 0.7rem; color: #555; margin-top: -5px; margin-bottom: 5px; }
}

/* ==========================================================
   🚀 20. KITCHEN SHOWCASE & FILTERING (SWIPEABLE UI)
   ========================================================== */

/* 🔥 The Magic Fix: Single line, horizontally scrollable container */
.gallery-filter-container { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 40px; 
    overflow-x: auto; /* Enables horizontal scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth swipe on mobile */
    padding-bottom: 10px; /* Space for shadow/hover effects */
    
    /* Hide the scrollbar for an Apple-like clean look */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.gallery-filter-container::-webkit-scrollbar { display: none; }

/* The Filter Buttons */
.g-filter-btn {
    padding: 10px 25px; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc; 
    border-radius: 50px; 
    cursor: pointer; 
    font-size: 0.9rem; 
    font-weight: 500; 
    transition: all 0.3s ease;
    
    /* 🔥 The Magic Fix: Prevents buttons from shrinking or wrapping text */
    flex-shrink: 0; 
    white-space: nowrap; 
    display: flex;
    align-items: center;
    gap: 8px;
}

.g-filter-btn i { font-size: 1rem; }

.g-filter-btn:hover, .g-filter-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan), #0984e3);
    color: #000; 
    border-color: var(--accent-cyan);
    box-shadow: 0 5px 20px rgba(51, 213, 229, 0.4); 
    transform: translateY(-2px);
    font-weight: 700;
}
.g-filter-btn:hover, .g-filter-btn.active {
    background: var(--accent-cyan); color: #000; border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(51, 213, 229, 0.4); transform: translateY(-2px);
}
.kitchen-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 25px; }
.k-gallery-item {
    border-radius: 15px; overflow: hidden; position: relative; cursor: pointer;
    aspect-ratio: 4/3; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05);
    opacity: 1; transform: scale(1); transition: all 0.4s ease-in-out;
}
.k-gallery-item.hide { display: none; opacity: 0; transform: scale(0.8); }
.k-gallery-item.show { animation: fadeInZoom 0.5s ease forwards; }

@keyframes fadeInZoom {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.k-img-box { width: 100%; height: 100%; position: relative; }
.k-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.k-gallery-item:hover .k-img-box img { transform: scale(1.1); }
.k-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 42, 0.9), rgba(10, 10, 42, 0.2), transparent);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 25px;
    opacity: 0; transition: all 0.4s ease;
}
.k-gallery-item:hover .k-overlay { opacity: 1; }
.k-text h4 { color: #fff; font-size: 1.2rem; margin-bottom: 5px; transform: translateY(20px); transition: 0.4s ease; }
.k-text p { color: var(--accent-cyan); font-size: 0.9rem; transform: translateY(20px); transition: 0.4s ease 0.1s; }
.k-zoom-btn {
    position: absolute; top: 20px; right: 20px; width: 45px; height: 45px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem;
    transform: translateY(-20px) rotate(45deg); opacity: 0; transition: 0.4s ease 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
}
.k-zoom-btn:hover { background: var(--accent-cyan); color: #000; }
.k-gallery-item:hover .k-text h4, .k-gallery-item:hover .k-text p { transform: translateY(0); }
.k-gallery-item:hover .k-zoom-btn { transform: translateY(0) rotate(0deg); opacity: 1; }

@media (max-width: 768px) {
    .kitchen-gallery-grid { grid-template-columns: 1fr; }
    .k-overlay { opacity: 1; background: linear-gradient(to top, rgba(10, 10, 42, 0.9), transparent); }
    .k-text h4, .k-text p, .k-zoom-btn { transform: translateY(0); opacity: 1; }
}

/* ==========================================================
   21. BEFORE/AFTER & VIDEO GRID INTERACTIONS (NEW)
   ========================================================== */
.b-a-grid-item, .video-grid-item { position: relative; width: 100%; height: 100%; overflow: hidden; }

/* Before/After Grid Hover Effect */
.b-a-grid-item .img-after, .b-a-grid-item .img-before {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease;
}
.b-a-grid-item .img-before { opacity: 0; z-index: 2; }
.k-gallery-item:hover .b-a-grid-item .img-before { opacity: 1; }

/* Video Grid Hover Effect */
.video-grid-item video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.k-gallery-item:hover .video-grid-item video { transform: scale(1.05); }

/* Hover Badge indicator */
.hover-badge {
    position: absolute; top: 15px; left: 15px; background: rgba(0,0,0,0.6); color: #fff;
    padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; z-index: 3;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); pointer-events: none; transition: 0.3s;
}
.k-gallery-item:hover .hover-badge { opacity: 0; } /* Hide badge on hover */

/* Override Zoom button inside grid */
.k-zoom-btn { z-index: 10; cursor: pointer; border: none; outline: none; }

/* ==========================================================
   22. PREMIUM MEDIA MODAL (CINEMATIC VIEW)
   ========================================================== */
.media-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 5, 15, 0.95);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 100000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.media-modal-overlay.active { opacity: 1; visibility: visible; }
.media-modal-close {
    position: absolute; top: 25px; right: 30px; background: transparent; border: none;
    color: #fff; font-size: 2.5rem; cursor: pointer; transition: 0.3s; z-index: 10;
}
.media-modal-close:hover { color: var(--accent-pink); transform: rotate(90deg); }
.media-modal-content { width: 90%; max-width: 1000px; max-height: 90vh; position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }

/* Custom HTML5 Video Player inside Modal */
.modal-video-player { width: 100%; max-height: 85vh; border-radius: 15px; outline: none; background: #000; }

/* Custom Pure CSS Before/After Slider */
.custom-ba-container { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 15px; background: #000; }
.custom-ba-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }

/* The invisible input slider controlling the clip-path */
.ba-slider-input {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;
    opacity: 0; cursor: ew-resize; margin: 0;
}
/* The visual slider line & button */
.ba-slider-line {
    position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: #fff;
    z-index: 3; pointer-events: none; transform: translateX(-50%); box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.ba-slider-button {
    position: absolute; top: 50%; left: 50%; width: 40px; height: 40px;
    background: var(--accent-cyan); border: 3px solid #fff; border-radius: 50%;
    z-index: 4; pointer-events: none; transform: translate(-50%, -50%);
    display: flex; justify-content: center; align-items: center; box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.ba-slider-button::before { content: '\f337'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #000; font-size: 1.2rem; }

/* Labels */
.ba-label {
    position: absolute; top: 20px; padding: 5px 15px; background: rgba(0,0,0,0.6); color: #fff;
    border-radius: 50px; font-size: 0.9rem; z-index: 4; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(255,255,255,0.2);
}
.ba-label.before { left: 20px; } .ba-label.after { right: 20px; }

@media (max-width: 768px) {
    .custom-ba-container { aspect-ratio: 4/3; }
    .media-modal-content { width: 95%; }
}

/* ==========================================================
   23. PREMIUM KITCHEN CALCULATOR (WORLD CLASS REDESIGN)
   ========================================================== */
.premium-calc-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: rgba(20, 20, 58, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(51, 213, 229, 0.15);
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Left Panel - Inputs */
.calc-interactive-panel { display: flex; flex-direction: column; gap: 30px; }
.calc-input-group label {
    display: block; color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.5px;
}
.calc-input-group label i { color: var(--accent-cyan); margin-right: 8px; }

/* Custom Select Dropdown */
.premium-select {
    width: 100%; padding: 15px 20px; background: rgba(10, 10, 42, 0.8); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; font-size: 1rem;
    font-family: 'Poppins', sans-serif; cursor: pointer; outline: none; appearance: none;
    transition: 0.3s;
}
.premium-select:focus { border-color: var(--accent-cyan); box-shadow: 0 0 15px rgba(51, 213, 229, 0.2); }
.custom-select-wrapper { position: relative; }
.custom-select-wrapper::after {
    content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    color: var(--accent-cyan); pointer-events: none;
}

/* Range Slider for Area */
.slider-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px; }
.slider-header label { margin: 0; }
.area-display {
    background: rgba(51, 213, 229, 0.1); border: 1px solid var(--accent-cyan);
    padding: 5px 15px; border-radius: 8px; display: flex; align-items: center; gap: 5px;
}
.area-display input {
    background: transparent; border: none; color: #fff; font-size: 1.2rem; font-weight: 700; width: 60px; text-align: right; outline: none;
}
.area-display span { color: var(--accent-cyan); font-size: 0.9rem; font-weight: 600; }

.premium-range-slider {
    -webkit-appearance: none; width: 100%; height: 8px; background: rgba(255,255,255,0.1);
    border-radius: 5px; outline: none; margin-top: 10px;
}
.premium-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 25px; height: 25px;
    border-radius: 50%; background: var(--accent-cyan); cursor: pointer;
    box-shadow: 0 0 15px rgba(51, 213, 229, 0.6); border: 3px solid #fff; transition: 0.2s;
}
.premium-range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* Toggle Add-on Cards (Apple Style) */
.premium-addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px; }
.addon-toggle-card input { display: none; }
.addon-card-inner {
    background: rgba(10, 10, 42, 0.8); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 20px 15px; text-align: center; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.addon-card-inner i { font-size: 1.8rem; color: #666; transition: 0.3s; }
.addon-name { color: #ccc; font-size: 0.9rem; font-weight: 500; }
.addon-price { color: #888; font-size: 0.8rem; }

/* Active State for Add-ons */
.addon-toggle-card input:checked + .addon-card-inner {
    background: rgba(51, 213, 229, 0.1); border-color: var(--accent-cyan); transform: translateY(-3px);
}
.addon-toggle-card input:checked + .addon-card-inner i { color: var(--accent-cyan); }
.addon-toggle-card input:checked + .addon-card-inner .addon-name { color: #fff; font-weight: 600; }
.addon-toggle-card input:checked + .addon-card-inner .addon-price { color: var(--accent-cyan); }

/* Right Panel - Receipt / Summary */
.calc-receipt-panel {
    background: linear-gradient(145deg, #0A0A2A, #05051a); border-radius: 20px;
    padding: 30px; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.calc-receipt-panel::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
}
.receipt-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 15px; }
.receipt-header h3 { color: #fff; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.receipt-header h3 i { color: var(--accent-cyan); }
.pulse-indicator {
    background: rgba(46, 204, 113, 0.2); color: #2ecc71; border: 1px solid #2ecc71;
    padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }

.receipt-body { flex-grow: 1; display: flex; flex-direction: column; gap: 15px; }
.receipt-row { display: flex; justify-content: space-between; align-items: center; }
.r-label { color: #aaa; font-size: 0.95rem; }
.r-val { color: #fff; font-size: 1.1rem; font-weight: 600; font-family: 'Courier New', monospace; }
.addon-row .r-val { color: var(--accent-cyan); }
.discount-row .r-val { color: #ff4757; }

.receipt-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 10px 0; }
.receipt-total-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.receipt-total-row .r-label { color: #fff; font-size: 1.1rem; font-weight: 700; }
.receipt-total-row .grand-total {
    font-size: 2rem; font-weight: 800; color: #fff;
    text-shadow: 0 0 20px rgba(51, 213, 229, 0.5); font-family: 'Poppins', sans-serif;
}
.receipt-note { color: #666; font-size: 0.75rem; text-align: center; font-style: italic; }

.receipt-footer { margin-top: 30px; }
.btn-glow-full {
    width: 100%; background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    color: #fff; border: none; padding: 15px; border-radius: 12px; font-size: 1.1rem;
    font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px;
}
.btn-glow-full:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(232, 73, 232, 0.4); }

/* Mobile Responsive */
@media (max-width: 991px) {
    .premium-calc-container { grid-template-columns: 1fr; padding: 25px; }
    .calc-receipt-panel { position: sticky; bottom: 20px; z-index: 100; box-shadow: 0 -10px 40px rgba(0,0,0,0.8); }
    .receipt-total-row .grand-total { font-size: 1.6rem; }
}

/* Dynamic Status Bar for Receipt */
.dynamic-info-bar {
    display: flex;
    justify-content: space-between;
    background: rgba(51, 213, 229, 0.05);
    border: 1px solid rgba(51, 213, 229, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 25px;
}
.info-badge {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-badge i {
    color: var(--accent-pink);
    font-size: 1rem;
}
.info-badge strong {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Premium Size Selector (Small, Medium, Large) */
.premium-size-selector {
    display: flex;
    gap: 10px;
    background: rgba(10, 10, 42, 0.6);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.size-pill {
    flex: 1;
    padding: 10px 5px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.size-pill .s-label { font-weight: 600; font-size: 0.9rem; color: #ccc; transition: 0.3s; }
.size-pill .s-range { font-size: 0.75rem; color: #777; transition: 0.3s; }

.size-pill:hover { background: rgba(255,255,255,0.05); }

/* Active State */
.size-pill.active {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
    box-shadow: 0 5px 15px rgba(51, 213, 229, 0.3);
}
.size-pill.active .s-label, 
.size-pill.active .s-range { color: #fff; }

@media (max-width: 768px) {
    .premium-size-selector { flex-direction: column; }
    .size-pill { padding: 12px; flex-direction: row; justify-content: space-between; }
}

/* Dynamic Visualizer Box */
.dynamic-visualizer-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #05051a;
    border: 1px solid rgba(255,255,255,0.1);
}
.visualizer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.visualizer-img.fading {
    opacity: 0.3;
    transform: scale(1.05);
}

/* Material Specs Overlay */
.material-specs-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(10, 10, 42, 0.95), rgba(10, 10, 42, 0.7));
    backdrop-filter: blur(5px);
    padding: 15px;
    transform: translateY(calc(100% - 40px));
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.dynamic-visualizer-box:hover .material-specs-overlay {
    transform: translateY(0);
}

.material-specs-overlay h4 {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.material-specs-overlay h4::after {
    content: 'Hover to expand ⬆';
    font-size: 0.65rem;
    color: #888;
    font-weight: 400;
}
.dynamic-visualizer-box:hover .material-specs-overlay h4::after { display: none; }

#spec-details-list {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
#spec-details-list li {
    font-size: 0.75rem;
    color: #ddd;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.3;
}
#spec-details-list li i { color: var(--accent-pink); margin-top: 3px; font-size: 0.7rem; }
#spec-details-list li span { font-weight: 500; }

/* ==========================================================
   24. PRECISE WALL MEASUREMENT UI (WORLD CLASS)
   ========================================================== */
.area-calculation-wrapper {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Mode Switcher Tabs */
.calc-mode-switcher {
    display: flex; gap: 10px; margin-bottom: 25px;
    background: rgba(10,10,42,0.8); padding: 5px; border-radius: 12px;
}
.mode-btn {
    flex: 1; padding: 12px 10px; background: transparent; border: none;
    color: #888; font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
    border-radius: 8px; cursor: pointer; transition: 0.3s;
}
.mode-btn.active {
    background: rgba(51, 213, 229, 0.15); color: var(--accent-cyan);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Content Toggling */
.calc-mode-content { display: none; animation: fadeIn 0.4s ease; }
.calc-mode-content.active { display: block; }

/* Sub Labels */
.sub-label { display: block; color: #ccc; font-size: 0.9rem; margin-bottom: 10px; font-weight: 500; }
.sub-label i { color: var(--accent-pink); margin-right: 5px; }

/* Height Selector */
.height-selector { display: flex; gap: 10px; }
.height-pill { flex: 1; position: relative; }
.height-pill input { display: none; }
.height-pill span {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 5px; border-radius: 10px; cursor: pointer; transition: 0.3s;
    color: #ccc; font-size: 0.9rem; font-weight: 600; text-align: center;
}
.height-pill span small { font-size: 0.65rem; color: #888; font-weight: 400; margin-top: 3px; }
.height-pill input:checked + span {
    background: linear-gradient(135deg, rgba(232, 73, 232, 0.2), rgba(51, 213, 229, 0.2));
    border-color: var(--accent-cyan); color: #fff;
}
.height-pill input:checked + span small { color: var(--accent-cyan); }

/* Wall Inputs */
.wall-inputs-container { display: flex; flex-direction: column; gap: 12px; }
.wall-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(10,10,42,0.6); padding: 10px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);
}
.wall-label { color: #fff; font-weight: 600; font-size: 0.95rem; }
.ft-in-group { display: flex; align-items: center; gap: 10px; }
.ft-in-group input {
    width: 60px; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 1.1rem; font-weight: 700; text-align: center; outline: none; padding: 5px 0; transition: 0.3s;
}
.ft-in-group input:focus { border-bottom-color: var(--accent-cyan); }
.ft-in-group i { color: #888; font-size: 0.8rem; font-style: normal; }

/* Calculated Result Box */
.calculated-area-box {
    margin-top: 20px; background: rgba(51, 213, 229, 0.1); border-left: 4px solid var(--accent-cyan);
    padding: 15px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center;
}
.calculated-area-box span { color: #ccc; font-size: 0.9rem; }
.calculated-area-box strong { color: #fff; font-size: 1.2rem; }

@media (max-width: 768px) {
    .height-selector { flex-direction: column; }
    .wall-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .ft-in-group { width: 100%; justify-content: space-between; }
    .ft-in-group input { width: 40%; }
}

/* ==========================================================
   25. DYNAMIC BLUEPRINT VISUALIZER (PURE CSS CAD)
   ========================================================== */
.blueprint-card {
    background: #030312; /* Deep CAD Blue */
    border: 1px solid rgba(51, 213, 229, 0.2);
    border-radius: 12px;
    overflow: hidden;
}
.bp-header {
    background: rgba(51, 213, 229, 0.1); color: var(--accent-cyan);
    font-size: 0.8rem; font-weight: 600; text-align: center; padding: 6px;
    letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid rgba(51, 213, 229, 0.2);
}
.bp-canvas {
    height: 140px; position: relative; display: flex; justify-content: center; align-items: center;
    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: 20px 20px;
    background-position: center;
}

/* CAD Block Styles */
.cad-block {
    position: absolute; border: 2px solid #fff; background: rgba(255,255,255,0.1);
    display: flex; justify-content: center; align-items: center;
    font-size: 0.75rem; font-weight: 700; text-shadow: 0 0 5px #000;
}
.cad-text-cyan { color: var(--accent-cyan); border-color: var(--accent-cyan); background: rgba(51, 213, 229, 0.15); }
.cad-text-pink { color: var(--accent-pink); border-color: var(--accent-pink); background: rgba(232, 73, 232, 0.15); }
.cad-text-yellow { color: #f1c40f; border-color: #f1c40f; background: rgba(241, 196, 15, 0.15); }
.cad-dim { position: absolute; font-size: 0.65rem; color: #888; white-space: nowrap; }

/* Text Utility */
.text-cyan { color: var(--accent-cyan) !important; }
.text-pink { color: var(--accent-pink) !important; }
.text-yellow { color: #f1c40f !important; }

/* ==========================================================
   26. PACKAGE SELECTION AUTO-SYNC HIGHLIGHT EFFECT
   ========================================================== */
.pkg-price span {
    font-size: 0.75rem;
    color: #888;
    text-transform: lowercase;
    font-weight: 400;
}

/* The Highlight Pulse Animation for the Target Dropdown */
.highlight-pulse {
    animation: targetPulse 2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-color: var(--accent-pink) !important;
    box-shadow: 0 0 25px rgba(232, 73, 232, 0.6) !important;
    background: rgba(232, 73, 232, 0.1) !important;
}

@keyframes targetPulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    45% { transform: scale(1.05); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Ensure the scroll margin accounts for the sticky header */
#kitchen-calculator {
    scroll-margin-top: 100px;
}

/* ==========================================================
   🚀 PDF QUOTE MODAL STYLES (WORLD CLASS UX)
   ========================================================== */
.quote-modal-box {
    background: linear-gradient(145deg, #0A0A2A, #14143a);
    max-width: 600px !important;
    padding: 40px;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(0, 242, 255, 0.2);
}

.quote-modal-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.quote-modal-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.quote-modal-header h3 i { color: #ff4757; margin-right: 8px; }
.quote-modal-header p { color: #aaa; font-size: 0.95rem; }

.form-row-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Floating Label Styles for Modal */
.form-group-float { position: relative; width: 100%; }
.form-group-float input {
    width: 100%; padding: 15px; background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
    color: #fff; font-family: 'Poppins', sans-serif; font-size: 1rem;
    transition: all 0.3s ease; outline: none;
}
.form-group-float label {
    position: absolute; top: 15px; left: 15px; color: #888;
    pointer-events: none; transition: 0.2s ease all;
    background: transparent; padding: 0 5px; display: flex; align-items: center; gap: 8px;
}
.form-group-float label i { color: var(--accent-cyan); }

/* Focus and Valid States */
.form-group-float input:focus,
.form-group-float input:not(:placeholder-shown) {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}
.form-group-float input:focus + label,
.form-group-float input:not(:placeholder-shown) + label {
    top: -10px; left: 10px; font-size: 0.8rem;
    color: var(--accent-cyan); background: #0A0A2A;
}

@media (max-width: 600px) {
    .form-row-custom { grid-template-columns: 1fr; gap: 15px; }
    .quote-modal-box { padding: 25px 20px; }
}

@keyframes pulseCyan {
    to {
        box-shadow: 0 0 0 30px rgba(0, 242, 255, 0);
    }
}

/* ==========================================================
   🚀 ULTRA-PREMIUM KITCHEN PRICING UI (APPLE / STRIPE STYLE)
   ========================================================== */
.premium-pricing-section {
    background: radial-gradient(circle at center, #0d0d35 0%, #05051a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background subtle grid pattern for modern tech look */
.premium-pricing-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none; opacity: 0.5;
}

.premium-subtitle { color: #aaa; max-width: 600px; margin: 0 auto 50px; font-size: 1.05rem; line-height: 1.6; }

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: stretch; /* Ensures all cards are exactly the same height */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Premium Card Base */
.premium-pkg-card {
    background: rgba(15, 15, 45, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column; /* Flexbox magic for alignment */
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden; /* Very important for the ribbon */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.premium-pkg-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 55, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Theme Top Glow Effect */
.pkg-top-glow {
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: #555; transition: 0.4s; z-index: 5;
}

/* Header & Badges */
.pkg-tier-badge {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
    margin-bottom: 15px; border: 1px solid; text-transform: uppercase;
}

.premium-pkg-card h3 { color: #fff; font-size: 1.8rem; margin-bottom: 10px; font-weight: 700; }

.pkg-price-box { display: flex; align-items: baseline; margin-bottom: 15px; }
.pkg-price-box .currency { color: #888; font-size: 1.2rem; font-weight: 600; margin-right: 2px; }
.pkg-price-box .amount { color: #fff; font-size: 2.8rem; font-weight: 800; line-height: 1; }
.pkg-price-box .unit { color: #888; font-size: 0.9rem; margin-left: 5px; }

.pkg-short-desc { color: #999; font-size: 0.9rem; line-height: 1.5; min-height: 60px; }

.pkg-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); margin: 25px 0; }

/* Features List - Flex Grow ensures buttons align at the bottom */
.pkg-features-list { flex-grow: 1; margin-bottom: 30px; display: flex; flex-direction: column; }
.modern-feature-ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

.modern-feature-ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
}

.modern-feature-ul li:hover { background: rgba(255, 255, 255, 0.03); transform: translateX(5px); }

/* The Icon Enclosure Box */
.icon-box {
    width: 38px; height: 38px; border-radius: 10px; display: flex;
    align-items: center; justify-content: center; font-size: 1.1rem;
    flex-shrink: 0; transition: all 0.3s ease;
}

/* The Text Hierarchy */
.text-box { display: flex; flex-direction: column; justify-content: center; }
.text-box .title { color: #888; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 2px; }
.text-box .desc { color: #fff; font-size: 0.95rem; font-weight: 600; line-height: 1.2; }

/* --- 🚀 THE PERFECT BUTTONS (FORCED OVERRIDE) --- */
.pkg-footer {
    margin-top: auto; 
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pkg-warranty { text-align: center; color: #aaa; font-size: 0.85rem; font-weight: 600; }
.pkg-warranty i { margin-right: 5px; }

.btn-premium-outline, .btn-premium-solid {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important; /* গ্যাপ একটু কমানো হয়েছে */
    padding: 14px 10px !important; /* প্যাডিং অ্যাডজাস্ট করা হয়েছে */
    border-radius: 50px !important; 
    font-size: 0.85rem !important; /* ফন্ট সাইজ একটু ছোট করা হয়েছে যাতে ১ লাইনে ধরে */
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0px !important; 
    box-sizing: border-box !important;
    outline: none !important;
    white-space: nowrap !important; /* 🔥 জাদুকরী কোড: লেখা কখনোই ২ লাইনে ভাঙবে না */
}

/* Specific Outline Button (For Basic, Luxury, Elite) */
.btn-premium-outline {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.btn-premium-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1) !important;
}

/* Specific Solid Button (For Standard) */
.btn-premium-solid {
    background: linear-gradient(135deg, var(--accent-cyan), #0984e3) !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(51, 213, 229, 0.4) !important;
}
.btn-premium-solid:hover {
    box-shadow: 0 12px 35px rgba(51, 213, 229, 0.6) !important;
    transform: translateY(-3px) !important;
}

/* --- THEME SPECIFIC COLORS --- */

/* BASIC */
.theme-basic .pkg-top-glow { background: #95a5a6; }
.theme-basic .pkg-tier-badge { color: #95a5a6; border-color: rgba(149, 165, 166, 0.3); background: rgba(149, 165, 166, 0.1); }
.theme-basic .icon-box { background: rgba(149, 165, 166, 0.1); color: #95a5a6; border: 1px solid rgba(149, 165, 166, 0.2); }
.theme-basic .modern-feature-ul li:hover .icon-box { background: #95a5a6; color: #000; }
.theme-basic:hover { box-shadow: 0 10px 40px rgba(149, 165, 166, 0.1); }

/* STANDARD (MOST POPULAR - HIGHLIGHTED) */
.theme-standard {
    background: linear-gradient(145deg, rgba(20, 20, 55, 0.9), rgba(10, 10, 35, 0.9));
    border-color: var(--accent-cyan);
    transform: scale(1.05); 
    z-index: 10;
}
.theme-standard:hover { transform: scale(1.08) translateY(-5px); box-shadow: 0 20px 50px rgba(51, 213, 229, 0.2); }
.theme-standard .pkg-top-glow { background: var(--accent-cyan); height: 6px; }
.theme-standard .pkg-tier-badge { color: var(--accent-cyan); border-color: rgba(51, 213, 229, 0.3); background: rgba(51, 213, 229, 0.1); }
.theme-standard .icon-box { background: rgba(51, 213, 229, 0.1); color: var(--accent-cyan); border: 1px solid rgba(51, 213, 229, 0.2); }
.theme-standard .modern-feature-ul li:hover .icon-box { background: var(--accent-cyan); color: #000; box-shadow: 0 0 15px rgba(51, 213, 229, 0.4); }

/* 🚀 FIXED: Floating Popular Ribbon */
.popular-ribbon {
    position: absolute;
    top: 30px;
    right: -40px;
    background: linear-gradient(135deg, var(--accent-cyan), #0984e3);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 8px 45px;
    transform: rotate(45deg);
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 10;
}

/* LUXURY */
.theme-luxury .pkg-top-glow { background: var(--accent-pink); }
.theme-luxury .pkg-tier-badge { color: var(--accent-pink); border-color: rgba(232, 73, 232, 0.3); background: rgba(232, 73, 232, 0.1); }
.theme-luxury .icon-box { background: rgba(232, 73, 232, 0.1); color: var(--accent-pink); border: 1px solid rgba(232, 73, 232, 0.2); }
.theme-luxury .modern-feature-ul li:hover .icon-box { background: var(--accent-pink); color: #fff; box-shadow: 0 0 15px rgba(232, 73, 232, 0.4); }
.theme-luxury:hover { box-shadow: 0 10px 40px rgba(232, 73, 232, 0.15); border-color: rgba(232, 73, 232, 0.5); }

/* ELITE */
.theme-elite .pkg-top-glow { background: #FFD700; }
.theme-elite .pkg-tier-badge { color: #FFD700; border-color: rgba(255, 215, 0, 0.3); background: rgba(255, 215, 0, 0.1); }
.theme-elite .icon-box { background: rgba(255, 215, 0, 0.1); color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.2); }
.theme-elite .modern-feature-ul li:hover .icon-box { background: #FFD700; color: #000; box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
.theme-elite:hover { box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15); border-color: rgba(255, 215, 0, 0.5); }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .premium-pricing-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
    .theme-standard { transform: scale(1); } 
    .theme-standard:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .premium-pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
}

/* ==========================================================
   🚀 BENTO GRID KITCHEN LAYOUTS (WORLD-CLASS UI)
   ========================================================== */
.premium-layout-section {
    background: #0A0A2A;
    padding: 100px 0;
}

.bento-layout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Strict 4 columns for large screens */
    gap: 25px;
    margin-top: 50px;
}

/* Base Link Card Styling */
.bento-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 25px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

/* Hover Lift & Shadow */
.bento-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
}

/* Hover Glow Colors */
.hover-glow-cyan:hover { border-color: rgba(51, 213, 229, 0.5); box-shadow: 0 15px 35px rgba(51, 213, 229, 0.15); }
.hover-glow-pink:hover { border-color: rgba(232, 73, 232, 0.5); box-shadow: 0 15px 35px rgba(232, 73, 232, 0.15); }
.hover-glow-gold:hover { border-color: rgba(255, 215, 0, 0.5); box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15); }

/* Icons & Content (Updated with Vibrant Colors & SVG Shadows) */
.bento-card .layout-icon {
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
}

/* Base Vibrant Colors (Restored as requested) */
.icon-cyan { 
    color: var(--accent-cyan); 
    filter: drop-shadow(0 0 8px rgba(51, 213, 229, 0.4)); 
}
.icon-pink { 
    color: var(--accent-pink); 
    filter: drop-shadow(0 0 8px rgba(232, 73, 232, 0.4)); 
}
.icon-gold { 
    color: #FFD700; 
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4)); 
}

/* Hover Scaling & Intensified Glow */
.hover-glow-cyan:hover .layout-icon { 
    transform: scale(1.1) translateY(-3px); 
    filter: drop-shadow(0 0 15px var(--accent-cyan)); 
}
.hover-glow-pink:hover .layout-icon { 
    transform: scale(1.1) translateY(-3px); 
    filter: drop-shadow(0 0 15px var(--accent-pink)); 
}
.hover-glow-gold:hover .layout-icon { 
    transform: scale(1.1) translateY(-3px); 
    filter: drop-shadow(0 0 15px #FFD700); 
}

.bento-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.bento-card p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px; /* Space for the button at bottom */
}

/* SEO Friendly Informative Badges */
.layout-badge {
    position: absolute;
    top: 20px; right: 20px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.badge-popular { background: rgba(51, 213, 229, 0.1); color: var(--accent-cyan); border: 1px solid rgba(51, 213, 229, 0.3); }
.badge-compact { background: rgba(232, 73, 232, 0.1); color: var(--accent-pink); border: 1px solid rgba(232, 73, 232, 0.3); }
.badge-storage { background: rgba(255, 215, 0, 0.1); color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.3); }
.badge-luxury { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }

/* The Explore Link (Micro-interaction) */
.explore-btn {
    margin-top: auto; /* Pushes to bottom */
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.explore-btn i { transition: 0.3s; }

.bento-card:hover .explore-btn { color: #fff; }
.bento-card:hover .explore-btn i { transform: translateX(8px); } /* Arrow slides right on hover */

.hover-glow-cyan:hover .explore-btn { color: var(--accent-cyan); }
.hover-glow-pink:hover .explore-btn { color: var(--accent-pink); }
.hover-glow-gold:hover .explore-btn { color: #FFD700; }

/* ==========================================================
   🔥 THE MAGIC FIX: BENTO WIDE CARDS (Fills the empty space)
   ========================================================== */
.bento-wide {
    grid-column: span 2; /* Takes up 2 columns instead of 1 */
    background: linear-gradient(135deg, rgba(20, 20, 50, 0.6), rgba(10, 10, 30, 0.9));
}

.wide-card-flex {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.bento-wide .layout-icon {
    font-size: 3.5rem; /* Bigger icon for wide cards */
    margin-bottom: 0;
}

.bento-wide h3 { font-size: 1.5rem; }
.bento-wide p { font-size: 0.95rem; }

.wide-btn {
    justify-content: flex-end; /* Aligns wide button to the right */
    margin-top: 20px;
}

/* Responsive Handling */
@media (max-width: 1024px) {
    .bento-layout-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; } /* Wide cards still span full row on tablet */
    .wide-card-flex { flex-direction: column; gap: 15px; } /* Stack icon and text on tablet */
    .wide-btn { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .bento-layout-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; } /* Reset span for mobile */
}

/* ==========================================================
   🚀 HORIZONTAL ADD-ON CAROUSEL & GRID BLOWOUT FIX
   ========================================================== */

/* 1. MAGIC FIX: Prevent horizontal scroll from breaking the 2-column grid */
.calc-interactive-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0; /* 🔥 This stops the left panel from pushing the right panel out */
}
.calc-input-group {
    position: relative;
    min-width: 0; /* 🔥 Required for the carousel to stay inside the box */
}

/* 2. The Wrapper securing the arrows and slider */
.addon-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

/* 3. The Scrollable Container */
.premium-addon-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth; /* Smooth gliding */
    padding: 10px 5px; /* Extra padding for shadow rendering */
    width: 100%;
    cursor: grab;
    
    /* Hide scrollbar for a seamless Apple-like look */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.premium-addon-grid::-webkit-scrollbar { display: none; }
.premium-addon-grid:active { cursor: grabbing; }

/* 4. Fixed width for cards so they don't shrink */
.addon-toggle-card { flex: 0 0 135px; }

/* 5. Base Card Design & Active States (Restored) */
.addon-toggle-card input { display: none; }
.addon-card-inner {
    background: rgba(10, 10, 42, 0.8); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 20px 15px; text-align: center; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.addon-card-inner i { font-size: 1.8rem; color: #666; transition: 0.3s; }
.addon-name { color: #ccc; font-size: 0.9rem; font-weight: 500; }
.addon-price { color: #888; font-size: 0.8rem; }

/* The Checked/Selected State */
.addon-toggle-card input:checked + .addon-card-inner {
    background: rgba(51, 213, 229, 0.1); border-color: var(--accent-cyan); transform: translateY(-3px);
}
.addon-toggle-card input:checked + .addon-card-inner i { color: var(--accent-cyan); }
.addon-toggle-card input:checked + .addon-card-inner .addon-name { color: #fff; font-weight: 600; }
.addon-toggle-card input:checked + .addon-card-inner .addon-price { color: var(--accent-cyan); }

/* 6. The Navigation Arrows (Glassmorphism & Neon) */
.addon-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(10, 10, 35, 0.95);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
    outline: none;
}
.addon-nav-btn:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 20px rgba(51, 213, 229, 0.6); transform: translateY(-50%) scale(1.1); }
.left-nav { left: -15px; }
.right-nav { right: -15px; }

/* 7. Dynamic Discount Badge (FIXED WRAPPING) */
.discount-badge-percent {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.4);
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.1);
    white-space: nowrap !important; /* 🔥 This forces the text to stay on one single line */
    display: inline-block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .addon-nav-btn { display: none; } /* Hide arrows on mobile, users will naturally swipe */
    .addon-toggle-card { flex: 0 0 120px; }
}

/* ==========================================================
   🚀 MAGIC CALCULATOR BUTTON (INPUT FIELD UX)
   ========================================================== */
.magic-calc-btn {
    background: rgba(51, 213, 229, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(51, 213, 229, 0.3);
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.magic-calc-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(51, 213, 229, 0.5);
    transform: scale(1.05);
}

.magic-calc-btn i { font-size: 1.1rem; pointer-events: none; }

/* Custom Scrollbar for Modal to look premium */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 10px; }