/* ==========================================================================
   LUMENEX BRAND DESIGN SYSTEM - FULLY RESPONSIVE EDITION
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #07060a;
    --bg-darker: #030305;
    --accent-cyberpunk-primary: #ff007f;
    --accent-cyberpunk-secondary: #00f0ff;
    --accent-aurora-primary: #00ffaa;
    --accent-aurora-secondary: #00aaff;
    --accent-solar-primary: #ff5500;
    --accent-solar-secondary: #ffcc00;
    --accent-zen-primary: #ffdd99;
    --accent-zen-secondary: #ffffff;
    
    /* Active Config Colors (dynamically updated by JS) */
    --theme-primary: var(--accent-cyberpunk-primary);
    --theme-secondary: var(--accent-cyberpunk-secondary);
    --theme-primary-glow: rgba(255, 0, 127, 0.15);
    
    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Core Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Canvas controls scrolling */
    background-color: var(--bg-darker);
    color: #ffffff;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* Preloader Screen */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-darker);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-container.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.loader-bar-outer {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.loader-bar-inner {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    box-shadow: 0 0 8px var(--theme-primary);
    transition: width 0.1s linear;
}

.loader-status {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s;
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--theme-primary);
    background-color: var(--theme-primary-glow);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease-out, border-color 0.5s ease, background-color 0.5s ease, width 0.3s, height 0.3s;
}

/* Hover scales custom cursor */
.hover-active .custom-cursor {
    width: 12px;
    height: 12px;
    background-color: var(--theme-secondary);
}

.hover-active .custom-cursor-glow {
    width: 60px;
    height: 60px;
    border-color: var(--theme-secondary);
    background-color: transparent;
}

/* 3D Canvas Background */
#canvas-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

/* UI Structure */
.ui-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Allow interaction with UI overlay elements */
.header, .sidebar-dots, .scroll-container, .customizer-panel, input, button, a, select, textarea {
    pointer-events: auto;
}

/* Header Styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 100;
    background: linear-gradient(180deg, rgba(3, 3, 5, 0.85) 0%, rgba(3, 3, 5, 0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    color: #ffffff;
    text-decoration: none;
}

.logo span {
    color: var(--theme-primary);
    transition: color 0.5s ease;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
}

.nav-item {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    transition: var(--transition-snappy);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--theme-primary);
    transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: #ffffff;
}

.nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Sound Toggle button */
.sound-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-snappy);
}

.sound-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--theme-primary);
}

.sound-wave {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 10px;
}

.sound-wave span {
    display: block;
    width: 1.5px;
    height: 100%;
    background-color: #ffffff;
    border-radius: 1px;
    transition: height 0.3s ease;
}

.sound-active .sound-wave span {
    animation: soundGlowWave 0.8s ease-in-out infinite alternate;
}

.sound-active .sound-wave span:nth-child(1) { animation-delay: -0.2s; }
.sound-active .sound-wave span:nth-child(2) { animation-delay: -0.5s; height: 70%; }
.sound-active .sound-wave span:nth-child(3) { animation-delay: -0.1s; height: 40%; }
.sound-active .sound-wave span:nth-child(4) { animation-delay: -0.4s; height: 90%; }

@keyframes soundGlowWave {
    0% { height: 20%; background-color: var(--theme-secondary); }
    100% { height: 100%; background-color: var(--theme-primary); }
}

/* Header buy now button */
.shop-btn-header {
    background: var(--theme-primary);
    border: 1px solid var(--theme-primary);
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px var(--theme-primary-glow);
    transition: var(--transition-snappy);
}

.shop-btn-header:hover {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: none;
}

/* Sidebar Dots Nav */
.sidebar-dots {
    position: fixed;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    z-index: 100;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    transition: var(--transition-snappy);
}

.dot-label {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-snappy);
    white-space: nowrap;
}

.dot:hover .dot-label, .dot.active .dot-label {
    opacity: 1;
    right: 1.5rem;
}

.dot.active {
    background-color: var(--theme-primary);
    box-shadow: 0 0 10px var(--theme-primary);
    transform: scale(1.4);
}

/* Scroll Container */
.scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: auto;
    z-index: 5;
}

/* Scrollable Sections */
.section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 6.5rem 8rem 2rem 8rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.section.active {
    opacity: 1;
    visibility: visible;
}

/* 2-Column Section Grid */
.section-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.section-content {
    max-width: 580px;
    z-index: 10;
}

.section-media {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* Ambient Product Gallery Card */
.ambient-gallery-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 440px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px var(--theme-primary-glow);
    transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.ambient-gallery-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6), 0 0 45px var(--theme-primary-glow);
}

.card-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.card-portrait .card-image-wrap {
    aspect-ratio: 4/5;
}

.ambient-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambient-gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.caption-location {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08rem;
    color: var(--theme-secondary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.5s ease;
}

.caption-detail {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

/* Smart home badges */
.brand-badge-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.brand-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.35rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.06rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
}

.brand-pill i {
    font-size: 0.7rem;
}

/* Tags & Titles */
.section-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
    color: var(--theme-primary);
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.05;
    letter-spacing: -0.06rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.02rem;
    color: var(--theme-secondary);
    margin-bottom: 1.5rem;
    transition: color 0.5s ease;
}

.hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-weight: 300;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1.1;
    letter-spacing: -0.04rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Specifications horizontal grid */
.specs-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0;
    margin-bottom: 2rem;
}

.spec-mini-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.spec-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.spec-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

/* CTA buttons row */
.cta-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.primary-btn {
    background: #ffffff;
    color: var(--bg-darker);
    border: none;
    border-radius: 4px;
    padding: 0.95rem 1.8rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12rem;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
}

.primary-btn:hover {
    background: var(--theme-primary);
    color: #ffffff;
    box-shadow: 0 10px 22px var(--theme-primary-glow);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    border-radius: 4px;
    padding: 0.95rem 1.6rem;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-snappy);
}

.secondary-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

/* Scroll Prompt Hint */
.scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 2.2rem;
}

.scroll-prompt span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12rem;
    color: rgba(255, 255, 255, 0.35);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 1px;
    height: 12px;
    background-color: var(--theme-primary);
    position: absolute;
    top: 0;
    left: 0;
    animation: scrollDotDown 1.8s ease-in-out infinite;
}

@keyframes scrollDotDown {
    0% { transform: translateY(-100%); }
    80% { transform: translateY(280%); }
    100% { transform: translateY(280%); }
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 1.4rem;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.card-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--theme-primary);
    margin-bottom: 0.6rem;
    display: block;
    transition: color 0.5s ease;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02rem;
}

.feature-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

/* Section 3: Configurator Playground Layout */
.lab-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.lab-text {
    z-index: 10;
}

.lab-tips {
    display: flex;
    gap: 2rem;
    margin-top: 1.8rem;
}

.lab-tips span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Configurator/Customizer Panel Styles */
.customizer-panel {
    background: rgba(7, 6, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 15;
    position: relative;
}

.panel-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.2rem;
}

.panel-section:nth-last-child(2) {
    border-bottom: none;
    padding-bottom: 0;
}

.panel-section h4 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

/* Finish Toggle buttons */
.toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition-snappy);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--theme-primary);
    color: #ffffff;
    box-shadow: 0 0 15px var(--theme-primary-glow);
}

.btn-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
}

.btn-sub {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    font-family: var(--font-body);
}

/* Chromatic Presets - Grid styled */
.color-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
}

.color-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--btn-color);
    box-shadow: 0 0 6px var(--btn-color);
    transition: transform 0.3s ease;
}

.color-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.color-btn:hover {
    border-color: var(--btn-color);
    background: rgba(255, 255, 255, 0.05);
}

.color-btn.active {
    border-color: var(--btn-color);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
}

.color-btn.active .color-label {
    color: #ffffff;
    font-weight: 600;
}

.color-btn.active .color-dot {
    transform: scale(1.15);
}

/* Sliders */
.slider-group {
    margin-bottom: 1rem;
}

.slider-group:last-child {
    margin-bottom: 0;
}

.slider-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.slider-row label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.06rem;
    color: rgba(255, 255, 255, 0.5);
}

.slider-val {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--theme-primary);
    font-weight: bold;
    transition: color 0.5s ease;
}

/* Custom Range Input */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px var(--theme-primary);
    border: 2px solid var(--theme-primary);
    transition: var(--transition-snappy);
}

input[type="range"]:hover::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--theme-primary);
}

/* Pricing and Add to cart box */
.config-price-box {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-row span:first-child {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08rem;
    color: rgba(255, 255, 255, 0.45);
}

.configured-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--theme-primary);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.95rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 10px 22px var(--theme-primary-glow);
    transition: var(--transition-snappy);
}

.add-to-cart-btn:hover {
    background: #ffffff;
    color: var(--bg-darker);
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.1);
}

/* Section 4: Contact / Inquiry Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 6rem;
    margin-top: 2.5rem;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 0;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    outline: none;
    transition: var(--transition-snappy);
}

.form-group select option {
    background-color: var(--bg-dark);
    color: #ffffff;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--theme-primary);
    transition: var(--transition-smooth);
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: transparent;
}

/* Submit Button */
.send-btn {
    background: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 1.2rem 2.2rem;
    color: var(--bg-darker);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    cursor: pointer;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    transition: var(--transition-snappy);
}

.send-btn:hover {
    background: var(--theme-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px var(--theme-primary-glow);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.detail-item h5 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.detail-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
}

.social-icon:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    box-shadow: 0 0 10px var(--theme-primary-glow);
    transform: scale(1.08);
}

