/* ==========================================================================
   SOFIA AI DOLL - Futuristic Cyberpunk Glassmorphism Design System
   Based on skin.html reference architecture
   ========================================================================== */

:root {
    --core-cyan: #00f2ff;
    --deep-obsidian: #020617;
    --filament-glow: rgba(0, 242, 255, 0.4);
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-card: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(0, 242, 255, 0.25);
    --glass-hover: rgba(0, 242, 255, 0.15);
    --accent-gold: #fbbf24;
    --accent-pink: #f472b6;
    --accent-purple: #a855f7;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.4);
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Security Protection */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Image Anti-Theft & Content Protection */
img, svg, canvas {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #000;
    background-image: 
        radial-gradient(circle at 50% 20%, #0f172a 0%, #020617 70%, #000 100%),
        linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    font-family: var(--font-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--core-cyan) 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--accent-gold);
}

.mono {
    font-family: var(--font-mono);
}

/* Background Cyber Grid Effects */
.scanline-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.15)
    );
    background-size: 100% 4px;
    opacity: 0.4;
}

.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    max-width: 100vw;
    overflow: hidden;
}

.light-1 {
    top: 10%; left: 5%;
    width: 300px; height: 300px;
    background: rgba(0, 242, 255, 0.12);
}

.light-2 {
    top: 45%; right: 5%;
    width: 320px; height: 320px;
    background: rgba(168, 85, 247, 0.1);
}

.light-3 {
    bottom: 15%; left: 10%;
    width: 300px; height: 300px;
    background: rgba(251, 191, 36, 0.08);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Reusable UI Components (Based on skin.html) */
.spectral-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 242, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.spectral-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--core-cyan), transparent);
    animation: scan-line 4s linear infinite;
}

.status-badge {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--core-cyan);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--core-cyan);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--core-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--core-cyan);
    animation: blink 1.5s infinite;
}

.status-dot.gold {
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.sys-id-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--core-cyan);
    opacity: 0.85;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sys-id-tag::before {
    content: '//';
    color: var(--accent-gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-cyan {
    background: rgba(0, 242, 255, 0.15);
    color: var(--core-cyan);
    border: 1px solid var(--core-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.btn-cyan:hover {
    background: var(--core-cyan);
    color: var(--deep-obsidian);
    box-shadow: 0 0 35px rgba(0, 242, 255, 0.6);
    transform: translateY(-2px);
}

.btn-gold {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.btn-gold:hover {
    background: var(--accent-gold);
    color: var(--deep-obsidian);
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--core-cyan);
    color: var(--core-cyan);
    background: rgba(0, 242, 255, 0.05);
}

/* Navigation Header */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-fast);
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.9);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-bottom-color: rgba(0, 242, 255, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 242, 255, 0.1);
    border: 1.5px solid var(--core-cyan);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--core-cyan);
    stroke-width: 2;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--core-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--core-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; width: 0; height: 2px;
    background: var(--core-cyan);
    transition: var(--transition-fast);
    box-shadow: 0 0 8px var(--core-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--core-cyan);
    cursor: pointer;
    padding: 8px;
}

/* Hero Section */
.hero-section {
    padding-top: 150px;
    padding-bottom: 90px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--core-cyan);
    font-weight: 700;
    margin-top: -12px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.badge-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Interactive AI Demo Card in Hero (derived from skin.html) */
.hero-spectral-card {
    margin-top: 16px;
}

.banner-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.15);
}

.sys-title {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-top: 4px;
    text-shadow: 0 0 15px var(--filament-glow);
}

/* Hospital ECG / Heartbeat Monitor Visualizer */
.visualizer-container {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 16px 0;
    background: radial-gradient(circle at 50% 50%, #031a29 0%, #020c16 100%),
        linear-gradient(rgba(0, 242, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.08) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: inset 0 0 15px rgba(0, 242, 255, 0.15), 0 0 20px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.visualizer-container::after {
    content: 'ECG / PULSE: 78 BPM';
    position: absolute;
    top: 8px; right: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--core-cyan);
    letter-spacing: 1px;
    opacity: 0.85;
}

.filament-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--core-cyan));
}

.filament-path {
    fill: none;
    stroke: var(--core-cyan);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
}

