/* ==========================================================================
   BROKEN PHONE - CODESYSTEM v3.0 (PREMIUM DESIGN STYLESHEET)
   Designed to be comfortable for the eyes, professional, and visually stunning.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Harmonious Cozy-Eye Color Palette */
    --bg-dark: #07090e;              /* Soothing ultra-deep blue-black background */
    --bg-surface: rgba(17, 24, 39, 0.6); /* Soft translucent dark glass surface */
    --bg-surface-solid: #0d121f;     /* Solid dark base for fallbacks */
    --bg-card: rgba(30, 41, 59, 0.4); /* Inner glass card background */
    
    --primary: #6366f1;              /* Royal Electric Indigo */
    --primary-rgb: 99, 102, 241;
    --secondary: #0ea5e9;            /* High-Tech Sky Blue */
    --secondary-rgb: 14, 165, 233;
    --accent: #f43f5e;               /* Vibrant Coral Red (representing 'Broken' repaired) */
    --accent-rgb: 244, 63, 94;
    --success: #10b981;              /* Pristine Emerald Green */
    
    --text-primary: #f8fafc;         /* Elegant slate-50 */
    --text-secondary: #94a3b8;       /* Muted slate-400 */
    --text-muted: #64748b;           /* Dimmed slate-500 */
    
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-glow: rgba(99, 102, 241, 0.2);
    --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

/* Ambient Glowing Background Orbs */
.bg-glow-container {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(14, 165, 233, 0.08) 70%, transparent 100%);
    animation: floatOrb1 25s infinite alternate ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, rgba(99, 102, 241, 0.1) 70%, transparent 100%);
    animation: floatOrb2 20s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 80px) scale(1.15); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, -100px) scale(0.9); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   GLASSMORPHISM UTILITIES
   ========================================================================== */

.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(99, 102, 241, 0.1);
}

/* ==========================================================================
   BUTTONS (PREMIUM INTACT HOVER)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px; /* Capsule buttons */
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 10px 25px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.6), 0 0 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(255,255,255,0.1);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 10px 25px -10px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.5);
}

/* Balance and shrink navbar button */
.navbar .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* Lang Selector & Buttons */
.lang-selector {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 4px;
    border-radius: 99px;
    margin-right: 15px;
    align-items: center;
}

.lang-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 99px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-title);
    min-width: 42px;
    text-align: center;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.35);
}

/* ==========================================================================
   NAVBAR (GLASSMORPHIC HEADER)
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: rgba(7, 9, 14, 0.4);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-container {
    height: 75px;
}

.logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.3));
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo img {
    height: 52px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 5px;
    border-radius: 99px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    padding: 8px 16px;
    border-radius: 99px;
    transition: var(--transition-smooth);
    display: inline-block;
    border: 1px solid transparent;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.hamburger {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & BEFORE/AFTER SLIDER
   ========================================================================== */

.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 40px;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--secondary);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0px rgba(99, 102, 241, 0); }
    50% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.25); border-color: rgba(99, 102, 241, 0.4); }
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* --- Comparison Slider --- */
.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    user-select: none;
    -webkit-user-select: none;
}

.slider-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.image-before {
    z-index: 1;
}

.image-after {
    z-index: 2;
    width: 50%; /* Animated via JavaScript */
    border-right: 3px solid #fff;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

.image-after img {
    width: 100%;
    height: 100%;
    max-width: none;
    /* Keeps the underlying image full-size despite container clipping */
    position: absolute;
    top: 0;
    left: 0;
}

.slider-label {
    position: absolute;
    bottom: 24px;
    padding: 8px 16px;
    border-radius: 12px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 3;
}

.label-before {
    left: 24px;
    background: rgba(7, 9, 14, 0.7);
    color: var(--text-secondary);
}

.label-after {
    right: 24px;
    background: rgba(99, 102, 241, 0.4);
    color: #fff;
    border-color: rgba(99, 102, 241, 0.3);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fff;
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    left: 50%; /* Animated via JS */
}

.slider-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    font-size: 1.2rem;
    transition: var(--transition-bounce);
}

.slider-handle:hover .slider-handle-circle {
    background: var(--primary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.15);
}

/* ==========================================================================
   DIAGNOSTIC WIZARD SECTION
   ========================================================================== */

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: rgba(7, 9, 14, 0.4);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 16px;
}

