/* ============================================
   MICROPORT SMARTVIEW - DESIGN UNIQUE
   Vert émeraude vibrant + Layouts originaux
   ============================================ */

/* ============================================
   VARIABLES - Vert plus beau et vibrant
   ============================================ */
:root {
    --mp-green: #00D98B;
    --mp-green-dark: #00B574;
    --mp-green-light: #E6FFF5;
    --mp-green-glow: rgba(0, 217, 139, 0.4);
    --mp-dark: #0f1419;
    --mp-dark-soft: #1a2634;
    --mp-gray: #5a6c7d;
    --mp-gray-light: #94a3b8;
    --mp-bg: #f8fafb;
    --mp-white: #ffffff;
    --mp-orange: #f5a623;
    --mp-red: #ef4444;
    --mp-blue: #3b82f6;
}

/* ============================================
   BASE
   ============================================ */
.microport-page {
    background: var(--mp-white);
    color: var(--mp-dark);
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    overflow-x: hidden;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.mp-bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--mp-green);
    top: -200px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--mp-green);
    bottom: 10%;
    left: -100px;
    animation: float2 25s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--mp-green-dark);
    bottom: -100px;
    right: 20%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 30px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -40px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -30px); }
}

/* ============================================
   BACK NAVIGATION
   ============================================ */
.back-nav-mp {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--mp-white);
    color: var(--mp-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.back-nav-mp:hover {
    background: var(--mp-green);
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 8px 30px var(--mp-green-glow);
}

/* ============================================
   HERO SECTION - Split Design
   ============================================ */
.hero-mp {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    position: relative;
    background: linear-gradient(135deg, var(--mp-dark) 0%, var(--mp-dark-soft) 100%);
    overflow: hidden;
}

.hero-mp::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--mp-green) 0%, var(--mp-green-dark) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-side {
    padding-right: 40px;
}