.ekg-sweep-line {
    position: absolute;
    top: 0; left: 0;
    width: 50px; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.3), transparent);
    pointer-events: none;
    animation: ekg-scan 2.5s linear infinite;
}

@keyframes ekg-scan {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(550px); }
}

/* Transcription Box */
.transcription-box {
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.08) 0%, transparent 100%);
    border-left: 3px solid var(--core-cyan);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    min-height: 70px;
}

.transcript-text {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.cursor {
    display: inline-block;
    width: 7px;
    height: 15px;
    background: var(--core-cyan);
    margin-left: 4px;
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

/* Sample Interactive Prompt Chips */
.prompt-chips {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 20px;
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.chip:hover, .chip.active {
    background: rgba(0, 242, 255, 0.15);
    border-color: var(--core-cyan);
    color: var(--core-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

/* Data Grid (skin.html specification) */
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.data-module {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.15);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    position: relative;
}

.module-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.module-value {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--core-cyan);
}

/* Hero Showcase Image Styling */
.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    padding: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 255, 0.15);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.showcase-wrapper:hover {
    transform: translateY(-8px) rotateY(4deg) rotateX(2deg);
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    object-fit: cover;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
}

.hologram-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110%; height: 110%;
    border: 1px dashed rgba(0, 242, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: spin 30s linear infinite;
}

/* Floating HUD Tag Pins on Product Image */
.floating-pin {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--core-cyan);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 11px;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.pin-1 { top: 15%; left: -5%; animation-delay: 0s; }
.pin-2 { top: 40%; right: -5%; animation-delay: 1.5s; }
.pin-3 { bottom: 15%; left: 5%; animation-delay: 3s; }

.pin-label {
    color: var(--core-cyan);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pin-val {
    font-weight: 700;
}

/* Section Title Header */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-top: 10px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Infographic Showcase Section */
.infographic-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
}

.infographic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.infographic-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.infographic-img-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.infographic-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.infographic-img-wrapper:hover .infographic-img {
    transform: scale(1.03);
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
}

.infographic-img-wrapper:hover .zoom-overlay {
    opacity: 1;
}

.zoom-hint-text {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--core-cyan);
    text-align: center;
    letter-spacing: 0.5px;
}

.infographic-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-box {
    background: var(--glass-card);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: var(--transition-fast);
    position: relative;
}

.feature-box:hover {
    border-color: var(--core-cyan);
    background: rgba(15, 23, 42, 0.85);
    transform: translateX(8px);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.15);
}

.feature-box-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--core-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--core-cyan);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-icon.gold {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Feature Deep-Dive Interactive Tabs */
.deep-dive-section {
    padding: 100px 0;
}

.interactive-hud {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.hud-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    padding-bottom: 16px;
    margin-bottom: 32px;
    overflow-x: auto;
}

.hud-tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-tab-btn:hover, .hud-tab-btn.active {
    background: rgba(0, 242, 255, 0.15);
    border-color: var(--core-cyan);
    color: var(--core-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.hud-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.hud-tab-content.active {
    display: block;
}

/* Tab 1: Poliglot Language Switcher Demo */
.lang-demo-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: center;
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.lang-card:hover, .lang-card.active {
    background: rgba(0, 242, 255, 0.12);
    border-color: var(--core-cyan);
}

.lang-flag {
    font-size: 20px;
}

.lang-name {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
}

.lang-preview-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--core-cyan);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
}

.lang-speaker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    padding-bottom: 12px;
}

.audio-visualizer-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.wave-bar {
    width: 4px;
    background: var(--core-cyan);
    border-radius: 2px;
    animation: waveAnim 1.2s infinite ease-in-out alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }
.wave-bar:nth-child(5) { animation-delay: 0.5s; }

/* Tab 2: Smart Home Hub Demo */
.smarthome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.device-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-fast);
}

.device-card.on {
    background: rgba(0, 242, 255, 0.08);
    border-color: var(--core-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.device-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-switch {
    width: 46px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.device-card.on .toggle-switch {
    background: var(--core-cyan);
}

.device-card.on .toggle-switch::after {
    left: 25px;
    background: var(--deep-obsidian);
}

/* Tab 3: Mode Dongeng & Belajar */
.edukasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Tab 4: AI Radar Chart (Infographic replica) */
.radar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.radar-canvas-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.radar-stats-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-progress-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 13px;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--core-cyan), var(--accent-gold));
    border-radius: 4px;
    box-shadow: 0 0 10px var(--core-cyan);
    transition: width 1s ease;
}