.section-header h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- Wizard Panel --- */
.wizard-panel {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.wizard-steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
    transform: translateY(-50%);
}

.step-indicator {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface-solid);
    border: 2px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.step-indicator.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(99,102,241, 0.4);
}

.step-indicator.completed {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

/* Wizard Content */
.wizard-step-content {
    display: none;
    animation: fadeSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-step-content.active {
    display: block;
}

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

.wizard-step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

/* Option Grids */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.option-card i {
    font-size: 2.2rem;
    color: var(--text-secondary);
    transition: var(--transition-bounce);
}

.option-card span {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
}

.option-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.2);
}

.option-card:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}

.option-card.selected {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 25px -5px rgba(99, 102, 241, 0.35);
}

.option-card.selected i {
    color: var(--secondary);
}

.option-card.selected span {
    color: #fff;
}

/* Custom Search/Input */
.search-wrapper {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

.wizard-input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 99px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.wizard-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.chip {
    padding: 10px 20px;
    border-radius: 99px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.chip:hover, .chip.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99,102,241,0.3);
}

/* Result Breakdown */
.result-breakdown {
    background: rgba(13, 18, 31, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.breakdown-value {
    color: #fff;
    font-weight: 600;
    font-family: var(--font-title);
}

.breakdown-value.highlight-cyan {
    color: var(--secondary);
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.wizard-buttons .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-width: 130px;
}

/* ==========================================================================
   LABORATORY EQUIPMENT & SERVICES
   ========================================================================== */

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.7;
}

.card-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: var(--transition-bounce);
}

.service-card:hover .card-icon-container {
    background: var(--primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(99,102,241,0.4);
}

.card-icon-container i {
    font-size: 1.8rem;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.service-card:hover .card-icon-container i {
    color: #fff;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 24px;
    flex-grow: 1;
    font-weight: 300;
}

.card-link {
    color: var(--secondary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.card-link i {
    transition: var(--transition-smooth);
}

.service-card:hover .card-link {
    color: var(--primary);
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   PARTS CATALOGUE (TABS & SHOP ITEMS)
   ========================================================================== */

.tabs-wrapper {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.catalogue-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 99px;
    border: 1px solid var(--glass-border);
    overflow-x: auto;
    max-width: 100%;
}

.tab-trigger {
    padding: 10px 24px;
    border-radius: 99px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.tab-trigger:hover {
    color: #fff;
    background: rgba(255,255,255,0.03);
}

.tab-trigger.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.shop-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    animation: cardEntrance 0.5s ease-out forwards;
}

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

.shop-card.hidden {
    display: none;
}

.card-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.shop-card h3 {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 8px;
}

.shop-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
    font-weight: 300;
}

.shop-card .btn {
    width: 100%;
}

/* ==========================================================================
   SMART STATUS TRACKER (REPAIR CHRONOLOGY)
   ========================================================================== */

.tracker-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
}

.tracker-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.tracker-title i {
    color: var(--secondary);
}

.tracker-form {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.tracker-input-wrapper {
    flex: 1;
    position: relative;
}

.tracker-input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tracker-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border-radius: 99px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.tracker-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* Scan Animation Display */
.tracker-scan-box {
    text-align: center;
    padding: 40px 0;
}

.scan-radar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: radarPulse 1.8s infinite ease-out;
}

.scan-radar i {
    font-size: 2rem;
    color: var(--secondary);
    animation: spin 3s infinite linear;
}

@keyframes radarPulse {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
    100% { box-shadow: 0 0 0 30px rgba(14, 165, 233, 0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.tracker-scan-box p {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--secondary);
    letter-spacing: 0.05em;
}

/* Milestone Timeline layout */
.tracker-timeline {
    position: relative;
    padding-left: 50px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    animation: fadeSlide 0.5s ease-out forwards;
}

.tracker-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 17px;
    bottom: 5px;
    width: 2px;
    background: var(--glass-border);
    z-index: 1;
}

.timeline-node {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.node-icon {
    position: absolute;
    left: -50px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-solid);
    border: 2px solid var(--glass-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.timeline-node.completed .node-icon {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.timeline-node.active .node-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    animation: activePulse 2s infinite alternate ease-in-out;
    position: relative;
}

.timeline-node.active .node-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    animation: radarRing 1.5s infinite ease-out;
    pointer-events: none;
}

@keyframes activePulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(99, 102, 241, 0.4); }
    100% { transform: scale(1.12); box-shadow: 0 0 25px rgba(99, 102, 241, 0.7); }
}

@keyframes radarRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.node-content {
    display: flex;
    flex-direction: column;
}

.node-title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.timeline-node.active .node-title,
.timeline-node.completed .node-title {
    color: #fff;
}

.node-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 300;
}

.timeline-node.active .node-desc {
    color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER & MAP
   ========================================================================== */

.footer {
    background: #04060a;
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

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

.footer-logo-img {
    height: 64px;
    margin-bottom: 24px;
}

.footer-brand-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    max-width: 320px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0; width: 30px; height: 2px;
    background: var(--primary);
    border-radius: 99px;
}

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

.footer-links a, .footer-contact-item {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-contact-item i {
    color: var(--primary);
}

/* --- Footer Social Links & Premium Glow Icons --- */
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-bounce);
    text-decoration: none;
}

.social-icon-btn:hover {
    color: #fff;
    transform: translateY(-4px);
}

/* Brand specific custom glows on hover */
.social-icon-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.45);
    color: #1877f2;
}