/* ==========================================================================
   10. MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1200px) {
    .section {
        padding: 0 4rem;
        height: auto;
        min-height: 100vh;
        align-items: center;
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    .section-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .section-media {
        width: 100%;
        justify-content: flex-start;
    }
    .ambient-gallery-card {
        max-width: 500px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-tagline {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .lab-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .customizer-panel {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    /* Loader optimization for mobile */
    .loader-content {
        width: 85%;
        max-width: 290px;
    }
    .loader-logo {
        font-size: 1.8rem;
        letter-spacing: 0.3rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    .loader-status {
        font-size: 0.62rem;
        letter-spacing: 0.05rem;
    }

    /* Header optimization */
    .header {
        padding: 0 1.5rem;
        height: 60px;
    }
    .logo {
        font-size: 1.15rem;
        letter-spacing: 0.15rem;
    }
    .nav-links {
        display: none; /* Hide desktop nav bar links, dots are hidden too */
    }
    .sidebar-dots {
        display: none; /* Hide sidebar indicator dots to free up screen width and touch targets */
    }
    
    .sound-toggle-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.55rem;
    }
    .sound-wave {
        display: none; /* Hide sound wave icon to prevent clutter */
    }
    
    .shop-btn-header {
        padding: 0.4rem 0.9rem;
        font-size: 0.55rem;
    }

    /* Section scroll layouts */
    .section {
        padding: 5.5rem 1.2rem 2rem 1.2rem;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        overflow: hidden;
    }
    
    .section-grid {
        display: block;
        width: 100%;
    }

    /* Wrap content in a glassmorphic card for 100% readability over background canvas */
    .section-content {
        width: 100%;
        max-width: 100%;
        padding: 1.2rem 1.4rem;
        background: rgba(7, 6, 10, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 10;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .section-media {
        display: none !important;
    }

    /* Compact Typography sizing for 360x640 mobile viewports */
    .brand-badge-row {
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }
    .brand-pill {
        padding: 0.25rem 0.6rem;
        font-size: 0.55rem;
        letter-spacing: 0.04rem;
    }
    .hero-title {
        font-size: 2.1rem; /* Perfectly sizes inside width without wraps or clipping */
        line-height: 1.1;
        margin-bottom: 0.4rem;
    }
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    .section-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    /* Specs Grid resizing */
    .specs-mini-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        padding: 0.8rem 0;
        margin-bottom: 1.5rem;
    }
    .spec-label {
        font-size: 0.55rem;
        letter-spacing: 0.05rem;
    }
    .spec-value {
        font-size: 1rem;
    }

    /* Block Full-Width CTAs for mobile touch optimization */
    .cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        width: 100%;
        margin-top: 1rem;
    }
    .primary-btn, .secondary-btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem;
        font-size: 0.65rem;
        letter-spacing: 0.08rem;
        display: flex;
        justify-content: center;
    }
    
    .scroll-prompt {
        display: none; /* Hide scroll mouse prompt visual on mobile touchscreen */
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .feature-card {
        padding: 1.2rem;
        border-radius: 6px;
    }

    /* Configurator panel optimizations */
    .lab-text .section-tag,
    .lab-text .section-desc {
        display: none !important;
    }
    .lab-text .section-title {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
        text-align: center;
    }
    .lab-tips {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 0.6rem;
    }
    .lab-tips span {
        font-size: 0.55rem;
    }

    .lab-content {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    .customizer-panel {
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 12px;
    }
    .panel-section {
        margin-bottom: 0.6rem;
        padding-bottom: 0.5rem;
    }
    .panel-section h4 {
        font-size: 0.55rem;
        margin-bottom: 0.4rem;
    }
    
    .toggle-group {
        grid-template-columns: 1fr 1fr; /* 2 columns to save height on mobile */
        gap: 0.4rem;
    }
    .toggle-btn {
        padding: 0.4rem 0.5rem;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .btn-text {
        font-size: 0.58rem;
    }
    .btn-sub {
        display: none !important; /* Hide subtext under finishes on mobile */
    }

    .color-presets {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    .color-btn {
        padding: 0.35rem;
        height: auto;
    }
    .color-label {
        display: none;
    }
    .color-dot {
        width: 10px;
        height: 10px;
    }

    .slider-group {
        margin-bottom: 0.4rem;
    }
    .slider-row {
        margin-bottom: 0.2rem;
    }
    .slider-row label {
        font-size: 0.52rem;
    }
    .slider-val {
        font-size: 0.55rem;
    }
    .slider-group input[type="range"] {
        height: 3px;
    }

    .config-price-box {
        margin-top: 0.6rem;
        padding: 0.6rem 0.8rem;
    }
    .configured-price {
        font-size: 1.25rem;
    }
    .add-to-cart-btn {
        padding: 0.7rem;
        font-size: 0.6rem;
    }

    /* Contact forms stacking */
    #inquire .section-desc {
        display: none !important;
    }
    .contact-details {
        display: none !important; /* Hide secondary details to focus 100% on form input space */
    }
    .contact-layout {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }
    .inquiry-form {
        width: 100%;
        gap: 0.8rem;
        display: flex;
        flex-direction: column;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .form-group {
        margin-bottom: 0.6rem;
    }
    .form-group label {
        font-size: 0.52rem;
        margin-bottom: 0.2rem;
    }
    .form-group input, .form-group select, .form-group textarea {
        padding: 0.35rem 0;
        font-size: 0.72rem;
    }
    .form-group textarea {
        height: 60px; /* Shrunk height for mobile touch input */
    }
    .send-btn {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        padding: 0.7rem;
        font-size: 0.62rem;
        margin-top: 0.4rem;
    }
}