/* Tech Specs Grid */
.specs-section {
    padding: 100px 0;
    position: relative;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.spec-card {
    background: var(--glass-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-fast);
}

.spec-card:hover {
    border-color: var(--core-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--core-cyan);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--core-cyan);
    margin-bottom: 16px;
    font-size: 18px;
}

.spec-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.spec-value {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
}

/* Pricing / Pre-order Card */
.pricing-section {
    padding: 100px 0;
}

.pricing-card-wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1.5px solid var(--core-cyan);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.25), inset 0 0 30px rgba(0, 242, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.price-tag {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin: 20px 0 10px 0;
    font-family: var(--font-mono);
}

.price-original {
    font-size: 20px;
    color: var(--text-dim);
    text-decoration: line-through;
    margin-left: 10px;
}

.timer-box {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
}

.timer-unit {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    min-width: 70px;
}

.timer-num {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 800;
    color: var(--core-cyan);
}

.timer-lbl {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* FAQ Accordion */
.faq-section {
    padding: 90px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--glass-card);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--core-cyan);
    background: rgba(15, 23, 42, 0.9);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--core-cyan);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 242, 255, 0.15);
    padding: 60px 0 30px 0;
    background: rgba(2, 6, 23, 0.95);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
    max-width: 320px;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--core-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--core-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
}

/* Lightbox & Form Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid var(--core-cyan);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: 0 0 60px rgba(0, 242, 255, 0.4), inset 0 0 20px rgba(0, 242, 255, 0.1);
    overflow: hidden;
    animation: modalZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-img {
    display: block;
    max-width: 88vw;
    max-height: 84vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.modal-close {
    position: fixed;
    top: 24px; right: 24px;
    background: rgba(0, 0, 0, 0.7);
    border: 1.5px solid var(--core-cyan);
    color: var(--core-cyan);
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition-fast);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.modal-close:hover {
    background: var(--core-cyan);
    color: var(--deep-obsidian);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.8);
    transform: scale(1.1);
}

/* Pre-order Modal Form (Centered Popup Card) */
.form-modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: auto;
    background: rgba(15, 23, 42, 0.95);
    border: 1.5px solid var(--core-cyan);
    border-radius: 18px;
    padding: 28px 24px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.3), 0 20px 60px rgba(0, 0, 0, 0.9);
    max-height: calc(100dvh - 36px);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: modalZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-sheet-handle {
    display: none !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    text-align: left;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--core-cyan);
}

