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

        /* Accessibility: visible keyboard focus ring */
        :focus-visible {
            outline: 2px solid #4a90d9;
            outline-offset: 2px;
            border-radius: 4px;
        }
        button:focus-visible, a:focus-visible, [data-action]:focus-visible {
            outline: 3px solid #4a90d9;
            outline-offset: 3px;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #1a1a2e;
            background: #ffffff;
            overflow-x: hidden;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #1a3a5c 0%, #2d5f8a 40%, #4a90d9 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 50%;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 50%;
        }

        .hero-content {
            text-align: center;
            padding: 40px 20px;
            max-width: 800px;
            z-index: 1;
        }

        .hero-logo {
            width: 120px;
            height: 120px;
            border-radius: 28px;
            margin-bottom: 32px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            border: 3px solid rgba(255, 255, 255, 0.2);
        }

        .hero h1 {
            font-size: 3.2rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 16px;
            letter-spacing: -1px;
            line-height: 1.1;
        }

        .hero .tagline {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 40px;
            font-weight: 300;
            line-height: 1.6;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #ffffff;
            color: #1a3a5c;
            padding: 16px 36px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
        }

        .btn-primary svg {
            width: 24px;
            height: 24px;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: transparent;
            color: #ffffff;
            padding: 16px 36px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            border: 2px solid rgba(255, 255, 255, 0.4);
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.7);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

        .scroll-indicator svg {
            width: 32px;
            height: 32px;
            color: rgba(255, 255, 255, 0.5);
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-10px); }
            60% { transform: translateX(-50%) translateY(-5px); }
        }

        /* Features Section */
        .features {
            padding: 100px 20px;
            background: #f8fafc;
        }

        .section-title {
            text-align: center;
            margin-bottom: 64px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #1a1a2e;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .section-title p {
            font-size: 1.15rem;
            color: #636e72;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 36px 28px;
            transition: all 0.3s ease;
            border: 1px solid #edf2f7;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 28px;
        }

        .feature-icon.blue { background: linear-gradient(135deg, #4a90d9, #357abd); }
        .feature-icon.green { background: linear-gradient(135deg, #27ae60, #219a52); }
        .feature-icon.orange { background: linear-gradient(135deg, #e67e22, #d35400); }
        .feature-icon.purple { background: linear-gradient(135deg, #8e44ad, #7d3c98); }
        .feature-icon.red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
        .feature-icon.teal { background: linear-gradient(135deg, #00b894, #00a381); }

        .feature-card h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #1a1a2e;
        }

        .feature-card p {
            color: #636e72;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        /* Estimates Section */
        .estimates {
            padding: 100px 20px;
            background: #ffffff;
        }

        .estimate-types {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .estimate-item {
            text-align: center;
            padding: 32px 20px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f8fafc, #edf2f7);
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .estimate-item:hover {
            background: linear-gradient(135deg, #ebf5ff, #dbeafe);
            border-color: #93c5fd;
            transform: translateY(-2px);
        }

        .estimate-item .icon {
            font-size: 40px;
            margin-bottom: 16px;
            display: block;
        }

        .estimate-item h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 8px;
        }

        .estimate-item p {
            font-size: 0.85rem;
            color: #636e72;
            line-height: 1.5;
        }

        /* Stats Section */
        .stats {
            padding: 80px 20px;
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 2.8rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .stat-item p {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 400;
        }

        /* Community Section */
        .community {
            padding: 100px 20px;
            background: #f8fafc;
        }

        .community-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 28px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .community-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 32px;
            border: 1px solid #edf2f7;
            transition: all 0.3s ease;
        }

        .community-card:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
        }

        .community-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #1a1a2e;
        }

        .community-card p {
            color: #636e72;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .community-card .badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .badge.chat { background: #e3f2fd; color: #1565c0; }
        .badge.jobs { background: #e8f5e9; color: #2e7d32; }
        .badge.market { background: #fff3e0; color: #e65100; }

        /* Languages Section */
        .languages {
            padding: 80px 20px;
            background: #ffffff;
        }

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

        .lang-chip {
            padding: 10px 24px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #2d3436;
            transition: all 0.3s ease;
        }

        .lang-chip {
            cursor: pointer;
        }
        .lang-chip:hover {
            background: #ebf5ff;
            border-color: #93c5fd;
        }
        .lang-chip.active {
            background: #1a3a5c;
            color: #fff;
            border-color: #1a3a5c;
        }

        /* CTA Section */
        .cta-section {
            padding: 100px 20px;
            text-align: center;
            background: linear-gradient(135deg, #1a3a5c 0%, #4a90d9 100%);
        }

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 16px;
        }

        .cta-section p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 40px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        footer {
            background: #0f1923;
            padding: 60px 20px 40px;
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-content {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
        }

        .footer-brand h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
        }

        .footer-brand p {
            line-height: 1.7;
            font-size: 0.9rem;
        }

        .footer-links h4 {
            font-size: 0.9rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-links a {
            display: block;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            margin-bottom: 10px;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #4a90d9;
        }

        .footer-bottom {
            max-width: 1000px;
            margin: 40px auto 0;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
            font-size: 0.85rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.2rem;
            }

            .hero .tagline {
                font-size: 1.05rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .cta-section h2 {
                font-size: 1.8rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .stat-item h3 {
                font-size: 2rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* ── Chat Widget ── */
        .chat-bubble {
            position: fixed;
            bottom: 28px;
            right: 28px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1a3a5c, #4a90d9);
            color: #fff;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(26,58,92,0.4);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .chat-bubble:hover {
            transform: scale(1.08);
            box-shadow: 0 6px 28px rgba(26,58,92,0.5);
        }
        .chat-bubble svg { width: 28px; height: 28px; }
        .chat-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #e74c3c;
            border: 2px solid #fff;
            display: none;
        }

        .chat-window {
            position: fixed;
            bottom: 100px;
            right: 28px;
            width: 360px;
            max-height: 500px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.18);
            z-index: 9999;
            display: none;
            flex-direction: column;
        }
        .chat-window.open { display: flex; }
        .chat-window.mobile-open {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100%; height: 100%;
            max-height: none;
            border-radius: 0;
            box-shadow: none;
            z-index: 99999;
            display: flex;
            flex-direction: column;
        }

        .chat-header {
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
            color: #fff;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .chat-header h4 { margin: 0; font-size: 1rem; font-weight: 600; }
        .chat-header .close-btn {
            background: none;
            border: none;
            color: rgba(255,255,255,0.7);
            cursor: pointer;
            font-size: 1.8rem;
            padding: 8px 12px;
            min-width: 44px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .chat-header .close-btn:hover { color: #fff; }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 14px;
            max-height: 320px;
            min-height: 200px;
            background: #f8fafc;
        }
        .chat-msg {
            margin-bottom: 10px;
            max-width: 85%;
            padding: 10px 14px;
            border-radius: 14px;
            font-size: 0.9rem;
            line-height: 1.4;
            word-wrap: break-word;
        }
        .chat-msg.visitor {
            background: #e3f2fd;
            color: #1a1a2e;
            margin-left: auto;
            border-bottom-right-radius: 4px;
        }
        .chat-msg.admin {
            background: #fff;
            color: #1a1a2e;
            border: 1px solid #e2e8f0;
            border-bottom-left-radius: 4px;
        }
        .chat-msg .msg-name {
            font-size: 0.75rem;
            font-weight: 600;
            color: #636e72;
            margin-bottom: 3px;
        }
        .chat-msg .msg-time {
            font-size: 0.7rem;
            color: #b2bec3;
            margin-top: 4px;
            text-align: right;
        }

        .chat-name-form {
            padding: 20px;
            text-align: center;
        }
        .chat-name-form p {
            font-size: 0.95rem;
            color: #2d3436;
            margin-bottom: 12px;
        }
        .chat-name-form input {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #dfe6e9;
            border-radius: 8px;
            font-size: 0.95rem;
            outline: none;
            margin-bottom: 10px;
        }
        .chat-name-form input:focus { border-color: #4a90d9; }
        .chat-name-form button {
            width: 100%;
            padding: 10px;
            background: linear-gradient(135deg, #1a3a5c, #4a90d9);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
        }

        .chat-input-bar {
            display: flex;
            padding: 10px;
            border-top: 1px solid #edf2f7;
            background: #fff;
        }
        .chat-input-bar input {
            flex: 1;
            padding: 10px 14px;
            border: 1px solid #dfe6e9;
            border-radius: 8px;
            font-size: 0.9rem;
            outline: none;
        }
        .chat-input-bar input:focus { border-color: #4a90d9; }
        .chat-input-bar button {
            margin-left: 8px;
            padding: 10px 18px;
            background: #1a3a5c;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
        }

        /* Mobile chat fullscreen */
        body.chat-fullscreen { overflow: hidden !important; }
        .chat-window.mobile-open .chat-header { flex: 0 0 auto; }
        .chat-window.mobile-open .chat-messages { flex: 1; max-height: none; min-height: 0; overflow-y: auto; }
        .chat-window.mobile-open .chat-input-bar { flex: 0 0 auto; }
        .chat-window.mobile-open .chat-name-form[style*="block"] { flex: 1; display: flex; flex-direction: column; justify-content: center; }
        @media (max-width: 480px) {
            .chat-bubble { bottom: 16px; right: 16px; }
        }
        .chat-input-bar button:hover { background: #2d5f8a; }

        /* removed duplicate mobile override */

        /* ── Site Popup (visitor) ── */
        .site-popup-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.55);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: sitePopupFadeIn 0.25s ease-out;
        }
        @keyframes sitePopupFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .site-popup-modal {
            background: #fff;
            border-radius: 14px;
            max-width: 480px;
            width: 100%;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 60px rgba(0,0,0,0.35);
            position: relative;
            animation: sitePopupScaleIn 0.25s ease-out;
        }
        @keyframes sitePopupScaleIn {
            from { transform: scale(0.92); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        .site-popup-close {
            position: absolute;
            top: 10px; right: 14px;
            background: none;
            border: none;
            font-size: 1.7rem;
            line-height: 1;
            color: #999;
            cursor: pointer;
            padding: 4px 10px;
            border-radius: 6px;
        }
        .site-popup-close:hover { background: #f0f0f0; color: #333; }
        .site-popup-title {
            margin: 0;
            padding: 22px 28px 12px;
            font-size: 1.25rem;
            font-weight: 700;
            color: #1a3a5c;
            border-bottom: 1px solid #eef2f7;
        }
        .site-popup-body {
            padding: 18px 28px;
            font-size: 0.95rem;
            line-height: 1.6;
            color: #2d3436;
            overflow-y: auto;
            flex: 1;
            white-space: pre-wrap;
            word-break: break-word;
        }
        .site-popup-actions {
            padding: 14px 24px 20px;
            border-top: 1px solid #eef2f7;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .site-popup-hide-today {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            color: #6b7280;
            cursor: pointer;
        }
        .site-popup-hide-today input { cursor: pointer; }
        .site-popup-ok {
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 10px 24px;
            font-weight: 700;
            font-size: 0.9rem;
            cursor: pointer;
        }
        .site-popup-ok:hover { opacity: 0.9; }

        /* ── Admin Chat Panel ── */
        .admin-panel-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: #f0f4f8;
            z-index: 10000;
            flex-direction: column;
        }
        .admin-panel-overlay.open { display: flex; }

        .admin-panel-header {
            background: linear-gradient(135deg, #1a3a5c, #2d5f8a);
            color: #fff;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        }
        .admin-panel-header h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
        .admin-panel-header .close-admin {
            background: rgba(255,255,255,0.15);
            border: none;
            color: #fff;
            font-size: 0.9rem;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
        }
        .admin-panel-header .close-admin:hover { background: rgba(255,255,255,0.25); }

        .admin-panel-body {
            flex: 1;
            display: flex;
            overflow: hidden;
        }

        .admin-session-list {
            width: 320px;
            min-width: 320px;
            background: #fff;
            border-right: 1px solid #e2e8f0;
            overflow-y: auto;
        }
        .admin-session-item {
            padding: 14px 18px;
            border-bottom: 1px solid #f0f4f8;
            cursor: pointer;
            transition: background 0.2s;
        }
        .admin-session-item:hover { background: #f8fafc; }
        .admin-session-item.active { background: #e3f2fd; border-left: 3px solid #4a90d9; }
        .admin-session-item .session-name {
            font-weight: 600;
            font-size: 0.95rem;
            color: #1a1a2e;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .admin-session-item .session-name .online-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #b2bec3;
            flex-shrink: 0;
        }
        .admin-session-item .session-name .online-dot.online { background: #27ae60; }
        .admin-session-item .session-preview {
            font-size: 0.82rem;
            color: #636e72;
            margin-top: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .admin-session-item .session-meta {
            font-size: 0.72rem;
            color: #b2bec3;
            margin-top: 4px;
            display: flex;
            gap: 10px;
        }

        .admin-chat-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            background: #f8fafc;
        }
        .admin-chat-header-bar {
            padding: 14px 20px;
            background: #fff;
            border-bottom: 1px solid #e2e8f0;
            font-weight: 600;
            font-size: 0.95rem;
            color: #1a3a5c;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .admin-chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px 20px;
        }
        .admin-chat-messages .chat-msg { max-width: 70%; }
        .admin-chat-empty {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #b2bec3;
            font-size: 1rem;
        }
        .admin-chat-input-bar {
            display: flex;
            padding: 12px 16px;
            border-top: 1px solid #e2e8f0;
            background: #fff;
        }
        .admin-chat-input-bar input {
            flex: 1;
            padding: 12px 16px;
            border: 1px solid #dfe6e9;
            border-radius: 10px;
            font-size: 0.95rem;
            outline: none;
        }
        .admin-chat-input-bar input:focus { border-color: #4a90d9; }
        .admin-chat-input-bar button {
            margin-left: 10px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #1a3a5c, #4a90d9);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
        }
        .admin-chat-input-bar button:hover { background: #2d5f8a; }

        .admin-no-sessions {
            padding: 40px 20px;
            text-align: center;
            color: #b2bec3;
            font-size: 0.95rem;
        }

        @media (max-width: 768px) {
            .admin-session-list { width: 100%; min-width: unset; }
            .admin-panel-body { flex-direction: column; }
            .admin-chat-area { display: none; }
            .admin-panel-body.chat-active .admin-session-list { display: none; }
            .admin-panel-body.chat-active .admin-chat-area { display: flex; }
            .admin-back-btn { display: inline-block !important; }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        .admin-tab {
            background: rgba(255,255,255,0.15);
            border: none;
            color: rgba(255,255,255,0.7);
            padding: 6px 16px;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .admin-tab.active {
            background: rgba(255,255,255,0.3);
            color: #fff;
        }
        .admin-tab:hover { background: rgba(255,255,255,0.25); }
        /* Mobile: tabs row scrolls horizontally with drag/swipe */
        .admin-tabs-scroll {
            display: flex;
            gap: 4px;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            scroll-behavior: smooth;
            cursor: grab;
            -webkit-user-select: none;
            user-select: none;
            min-width: 0;
            flex: 1 1 auto;
        }
        .admin-tabs-scroll::-webkit-scrollbar { display: none; }
        .admin-tabs-scroll.dragging { cursor: grabbing; scroll-behavior: auto; }
        .contact-category {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            background: #e8f5e9;
            color: #2e7d32;
        }
        .contact-detail-block {
            background: #fff;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
            border: 1px solid #e2e8f0;
        }
        .contact-detail-block h4 {
            font-size: 0.8rem;
            color: #636e72;
            margin-bottom: 6px;
            text-transform: uppercase;
        }
        .contact-detail-block p {
            font-size: 0.95rem;
            color: #1a1a2e;
            line-height: 1.6;
            white-space: pre-wrap;
        }
        .contact-reply-item {
            background: #e3f2fd;
            border-radius: 10px;
            padding: 10px 14px;
            margin-bottom: 8px;
            max-width: 85%;
            margin-left: auto;
        }
        .contact-reply-item .reply-time {
            font-size: 0.7rem;
            color: #b2bec3;
            text-align: right;
            margin-top: 4px;
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 16px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background: rgba(26, 58, 92, 0.95);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            padding: 12px 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-brand {
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
            text-decoration: none;
        }

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

        .nav-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #ffffff;
        }

        /* Auth button in navbar */
        .nav-auth {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 16px;
        }
        .nav-auth-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 7px 16px;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 20px;
            background: rgba(255,255,255,0.1);
            color: #fff;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }
        .nav-auth-btn:hover {
            background: rgba(255,255,255,0.2);
            border-color: rgba(255,255,255,0.5);
        }
        .nav-auth-btn img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }
        .nav-auth-btn svg {
            width: 16px;
            height: 16px;
        }
        .nav-user-name {
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .nav-logout-btn {
            padding: 6px 12px;
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 16px;
            background: transparent;
            color: rgba(255,255,255,0.7);
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        .nav-logout-btn:hover {
            background: rgba(255,0,0,0.15);
            border-color: rgba(255,100,100,0.4);
            color: #ff9999;
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 12px 20px;
            }
            .nav-links {
                display: none;
            }
            .nav-user-name {
                display: none;
            }
        }

        /* Country grid cards */
        .country-card {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 14px 16px;
            text-decoration: none;
            color: #1a3a5c;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        .country-card:hover {
            border-color: #4a90d9;
            background: #f0f7ff;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(74,144,217,0.15);
        }
        .country-card .flag {
            font-size: 1.6rem;
            line-height: 1;
            flex-shrink: 0;
        }
        .country-card .ct-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }
        .country-card .ct-country {
            font-weight: 700;
            font-size: 0.95rem;
            line-height: 1.2;
        }
        .country-card .ct-app {
            font-weight: 500;
            font-size: 0.78rem;
            color: #4a5568;
            line-height: 1.3;
            word-break: break-word;
        }
