/* ==========================================================================
   Smart E Switch Pro - Dedicated Product Stylesheet
   Theme: Industrial Obsidian & Dual Neon (High-Voltage Orange & Cyan-Blue)
   Fully Responsive: Single-Viewport Laptop Layout & Native Mobile Mode
   ========================================================================== */

:root {
    --sw-orange: #ff6a00;
    --sw-orange-glow: rgba(255, 106, 0, 0.4);
    --sw-orange-light: #ff8c38;
    --sw-blue: #0099ff;
    --sw-blue-glow: rgba(0, 153, 255, 0.4);
    --sw-blue-light: #38bdf8;
    --sw-green: #10b981;
    --sw-red: #ef4444;
    --sw-yellow: #f59e0b;
    --sw-bg-device: #12151f;
}

/* --- Hero Section --- */
.switch-hero {
    position: relative;
    padding: 120px 0 70px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .switch-hero {
        padding: 95px 0 50px;
    }
}

.switch-badge-launch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 106, 0, 0.12);
    border: 1px solid rgba(255, 106, 0, 0.35);
    color: var(--sw-orange-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.2);
}

.switch-badge-launch .pulse-orange {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sw-orange);
    box-shadow: 0 0 10px var(--sw-orange);
    animation: pulseOrange 2s infinite;
}

@keyframes pulseOrange {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.5; }
}

.switch-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
}

.text-gradient-orange-blue {
    background: linear-gradient(135deg, #ff7a18 0%, #ff5200 40%, #00b4d8 75%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.switch-subhead {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 620px;
    line-height: 1.6;
    margin-bottom: 26px;
}

.switch-key-props {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.prop-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    font-weight: 500;
    color: #f1f5f9;
}

.prop-chip i {
    color: var(--sw-orange);
}

.switch-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.switch-poster-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 153, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 440px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.switch-poster-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 106, 0, 0.3);
}

.switch-poster-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-floating-app-badge {
    position: absolute;
    bottom: -15px;
    left: -10px;
    background: rgba(18, 21, 31, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 106, 0, 0.4);
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 106, 0, 0.25);
    z-index: 5;
}

.app-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.app-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-badge-text h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.app-badge-text p {
    font-size: 0.72rem;
    color: var(--sw-orange);
    margin: 0;
    font-weight: 600;
}

/* ==========================================================================
   SIMULATOR SECTION: COMPACT LAPTOP VIEWPORT & SEAMLESS MOBILE VIEW
   ========================================================================== */
.simulator-section {
    padding: 65px 0 75px;
    background: linear-gradient(180deg, #06070d 0%, #0c101c 50%, #06070d 100%);
    position: relative;
}

.simulator-master-layout {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 28px;
    align-items: stretch;
}

/* --- Laptop View: Compact Phone Mockup Frame --- */
.phone-mockup-frame {
    width: 100%;
    max-width: 370px;
    background: #161922;
    border-radius: 38px;
    padding: 10px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 35px rgba(0, 153, 255, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.12),
        inset 0 0 8px rgba(0, 0, 0, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Physical Phone Button Accents */
.phone-mockup-frame::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 90px;
    width: 3px;
    height: 45px;
    background: #2b3142;
    border-radius: 3px 0 0 3px;
}
.phone-mockup-frame::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 105px;
    width: 3px;
    height: 40px;
    background: #2b3142;
    border-radius: 0 3px 3px 0;
}

/* Smartphone Screen Glass */
.phone-screen-inner {
    background: #090b12;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9);
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Dynamic Island / Status Bar */
.phone-notch-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    color: #94a3b8;
    position: relative;
    z-index: 10;
}

.dynamic-island-pill {
    width: 85px;
    height: 18px;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.island-camera-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #111827;
}

/* Mobile App Header Bar */
.app-header-bar {
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(18, 22, 34, 0.6);
}

.app-brand-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-brand-title img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.app-brand-title h4 {
    font-size: 0.82rem;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.app-brand-title span {
    font-size: 0.62rem;
    color: var(--sw-orange-light);
    font-weight: 600;
}

.app-cloud-indicator {
    font-size: 0.65rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 7px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Appliance Selector Pills */
.appliance-nav-wrap {
    padding: 10px 12px 6px;
}

.appliance-nav-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.appliance-nav-label span {
    color: var(--sw-orange-light);
    font-weight: 700;
}

.appliance-pills-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.appliance-pill-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.appliance-pill-btn i {
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.appliance-pill-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.appliance-pill-btn.active {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--sw-orange);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.25);
}

.appliance-pill-btn.active i {
    color: var(--sw-orange);
}

/* Switch Area inside Mobile */
.app-switch-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px 8px;
    position: relative;
}

.virtual-device-mobile {
    width: 145px;
    height: 145px;
    background: #0d0f17;
    border-radius: 30px;
    box-shadow: 
        0 12px 28px rgba(0, 0, 0, 0.9),
        inset 0 2px 3px rgba(255, 255, 255, 0.12),
        inset 0 -3px 8px rgba(0, 0, 0, 0.9),
        0 0 0 3px #1e2230;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.18s ease, box-shadow 0.3s ease;
}

.virtual-device-mobile:active {
    transform: scale(0.96);
}

.virtual-device-mobile.is-on {
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.95),
        0 0 30px rgba(255, 106, 0, 0.35),
        0 0 35px rgba(0, 153, 255, 0.35),
        0 0 0 3px #282e42;
}