.form-input, .form-select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 242, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
    border-color: var(--core-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

/* Animations */
@keyframes scan-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

@keyframes flow {
    to { stroke-dashoffset: -160; }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes waveAnim {
    0% { height: 6px; }
    100% { height: 28px; }
}

/* Glowing & Pulsating Footer Link Hover Effect */
.glowing-footer-link {
    color: var(--core-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.glowing-footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--core-cyan), 0 0 18px var(--core-cyan), 0 0 28px var(--core-cyan);
    animation: glow-pulse 1.2s infinite ease-in-out alternate;
}

@keyframes glow-pulse {
    0% {
        text-shadow: 0 0 6px var(--core-cyan), 0 0 12px var(--core-cyan);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 16px var(--core-cyan), 0 0 30px var(--core-cyan), 0 0 45px #ffffff;
        transform: scale(1.08);
    }
    100% {
        text-shadow: 0 0 8px var(--core-cyan), 0 0 16px var(--core-cyan);
        transform: scale(1.02);
    }
}

/* Mobile Native Bottom Navigation Bar & Mobile App Experience */
.mobile-bottom-nav {
    display: none;
}

/* ==========================================================================
   Comprehensive Mobile & Responsive Adaptation (Android & iPhone / iPad)
   Ensures all buttons, cards, visualizers, HUD modules, tables & text
   adapt seamlessly from 320px ultra-small screens up to wide desktops.
   ========================================================================== */

/* Base Viewport & Text Adjustments */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

/* Static Action Buttons: zero spatial shift on tap/hover across all viewports */
.btn:hover, .btn:active,
.btn-cyan:hover, .btn-cyan:active,
.btn-gold:hover, .btn-gold:active,
.btn-outline:hover, .btn-outline:active,
.nav-order-btn:hover, .nav-order-btn:active,
.trigger-order:hover, .trigger-order:active {
    transform: none !important;
}

/* 1. Medium Screens / Tablets (<= 992px) */
@media (max-width: 992px) {
    .hero-grid, 
    .infographic-grid, 
    .radar-grid, 
    .lang-demo-grid {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        order: 2;
        margin-top: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(2, 6, 23, 0.95);
        border-bottom: 1px solid var(--core-cyan);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-toggle {
        display: none !important; /* Bottom nav provides full navigation on mobile */
    }
}

/* 2. Standard Mobile Devices (<= 768px: Android & iPhone) */
@media (max-width: 768px) {
    /* Safe-Area Aware Viewport Padding */
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 14px));
    }

    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Top Navbar: Compact, Safe Area Top Inset for Notch / Dynamic Island */
    .navbar {
        padding-top: max(10px, env(safe-area-inset-top, 10px));
        padding-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar.scrolled {
        padding-top: max(8px, env(safe-area-inset-top, 8px));
        padding-bottom: 8px;
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }

    .brand-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        max-width: 58%;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .logo-icon svg {
        width: 15px;
        height: 15px;
    }

    .logo-text {
        font-size: 16px;
        letter-spacing: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
        margin-right: 0 !important;
    }

    /* Compact Static Navbar Pre-Order Button: Perfectly Flush Right */
    .nav-order-btn {
        padding: 7px 12px;
        font-size: 11px;
        letter-spacing: 0.5px;
        gap: 5px;
        white-space: nowrap;
        flex-shrink: 0;
        margin-right: 0 !important;
        border-radius: var(--radius-sm);
    }

    .nav-order-btn svg {
        width: 13px;
        height: 13px;
    }

    /* Hero Section */
    .hero-section {
        padding-top: max(78px, calc(60px + env(safe-area-inset-top, 12px)));
        padding-bottom: 30px;
        min-height: auto;
    }

    .hero-content {
        gap: 16px;
    }

    .hero-grid, .hero-content, .hero-showcase,
    .infographic-grid, .radar-grid, .lang-demo-grid, .smarthome-grid, .specs-grid {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .badge-group {
        gap: 8px;
        flex-wrap: wrap;
    }

    .sys-id-tag {
        font-size: 9.5px;
        letter-spacing: 1px;
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
    }

    .status-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .hero-title {
        font-size: clamp(26px, 7.5vw, 38px);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: clamp(15px, 4.2vw, 19px);
        margin-top: -6px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Hero Action Buttons: Clean Full-width Adaptive Stack (100% Flush with Cards) */
    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 4px;
        box-sizing: border-box;
    }

    .hero-actions .btn {
        width: 100%;
        box-sizing: border-box;
        padding: 13px 14px;
        font-size: 12px;
        letter-spacing: 0.5px;
        justify-content: center;
        text-align: center;
        margin: 0;
    }

    /* AI Console Simulator Card */
    .hero-spectral-card,
    .spectral-card {
        padding: 16px 14px;
        border-radius: var(--radius-md);
    }

    .banner-box {
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    .sys-title {
        font-size: 18px;
    }

    .visualizer-container {
        height: 90px;
        margin: 12px 0;
    }

    .visualizer-container::after {
        font-size: 9px;
        top: 6px;
        right: 8px;
    }

    .transcription-box {
        padding: 12px 14px;
        min-height: 60px;
    }

    .transcript-text {
        font-size: 12px;
        line-height: 1.55;
    }

    /* Prompt Chips: 2x2 Grid with Touch Targets */
    .prompt-chips {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        margin-top: 12px;
        width: 100%;
    }

    .chip {
        width: 100%;
        padding: 8px 6px;
        font-size: 11px;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Data Modules in AI Console */
    .data-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-top: 12px;
    }

    .data-module {
        padding: 8px 4px;
        text-align: center;
    }

    .module-label {
        font-size: 9px;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .module-value {
        font-size: 13px;
    }

    /* Product Showcase Photo */
    .hero-showcase {
        margin-top: 10px;
        width: 100%;
    }

    .showcase-wrapper {
        max-width: 360px;
        padding: 12px;
        margin: 0 auto;
        overflow: hidden; /* Avoid hologram ring spill */
    }

    .hologram-ring {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .floating-pin {
        display: none; /* Keep clean and uncluttered on mobile */
    }

    /* Infographic Section */
    .infographic-section {
        padding: 45px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: clamp(22px, 6vw, 32px);
        margin-bottom: 10px;
    }

    .section-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .infographic-card {
        margin-bottom: 20px;
    }

    /* Persistent touch hint on mobile where hover does not exist */
    .zoom-overlay {
        opacity: 1;
        background: linear-gradient(0deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.4) 40%, transparent 80%);
        justify-content: flex-end;
        padding-bottom: 12px;
    }

    .zoom-overlay svg {
        width: 22px;
        height: 22px;
    }

    .zoom-hint-text {
        font-size: 11px;
    }

    .infographic-features {
        gap: 12px;
    }

    .feature-box {
        padding: 14px 16px;
    }

    .feature-box:hover {
        transform: none; /* Block touch jitter */
    }

    .feature-box-header {
        gap: 12px;
        margin-bottom: 6px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
        border-radius: 8px;
    }

    .feature-title {
        font-size: 15px;
    }

    .feature-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Interactive HUD Section */
    .deep-dive-section {
        padding: 45px 0;
    }

    .interactive-hud {
        padding: 16px 14px;
        border-radius: var(--radius-md);
    }

    /* Horizontal Segmented Pill Tabs */
    .hud-tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
        margin-bottom: 20px;
    }

    .hud-tabs::-webkit-scrollbar {
        display: none;
    }

    .hud-tab-btn {
        padding: 9px 14px;
        font-size: 11px;
        border-radius: 20px;
        flex-shrink: 0;
        gap: 6px;
    }

    /* Tab 1: Poliglot Selector */
    .lang-demo-grid {
        gap: 16px;
    }

    .lang-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .lang-card {
        padding: 10px 12px;
    }

    .lang-flag {
        font-size: 16px;
    }

    .lang-name {
        font-size: 11px;
    }

    .lang-preview-box {
        padding: 16px 14px;
        border-radius: var(--radius-sm);
    }

    .lang-speaker-header {
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    #lang-speaker-title {
        font-size: 15px !important;
    }

    #lang-text-preview {
        font-size: 13px !important;
        line-height: 1.5;
    }

    /* Tab 2: Smart Home 2x2 Grid */
    .smarthome-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .device-card {
        padding: 14px 12px;
        gap: 10px;
        border-radius: var(--radius-sm);
    }

    .device-name {
        font-size: 13px !important;
    }

    .toggle-switch {
        width: 40px;
        height: 22px;
    }

    .toggle-switch::after {
        width: 16px;
        height: 16px;
    }

    .device-card.on .toggle-switch::after {
        left: 21px;
    }

    #smarthome-status-box {
        font-size: 11px !important;
        line-height: 1.4;
    }

    /* Tab 3: Edukasi Cards */
    .edukasi-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Tab 4: Radar Emosi */
    .radar-grid {
        gap: 20px;
    }

    .radar-canvas-container {
        max-width: 280px;
        width: 100%;
        margin: 0 auto 10px auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .radar-stats-list h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }

    .stat-header {
        font-size: 12px;
    }

    /* Technical Specifications Section */
    .specs-section {
        padding: 45px 0;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spec-card {
        padding: 16px 14px;
    }

    .spec-card:hover {
        transform: none; /* Avoid touch jitter */
    }

    .spec-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .spec-title {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .spec-value {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Pricing Section (if revealed) */
    .pricing-section {
        padding: 45px 0;
    }

    .pricing-card-wrapper {
        padding: 24px 16px;
    }

    .price-tag {
        font-size: clamp(28px, 8vw, 38px);
    }

    .price-original {
        font-size: 16px;
    }

    .timer-box {
        gap: 6px;
        margin: 16px 0;
    }

    .timer-unit {
        min-width: 48px;
        padding: 6px 8px;
    }

    .timer-num {
        font-size: 18px;
    }

    /* Footer */
    .footer {
        padding: 35px 0 calc(20px + env(safe-area-inset-bottom, 0px)) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }

    .footer-desc {
        font-size: 13px;
        max-width: 100%;
    }

    .footer-col-title {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-top: 16px;
        font-size: 11px;
    }

    /* Lightbox Modal (Infographic Fullscreen) */
    .modal-close {
        top: max(12px, env(safe-area-inset-top, 12px));
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .modal-content {
        padding: 6px;
        max-width: 96vw;
        max-height: 84vh;
    }

    .modal-img {
        max-width: 94vw;
        max-height: 80vh;
    }

    /* Pre-Order Modal: Centered Popup Card */
    .modal-overlay {
        padding: 16px;
    }

    .form-modal-box {
        position: relative;
        margin: auto;
        width: calc(100% - 20px);
        max-width: 420px;
        border-radius: 18px;
        padding: 22px 18px;
        max-height: calc(100dvh - 36px);
        max-height: calc(100vh - 36px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 0 50px rgba(0, 242, 255, 0.4), 0 20px 50px rgba(0, 0, 0, 0.95);
        animation: modalZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bottom-sheet-handle {
        display: none !important;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-input, .form-select {
        font-size: 16px !important; /* Strictly prevents iOS Safari auto-zoom on input focus */
        padding: 12px 14px;
        border-radius: var(--radius-sm);
    }

    /* Mobile Native Bottom Navigation Bar */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: calc(58px + env(safe-area-inset-bottom, 0px));
        padding: 4px 6px env(safe-area-inset-bottom, 4px) 6px;
        background: rgba(2, 6, 23, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-top: 1px solid rgba(0, 242, 255, 0.3);
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 242, 255, 0.15);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav-item {
        flex: 1;
        max-width: 75px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--text-dim);
        text-decoration: none;
        font-family: var(--font-mono);
        font-size: 10px;
        letter-spacing: 0.3px;
        padding: 5px 2px;
        border-radius: 10px;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        text-align: center;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-item svg {
        transition: stroke 0.2s ease;
    }

    .mobile-nav-item.active {
        color: var(--core-cyan);
        background: rgba(0, 242, 255, 0.12);
        box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
    }

    .mobile-nav-item.active svg {
        stroke: var(--core-cyan);
    }

    .mobile-nav-item.trigger-order {
        color: var(--accent-gold);
    }

    .mobile-nav-item.trigger-order.active {
        color: var(--accent-gold);
        background: rgba(251, 191, 36, 0.15);
        box-shadow: 0 0 10px rgba(251, 191, 36, 0.25);
    }
}

/* 3. Small Mobile Devices (<= 480px: Standard iPhone & Android Phones) */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-actions .btn {
        font-size: 11.5px;
        padding: 12px 14px;
    }

    .chip {
        font-size: 10.5px;
        padding: 7px 4px;
    }
}

/* 4. Ultra-Compact Displays (<= 360px: Small Androids, iPhone SE 1st Gen) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
        box-sizing: border-box;
    }

    .brand-logo {
        max-width: 55%;
    }

    .logo-text {
        font-size: 13.5px;
        letter-spacing: 0.5px;
    }

    .logo-icon {
        width: 25px;
        height: 25px;
    }

    .logo-icon svg {
        width: 13px;
        height: 13px;
    }

    .nav-order-btn {
        padding: 6px 9px;
        font-size: 10px;
        gap: 4px;
        margin-right: 0 !important;
    }

    .form-modal-box {
        width: calc(100% - 16px);
        padding: 18px 14px;
        border-radius: 14px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .smarthome-grid {
        grid-template-columns: 1fr;
    }

    .lang-list {
        grid-template-columns: 1fr;
    }

    .prompt-chips {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

    .chip {
        font-size: 10px;
        padding: 6px 2px;
    }

    .data-module {
        padding: 6px 2px;
    }

    .module-label {
        font-size: 8px;
    }

    .module-value {
        font-size: 12px;
    }

    .mobile-nav-item span {
        font-size: 9px;
    }
}