.hero-badge-mp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(0, 217, 139, 0.15);
    border: 1px solid rgba(0, 217, 139, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: var(--mp-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-badge-mp span {
    color: var(--mp-green);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-text-side h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--mp-white);
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.hero-brand {
    font-size: 1.3rem;
    color: var(--mp-gray-light);
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 450px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mp-green);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--mp-gray-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-cta-mp {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    background: var(--mp-green);
    color: var(--mp-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px var(--mp-green-glow);
}

.hero-cta-mp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px var(--mp-green-glow);
}

.hero-cta-mp small {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Hero Device */
.hero-device-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-showcase {
    position: relative;
    padding: 40px;
}

.device-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--mp-green);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.device-3d {
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.device-3d:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.device-face {
    width: 220px;
    height: 320px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 24px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.device-screen {
    flex: 1;
    background: #0d1117;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.screen-wave {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mp-green), transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.device-screen span {
    color: var(--mp-green);
    font-size: 1rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.device-led {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 20px auto 15px;
    background: var(--mp-green);
    box-shadow: 0 0 30px var(--mp-green), 0 0 60px var(--mp-green-glow);
    animation: ledGlow 2s ease-in-out infinite;
}

@keyframes ledGlow {
    0%, 100% { box-shadow: 0 0 30px var(--mp-green), 0 0 60px var(--mp-green-glow); }
    50% { box-shadow: 0 0 40px var(--mp-green), 0 0 80px var(--mp-green-glow); }
}

.device-brand {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.device-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    filter: blur(15px);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-mp {
    padding: 100px 0;
    position: relative;
}

.section-mp.alt-bg {
    background: var(--mp-bg);
}

.section-header-mp {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag-mp {
    display: inline-block;
    padding: 8px 20px;
    background: var(--mp-green-light);
    color: var(--mp-green-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-header-mp h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mp-dark);
    margin-bottom: 15px;
}

.section-header-mp > p {
    font-size: 1.1rem;
    color: var(--mp-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ORBITAL SYSTEM (How it Works)
   ============================================ */
.orbital-system {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
}

.orbital-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--mp-green), var(--mp-green-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 20px 60px var(--mp-green-glow);
    z-index: 10;
}

.center-icon {
    font-size: 2rem;
    color: white;
}

.orbital-center span {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.orbital-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orbit-path {
    fill: none;
    stroke: var(--mp-green);
    stroke-width: 2;
    stroke-dasharray: 10 10;
    opacity: 0.3;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); transform-origin: center; }
    to { transform: rotate(360deg); transform-origin: center; }
}

.orbital-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orbital-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(220px) rotate(calc(-1 * var(--angle)));
}

.orbital-dot {
    width: 16px;
    height: 16px;
    background: var(--mp-green);
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--mp-green);
}

.orbital-card {
    background: var(--mp-white);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    width: 160px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.orbital-card:hover {
    border-color: var(--mp-green);
    transform: translateY(-5px);
}

.orbital-num {
    position: absolute;
    top: 5px;
    left: 15px;
    width: 24px;
    height: 24px;
    background: var(--mp-green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbital-card i {
    font-size: 1.8rem;
    color: var(--mp-green);
    margin-bottom: 12px;
}

.orbital-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mp-dark);
    margin-bottom: 8px;
}

.orbital-card p {
    font-size: 0.85rem;
    color: var(--mp-gray);
    line-height: 1.4;
}

/* ============================================
   HEXAGONAL GRID (Data)
   ============================================ */
.hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.hex-item {
    width: 180px;
    height: 200px;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, var(--mp-green), var(--mp-green-dark));
    transition: all 0.3s ease;
}

.hex-item::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: var(--mp-white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-item:hover {
    transform: scale(1.05);
}

.hex-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hex-content i {
    font-size: 2rem;
    color: var(--mp-green);
    margin-bottom: 12px;
}

.hex-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mp-dark);
    margin-bottom: 5px;
}

.hex-content p {
    font-size: 0.8rem;
    color: var(--mp-gray);
}

/* Security Banner */
.security-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--mp-green), var(--mp-green-dark));
    border-radius: 16px;
    padding: 25px 35px;
    max-width: 800px;
    margin: 0 auto;
}

.banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.banner-text {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.banner-text strong {
    font-weight: 700;
}

/* ============================================
   SNAKE TIMELINE (Installation)
   ============================================ */
.snake-timeline {
    position: relative;
    padding: 40px 0;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 500px;
}

.snake-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.snake-path svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.snake-line {
    fill: none;
    stroke: var(--mp-green);
    stroke-width: 4;
    stroke-linecap: round;
    opacity: 0.3;
}

.snake-step {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.snake-step[style*="--pos: 0"] {
    left: 2%;
    top: 35%;
}

.snake-step[style*="--pos: 1"] {
    left: 28%;
    top: 5%;
}

.snake-step[style*="--pos: 2"] {
    left: 52%;
    top: 55%;
}

.snake-step[style*="--pos: 3"] {
    right: 2%;
    top: 25%;
}

.snake-node {
    width: 45px;
    height: 45px;
    background: var(--mp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 30px var(--mp-green-glow);
    margin-bottom: 12px;
}

.snake-node.success {
    background: linear-gradient(135deg, var(--mp-green), var(--mp-green-dark));
}

.snake-card {
    background: var(--mp-white);
    border-radius: 16px;
    padding: 20px;
    width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.snake-card:hover {
    border-color: var(--mp-green);
    transform: translateY(-5px);
}

.snake-card.success {
    background: var(--mp-green-light);
    border-color: var(--mp-green);
}

.snake-icon {
    width: 50px;
    height: 50px;
    background: var(--mp-green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.3rem;
    color: var(--mp-green);
}

.snake-card.success .snake-icon {
    background: var(--mp-green);
    color: white;
}

.snake-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mp-dark);
    margin-bottom: 10px;
}

.snake-card p {
    font-size: 0.9rem;
    color: var(--mp-gray);
    line-height: 1.5;
}

.snake-tip {
    margin-top: 12px;
    padding: 10px;
    background: #fef9e7;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #9a7b2c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.snake-tip i {
    color: var(--mp-orange);
}

/* ============================================
   LED DASHBOARD
   ============================================ */
.led-dashboard {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.led-preview {
    position: sticky;
    top: 100px;
    text-align: center;
}

.preview-device {
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 20px;
    padding: 30px;
    width: 200px;
    margin: 0 auto 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.preview-screen {
    background: #0d1117;
    border-radius: 10px;
    padding: 20px;
    color: var(--mp-green);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.preview-led {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.preview-led.green {
    background: var(--mp-green);
    box-shadow: 0 0 30px var(--mp-green), 0 0 60px var(--mp-green-glow);
}

.preview-led.green-blink {
    background: var(--mp-green);
    animation: ledBlink 1s infinite;
}

@keyframes ledBlink {
    0%, 100% { box-shadow: 0 0 30px var(--mp-green); opacity: 1; }
    50% { box-shadow: 0 0 10px var(--mp-green); opacity: 0.4; }
}

.preview-led.orange {
    background: var(--mp-orange);
    box-shadow: 0 0 30px var(--mp-orange), 0 0 60px rgba(245, 166, 35, 0.4);
}

.preview-led.red {
    background: var(--mp-red);
    box-shadow: 0 0 30px var(--mp-red), 0 0 60px rgba(239, 68, 68, 0.4);
}

.preview-brand {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.preview-hint {
    color: var(--mp-gray);
    font-size: 0.9rem;
}

/* LED States */
.led-states {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.state-btn {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    gap: 5px 20px;
    align-items: center;
    padding: 20px;
    background: var(--mp-white);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.state-btn:hover {
    border-color: var(--mp-green);
}

.state-btn.active {
    border-color: var(--mp-green);
    background: var(--mp-green-light);
}

.state-led {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.state-led.green {
    background: var(--mp-green);
    box-shadow: 0 0 15px var(--mp-green);
}

.state-led.green.blink {
    animation: ledBlink 1s infinite;
}

.state-led.orange {
    background: var(--mp-orange);
    box-shadow: 0 0 15px var(--mp-orange);
}

.state-led.red {
    background: var(--mp-red);
    box-shadow: 0 0 15px var(--mp-red);
}

.state-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.state-name {
    font-weight: 700;
    color: var(--mp-dark);
}

.state-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.state-status.ok {
    background: #d1fae5;
    color: #065f46;
}

.state-status.info {
    background: #dbeafe;
    color: #1e40af;
}

.state-status.warning {
    background: #fef3c7;
    color: #92400e;
}

.state-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.state-btn > p {
    grid-column: 2;
    font-size: 0.9rem;
    color: var(--mp-gray);
    margin: 0;
}

/* ============================================
   TRANSMISSIONS SHOWCASE
   ============================================ */
.trans-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trans-item {
    background: var(--mp-white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.trans-item:hover {
    border-color: var(--mp-green);
    transform: translateY(-5px);
}

.trans-item.alert {
    background: linear-gradient(180deg, #fffbeb 0%, var(--mp-white) 100%);
}

.trans-icon-large {
    width: 80px;
    height: 80px;
    background: var(--mp-green-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--mp-green);
    margin-bottom: 25px;
}

.trans-item.alert .trans-icon-large {
    background: #fef3c7;
    color: var(--mp-orange);
}

.trans-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mp-dark);
    margin-bottom: 12px;
}

.trans-content > p {
    font-size: 0.95rem;
    color: var(--mp-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.trans-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trans-content ul li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--mp-gray);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trans-content ul li:last-child {
    border-bottom: none;
}

.trans-content ul li::before {
    content: '✓';
    color: var(--mp-green);
    font-weight: bold;
}

/* ============================================
   TROUBLE ACCORDION
   ============================================ */
.trouble-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.trouble-item {
    background: var(--mp-white);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.trouble-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.trouble-header:hover {
    background: var(--mp-green-light);
}

.trouble-led-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.trouble-led-icon.red {
    background: var(--mp-red);
    box-shadow: 0 0 10px var(--mp-red);
}

.trouble-led-icon.off {
    background: #888;
    border: 2px solid #aaa;
}

.trouble-led-icon.orange {
    background: var(--mp-orange);
    box-shadow: 0 0 10px var(--mp-orange);
}

.trouble-led-icon.blue {
    background: var(--mp-blue);
    box-shadow: 0 0 10px var(--mp-blue);
}

.trouble-header h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mp-dark);
    margin: 0;
}

.trouble-solution {
    padding: 0 25px 25px;
    padding-left: 65px;
}

.trouble-solution ol {
    margin: 0;
    padding-left: 20px;
}

.trouble-solution ol li {
    font-size: 0.95rem;
    color: var(--mp-gray);
    padding: 8px 0;
    line-height: 1.5;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list-mp {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-mp {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question-mp {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mp-dark);
    transition: color 0.3s ease;
}

.faq-question-mp:hover {
    color: var(--mp-green);
}

.faq-question-mp i {
    color: var(--mp-green);
    transition: transform 0.3s ease;
}

.faq-item-mp.active .faq-question-mp i {
    transform: rotate(180deg);
}

.faq-answer-mp {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-mp.active .faq-answer-mp {
    max-height: 200px;
}

.faq-answer-mp p {
    padding: 0 0 25px;
    font-size: 1rem;
    color: var(--mp-gray);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section-mp {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--mp-dark) 0%, var(--mp-dark-soft) 100%);
}

.contact-card-mp {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.contact-visual {
    position: relative;
}

.contact-icon-mp {
    width: 100px;
    height: 100px;
    background: var(--mp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--mp-green);
    border-radius: 50%;
    animation: contactPulse 2s infinite;
}

@keyframes contactPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.contact-info-mp h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.contact-info-mp > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.contact-phone-mp {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    background: var(--mp-green);
    color: var(--mp-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-phone-mp:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px var(--mp-green-glow);
}

.contact-phone-mp i {
    font-size: 1.3rem;
}

.phone-details {
    display: flex;
    flex-direction: column;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
}

.phone-free {
    font-size: 0.8rem;
    opacity: 0.8;
}

.contact-hours {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-mp {
    padding: 40px 0;
    background: #0a0f14;
    text-align: center;
}

.footer-brand-mp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-brand-mp i {
    color: var(--mp-green);
}

.footer-content-mp p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-copy {
    margin-top: 15px;
    font-size: 0.85rem !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-mp::before {
        display: none;
    }

    .hero-mp {
        background: linear-gradient(180deg, var(--mp-dark) 0%, var(--mp-dark-soft) 100%);
    }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-side {
        padding-right: 0;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .orbital-system {
        height: auto;
        padding: 40px 0;
    }

    .orbital-center {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 0 auto 40px;
    }

    .orbital-ring {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .orbital-item {
        position: relative;
        transform: none !important;
        top: auto;
        left: auto;
    }

    .orbital-dot {
        display: none;
    }

    .orbital-card {
        margin-top: 0;
    }

    .orbital-lines {
        display: none;
    }

    .hex-grid {
        gap: 15px;
    }

    .hex-item {
        width: 150px;
        height: 170px;
    }

    .snake-timeline {
        position: relative;
        padding: 20px 0;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .snake-path {
        display: none;
    }

    .snake-step {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }

    .snake-card {
        width: 280px;
    }

    .led-dashboard {
        grid-template-columns: 1fr;
    }

    .led-preview {
        position: relative;
        top: auto;
    }

    .trans-showcase {
        grid-template-columns: 1fr;
    }

    .contact-card-mp {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .back-nav-mp span {
        display: none;
    }

    .hero-text-side h1 {
        font-size: 3rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .section-header-mp h2 {
        font-size: 2rem;
    }

    .orbital-ring {
        grid-template-columns: 1fr;
    }

    .hex-grid {
        gap: 10px;
    }

    .hex-item {
        width: 120px;
        height: 140px;
    }

    .hex-content i {
        font-size: 1.5rem;
    }

    .hex-content h4 {
        font-size: 0.85rem;
    }

    .hex-content p {
        display: none;
    }

    .security-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .back-nav-mp,
    .mp-bg-animated {
        display: none !important;
    }

    .hero-mp {
        background: white !important;
        color: black !important;
    }

    .hero-mp::before {
        display: none;
    }
}