.device-ring-svg-mobile {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.virtual-device-mobile.is-on .ring-orange {
    stroke: var(--sw-orange);
    filter: drop-shadow(0 0 10px var(--sw-orange));
    opacity: 1;
}

.virtual-device-mobile.is-off .ring-orange {
    stroke: #4d2309;
    filter: none;
    opacity: 0.4;
}

.virtual-device-mobile.is-on .ring-blue {
    stroke: var(--sw-blue);
    filter: drop-shadow(0 0 10px var(--sw-blue));
    opacity: 1;
}

.virtual-device-mobile.is-off .ring-blue {
    stroke: #0d283f;
    filter: none;
    opacity: 0.4;
}

.virtual-device-mobile.is-on .circuit-trace {
    stroke: var(--sw-blue-light);
    filter: drop-shadow(0 0 5px var(--sw-blue));
    animation: traceFlow 1.6s infinite linear;
}

.virtual-device-mobile.is-off .circuit-trace {
    stroke: #102638;
    filter: none;
    opacity: 0.3;
}

@keyframes traceFlow {
    0% { stroke-dashoffset: 40; }
    100% { stroke-dashoffset: 0; }
}

.device-center-button-mobile {
    width: 44px;
    height: 68px;
    background: radial-gradient(circle at 50% 30%, #3a3f55 0%, #1c202d 60%, #0c0e16 100%);
    border-radius: 20px;
    box-shadow: 
        0 6px 14px rgba(0, 0, 0, 0.7),
        inset 0 2px 2px rgba(255, 255, 255, 0.3),
        inset 0 -2px 3px rgba(0, 0, 0, 0.9),
        0 0 0 2px #181b24;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 12px;
    z-index: 10;
}

.button-power-dash-mobile {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: #3e2210;
    transition: all 0.3s ease;
}

.virtual-device-mobile.is-on .button-power-dash-mobile {
    background: var(--sw-orange);
    box-shadow: 0 0 8px var(--sw-orange), 0 0 14px var(--sw-orange);
}

.button-knurl-center-mobile {
    position: absolute;
    top: 13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, #3b4157 0%, #171a25 100%);
}

.mobile-switch-tap-label {
    margin-top: 8px;
    font-size: 0.74rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-switch-tap-label span {
    color: var(--sw-orange-light);
    font-weight: 700;
}

/* Voice Assistant Panel inside Mobile */
.app-voice-panel {
    margin: 6px 10px 0;
    background: rgba(18, 22, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
}

.voice-panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.voice-panel-title span {
    color: var(--sw-blue-light);
    font-weight: 600;
}

.voice-chips-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.voice-chip-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 9px;
    border-radius: 6px;
    color: #f1f5f9;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.voice-chip-btn:hover {
    background: rgba(0, 153, 255, 0.15);
    border-color: var(--sw-blue);
    color: #fff;
    transform: translateX(2px);
}

.voice-chip-btn i {
    color: var(--sw-blue-light);
    margin-right: 5px;
}

.voice-chip-btn .assistant-tag {
    font-size: 0.62rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 3px;
    color: #cbd5e1;
}

/* Voice Response Banner */
.mobile-voice-response-wrap {
    display: none;
    margin-top: 8px;
    padding: 8px 10px;
    background: rgba(0, 153, 255, 0.12);
    border: 1px solid rgba(0, 153, 255, 0.35);
    border-radius: 10px;
    animation: fadeIn 0.3s ease;
}

.mobile-voice-response-wrap.show {
    display: block;
}

.voice-response-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: var(--sw-blue-light);
    font-weight: 600;
    margin-bottom: 2px;
}

.voice-pulse-bars {
    display: flex;
    gap: 2px;
    align-items: center;
    height: 10px;
}

.voice-pulse-bars span {
    width: 2px;
    background: var(--sw-blue);
    border-radius: 1px;
    animation: waveBar 0.7s infinite alternate;
}
.voice-pulse-bars span:nth-child(2) { animation-delay: 0.15s; }
.voice-pulse-bars span:nth-child(3) { animation-delay: 0.3s; }
.voice-pulse-bars span:nth-child(4) { animation-delay: 0.45s; }

@keyframes waveBar {
    0% { height: 3px; }
    100% { height: 12px; }
}

.voice-transcript-text {
    font-size: 0.74rem;
    color: #ffffff;
    line-height: 1.3;
}

/* --- Right Column: Factory Reaction Stage --- */
.factory-reaction-stage {
    background: rgba(14, 18, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stage-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-title h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2px;
}

.stage-title p {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
}

.hardware-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    background: rgba(255, 106, 0, 0.12);
    border: 1px solid rgba(255, 106, 0, 0.35);
    color: var(--sw-orange-light);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Active Visual Box */
.active-machinery-visual-box {
    min-height: 220px;
    border-radius: 16px;
    background: #080a11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px;
    margin-bottom: 16px;
    transition: background 0.4s ease;
}

/* 1. Water Pump Reaction */
.visual-water-pump {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
}

.visual-water-pump.active {
    display: flex;
}

.pump-motor-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pump-impeller-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, #2563eb 0%, #1e293b 100%);
    border: 3px solid #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
}

.is-active-running .pump-impeller-icon {
    animation: spinImpeller 0.8s infinite linear;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

@keyframes spinImpeller {
    100% { transform: rotate(360deg); }
}

.water-pipe-system {
    flex: 1;
    height: 18px;
    background: #172554;
    border-radius: 9px;
    border: 2px solid #3b82f6;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.water-pipe-stream {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: repeating-linear-gradient(90deg, #38bdf8 0px, #60a5fa 18px, #2563eb 36px);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.is-active-running .water-pipe-stream {
    opacity: 1;
    animation: waterFlowStream 0.6s infinite linear;
}

@keyframes waterFlowStream {
    0% { background-position: 0 0; }
    100% { background-position: 36px 0; }
}

.analog-gauge-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gauge-dial {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0f172a;
    border: 3px solid #64748b;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gauge-needle {
    position: absolute;
    width: 2px;
    height: 24px;
    background: #ef4444;
    bottom: 30px;
    transform-origin: bottom center;
    transform: rotate(-50deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 5px #ef4444;
}

.is-active-running .gauge-needle {
    transform: rotate(45deg);
}

/* 2. Factory Lights Reaction */
.visual-factory-lights {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 190px;
    justify-content: space-between;
}

.visual-factory-lights.active {
    display: flex;
}

.lights-ceiling-rig {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 16px;
}

.bay-lamp-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.bay-lamp-fixture {
    width: 44px;
    height: 16px;
    background: #334155;
    border-radius: 8px 8px 3px 3px;
    border: 2px solid #475569;
    position: relative;
    z-index: 5;
}

.lamp-bulb-dot {
    width: 20px;
    height: 6px;
    background: #64748b;
    border-radius: 0 0 6px 6px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.light-conical-beam {
    width: 110px;
    height: 150px;
    background: linear-gradient(180deg, rgba(255, 235, 150, 0.7) 0%, rgba(255, 215, 0, 0.15) 60%, transparent 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.is-active-running .lamp-bulb-dot {
    background: #fef08a;
    box-shadow: 0 0 20px #fef08a, 0 0 35px #facc15;
}

.is-active-running .light-conical-beam {
    opacity: 1;
}

.floor-ambient-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(255, 230, 100, 0.25) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.is-active-running .floor-ambient-glow {
    opacity: 1;
}

/* 3. CNC Machine Reaction */
.visual-cnc-machine {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.visual-cnc-machine.active {
    display: flex;
}

.cnc-spindle-head {
    width: 60px;
    height: 95px;
    background: #1e293b;
    border-radius: 10px;
    border: 2px solid #475569;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    position: relative;
}

.spindle-bit {
    width: 6px;
    height: 30px;
    background: #cbd5e1;
    border-radius: 0 0 3px 3px;
    transition: transform 0.2s linear;
}

.is-active-running .spindle-bit {
    animation: spinBit 0.12s infinite linear;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

@keyframes spinBit {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.cnc-coolant-mist {
    position: absolute;
    bottom: -12px;
    width: 32px;
    height: 16px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.6) 0%, transparent 80%);
    opacity: 0;
}

.is-active-running .cnc-coolant-mist {
    opacity: 1;
    animation: mistPulse 0.5s infinite alternate;
}

@keyframes mistPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

/* 4. Conveyor Belt Reaction */
.visual-conveyor-belt {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.visual-conveyor-belt.active {
    display: flex;
}

.conveyor-track {
    width: 100%;
    height: 36px;
    background: #1e293b;
    border-radius: 8px;
    border: 2px solid #475569;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.conveyor-roller-marks {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, #334155 0px, #334155 18px, #1e293b 18px, #1e293b 36px);
}

.is-active-running .conveyor-roller-marks {
    animation: moveConveyor 0.8s infinite linear;
}

@keyframes moveConveyor {
    0% { transform: translateX(0); }
    100% { transform: translateX(-36px); }
}

/* Stage Telemetry Grid */
.stage-telemetry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.stage-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 10px 12px;
}

.stage-stat-box .box-label {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.stage-stat-box .box-value {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.stage-stat-box .box-value .unit {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}

/* Stage Hardware Footer */
.stage-hardware-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    gap: 12px;
}

.stage-hardware-footer .hw-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 106, 0, 0.4);
}

.stage-hardware-footer .hw-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES: ALL-IN-ONE SCREEN EXPERIENCE (< 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .simulator-section {
        padding: 40px 0 50px;
    }

    .simulator-master-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    /* 1. FACTORY REACTION COMES FIRST (TOP OF SCREEN) */
    .factory-reaction-stage {
        order: 1;
        border-radius: 20px;
        padding: 18px;
    }

    .active-machinery-visual-box {
        min-height: 170px;
        padding: 14px;
        margin-bottom: 12px;
    }

    .stage-telemetry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* 2. PHONE MOCKUP TRANSFORMS INTO NATIVE IN-PAGE APP CONTROLLER */
    .phone-mockup-frame {
        order: 2;
        max-width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    /* Remove bulky fake phone chassis & side buttons on real smartphones */
    .phone-mockup-frame::before,
    .phone-mockup-frame::after,
    .phone-notch-bar {
        display: none !important;
    }

    .phone-screen-inner {
        border-radius: 20px;
        background: rgba(14, 18, 30, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
    }

    .app-header-bar {
        border-radius: 20px 20px 0 0;
        padding: 10px 14px;
    }

    .app-switch-stage {
        padding: 16px 10px 12px;
    }

    .virtual-device-mobile {
        width: 135px;
        height: 135px;
    }

    .device-ring-svg-mobile {
        width: 110px;
        height: 110px;
    }

    .device-center-button-mobile {
        width: 40px;
        height: 62px;
    }

    .app-voice-panel {
        margin: 8px 12px 0;
        border-radius: 12px;
    }

    .voice-chip-btn {
        padding: 8px 10px;
        font-size: 0.78rem;
    }
}

@media (max-width: 575px) {
    .switch-hero-title {
        font-size: 2.1rem;
    }

    .switch-subhead {
        font-size: 0.95rem;
    }

    .appliance-pills-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .appliance-pill-btn {
        padding: 6px 8px;
        font-size: 0.72rem;
    }

    .stage-hardware-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Animated Working Loops (GIF/Motion Showcase) --- */
.working-loops-section {
    padding: 80px 0;
    background: #090b12;
}

.loops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .loops-grid {
        grid-template-columns: 1fr;
    }
}

.loop-card {
    background: rgba(18, 22, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.loop-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 106, 0, 0.15);
}

.loop-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 106, 0, 0.12);
    color: var(--sw-orange-light);
    border: 1px solid rgba(255, 106, 0, 0.25);
    margin-bottom: 16px;
}

.loop-card h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.loop-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Motion Diagram Stage */
.motion-stage {
    background: #080a10;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px 14px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Motion Flow 1 */
.flow-diagram-voice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    z-index: 2;
}

.node-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.flow-node.active .node-icon-box {
    background: rgba(0, 153, 255, 0.18);
    border-color: var(--sw-blue);
    box-shadow: 0 0 12px var(--sw-blue);
    color: var(--sw-blue-light);
}

.flow-node.device-node.active .node-icon-box {
    background: rgba(255, 106, 0, 0.18);
    border-color: var(--sw-orange);
    box-shadow: 0 0 12px var(--sw-orange);
    color: var(--sw-orange);
}

.node-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
}

.flow-wire {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.flow-wire::after {
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 12px;
    height: 6px;
    border-radius: 3px;
    background: var(--sw-blue);
    box-shadow: 0 0 8px var(--sw-blue);
    animation: flowPulse 2s infinite ease-in-out;
}

.flow-wire.orange-wire::after {
    background: var(--sw-orange);
    box-shadow: 0 0 8px var(--sw-orange);
    animation-delay: 0.6s;
}

@keyframes flowPulse {
    0% { left: 0%; opacity: 0; }
    30% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Motion Flow 2 */
.failover-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.failover-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

.failover-row.offline {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.failover-row.active-backup {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

/* Motion Flow 3 */
.anomaly-radar {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radar-gauge-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.radar-fill {
    height: 100%;
    width: 32%;
    background: linear-gradient(90deg, #10b981 0%, #38bdf8 60%, #f59e0b 85%, #ef4444 100%);
    animation: radarSweep 3.5s infinite alternate ease-in-out;
}

@keyframes radarSweep {
    0% { width: 28%; }
    50% { width: 72%; }
    100% { width: 34%; }
}

.radar-data {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: #94a3b8;
}

/* --- 6 Core Features Grid --- */
.switch-features-section {
    padding: 80px 0;
    position: relative;
}

.features-poster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .features-poster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-poster-grid {
        grid-template-columns: 1fr;
    }
}

.poster-feature-card {
    background: rgba(18, 22, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.poster-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 153, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 153, 255, 0.15);
}

.card-icon-halo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.halo-orange {
    border-color: var(--sw-orange);
    color: var(--sw-orange);
    background: rgba(255, 106, 0, 0.1);
    box-shadow: 0 0 16px rgba(255, 106, 0, 0.2);
}

.halo-blue {
    border-color: var(--sw-blue);
    color: var(--sw-blue);
    background: rgba(0, 153, 255, 0.1);
    box-shadow: 0 0 16px rgba(0, 153, 255, 0.2);
}

.poster-feature-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.poster-feature-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
}

/* --- Industrial Machinery Compatibility Showcase --- */
.machinery-section {
    padding: 80px 0;
    background: #080a11;
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 36px;
}

@media (max-width: 991px) {
    .machinery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .machinery-grid {
        grid-template-columns: 1fr;
    }
}

.machine-item-card {
    background: rgba(18, 22, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.machine-item-card:hover {
    border-color: var(--sw-orange);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 106, 0, 0.15);
}

.machine-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sw-orange);
}

.machine-item-card h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.machine-item-card p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* --- Tech Specs Table --- */
.specs-section {
    padding: 80px 0;
}

.specs-table-wrapper {
    background: rgba(14, 18, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow-x: auto;
    margin-top: 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.specs-table th, 
.specs-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.specs-table th {
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #f1f5f9;
    width: 35%;
}

.specs-table td:last-child {
    color: #cbd5e1;
}

/* --- Inquiry / Pre-order Form --- */
.switch-inquiry-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #090b12 0%, #06070d 100%);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 991px) {
    .inquiry-grid {
        grid-template-columns: 1fr;
    }
}

.inquiry-form-card {
    background: rgba(18, 22, 34, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 106, 0, 0.25);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 106, 0, 0.1);
}

.inquiry-info-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inquiry-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.inquiry-contact-item i {
    font-size: 1.3rem;
    color: var(--sw-orange);
}

.inquiry-contact-item h5 {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.inquiry-contact-item a,
.inquiry-contact-item span {
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

/* Homepage Spotlight Section */
.homepage-switch-spotlight {
    padding: 80px 0;
    position: relative;
    background: radial-gradient(circle at 80% 50%, rgba(255, 106, 0, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 20% 50%, rgba(0, 153, 255, 0.1) 0%, transparent 60%);
}

.spotlight-card {
    background: rgba(14, 18, 30, 0.85);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 106, 0, 0.15);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 991px) {
    .spotlight-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}