.social-icon-btn.instagram:hover {
    background: rgba(225, 48, 108, 0.15);
    border-color: #e1306c;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.45);
    color: #e1306c;
}

.social-icon-btn.tiktok:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    color: #00f2fe;
}

.social-icon-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25d366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.45);
    color: #25d366;
}

.social-icon-btn.email:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.45);
    color: #0ea5e9;
}

/* --- Map Wrapper --- */
.map-container {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    margin-bottom: 50px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 380px;
    border: none;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(110%);
    opacity: 0.95;
    display: block;
}

.map-overlay-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET
   ========================================================================== */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    text-decoration: none;
    animation: floatingPulse 2s infinite alternate ease-in-out;
    transition: var(--transition-bounce);
}

.floating-whatsapp:hover {
    transform: scale(1.15) rotate(10deg);
    background: #128c7e;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

@keyframes floatingPulse {
    0% { transform: translateY(0); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }
    100% { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar .btn span {
        display: none;
    }
    .navbar .btn {
        padding: 0;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        min-width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .navbar .btn i {
        margin: 0;
        font-size: 1.15rem;
    }
    .lang-selector {
        margin-right: 8px;
        padding: 3px;
        gap: 2px;
    }
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        min-width: 32px;
    }
    .hamburger {
        display: block;
        color: #fff;
        font-size: 1.4rem;
        cursor: pointer;
        padding: 5px;
        order: 2;
        transition: var(--transition-smooth);
    }
    .hamburger:hover {
        color: var(--secondary);
    }
    .nav-buttons {
        order: 1;
        margin-left: auto;
        margin-right: 15px;
    }
    nav {
        width: 100%;
        position: absolute;
        top: 75px;
        left: 0;
        z-index: 999;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: calc(100% - 48px);
        margin: 0 auto;
        background: rgba(13, 18, 31, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        padding: 15px;
        gap: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(99, 102, 241, 0.1);
        text-align: center;
    }
    .nav-links.active {
        display: flex;
        animation: slideDownMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .nav-links a {
        width: 100%;
        padding: 12px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

@keyframes slideDownMenu {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
    .section-header h2 {
        font-size: 2.2rem;
    }
    .wizard-panel {
        padding: 24px;
    }
    .wizard-buttons {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .wizard-buttons .btn {
        width: 100%;
    }
    .tracker-form {
        flex-direction: column;
    }
    .tracker-form .btn {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand-desc {
        max-width: 100%;
    }
    .footer-social-links {
        justify-content: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   ARABIC RTL LAYOUT SUPPORT OVERRIDES
   ========================================================================== */
html[dir="rtl"] body {
    text-align: right;
    font-family: 'Outfit', 'Inter', sans-serif;
}

html[dir="rtl"] .hero-content {
    align-items: flex-start;
}

html[dir="rtl"] .hero h1 span {
    background: linear-gradient(-135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[dir="rtl"] .service-card::before {
    left: auto;
    right: 0;
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
}

html[dir="rtl"] .card-link i {
    transform: rotate(180deg);
}

html[dir="rtl"] .service-card:hover .card-link i {
    transform: rotate(180deg) translateX(-5px);
}

html[dir="rtl"] .tracker-input {
    padding: 16px 52px 16px 20px;
}

html[dir="rtl"] .tracker-input-wrapper i {
    left: auto;
    right: 20px;
}

html[dir="rtl"] .tracker-timeline {
    padding-left: 0;
    padding-right: 50px;
}

html[dir="rtl"] .tracker-timeline::before {
    left: auto;
    right: 17px;
}

html[dir="rtl"] .timeline-node .node-icon {
    left: auto;
    right: -50px;
}

html[dir="rtl"] .footer-col h3::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .lang-selector {
    margin-right: 0;
    margin-left: 15px;
}

html[dir="rtl"] .map-overlay-btn {
    left: 24px;
    right: auto;
}

html[dir="rtl"] .floating-whatsapp {
    left: 30px;
    right: auto;
}

@media (max-width: 768px) {
    html[dir="rtl"] .lang-selector {
        margin-right: 0;
        margin-left: 8px;
    }
    html[dir="rtl"] .footer-col h3::after {
        left: 50%;
        right: auto;
        transform: translateX(50%);
    }
}

/* ==========================================================================
   ABOUT INTERACTIVE TECH CLINIC CUSTOM STYLES
   ========================================================================== */

.lab-tabs-header {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 6px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.lab-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 10px;
    border-radius: 12px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

.lab-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.lab-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.5);
}

.lab-tab-panels-container {
    position: relative;
    min-height: 250px;
}

.lab-tab-panel {
    display: none;
    animation: fadeSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lab-tab-panel.active {
    display: block;
}

.about-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.about-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.about-stat-card:hover {
    border-color: var(--glass-border-glow);
    background: rgba(99, 102, 241, 0.03);
    transform: translateY(-3px);
}

.about-stat-num {
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.about-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* Spec list inside panel */
.panel-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-left: 0;
}

.panel-specs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.panel-specs-list li i {
    color: var(--success);
    margin-top: 4px;
    font-size: 0.85rem;
}

/* ==========================================================================
   PROMO SLIDER (BILLBOARD CAROUSEL)
   ========================================================================== */
.promo-slider-wrapper {
    width: 100%;
    margin-top: 10px;
    z-index: 10;
}

.promo-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 250px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    background: rgba(7, 9, 14, 0.4);
}

@media (max-width: 992px) {
    .promo-slider-container {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 576px) {
    .promo-slider-container {
        aspect-ratio: 4 / 3;
    }
}

.promo-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.promo-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Dual-Layer Blur background layer */
.slide-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.35);
    transform: scale(1.1); /* Prevents white/blurry borders */
    z-index: 1;
    pointer-events: none;
}

/* Foreground image container and img */
.promo-slide .promo-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-slide:hover .promo-img {
    transform: scale(1.02);
}

/* Glassmorphic Arrows */
.promo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    z-index: 10;
    opacity: 0;
}

.promo-slider-container:hover .promo-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.promo-arrow:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    color: var(--secondary);
}

/* Pagination Dots */
.promo-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 14px;
    border-radius: 99px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.promo-dot.active {
    width: 24px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

/* ==========================================================================
   LABORATORY MACHINES SPECIFIC STYLES
   ========================================================================== */
.machine-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.machine-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.service-card:hover .machine-img {
    transform: scale(1.08);
    filter: drop-shadow(0 15px 30px rgba(99, 102, 241, 0.25));
}

.machine-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 99px;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.machine-badge.bg-orange {
    background: rgba(249, 115, 22, 0.15);
    color: #ff822d;
    border-color: rgba(249, 115, 22, 0.3);
}

.machine-badge.bg-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.3);
}

.machine-badge.bg-blue {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.3);
}

.machine-badge.bg-purple {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

.machine-badge.bg-red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.machine-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.machine-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.4;
}

.machine-specs li i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ==========================================================================
   THEME COMMUTATOR (SALLE BLANCHE / CLEANROOM LIGHT FUTURE)
   ========================================================================== */
html.light-theme {
    --bg-dark: #f0f4f8;              /* Soft pristine light blue-gray background */
    --bg-surface: rgba(255, 255, 255, 0.65); /* Translucent cleanroom white glass */
    --bg-surface-solid: #f8fafc;     /* Pristine white solid fallback */
    --bg-card: rgba(255, 255, 255, 0.45); /* Soft inner glass card background */
    
    --primary: #4f46e5;              /* Deeper Electric Indigo for contrast */
    --primary-rgb: 79, 70, 229;
    --secondary: #0284c7;            /* Sky Blue for contrast */
    --secondary-rgb: 2, 132, 199;
    --accent: #e11d48;               /* Coral Red for light contrast */
    --accent-rgb: 225, 29, 72;
    --success: #059669;              /* Darker Emerald */
    
    --text-primary: #0f172a;         /* Deep slate-900 for high readability */
    --text-secondary: #475569;       /* Slate-600 */
    --text-muted: #64748b;           /* Slate-500 */
    
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-border-glow: rgba(2, 132, 199, 0.15);
    --glass-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
}

html.light-theme body {
    background-color: var(--bg-dark);
}

html.light-theme .floating-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   CLEANROOM LIGHT THEME CONTRAST & TYPOGRAPHY SYNCHRONISATION
   ========================================================================== */
html.light-theme h1,
html.light-theme h2,
html.light-theme h3,
html.light-theme h4,
html.light-theme h5,
html.light-theme .hero h1 span,
html.light-theme .section-header h2,
html.light-theme .about-story-title,
html.light-theme .about-tab-panel h3,
html.light-theme .service-card h3,
html.light-theme .tracker-title,
html.light-theme .node-title,
html.light-theme .breakdown-value,
html.light-theme .footer-col h3,
html.light-theme .modal-header h3,
html.light-theme .devis-receipt-header h2,
html.light-theme .breakdown-row,
html.light-theme .card-link span,
html.light-theme .chip {
    color: var(--text-primary) !important;
}

html.light-theme p,
html.light-theme li,
html.light-theme .about-story-p1,
html.light-theme .about-story-p2,
html.light-theme .about-tab-panel p,
html.light-theme .service-card p,
html.light-theme .node-desc,
html.light-theme .breakdown-label,
html.light-theme .footer-brand-desc,
html.light-theme .footer-links a,
html.light-theme .footer-contact-item,
html.light-theme .machine-specs li {
    color: var(--text-secondary) !important;
}

/* Navbar & Navigation Drawer light-theme colors */
html.light-theme .navbar {
    background: rgba(240, 244, 248, 0.65) !important;
    border-bottom-color: rgba(15, 23, 42, 0.05) !important;
}

html.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    border-bottom-color: var(--glass-border) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
}

/* Desktop and Mobile navigation link containers */
html.light-theme .nav-links {
    background: rgba(15, 23, 42, 0.02) !important;
    border-color: var(--glass-border) !important;
}

/* Nav links in light mode - force dark colors for high contrast */
html.light-theme .nav-links a {
    color: var(--text-primary) !important;
}

html.light-theme .nav-links a:hover {
    color: var(--primary) !important;
    background: rgba(79, 70, 229, 0.08) !important;
}

html.light-theme .nav-links a.active {
    color: #fff !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2) !important;
}

/* Mobile drawer overrides for light mode */
@media (max-width: 768px) {
    html.light-theme .nav-links {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15), inset 0 0 20px rgba(79, 70, 229, 0.05) !important;
        border: 1px solid var(--glass-border) !important;
    }
}

/* Mobile hamburger button color */
html.light-theme .hamburger {
    color: var(--text-primary) !important;
}

html.light-theme .glass-panel {
    background: var(--bg-surface);
    border-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

html.light-theme .glass-panel:hover {
    border-color: rgba(79, 70, 229, 0.25);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.15), 0 0 50px -10px rgba(79, 70, 229, 0.1);
}

html.light-theme .card-link {
    color: var(--primary);
}

html.light-theme .card-link:hover {
    color: var(--secondary);
}

html.light-theme input[type="text"],
html.light-theme .tracker-input,
html.light-theme .form-control {
    background: var(--bg-card) !important;
    border-color: var(--glass-border) !important;
    color: var(--text-primary) !important;
}

html.light-theme input[type="text"]::placeholder,
html.light-theme .tracker-input::placeholder,
html.light-theme .form-control::placeholder {
    color: var(--text-muted) !important;
}

html.light-theme .tracker-input:focus,
html.light-theme .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.15);
}

html.light-theme .option-card {
    background: var(--bg-card);
    border-color: var(--glass-border);
}

html.light-theme .option-card h3,
html.light-theme .option-card span {
    color: var(--text-primary) !important;
}

html.light-theme .option-card.selected {
    background: rgba(79, 70, 229, 0.08);
    border-color: var(--primary);
}

html.light-theme .chip {
    background: var(--bg-card);
    border-color: var(--glass-border);
}

html.light-theme .chip.selected {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
}

html.light-theme .timeline-node.active .node-title,
html.light-theme .timeline-node.completed .node-title {
    color: var(--text-primary) !important;
}

html.light-theme .timeline-node::before {
    background: var(--glass-border) !important;
}

html.light-theme .node-icon {
    background: var(--bg-surface-solid) !important;
    border-color: var(--glass-border) !important;
    color: var(--text-muted) !important;
}

html.light-theme .timeline-node.completed .node-icon {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: #fff !important;
}

html.light-theme .timeline-node.active .node-icon {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

html.light-theme .result-breakdown {
    border-color: var(--glass-border);
    background: rgba(15, 23, 42, 0.02);
}

html.light-theme .breakdown-row {
    border-bottom-color: rgba(15, 23, 42, 0.05) !important;
}

/* Premium Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-bounce);
    margin-right: 12px;
    box-shadow: var(--glass-shadow);
}
.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 15px var(--glass-border-glow);
}

/* ==========================================================================
   MICROSCOPE BEFORE/AFTER COMPARISON SLIDER STYLES
   ========================================================================== */
#microscope-gallery {
    background: var(--bg-dark);
    padding: 80px 0;
}

.micro-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.micro-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    user-select: none;
    cursor: ew-resize;
}

.micro-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.micro-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.micro-before {
    z-index: 1;
}

.micro-after {
    z-index: 2;
    width: 50%;
    border-right: 2px solid var(--secondary);
}

/* Micro-slider labels */
.micro-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 5;
    pointer-events: none;
}

