/* ==========================================================================
   File: wardrobe.css
   Description: Premium Custom Styles for Wardrobe & Storage Design Page
   Author: AGOID INTERIOR
   Optimization: GPU Accelerated, Multi-Layer Blending, LCP Optimized
   ========================================================================== */

/* --- ROOT VARIABLES (AGOID Brand Consistency) --- */
:root {
    --bg-deep: #050515;
    --bg-dark: #0A0A2A;
    --bg-card: rgba(10, 10, 42, 0.5);
    --accent-cyan: #33D5E5;
    --accent-pink: #E849E8;
    --accent-gold: #FFD700;
    --text-main: #FFFFFF;
    --text-muted: #A0AABF;
    --glass-border: rgba(51, 213, 229, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- BASE STYLES & RESET OVERRIDES --- */
.wardrobe-page {
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

.wardrobe-page h1, 
.wardrobe-page h2, 
.wardrobe-page h3, 
.wardrobe-page h4 {
    font-family: 'Playfair Display', serif;
}

.text-gradient-brand {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--accent-cyan) !important; }
.text-pink { color: var(--accent-pink) !important; }
.text-gold { color: var(--accent-gold) !important; }

/* Frosted Glassmorphism Base class */
.matte-glass {
    background: rgba(10, 10, 42, 0.6) !important;
    backdrop-filter: blur(25px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(120%) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

/* General Layout Elements */
.tech-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(51, 213, 229, 0.1);
    border: 1px solid rgba(51, 213, 229, 0.3);
    color: var(--accent-cyan);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.glow-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.premium-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================
   1. CINEMATIC HERO SECTION
   ========================================================== */
.premium-hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.8) contrast(1.05);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(5, 5, 20, 0.3) 0%, 
        rgba(5, 5, 20, 0.7) 60%, 
        var(--bg-deep) 100%
    );
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.premium-breadcrumbs {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.premium-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.premium-breadcrumbs a:hover {
    color: #fff;
}

.premium-breadcrumbs .divider {
    color: var(--accent-pink);
    margin: 0 10px;
}

.premium-breadcrumbs .active {
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-typography {
    max-width: 800px;
    margin: 0 auto 35px;
}

.hero-top-badge {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-top-badge i { margin-right: 8px; }

.hero-main-title {
    font-size: 4rem;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-sub-text {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-action-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-hero-solid, 
.btn-hero-outline {
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-hero-solid {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(51, 213, 229, 0.4);
}

.btn-hero-solid:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 73, 232, 0.5);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-5px);
}

.breathing-glow {
    animation: heroBreathe 3s infinite alternate;
}

@keyframes heroBreathe { 
    0% { box-shadow: 0 0 10px rgba(51, 213, 229, 0.4); } 
    100% { box-shadow: 0 0 30px rgba(232, 73, 232, 0.8); } 
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.scroll-down-indicator:hover {
    opacity: 1;
    color: var(--accent-cyan);
    transform: translateY(5px);
}

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid #888;
    border-radius: 20px;
    position: relative;
}

.scroll-down-indicator:hover .mouse-icon { border-color: var(--accent-cyan); }

.wheel {
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: #888;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

.scroll-down-indicator:hover .wheel { background: var(--accent-cyan); }

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ==========================================================
   2. SEO ARCHITECTURAL INTRO SECTION
   ========================================================== */
.premium-intro-section {
    background-color: var(--bg-deep);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.intro-glow-orb {
    position: absolute;
    top: 50%; left: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(51, 213, 229, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: 0; pointer-events: none;
}

.intro-master-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.image-layer-wrapper {
    position: relative;
    width: 100%;
    padding-right: 30px;
    padding-bottom: 30px;
}

.intro-main-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    filter: brightness(0.9);
    transition: var(--transition-smooth);
}

.image-layer-wrapper:hover .intro-main-img {
    transform: scale(1.02);
    filter: brightness(1);
}

.accent-frame-line {
    position: absolute;
    top: 30px; right: 0; bottom: 0; left: 30px;
    border: 2px solid var(--accent-cyan);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.image-layer-wrapper:hover .accent-frame-line {
    transform: translate(10px, 10px);
    opacity: 1;
}

.floating-trust-badge {
    position: absolute;
    bottom: 50px; left: -30px;
    background: rgba(10, 10, 30, 0.7);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.badge-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(51, 213, 229, 0.4);
}

.badge-text strong {
    display: block;
    color: #fff;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
}

.badge-text span {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.seo-rich-content { margin-bottom: 30px; }

.lead-para {
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.seo-rich-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.seo-rich-content strong { color: #fff; }

.intro-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 3px solid var(--accent-cyan);
    transition: var(--transition-smooth);
}

.intro-feature-list li:hover {
    background: rgba(51, 213, 229, 0.05);
    transform: translateX(10px);
}

.intro-feature-list li:nth-child(2) { border-left-color: var(--accent-pink); }
.intro-feature-list li:nth-child(2):hover { background: rgba(232, 73, 232, 0.05); }

.intro-feature-list i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-top: 3px;
}

.intro-feature-list li:nth-child(2) i { color: var(--accent-pink); }

.intro-feature-list strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.intro-feature-list span {
    color: #888;
    font-size: 0.9rem;
}

.intro-action-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-ghost-cyan, 
.btn-ghost-pink {
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.4s;
    backdrop-filter: blur(5px);
}

.btn-ghost-cyan {
    color: var(--accent-cyan);
    border: 1px solid rgba(51, 213, 229, 0.3);
    background: rgba(51, 213, 229, 0.05);
}

.btn-ghost-cyan:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 10px 25px rgba(51, 213, 229, 0.3);
    transform: translateY(-3px);
}

.btn-ghost-pink {
    color: var(--accent-pink);
    border: 1px solid rgba(232, 73, 232, 0.3);
    background: rgba(232, 73, 232, 0.05);
}

.btn-ghost-pink:hover {
    background: var(--accent-pink);
    color: #fff;
    box-shadow: 0 10px 25px rgba(232, 73, 232, 0.3);
    transform: translateY(-3px);
}

/* ==========================================================
   3. DIGITAL EXPERIENCE SHOWROOM DASHBOARD
   ========================================================== */
.premium-exp-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.exp-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.exp-orb-cyan { width: 500px; height: 500px; background: var(--accent-cyan); top: -100px; left: -200px; }
.exp-orb-pink { width: 400px; height: 400px; background: var(--accent-pink); bottom: -100px; right: -100px; }

.exp-dashboard-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: rgba(10, 10, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 20px;
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
    min-height: 550px;
}

.exp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exp-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.exp-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tab-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #888;
    transition: 0.4s;
}

.tab-text h4 {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 5px;
    transition: 0.4s;
}

.tab-text span {
    color: #666;
    font-size: 0.8rem;
}

/* Active Tab Configuration */
.exp-tab-btn.active {
    background: rgba(51, 213, 229, 0.05);
    border: 1px solid rgba(51, 213, 229, 0.3);
    box-shadow: 0 10px 30px rgba(51, 213, 229, 0.1);
    transform: translateX(10px);
}

.exp-tab-btn.active .tab-icon {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    color: #fff;
    box-shadow: 0 0 15px rgba(51, 213, 229, 0.5);
}

.exp-tab-btn.active .tab-text h4 {
    color: #fff;
    font-weight: 700;
}

.exp-tab-btn.active .tab-text span {
    color: var(--accent-cyan);
}

.exp-system-status {
    margin-top: auto;
    background: rgba(5, 5, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.status-header h5 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-header h5 i { color: var(--accent-cyan); }

.pulse-live {
    color: #2ecc71;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    animation: blinkLive 1.5s infinite ease-in-out;
}

@keyframes blinkLive {
    0% { opacity: 0.3; text-shadow: none; }
    50% { opacity: 1; text-shadow: 0 0 10px #2ecc71; }
    100% { opacity: 0.3; text-shadow: none; }
}

.status-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.s-label {
    color: #888;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.s-value {
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.trust-assurance {
    background: rgba(51, 213, 229, 0.1);
    color: var(--accent-cyan);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(51, 213, 229, 0.2);
    margin-top: 10px;
}

.trust-assurance i { margin-right: 5px; }

/* Display screen configurations */
.exp-screen {
    background: #000;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.exp-content-panel {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeInZoom 0.5s ease forwards;
}

.exp-content-panel.active {
    display: block;
}

@keyframes fadeInZoom {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

.floating-instruction {
    position: absolute;
    top: 20px; left: 20px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    z-index: 10;
    pointer-events: none;
}

/* 3D Walkthrough Viewport */
#bedroom-pano-container {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* Hotspots Architecture */
.mood-engine-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
}

.mood-base-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
}

.hotspot-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.tech-hotspot:hover .hotspot-core {
    transform: scale(1.15);
    background: var(--accent-pink);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-pink);
}

.radar-ping {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    transform: translate(-50%, -50%);
    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; }
}

.glass-tooltip {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    padding: 18px;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    pointer-events: none;
    text-align: left;
    z-index: 20;
}

.tech-hotspot:hover .glass-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.glass-tooltip h4 {
    color: var(--accent-cyan);
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.glass-tooltip p {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
}

/* Mood Wallpaper settings */
.mood-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    transition: opacity 0.15s linear;
    opacity: 0;
}

.evening-overlay {
    background: rgba(255, 120, 0, 0.2);
    mix-blend-mode: multiply;
}

.night-overlay {
    background: rgba(0, 0, 40, 0.45);
    mix-blend-mode: multiply;
}

.cove-glow-effect {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 60%;
    background: radial-gradient(ellipse at bottom, rgba(51, 213, 229, 0.6) 0%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s linear;
}

/* Slider Controls */
.smart-slider-panel {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    border-radius: 50px;
    width: 80%;
    max-width: 400px;
    background: rgba(10, 10, 30, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(51, 213, 229, 0.3);
    z-index: 10;
}

.slider-track-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

input[type=range]#smart-mood-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 5px;
    outline: none;
}

input[type=range]#smart-mood-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    cursor: pointer;
    transition: transform 0.2s;
}

input[type=range]#smart-mood-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* ==========================================================
   4. LAYOUT UNIVERSE (SEO BENTO GRID)
   ========================================================== */
.premium-bento-section {
    background-color: var(--bg-deep);
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.bento-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 50px;
}

/* Spanning Configurations */
.bento-master { grid-column: span 2; grid-row: span 2; }
.bento-closet { grid-column: span 1; grid-row: span 2; }
.bento-standard { grid-column: span 1; grid-row: span 1; }
.bento-wide { grid-column: span 2; grid-row: span 1; }

.bento-cat-card {
    position: relative;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
}

.bento-cat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(51, 213, 229, 0.4);
    box-shadow: 0 20px 50px rgba(51, 213, 229, 0.15);
}

.bento-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.85;
}

.bento-cat-card:hover .bento-img {
    transform: scale(1.08);
    opacity: 0.55;
}

.bento-tag {
    position: absolute;
    top: 20px; left: 20px;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.cyan-tag { background: rgba(51, 213, 229, 0.15); color: var(--accent-cyan); border: 1px solid rgba(51, 213, 229, 0.4); }
.pink-tag { background: rgba(232, 73, 232, 0.15); color: var(--accent-pink); border: 1px solid rgba(232, 73, 232, 0.4); }

.bento-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 21, 0.95) 0%, rgba(5, 5, 21, 0.6) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 5;
}

.bento-content {
    transform: translateY(60px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bento-cat-card:hover .bento-content {
    transform: translateY(0);
}

.bento-content h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 5px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.bento-content .sub-title {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-details {
    list-style: none;
    padding: 0; margin: 0 0 20px 0;
    opacity: 0;
    transition: opacity 0.5s ease 0.1s;
}

.bento-cat-card:hover .bento-details { opacity: 1; }

.bento-details li {
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-details li i { color: var(--accent-pink); font-size: 0.8rem; }

.bento-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.bento-explore i { transition: 0.3s; color: var(--accent-cyan); }
.bento-cat-card:hover .bento-explore { opacity: 1; }
.bento-cat-card:hover .bento-explore i { transform: translateX(5px); }

/* ==========================================================
   5. TRADITIONAL VASTU CALIBRATOR
   ========================================================== */
.vastu-premium-section {
    background-color: var(--bg-deep);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.vastu-bg-grid {
    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: 50px 50px;
    z-index: 0;
}

.vastu-master-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.vastu-radar-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(10, 10, 30, 0.8), rgba(5, 5, 15, 0.9));
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.radar-outer-ring {
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 2px dashed rgba(51, 213, 229, 0.3);
    display: flex; justify-content: center; align-items: center;
    position: relative;
    animation: slowSpin 60s linear infinite;
}

@keyframes slowSpin { 100% { transform: rotate(360deg); } }

.radar-inner-ring {
    width: 230px; height: 230px;
    border-radius: 50%;
    border: 1px solid rgba(51, 213, 229, 0.5);
    background: radial-gradient(circle, rgba(51, 213, 229, 0.05) 0%, transparent 70%);
    position: relative;
    animation: slowSpinReverse 60s linear infinite;
}

@keyframes slowSpinReverse { 100% { transform: rotate(-360deg); } }

.dir {
    position: absolute; font-size: 0.9rem; font-weight: 800; color: #888;
    background: var(--bg-deep); padding: 2px 6px; border-radius: 4px;
}

.dir-n { top: -10px; left: 50%; transform: translateX(-50%); color: var(--accent-cyan); text-shadow: 0 0 10px var(--accent-cyan); }
.dir-s { bottom: -10px; left: 50%; transform: translateX(-50%); }
.dir-e { right: -15px; top: 50%; transform: translateY(-50%); }
.dir-w { left: -15px; top: 50%; transform: translateY(-50%); }
.dir-ne { top: 25px; right: 25px; font-size: 0.7rem; }
.dir-sw { bottom: 25px; left: 25px; font-size: 0.7rem; }

.radar-center-dot {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; background: #fff; border-radius: 50%;
    box-shadow: 0 0 15px #fff; z-index: 10;
}

.radar-needle-container {
    position: absolute; top: 5%; left: calc(50% - 2px);
    width: 4px; height: 45%;
    transform-origin: bottom center;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 5;
}

.needle-glow {
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    box-shadow: 0 -10px 20px var(--accent-cyan);
    border-radius: 50px 50px 0 0;
}

.needle-glow.pink-mode {
    background: linear-gradient(to bottom, var(--accent-pink), transparent);
    box-shadow: 0 -10px 20px var(--accent-pink);
}

.radar-status-panel {
    margin-top: 40px; text-align: center;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    padding: 20px; border-radius: 16px; width: 100%;
}

#vastu-dynamic-title { color: var(--accent-cyan); font-size: 1.3rem; margin-bottom: 10px; transition: var(--transition-smooth); }
#vastu-dynamic-desc { color: #aaa; font-size: 0.9rem; line-height: 1.6; margin: 0; transition: var(--transition-smooth); }

.vastu-controls-list { display: flex; flex-direction: column; gap: 20px; }

.v-control-card {
    display: flex; align-items: center; gap: 20px;
    padding: 20px 25px; border-radius: 16px;
    background: rgba(10, 10, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer; transition: var(--transition-smooth);
    position: relative; overflow: hidden;
}

.v-control-card::before {
    content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
    background: transparent; transition: 0.4s;
}

.v-control-card:hover { transform: translateX(10px); background: rgba(255,255,255,0.03); }

/* Active States */
.v-control-card.active-card {
    background: rgba(51, 213, 229, 0.05);
    border-color: rgba(51, 213, 229, 0.3);
    box-shadow: 0 10px 30px rgba(51, 213, 229, 0.1);
    transform: translateX(15px);
}

.v-control-card.active-card::before { background: var(--accent-cyan); }
.v-control-card.active-card.pink-active::before { background: var(--accent-pink); }

.v-control-card.active-card.pink-active {
    background: rgba(232, 73, 232, 0.05); border-color: rgba(232, 73, 232, 0.3);
    box-shadow: 0 10px 30px rgba(232, 73, 232, 0.1);
}

.v-icon-box {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #888; transition: 0.4s;
}

.v-control-card.active-card .v-icon-box { background: var(--accent-cyan); color: #000; box-shadow: 0 0 15px var(--accent-cyan); }
.v-control-card.active-card.pink-active .v-icon-box { background: var(--accent-pink); color: #fff; box-shadow: 0 0 15px var(--accent-pink); }

.v-card-text { flex-grow: 1; }
.v-card-text h3 { font-size: 1.15rem; color: #fff; margin-bottom: 4px; font-weight: 600; }
.v-card-text p { font-size: 0.85rem; color: #888; margin: 0; }

.v-arrow { color: #555; transition: 0.3s; }
.v-control-card.active-card .v-arrow { color: var(--accent-cyan); transform: translateX(5px); }
.v-control-card.active-card.pink-active .v-arrow { color: var(--accent-pink); }

/* ==========================================================
   6. BEFORE & AFTER TRANSFORMATION SLIDER
   ========================================================== */
.premium-transformation-section {
    background-color: var(--bg-dark);
    padding: 120px 0;
    position: relative;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.transformation-master-wrapper {
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
}

.custom-ba-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.05);
    background: #000;
}

.ba-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-before {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    filter: brightness(0.8) contrast(0.9);
}

.ba-slider-line {
    position: absolute;
    top: 0; left: 50%;
    width: 4px; height: 100%;
    background: #fff;
    z-index: 5;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.ba-slider-handle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    background: var(--accent-cyan);
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #000; font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(51, 213, 229, 0.8);
    transition: background 0.3s;
}

.custom-ba-container:hover .ba-slider-handle {
    background: var(--accent-pink);
    box-shadow: 0 0 20px rgba(232, 73, 232, 0.8);
}

.ba-label {
    position: absolute;
    top: 20px;
    padding: 8px 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 4;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.label-before { left: 20px; }
.label-after { right: 20px; background: rgba(51, 213, 229, 0.2); border-color: var(--accent-cyan); color: var(--accent-cyan); }

.ba-native-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
}

.project-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 30, 0.7);
    padding: 25px 40px;
    border-radius: 20px;
    margin-top: 30px;
    border: 1px solid rgba(51, 213, 229, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i { font-size: 1.8rem; }

.stat-item span {
    display: block;
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
}

.stat-item strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ==========================================================
   7. TURNKEY 40-DAY EXECUTION TIMELINE
   ========================================================== */
.premium-process-section {
    background-color: var(--bg-deep);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.process-bg-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%; filter: blur(150px);
    opacity: 0.15; pointer-events: none;
}

.glow-top-left { background: var(--accent-cyan); top: -100px; left: -200px; }
.glow-bottom-right { background: var(--accent-pink); bottom: -100px; right: -200px; }

.process-zigzag-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline-center-line {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 2px; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-progress-bar {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink), transparent);
    box-shadow: 0 0 15px var(--accent-cyan);
    animation: flowDown 3s linear infinite;
}

@keyframes flowDown {
    0% { top: -50%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.process-node {
    position: relative;
    width: 50%;
    margin-bottom: 50px;
    z-index: 2;
}

.process-node:last-child { margin-bottom: 0; }
.node-left { left: 0; padding-right: 60px; }
.node-right { left: 50%; padding-left: 60px; }

.node-dot {
    position: absolute;
    top: 30px;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #000;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 5;
    transition: 0.4s;
}

.node-left .node-dot { right: -25px; }
.node-right .node-dot { left: -25px; }

.cyan-dot { background: var(--accent-cyan); box-shadow: 0 0 20px rgba(51, 213, 229, 0.5); }
.pink-dot { background: var(--accent-pink); box-shadow: 0 0 20px rgba(232, 73, 232, 0.5); color: #fff; }

.process-node:hover .node-dot { transform: scale(1.2); }

.process-card {
    background: rgba(10, 10, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.process-node:hover .process-card {
    transform: translateY(-10px);
    border-color: rgba(51, 213, 229, 0.3);
    box-shadow: 0 25px 50px rgba(51, 213, 229, 0.15);
}

.node-right:hover .process-card {
    border-color: rgba(232, 73, 232, 0.3);
    box-shadow: 0 25px 50px rgba(232, 73, 232, 0.15);
}

.bg-watermark {
    position: absolute;
    top: -20px; right: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    z-index: 0;
    user-select: none;
}

.node-right .bg-watermark { left: 10px; right: auto; }

.phase-tag {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    background: rgba(51, 213, 229, 0.1); color: var(--accent-cyan);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid rgba(51, 213, 229, 0.2);
}

.pink-tag {
    background: rgba(232, 73, 232, 0.15); color: var(--accent-pink);
    border: 1px solid rgba(232, 73, 232, 0.2);
}

.process-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 12px; font-weight: 700; position: relative; z-index: 1; }
.process-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; position: relative; z-index: 1; }

.process-checklist {
    list-style: none; padding: 0; margin: 0; position: relative; z-index: 1;
}

.process-checklist li {
    display: flex; align-items: center; gap: 10px;
    color: #ccc; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px;
}

.node-left .process-checklist li i { color: var(--accent-cyan); }
.node-right .process-checklist li i { color: var(--accent-pink); }

/* ==========================================================
   8. MATERIAL SPECIFICATIONS CONSOLE
   ========================================================== */
.premium-material-section {
    background-color: var(--bg-deep);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.mat-bg-grid {
    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;
    z-index: 0; opacity: 0.8;
}

.material-console-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
    align-items: start;
}

.mat-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 100px;
}

.mat-nav-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mat-nav-btn:hover { background: rgba(255,255,255,0.03); transform: translateX(5px); }

.nav-indicator {
    width: 4px; height: 0;
    background: transparent;
    border-radius: 10px;
    transition: 0.4s ease;
}

.nav-text strong { display: block; color: #fff; font-size: 1.15rem; font-family: 'Playfair Display', serif; margin-bottom: 4px; transition: 0.3s; }
.nav-text span { display: block; color: #666; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; transition: 0.3s; }

.mat-nav-btn.active {
    background: rgba(10, 10, 30, 0.6);
    border-color: rgba(51, 213, 229, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateX(10px);
}

.mat-nav-btn.active .nav-indicator { height: 35px; background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink)); box-shadow: 0 0 10px var(--accent-cyan); }
.mat-nav-btn.active .nav-text span { color: var(--accent-cyan); }

.mat-display-area {
    background: rgba(10, 10, 25, 0.7);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.mat-header-dynamic { margin-bottom: 30px; padding-bottom: 20px; transition: opacity 0.4s ease; }
.mat-header-dynamic h3 { color: var(--accent-cyan); font-size: 2.2rem; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.mat-header-dynamic p { color: var(--text-muted); font-size: 1.05rem; margin: 0; max-width: 600px; }

.mat-spec-list {
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s ease;
}

.spec-row {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 30px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.spec-row:hover {
    background: rgba(255,255,255,0.02);
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 12px;
    border-top-color: transparent;
}

.sr-component { display: flex; align-items: center; gap: 15px; }

.sr-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.05); color: var(--accent-cyan);
    display: flex; justify-content: center; align-items: center; font-size: 1.1rem;
    transition: 0.3s;
}

.spec-row:hover .sr-icon { background: var(--accent-cyan); color: #000; box-shadow: 0 0 15px var(--accent-cyan); }
.sr-title { color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.5px; }

.sr-detail { color: #ccc; font-size: 0.95rem; line-height: 1.6; }

.sr-brands { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.brand-tag {
    background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255,255,255,0.1);
    color: #aaa; font-size: 0.75rem; padding: 5px 12px; border-radius: 50px; font-weight: 600;
    transition: 0.3s; white-space: nowrap;
}

.spec-row:hover .brand-tag { border-color: rgba(51, 213, 229, 0.3); color: #fff; background: rgba(51, 213, 229, 0.05); }

.mat-footer-note { margin-top: 40px; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.1); font-size: 0.85rem; color: #666; font-style: italic; }

/* ==========================================================
   9. DYNAMIC SAAS COST CALCULATOR
   ========================================================== */
.premium-calc-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.premium-calc-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: rgba(10, 10, 30, 0.5);
    border-radius: 24px;
    border: 1px solid rgba(51, 213, 229, 0.15);
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    align-items: start;
}

.calc-interactive-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
}

.calc-input-group label {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.calc-input-group label i {
    color: var(--accent-cyan);
    margin-right: 8px;
}

.premium-select {
    width: 100%; padding: 15px 20px; background: rgba(5, 5, 20, 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;
}

.premium-size-selector {
    display: flex; gap: 10px;
    background: rgba(5, 5, 20, 0.8);
    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: 0.3s; display: flex; flex-direction: column;
}

.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); }

.size-pill.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    box-shadow: 0 5px 15px rgba(51, 213, 229, 0.3);
}

.size-pill.active .s-label, 
.size-pill.active .s-range { color: #fff; }

.area-calculation-wrapper {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.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);
}

.calc-mode-content { display: none; animation: fadeIn 0.4s ease; }
.calc-mode-content.active { display: block; }

.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; 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); }

/* Addon Carousel Options */
.addon-carousel-wrapper { position: relative; display: flex; align-items: center; width: 100%; min-width: 0; }

.premium-addon-grid {
    display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth;
    padding: 10px 5px; width: 100%; cursor: grab;
    -ms-overflow-style: none; scrollbar-width: none;
}

.premium-addon-grid::-webkit-scrollbar { display: none; }

.addon-toggle-card { flex: 0 0 135px; }
.addon-toggle-card input { display: none; }

.addon-card-inner {
    background: rgba(5, 5, 20, 0.8); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 20px 15px; text-align: center; cursor: pointer;
    transition: 0.3s; 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; }

.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); }

.addon-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 35px; height: 35px;
    border-radius: 50%; background: rgba(10, 10, 30, 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: 0.3s; backdrop-filter: blur(5px);
}

.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; }

/* The Sticky Receipt Panel */
.calc-receipt-panel {
    background: linear-gradient(145deg, #050515, #0A0A2A);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 100px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.calc-receipt-panel::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
}

.receipt-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;
}

.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); } }

.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; }

.dynamic-visualizer-box {
    position: relative; width: 100%; aspect-ratio: 16/10;
    border-radius: 12px; overflow: hidden; margin-bottom: 25px;
    background: #000; 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; filter: brightness(0.85);
}

.visualizer-img.fading { opacity: 0.3; transform: scale(1.05); }

.material-specs-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(5, 5, 15, 0.95), rgba(5, 5, 15, 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;
}

.material-specs-overlay h4::after { content: 'Hover ⬆'; 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; }
#spec-details-list li i { color: var(--accent-pink); margin-top: 2px; }

/* Performance analytics inside receipt */
.perf-metrics-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px; margin-bottom: 25px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.perf-header { margin-bottom: 15px; text-align: center; }
.perf-header span {
    background: rgba(51, 213, 229, 0.1); color: var(--accent-cyan);
    padding: 4px 12px; border-radius: 50px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid rgba(51, 213, 229, 0.2);
}

.perf-metrics-grid { display: flex; flex-direction: column; gap: 15px; }
.perf-item { width: 100%; }

.perf-label-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6px; }
.perf-label-row span { color: #aaa; font-size: 0.8rem; font-weight: 500; text-transform: uppercase; }
.perf-label-row strong { color: #fff; font-size: 1rem; font-weight: 800; }

.perf-bar {
    width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1);
    border-radius: 10px; overflow: hidden; position: relative;
}

.perf-fill {
    height: 100%; width: 0%; border-radius: 10px; background: #fff;
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), background 1s ease;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.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; }

.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; margin-left: 10px;
}

.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);
}

.receipt-note { color: #666; font-size: 0.75rem; text-align: center; font-style: italic; }

.btn-glow-full {
    width: 100%; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    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; margin-top: 20px;
}

.btn-glow-full:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(232, 73, 232, 0.4); }

/* ==========================================================
   10. LEAD CAPTURE & PROPOSAL GENERATOR MODALS
   ========================================================== */
.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: var(--transition-smooth);
}

.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); }

.quote-modal-box {
    background: linear-gradient(145deg, #0A0A2A, #050515);
    width: 90%; max-width: 600px !important; padding: 40px; border-radius: 24px;
    border: 1px solid rgba(51, 213, 229, 0.3); box-shadow: 0 20px 60px rgba(51, 213, 229, 0.2);
    position: relative; overflow: hidden;
}

.quote-modal-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
}

.quote-modal-header { text-align: center; margin-bottom: 30px; border-bottom: 1px dashed 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: var(--accent-pink); margin-right: 8px; }
.quote-modal-header p { color: #aaa; font-size: 0.95rem; line-height: 1.5; }

.form-row-custom { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }

.form-group-float { position: relative; width: 100%; }
.form-group-float input {
    width: 100%; padding: 18px 15px; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    color: #fff; font-family: 'Poppins', sans-serif; font-size: 1rem;
    transition: all 0.3s ease; outline: none;
}

.form-group-float label {
    position: absolute; top: 18px; left: 15px; color: #888;
    pointer-events: none; transition: 0.2s ease all;
    background: transparent; padding: 0 5px; display: flex;
    align-items: center; gap: 8px; font-size: 0.95rem;
}

.form-group-float label i { color: var(--accent-cyan); }

.form-group-float input:focus,
.form-group-float input:not(:placeholder-shown) {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(51, 213, 229, 0.2);
    background: rgba(10, 10, 30, 0.8);
}

.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; font-weight: 600;
}

.success-circle-pulse {
    width: 80px; height: 80px; background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71; color: #2ecc71; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem; margin: 0 auto; animation: pulseGreen 2s infinite;
}

.portal-pitch-card {
    background: rgba(10, 10, 42, 0.6); border: 1px solid var(--accent-cyan);
    border-radius: 16px; padding: 25px; text-align: left;
}

/* ==========================================================
   10. SOCIAL PROOF BENTO GRID & RATING METRICS
   ========================================================== */
.google-rating-badge {
    display: inline-block; background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 20px;
    border-radius: 50px; color: #ccc; font-size: 0.9rem;
    margin-bottom: 25px; backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.google-rating-badge i { color: #ea4335; margin-right: 8px; font-size: 1.1rem; }
.google-rating-badge strong { color: #fff; }

.trust-bento-grid {
    display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 30px; margin-top: 50px;
}

.review-card {
    background: rgba(10, 10, 30, 0.5); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px; overflow: hidden; position: relative;
    backdrop-filter: blur(20px); transition: var(--transition-smooth);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(51, 213, 229, 0.3);
    box-shadow: 0 25px 50px rgba(51, 213, 229, 0.15);
}

.video-review-card { display: flex; align-items: center; justify-content: center; min-height: 320px; }

.video-thumbnail {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.6; transition: 0.8s ease;
}

.video-review-card:hover .video-thumbnail { opacity: 0.4; transform: scale(1.05); }

.video-overlay {
    position: absolute; z-index: 2; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background: linear-gradient(to top, rgba(5,5,20,0.95), transparent);
}

.play-btn-ripple {
    width: 70px; height: 70px; background: var(--accent-cyan);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 1.8rem; margin-bottom: 20px;
    box-shadow: 0 0 0 0 rgba(51, 213, 229, 0.7);
    animation: rippleEffect 2s infinite; transition: 0.3s;
    text-decoration: none;
}

.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); color: #fff;
}

@keyframes rippleEffect {
    70% { box-shadow: 0 0 0 25px rgba(51, 213, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(51, 213, 229, 0); }
}

.video-info { text-align: center; transform: translateY(20px); transition: 0.4s; opacity: 0.9; }
.video-review-card:hover .video-info { transform: translateY(0); opacity: 1; }
.video-info h4 { color: #fff; font-size: 1.4rem; font-weight: 700; margin-bottom: 5px; }
.video-info p { color: var(--accent-cyan); font-size: 0.9rem; font-weight: 600; margin: 0; }

.text-review-card { padding: 35px 30px; display: flex; flex-direction: column; justify-content: space-between; }
.review-stars { color: #FFD700; font-size: 1rem; margin-bottom: 20px; letter-spacing: 2px; }

.review-text {
    color: #ccc; font-size: 1rem; line-height: 1.6; font-style: italic;
    margin-bottom: 30px; position: relative; z-index: 2;
}

.review-text::before {
    content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: -20px; left: -15px; font-size: 4rem;
    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%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; color: #000;
}

.cyan-avatar { background: var(--accent-cyan); }
.pink-avatar { background: var(--accent-pink); color: #fff; }

.reviewer-details h4 { color: #fff; font-size: 1.05rem; 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; }

.impact-metrics-bar {
    display: flex; justify-content: space-around; align-items: center;
    background: rgba(10, 10, 30, 0.6); border: 1px solid rgba(51, 213, 229, 0.2);
    border-radius: 20px; padding: 35px 20px; margin-top: 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); backdrop-filter: blur(15px);
}

.metric-item { text-align: center; flex: 1; }
.metric-number { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; }
.metric-plus { font-size: 2rem; font-weight: 800; color: var(--accent-cyan); }
.metric-item p { color: #aaa; font-size: 0.85rem; margin-top: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.metric-divider { width: 1px; height: 70px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent); }

/* ==========================================================
   11. DYNAMIC SYSTEM COMPLIANCE & RESPONSIVE TWEAKS FOR WARDROBE
   ========================================================== */
.premium-size-guide-section {
    background-color: var(--bg-dark);
    padding: 120px 0;
    position: relative;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.spatial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.spatial-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spatial-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}

.spatial-card:hover .spatial-bg-img {
    transform: scale(1.15);
}

.spatial-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5,5,20,0.95) 0%, rgba(5,5,20,0.6) 40%, rgba(5,5,20,0.2) 100%);
    transition: background 0.5s ease;
    z-index: 1;
}

.spatial-card:hover .spatial-gradient-overlay {
    background: linear-gradient(to top, rgba(5,5,20,0.98) 0%, rgba(5,5,20,0.85) 60%, rgba(5,5,20,0.4) 100%);
}

.spatial-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.spatial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    transform: translateY(180px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.spatial-card:hover .spatial-header {
    transform: translateY(0);
}

.sp-title-group { display: flex; flex-direction: column; gap: 10px; }

.sp-icon {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem; border: 1px solid rgba(255,255,255,0.2);
}

.spatial-header h3 {
    color: #fff;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    margin: 0;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.sp-sqft-badge {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    margin-bottom: 5px;
}

.spatial-reveal-area {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 0;
}

.spatial-card:hover .spatial-reveal-area {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

.sp-strategy { color: #ccc; font-size: 0.9rem; line-height: 1.6; margin-bottom: 15px; }
.sp-strategy strong { color: #fff; }

.sp-features { list-style: none; padding: 0; margin: 0 0 25px 0; display: flex; flex-direction: column; gap: 8px; }
.sp-features li { color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 10px; }
.sp-features li i { color: var(--accent-cyan); font-size: 0.8rem; }

.sp-explore-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px;
    border-radius: 12px; font-size: 0.9rem; font-weight: 600; text-decoration: none;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(5px);
}

.btn-outline-cyan { color: var(--accent-cyan); border: 1px solid rgba(51, 213, 229, 0.4); background: rgba(51, 213, 229, 0.05); }
.btn-outline-cyan:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 5px 15px rgba(51, 213, 229, 0.4); }

.btn-outline-pink { color: var(--accent-pink); border: 1px solid rgba(232, 73, 232, 0.4); background: rgba(232, 73, 232, 0.05); }
.btn-outline-pink:hover { background: var(--accent-pink); color: #fff; box-shadow: 0 5px 15px rgba(232, 73, 232, 0.4); }

.btn-outline-gold { color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.4); background: rgba(255, 215, 0, 0.05); }
.btn-outline-gold:hover { background: #FFD700; color: #000; box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4); }

/* Wardrobe-masterclass overrides for wardrobe and custom storage */
.wardrobe-masterclass-section {
    background-color: var(--bg-deep);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(232, 73, 232, 0.1);
}

.tech-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(51, 213, 229, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 213, 229, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.5;
}

.wardrobe-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.w-feature-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.w-tech-card {
    background: rgba(10, 10, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.w-tech-card::before {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(51, 213, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%; z-index: 0;
}

.w-tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(51, 213, 229, 0.3);
    box-shadow: 0 20px 50px rgba(51, 213, 229, 0.15);
    background: rgba(15, 15, 55, 0.7);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative; z-index: 1;
}

.w-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff;
}

.cyan-glow { background: rgba(51, 213, 229, 0.1); border: 1px solid rgba(51, 213, 229, 0.3); color: var(--accent-cyan); }
.pink-glow { background: rgba(232, 73, 232, 0.1); border: 1px solid rgba(232, 73, 232, 0.3); color: var(--accent-pink); }

.w-tech-card:hover .cyan-glow { background: var(--accent-cyan); color: #000; box-shadow: 0 0 20px rgba(51, 213, 229, 0.5); }
.w-tech-card:hover .pink-glow { background: var(--accent-pink); color: #fff; box-shadow: 0 0 20px rgba(232, 73, 232, 0.5); }

.spec-label {
    font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
    color: #666; border: 1px solid #444; padding: 4px 8px; border-radius: 4px;
}

.w-tech-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 10px; font-weight: 700; position: relative; z-index: 1; }
.w-tech-card p { font-size: 0.95rem; color: #A0AABF; line-height: 1.6; margin: 0; position: relative; z-index: 1; }

.w-center-col {
    display: flex; justify-content: center; align-items: center;
}

.w-glass-visualizer {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 30px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(51, 213, 229, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 60px rgba(51, 213, 229, 0.1);
    animation: floatingFrame 6s ease-in-out infinite;
}

.w-core-img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: contrast(0.9) brightness(0.8);
}

.sci-fi-scanner {
    position: absolute;
    top: 10px; left: 10px;
    width: calc(100% - 20px);
    height: 4px;
    background: var(--accent-cyan);
    box-shadow: 0 0 20px 5px rgba(51, 213, 229, 0.6);
    opacity: 0.8;
    animation: scanAnimation 4s linear infinite;
    z-index: 5;
    border-radius: 10px;
}

.w-core-tag {
    position: absolute;
    bottom: -15px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    color: #000;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    white-space: nowrap;
    z-index: 10;
}

/* Matchmaker alignments */
.matchmaker-premium-section {
    background-color: var(--dark-blue, #0A0A2A);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.match-orb {
    position: absolute; border-radius: 50%; filter: blur(150px); opacity: 0.2; z-index: 0; pointer-events: none;
}
.match-orb-cyan { width: 400px; height: 400px; background: var(--accent-cyan); top: 0; left: -100px; }
.match-orb-pink { width: 450px; height: 450px; background: var(--accent-pink); bottom: -100px; right: -100px; }

.matchmaker-master-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.match-info-panel .glow-title { margin-bottom: 20px; font-size: 3rem; }
.match-info-panel .premium-desc { margin-bottom: 40px; }

.match-features-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 25px; }
.match-features-list li { display: flex; align-items: flex-start; gap: 20px; }
.mf-icon {
    width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
    background: rgba(255,255,255,0.05); color: var(--accent-cyan);
    display: flex; justify-content: center; align-items: center; font-size: 1.2rem;
    border: 1px solid rgba(51, 213, 229, 0.2);
}
.mf-text h4 { color: #fff; font-size: 1.1rem; margin-bottom: 5px; font-weight: 600; }
.mf-text p { color: #888; font-size: 0.9rem; margin: 0; line-height: 1.5; }

.app-glass-frame {
    background: rgba(10, 10, 30, 0.6);
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column;
    height: 600px;
}

.app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 0 10px; }
.progress-dots { display: flex; gap: 8px; }
.dot { width: 30px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 50px; transition: 0.4s; }
.dot.active { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.app-status { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.app-card-area { flex-grow: 1; position: relative; width: 100%; border-radius: 20px; perspective: 1000px; }

.quiz-card-stack { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.quiz-card {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 20px; background-size: cover; background-position: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1;
}

.quiz-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); border-radius: 0 0 20px 20px;
}

.quiz-card.active { z-index: 10; }
.quiz-card.swipe-left { transform: translateX(-120%) rotate(-15deg); opacity: 0; }
.quiz-card.swipe-right { transform: translateX(120%) rotate(15deg); opacity: 0; }

.app-controls { display: flex; justify-content: center; gap: 20px; margin-top: 25px; padding: 0 10px; }

.btn-swipe {
    flex: 1; display: flex; justify-content: center; align-items: center; gap: 10px;
    padding: 15px 20px; border-radius: 50px; border: none; cursor: pointer;
    font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-reject { background: rgba(255, 71, 87, 0.1); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.4); }
.btn-reject:hover { background: #ff4757; color: #fff; box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4); transform: translateY(-3px); }

.btn-accept { background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.4); }
.btn-accept:hover { background: #2ecc71; color: #fff; box-shadow: 0 10px 25px rgba(46, 204, 113, 0.4); transform: translateY(-3px); }

.quiz-result-box {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 30, 0.95); border-radius: 20px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 30px; animation: fadeInZoom 0.5s ease;
}
.result-glow-icon {
    width: 80px; height: 80px; background: rgba(51, 213, 229, 0.1); border: 2px solid var(--accent-cyan);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--accent-cyan); margin-bottom: 20px; box-shadow: 0 0 30px rgba(51, 213, 229, 0.4);
}
.quiz-result-box h3 { color: #fff; font-size: 2rem; margin-bottom: 10px; font-family: 'Playfair Display', serif; }
.quiz-result-box p { color: #aaa; font-size: 0.95rem; line-height: 1.6; }

/* Dynamic specs grids */
.premium-included-box {
    background: rgba(10, 10, 30, 0.4);
    border: 1px solid rgba(51, 213, 229, 0.3);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.premium-included-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink));
}

.inc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.inc-header h4 {
    color: #fff; font-size: 1.1rem; margin: 0; font-family: 'Playfair Display', serif;
}

.inc-tier-badge {
    background: rgba(232, 73, 232, 0.15);
    color: var(--accent-pink);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(232, 73, 232, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.inc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* beautiful 2-column layout */
    gap: 20px;
    margin-top: 20px;
}

.inc-category {
    background: rgba(0, 0, 0, 0.25); /* Premium dark inset feel */
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s;
}
.inc-category:hover {
    background: rgba(51, 213, 229, 0.05);
    border-color: rgba(51, 213, 229, 0.2);
}

.inc-category h5 {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; gap: 8px;
}

/* Base parameters */
@media (max-width: 1200px) {
    .premium-calc-container { 
        grid-template-columns: 1fr; /* Stacks panels on tablets/mobile */
        padding: 25px; 
    }
    
    .calc-receipt-panel { 
        position: relative; /* Removes sticky on mobile for better UX */
        top: 0; 
        margin-top: 30px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.8); 
    }
}

@media (max-width: 991px) {
    .inc-grid { grid-template-columns: 1fr; }
    .wardrobe-hub-grid {
        grid-template-columns: 1fr; /* Stacks everything in one column */
        gap: 30px;
    }
    .w-center-col {
        order: -1; /* Moves the image to the top on mobile */
        margin-bottom: 20px;
    }
    .w-glass-visualizer {
        width: 80%; /* Slightly smaller on tablet/mobile */
        aspect-ratio: 4 / 5;
    }
    .matchmaker-master-grid { grid-template-columns: 1fr; gap: 40px; }
    .app-glass-frame { max-width: 500px; margin: 0 auto; height: 550px; width: 100%; }
    .process-zigzag-timeline { padding-left: 30px; }
    
    .timeline-center-line { left: 20px; transform: none; }
    
    .process-node { width: 100%; left: 0 !important; padding: 0 0 0 50px !important; }
    
    .node-dot { left: -5px !important; right: auto !important; width: 45px; height: 45px; font-size: 1rem; }
    
    .bg-watermark { right: 10px !important; left: auto !important; font-size: 6rem; }
    
    .process-card { padding: 30px 20px; }
    .exp-dashboard-wrapper { grid-template-columns: 1fr; }
    .exp-sidebar { flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
    .exp-tab-btn { flex: 0 0 280px; transform: none !important; }
    .exp-tab-btn.active { transform: translateY(-5px) !important; }
    .exp-screen { min-height: 400px; }
    .vastu-master-layout { grid-template-columns: 1fr; }
    .radar-outer-ring { width: 240px; height: 240px; }
    .radar-inner-ring { width: 190px; height: 190px; }
    .material-console-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .mat-sidebar { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 10px; -ms-overflow-style: none; scrollbar-width: none; }
    .mat-sidebar::-webkit-scrollbar { display: none; }
    .mat-nav-btn { flex: 0 0 280px; padding: 15px; }
    .mat-nav-btn.active { transform: translateY(-5px); }
    .nav-indicator { height: 4px; width: 0; transition: width 0.4s; }
    .mat-nav-btn.active .nav-indicator { width: 40px; height: 4px; }
    
    .spec-row { grid-template-columns: 1fr; gap: 15px; padding: 20px 0; }
    .sr-brands { justify-content: flex-start; }
    .spec-row:hover { padding-left: 0; padding-right: 0; background: transparent; }
}

@media (max-width: 768px) {
    .spatial-grid { grid-template-columns: repeat(2, 1fr); }
    .spatial-card:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; }
    
    .material-console-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .mat-sidebar { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 10px; -ms-overflow-style: none; scrollbar-width: none; }
    .mat-sidebar::-webkit-scrollbar { display: none; }
    .mat-nav-btn { flex: 0 0 280px; padding: 15px; }
    .mat-nav-btn.active { transform: translateY(-5px); }
    .nav-indicator { height: 4px; width: 0; transition: width 0.4s; }
    .mat-nav-btn.active .nav-indicator { width: 40px; height: 4px; }
    
    .spec-row { grid-template-columns: 1fr; gap: 15px; padding: 20px 0; }
    .sr-brands { justify-content: flex-start; }
    .spec-row:hover { padding-left: 0; padding-right: 0; background: transparent; }
    .spatial-grid { grid-template-columns: 1fr; }
    .spatial-card { aspect-ratio: 4/5; }
    .spatial-card:nth-child(3) { grid-column: span 1; aspect-ratio: 4/5; }
    .spatial-header { transform: translateY(0); margin-bottom: 15px; }
    .spatial-reveal-area { opacity: 1; transform: translateY(0); max-height: 500px; }
    .spatial-gradient-overlay { background: linear-gradient(to top, rgba(5,5,20,0.98) 0%, rgba(5,5,20,0.8) 60%, rgba(5,5,20,0.3) 100%); }
    .mat-display-area { padding: 30px 20px; }
    .mat-header-dynamic h3 { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .w-glass-visualizer { width: 100%; }
}

/* ==========================================================
   12. LEAD CAPTURE & PROPOSAL GENERATOR MODALS
   ========================================================== */
.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; /* Ensures it stays on top of everything */
    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);
}

.quote-modal-box {
    background: linear-gradient(145deg, #0A0A2A, #050515);
    width: 90%;
    max-width: 600px !important;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(51, 213, 229, 0.3);
    box-shadow: 0 20px 60px rgba(51, 213, 229, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInZoom 0.5s ease forwards;
}

.quote-modal-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
}

.quote-modal-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}
.quote-modal-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}
.quote-modal-header h3 i {
    color: var(--accent-pink);
    margin-right: 8px;
}
.quote-modal-header p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-row-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group-float {
    position: relative;
    width: 100%;
}

.form-group-float input {
    width: 100%;
    padding: 18px 15px;
    background: rgba(255, 255, 255, 0.05); /* Transparent Dark Box */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group-float label {
    position: absolute; top: 18px; left: 15px; color: #888;
    pointer-events: none; transition: 0.2s ease all;
    background: transparent; padding: 0 5px; display: flex;
    align-items: center; gap: 8px; font-size: 0.95rem;
}
.form-group-float label i { color: var(--accent-cyan); }

.form-group-float input:focus,
.form-group-float input:not(:placeholder-shown) {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(51, 213, 229, 0.2);
    background: rgba(10, 10, 30, 0.8);
}
.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;
    font-weight: 600;
}

#q-submit-btn {
    width: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    color: #fff;
    border: none;
    padding: 16px;
    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;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(51, 213, 229, 0.3);
}
#q-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(232, 73, 232, 0.5);
}
#q-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.success-circle-pulse {
    width: 80px; height: 80px;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    color: #2ecc71;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem;
    margin: 0 auto;
    animation: pulseGreen 2s infinite;
}

@media (max-width: 600px) {
    .form-row-custom { grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
    .quote-modal-box { padding: 30px 20px; width: 95%; }
    .quote-modal-header h3 { font-size: 1.5rem; }
    .media-modal-close { top: 15px; right: 20px; font-size: 2rem; }
}

@keyframes fadeInZoom {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================
   14. SIGNATURE PORTFOLIO GALLERY
   ========================================================== */
.premium-portfolio-section {
    background-color: var(--bg-deep);
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(51, 213, 229, 0.1);
}

.port-filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.port-filter-container::-webkit-scrollbar { display: none; }

.p-filter-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.p-filter-btn i { color: var(--accent-cyan); transition: 0.3s; }
.p-filter-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.p-filter-btn.active {
    background: linear-gradient(135deg, rgba(51,213,229,0.1), rgba(232,73,232,0.1));
    border-color: var(--accent-cyan);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(51, 213, 229, 0.2);
    transform: translateY(-2px);
}

.p-filter-btn.active i { color: var(--accent-pink); }

.port-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.span-2-col { grid-column: span 2; }
.span-2-row { grid-row: span 2; }

.port-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
}

.port-item.hide {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.port-item.show {
    animation: fadeInScale 0.5s ease forwards;
}

.port-item:hover {
    transform: translateY(-8px);
    border-color: rgba(51, 213, 229, 0.3);
    box-shadow: 0 20px 50px rgba(51, 213, 229, 0.2);
}

.port-img, .port-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.85;
}

.port-item:not(.before-after):not(.video):hover .port-img {
    transform: scale(1.1);
    opacity: 0.5;
}

.img-before { opacity: 0; z-index: 2; transition: opacity 0.5s ease; filter: sepia(30%); }
.img-after { z-index: 1; }
.port-item.before-after:hover .img-before { opacity: 1; }

.port-item.video:hover .port-video { transform: scale(1.05); }

.port-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5,5,20,0.95) 0%, rgba(5,5,20,0.4) 50%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 25px;
    z-index: 5;
    transition: 0.4s ease;
}

.port-content {
    transform: translateY(20px);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.port-item:hover .port-content {
    transform: translateY(0);
    opacity: 1;
}

.port-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.port-meta {
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.port-zoom-btn {
    width: 45px; height: 45px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.1); color: #fff; font-size: 1.2rem;
    display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer; opacity: 0; transform: translateX(-20px) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.port-item:hover .port-zoom-btn {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.port-item.video .play-btn { transform: scale(0.5); opacity: 0; }
.port-item.video:hover .play-btn {
    transform: scale(1);
    opacity: 1;
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px var(--accent-pink);
}

.interactive-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: 10;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none; transition: 0.3s;
}

.port-item:hover .interactive-badge { opacity: 0; }

@media (max-width: 1024px) {
    .port-masonry-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
    .span-2-col { grid-column: span 2; }
    .span-2-row { grid-row: span 1; }
    .port-filter-container { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .port-masonry-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .span-2-col { grid-column: span 1; }
    .port-content { transform: translateY(0); opacity: 1; }
    .port-zoom-btn { opacity: 1; transform: translateX(0) rotate(0deg); background: rgba(51, 213, 229, 0.2); color: var(--accent-cyan); border-color: var(--accent-cyan); }
    .port-overlay { background: linear-gradient(to top, rgba(5,5,20,0.95) 0%, transparent 100%); }
}