/* --- 1. DESIGN SYSTEM: WCAG 2.1 COMPLIANT --- */
    :root {
        --primary: #FF6B00;
        --primary-dark: #cc5500;
        --text-on-primary: #fff; 
        --secondary: #FFB800;
        
        --accent-green: #006837;
        --accent-blue: #0056D2;
        --accent-purple: #7425C9;
        --accent-yellow: #995700;
        --accent-red: #C41C00;

        --bg-body: #F2F2F7;
        --surface: #FFFFFF;
        --glass-material: rgba(255, 255, 255, 0.9);
        --glass-border: rgba(0, 0, 0, 0.1);
        --muted-bg: rgba(0, 0, 0, 0.05);

        --text-main: #111111;
        --text-sub: #555555;
        
        --shadow-3d: 0 10px 30px -10px rgba(0,0,0,0.15);
        --btn-shadow: 0 6px 0 var(--primary-dark), 0 15px 25px rgba(255, 107, 0, 0.2);
        --btn-active: 0 0 0 var(--primary-dark), inset 0 2px 5px rgba(0,0,0,0.1);
        
        --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
        --font-stack: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    }

    /* DARK THEME OVERRIDES */
    [data-theme="dark"] {
        --bg-body: #050505;
        --surface: #1C1C1E;
        --glass-material: rgba(30, 30, 32, 0.85);
        --glass-border: rgba(255, 255, 255, 0.15);
        --muted-bg: rgba(255, 255, 255, 0.08);

        --accent-green: #34C759;
        --accent-blue: #409CFF;
        --accent-purple: #BF5AF2;
        --accent-yellow: #FFD60A;
        --accent-red: #FF453A;

        --text-main: #F5F5F7;
        --text-sub: #AEAEB2;

        --shadow-3d: 0 20px 50px -10px rgba(0,0,0,0.7);
        --btn-shadow: 0 6px 0 #b34700, 0 15px 30px rgba(255, 107, 0, 0.3);
        --text-on-primary: #fff; 
    }

    /* --- 2. RESET & BASE --- */
    * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
    
    html { 
        scroll-behavior: smooth; 
        font-size: 100%; 
        -webkit-font-smoothing: antialiased; 
        -moz-osx-font-smoothing: grayscale; 
        height: 100%;
    }
    
    body {
        margin: 0; padding: 0;
        font-family: var(--font-stack);
        background: var(--bg-body);
        color: var(--text-main);
        overflow-x: hidden;
        transition: background 0.4s var(--ease-apple), color 0.3s;
        padding-bottom: 40px; 
        line-height: 1.5;
    }

    input, button, select, textarea { font-family: inherit; }

    a { text-decoration: none; color: inherit; }
    ul { list-style: none; padding: 0; margin: 0; }
    
    p { line-height: 1.7; margin-bottom: 1.5rem; font-size: 1.05rem; color: var(--text-sub); font-weight: 500; }
    h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.5px; color: var(--text-main); margin-top: 3rem; }
    h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary); margin-top: 2rem;}
    strong { color: var(--text-main); font-weight: 700; }

    a.seo-link { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(255, 107, 0, 0.3); text-underline-offset: 4px; transition: 0.2s; }
    a.seo-link:hover { text-decoration-color: var(--primary); }

    /* --- 3. UI COMPONENTS --- */
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    
    .glass-panel {
        background: var(--glass-material);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border: 1px solid var(--glass-border);
        box-shadow: 0 8px 32px rgba(0,0,0,0.05);
    }
    
    /* FALLBACK FOR LOW-END DEVICES */
    @supports not (backdrop-filter: blur(10px)) {
        .glass-panel {
            background: var(--surface);
            opacity: 0.98;
        }
        [data-theme="dark"] .glass-panel {
            background: #1c1c1ef2; 
        }
    }

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

    .btn-3d {
        position: relative;
        border: none;
        background: linear-gradient(145deg, var(--primary), #FF8800);
        color: var(--text-on-primary) !important; 
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 1rem 1.6rem;
        border-radius: 24px;
        cursor: pointer;
        transition: transform 0.1s, box-shadow 0.1s;
        box-shadow: var(--btn-shadow);
        display: inline-flex; align-items: center; justify-content: center; gap: 10px;
        border-top: 1px solid rgba(255,255,255,0.3);
        font-size: 1rem;
    }
    .btn-3d:active { transform: translateY(6px); box-shadow: var(--btn-active); }

    .fade-in-up { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--ease-apple); }
    .fade-in-up.visible { opacity: 1; transform: translateY(0); }

    /* --- 4. HEADER --- */
    .header {
        position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
        padding: 12px 0; transition: 0.3s;
    }
    .header.scrolled { padding: 8px 0; }
    
    .nav-bar {
        display: flex; justify-content: space-between; align-items: center;
        padding: 8px 12px; border-radius: 100px;
        transition: 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    
    .header-left { display: flex; align-items: center; gap: 12px; }

    .logo { display: flex; align-items: center; gap: 10px; }
    .logo-img {
        width: 44px; height: 44px; border-radius: 50%;
        border: 2px solid var(--primary); padding: 2px;
        animation: none;
        background: var(--surface);
    }
    /* Reduce motion for logo if preferred */
    @media (prefers-reduced-motion: reduce) {
        .logo-img { animation: none; }
    }

    /* LOGO TITLE CHANGED TO DIV FOR SEO (User Request) */
    .logo-title { font-size: 1.1rem; font-weight: 800; margin: 0; line-height: 1; display: block; color: var(--text-main); }
    .logo-text span { font-size: 0.75rem; font-weight: 600; color: var(--text-sub); letter-spacing: 1px; display: block; }

    .status-widget {
        display: flex; align-items: center; gap: 8px;
        padding: 6px 14px; border-radius: 20px;
        background: var(--muted-bg);
        border: 1px solid var(--glass-border);
        backdrop-filter: blur(10px);
    }
    .status-dot {
        width: 10px; height: 10px; border-radius: 50%;
        background: var(--accent-red);
        box-shadow: 0 0 8px var(--accent-red);
        transition: 0.3s;
    }
    .status-dot.open { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
    .status-dot.online { background: var(--secondary); box-shadow: 0 0 8px var(--secondary); } 
    
    .text-open { color: var(--accent-green) !important; }
    .text-closed { color: var(--accent-red) !important; }
    .text-online { color: var(--secondary) !important; }
    
    .status-text { font-size: 0.75rem; font-weight: 700; color: var(--text-main); white-space: nowrap; }

    .desktop-nav { display: flex; gap: 4px; }
    .nav-link {
        padding: 8px 16px; border-radius: 20px; font-size: 0.95rem; font-weight: 600;
        color: var(--text-sub); transition: 0.2s;
        display: flex; align-items: center; gap: 6px;
    }
    .nav-link:hover { color: var(--primary); background: var(--muted-bg); }
    
    .header-actions { display: flex; gap: 8px; align-items: center;}
    .action-btn {
        width: 40px; height: 40px; border-radius: 50%; border: none;
        background: var(--muted-bg); color: var(--text-main);
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; transition: 0.3s;
    }
    .action-btn:hover { background: var(--primary); color: var(--text-on-primary); transform: rotate(15deg); }
    
    .menu-toggle { display: none; }

    /* --- SEARCH BAR CSS --- */
    .search-container-desktop {
        position: relative;
        margin-right: 10px;
        display: flex; align-items: center;
    }
    .search-input {
        background: var(--muted-bg);
        border: 1px solid var(--glass-border);
        color: var(--text-main);
        border-radius: 20px;
        padding: 8px 16px 8px 36px;
        font-size: 0.9rem;
        width: 180px;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        outline: none;
    }
    .search-input:focus {
        width: 240px;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
        background: var(--surface);
    }
    .search-icon-inside {
        position: absolute;
        left: 12px;
        color: var(--text-sub);
        font-size: 16px;
        pointer-events: none;
        transition: 0.3s;
    }
    .search-input:focus + .search-icon-inside { color: var(--primary); }

    /* Mobile Search Overlay */
    .mobile-search-btn { display: none; }
    .mobile-search-dropdown {
        position: absolute;
        top: 110%; left: 10px; right: 10px;
        background: var(--glass-material);
        backdrop-filter: blur(25px);
        padding: 12px;
        border-radius: 16px;
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        display: none;
        animation: slideDownSearch 0.3s ease;
        z-index: 999;
    }
    .mobile-search-dropdown.active { display: block; }
    @keyframes slideDownSearch { from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);} }
    .mobile-search-input {
        width: 100%; padding: 10px 40px 10px 16px;
        border-radius: 12px; border: 1px solid var(--glass-border);
        background: var(--muted-bg); color: var(--text-main);
        font-size: 1rem;
    }
    .mobile-search-close {
        position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
        color: var(--text-sub); font-size: 18px; cursor: pointer;
        background: transparent; border: none; padding: 4px;
    }

    /* --- 5. HERO SECTION --- */
    .hero {
        min-height: 100vh; padding-top: 120px; padding-bottom: 60px;
        display: flex; align-items: center; position: relative; overflow: hidden;
    }
    .hero-glow {
        position: absolute; width: 90vw; height: 90vw;
        background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, transparent 65%);
        top: -30%; right: -30%; filter: none; opacity: 0.6; z-index: -1;
        animation: none;
    }

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

    .hero-badge {
        display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
        border-radius: 100px; background: rgba(255, 107, 0, 0.1); color: var(--primary);
        font-weight: 700; font-size: 0.85rem; border: 1px solid rgba(255, 107, 0, 0.3);
        margin-bottom: 24px; box-shadow: 0 4px 20px rgba(255,107,0,0.1);
    }
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        line-height: 1.05; font-weight: 800;
        margin-bottom: 24px; letter-spacing: -1.5px;
        color: var(--text-main);
    }