.micro-before .micro-label {
    left: 20px;
    background: rgba(244, 63, 94, 0.25);
    color: #ff788f;
    border: 1px solid rgba(244, 63, 94, 0.4);
}

.micro-after .micro-label {
    right: 20px;
    background: rgba(16, 185, 129, 0.25);
    color: #5effc9;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Drag handle */
.micro-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--secondary);
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.micro-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--bg-surface-solid);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.micro-handle:hover .micro-handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 0 25px var(--secondary);
}

/* responsive microscope */
@media (max-width: 768px) {
    .micro-slider-wrapper {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   TECHNICAL QUOTATION DEVIS MODAL & PRINT STYLES
   ========================================================================== */
.devis-modal-wrapper {
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(14, 165, 233, 0.15);
}

.devis-table th {
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.devis-table td {
    color: var(--text-primary);
}

/* Light Theme adjustments for technical devis modal */
html.light-theme .devis-modal-wrapper {
    background: rgba(248, 250, 252, 0.98);
    border: 1px solid rgba(2, 132, 199, 0.25);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15), 0 0 40px rgba(2, 132, 199, 0.1);
}

html.light-theme .devis-receipt-header h2 {
    color: var(--text-primary) !important;
}

html.light-theme .devis-total-box {
    background: rgba(2, 132, 199, 0.05);
    border-color: rgba(2, 132, 199, 0.2);
}

html.light-theme .devis-total-box h4 {
    color: var(--text-primary) !important;
}

/* Print Page Layout styles (@media print) */
@media print {
    /* Hide EVERYTHING except the print area */
    body * {
        visibility: hidden;
    }
    
    #modal-technical-quotation, 
    #modal-technical-quotation *,
    #devis-print-area, 
    #devis-print-area * {
        visibility: visible;
    }
    
    #modal-technical-quotation {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: block !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }
    
    .devis-modal-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none !important;
        box-shadow: none !important;
        background: #fff !important;
        color: #000 !important;
    }
    
    /* Make text completely dark for print compatibility */
    #devis-print-area * {
        color: #000 !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }
    
    .devis-total-box {
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
    }
    
    /* Hide close button and footer action buttons */
    .modal-close-btn,
    .devis-modal-footer {
        display: none !important;
    }
}
