/* ================================================================
   Belief - Premium Diesel Cooking Stove Brand
   Comprehensive Stylesheet
   ================================================================ */

/* ========== 1. CSS VARIABLES ========== */
:root {
    --primary: #D97706;
    --primary-dark: #B45309;
    --primary-light: #FEF3C7;
    --accent: #F59E0B;
    --accent-light: #FDE68A;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    --dark: #111827;
    --dark-card: #1F2937;
    --dark-border: #374151;

    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;

    --border: #E5E7EB;
    --bg-light: #F9FAFB;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.4);
    --shadow-glow-lg: 0 0 40px rgba(217, 119, 6, 0.3);

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;

    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --container-max: 1200px;
    --container-wide: 1400px;
    --section-padding: 100px;
    --section-padding-sm: 60px;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ========== 2. BASE STYLES ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--primary-dark); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--gray-900);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* 文字选中：高对比度，浅色/深色背景均清晰可读 */
::selection {
    background-color: #B45309;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    text-shadow: none;
}
::-moz-selection {
    background-color: #B45309;
    color: #ffffff;
    text-shadow: none;
}
/* 深色区块内选中：略亮一些的琥珀底，白字 */
.dark-section ::selection,
.cta-section ::selection,
.page-hero ::selection,
.home-hero-section ::selection,
.site-footer ::selection,
.navbar-transparent ::selection {
    background-color: #F59E0B;
    color: #111827;
    -webkit-text-fill-color: #111827;
}
.dark-section ::-moz-selection,
.cta-section ::-moz-selection,
.page-hero ::-moz-selection,
.home-hero-section ::-moz-selection,
.site-footer ::-moz-selection,
.navbar-transparent ::-moz-selection {
    background-color: #F59E0B;
    color: #111827;
}

/* ========== 3. NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}
.navbar-transparent {
    background: transparent;
    border-bottom: 1px solid transparent;
}
.navbar-transparent.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: var(--container-wide);
    margin: 0 auto; padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--gray-900);
    flex-shrink: 0;
}
.brand-logo {
    width: 40px; height: 40px;
    object-fit: contain;
}
.brand-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(217, 119, 6, 0.3));
}
.brand-text {
    font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar-transparent .brand-text {
    background: linear-gradient(135deg, #fff 0%, #FDE68A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar-transparent.scrolled .brand-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Search */
.nav-search {
    flex: 1;
    max-width: 500px;
    min-width: 200px;
    position: relative;
}
.nav-search-form {
    display: flex; align-items: center;
    background: var(--gray-100); border-radius: var(--radius-full);
    border: 1px solid var(--gray-200); overflow: hidden;
    transition: all 0.3s;
}
.nav-search-form:focus-within {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}
.nav-search-form input {
    flex: 1; padding: 10px 20px; border: none; outline: none;
    background: transparent; font-size: 14px; color: var(--gray-900);
    min-width: 100px;
}
.nav-search-form button {
    padding: 10px 20px; background: none; border: none;
    color: var(--gray-500); cursor: pointer; transition: color 0.2s;
    flex-shrink: 0;
}
.nav-search-form button:hover { color: var(--primary); }
.nav-search-form button svg { width: 18px; height: 18px; display: block; }

/* Nav Menu */
.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px; color: var(--gray-600); text-decoration: none;
    border-radius: var(--radius-full); font-size: 14px; font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: var(--primary); background: rgba(217, 119, 6, 0.05); }
.nav-link.active { color: var(--primary); background: rgba(217, 119, 6, 0.1); font-weight: 600; }

.navbar-transparent .nav-link { color: rgba(255,255,255,0.8); }
.navbar-transparent .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar-transparent .nav-link.active { color: var(--white); background: rgba(255,255,255,0.15); }
.navbar-transparent.scrolled .nav-link { color: var(--gray-600); }
.navbar-transparent.scrolled .nav-link:hover { color: var(--primary); background: rgba(217, 119, 6, 0.05); }
.navbar-transparent.scrolled .nav-link.active { color: var(--primary); background: rgba(217, 119, 6, 0.1); }

/* Nav Buttons */
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}
.nav-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
    border: none;
}
.nav-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
    transform: translateY(-1px);
    color: var(--white) !important;
}
.nav-btn-outline {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}
.nav-btn-outline:hover {
    background: rgba(217, 119, 6, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}
.nav-btn-outline.active {
    background: rgba(217, 119, 6, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    background: none; border: none;
    cursor: pointer; gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.mobile-menu-btn:hover { background: var(--gray-100); }
.mobile-menu-btn span {
    display: block; width: 20px; height: 2px;
    background: var(--gray-700); border-radius: 2px;
    transition: all 0.3s;
}
.navbar-transparent .mobile-menu-btn span { background: var(--white); }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.2s ease;
}
.mobile-menu.show { display: block; }
.mobile-menu .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
}
.mobile-menu .nav-link:hover { background: var(--gray-50); }
.mobile-menu .nav-link.active { color: var(--primary); background: rgba(217, 119, 6, 0.05); }

/* ========== 4. AUTOCOMPLETE DROPDOWN ========== */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    z-index: 1001;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}
.autocomplete-dropdown.show { display: block; }
.ac-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--gray-100);
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.ac-active { background: var(--gray-50); }
.ac-item-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400);
    margin-top: 2px;
}
.ac-item-icon svg { width: 16px; height: 16px; }
.ac-item-text { flex: 1; min-width: 0; }
.ac-item-title {
    font-size: 14px; font-weight: 500; color: var(--gray-800);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4;
}
.ac-item-title em { color: var(--primary); font-style: normal; font-weight: 600; }
.ac-item-desc {
    font-size: 12px; color: var(--gray-400);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 2px; line-height: 1.3;
}
.ac-item-url {
    font-size: 11px; color: var(--success);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px;
}
.ac-footer {
    padding: 8px 16px;
    text-align: center;
    font-size: 12px; color: var(--gray-400);
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
    border-radius: 0 0 16px 16px;
}
.ac-loading { padding: 16px; text-align: center; color: var(--gray-400); font-size: 13px; }

.home-search .autocomplete-dropdown {
    background: #1e293b;
    border-color: #374151;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.home-search .ac-item { border-bottom-color: #374151; }
.home-search .ac-item:hover, .home-search .ac-item.ac-active { background: #374151; }
.home-search .ac-item-icon { background: #374151; color: #9CA3AF; }
.home-search .ac-item-title { color: #e5e7eb; }
.home-search .ac-item-title em { color: var(--primary); }
.home-search .ac-item-desc { color: #6B7280; }
.home-search .ac-item-url { color: #10b981; }
.home-search .ac-footer { background: #111827; border-top-color: #374151; color: #6B7280; }

/* ========== 5. BACKGROUND TASK TRACKER ========== */
.bg-task-tracker {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 360px;
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    z-index: 9999;
    overflow: hidden;
    display: none;
    animation: slideUpIn 0.3s ease;
}
@keyframes slideUpIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.bg-task-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #374151;
}
.bg-task-header-left {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: #e5e7eb;
}
.bg-task-header-left .pulse-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.bg-task-close {
    background: none; border: none; color: #6B7280;
    cursor: pointer; padding: 4px; border-radius: 4px;
    transition: all 0.2s; line-height: 1; font-size: 18px;
}
.bg-task-close:hover { color: #e5e7eb; background: #374151; }
.bg-task-body { padding: 16px; }
.bg-task-keyword {
    font-size: 13px; color: #9CA3AF;
    margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bg-task-keyword span { color: var(--accent); font-weight: 500; }
.bg-task-progress-bar {
    height: 8px; background: #374151;
    border-radius: 4px; overflow: hidden; margin-bottom: 8px;
}
.bg-task-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}
.bg-task-progress-text {
    font-size: 13px; color: #9CA3AF;
    text-align: center; margin-bottom: 12px;
}
.bg-task-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bg-task-stat { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; }
.bg-task-stat .label { color: #6B7280; }
.bg-task-stat .value { font-weight: 600; }
.bg-task-stat .value.success { color: #10b981; }
.bg-task-stat .value.fail { color: #ef4444; }
.bg-task-stat .value.pending { color: #f59e0b; }
.bg-task-stat .value.total { color: var(--accent); }
.bg-task-status {
    margin-top: 12px; padding: 8px 12px;
    border-radius: 8px; font-size: 12px; font-weight: 500; text-align: center;
}
.bg-task-status.running { background: rgba(217, 119, 6, 0.1); color: var(--primary); }
.bg-task-status.completed { background: rgba(16,185,129,0.1); color: #10b981; }
.bg-task-status.failed { background: rgba(239,68,68,0.1); color: #ef4444; }
.bg-task-status.stopped { background: rgba(245,158,11,0.1); color: #f59e0b; }

/* ========== 6. NAV DROPDOWN MENUS ========== */
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown-trigger { gap: 4px; }
.nav-dropdown-arrow { transition: transform 0.2s; }
.nav-dropdown-wrapper:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%; transform: translateX(-50%);
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    z-index: 1001;
    padding: 8px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu {
    display: block; opacity: 1; visibility: visible;
}
.nav-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 8px;
    color: var(--gray-700); text-decoration: none;
    font-size: 14px; transition: all 0.2s;
}
.nav-dropdown-item:hover { background: var(--gray-50); color: var(--primary); }
.nav-dropdown-item .item-icon { font-size: 16px; }
.nav-dropdown-item .item-text { flex: 1; }
.nav-dropdown-item .item-count {
    font-size: 12px; padding: 2px 8px;
    background: var(--gray-100); border-radius: var(--radius-full); color: var(--gray-500);
}
.nav-dropdown-divider { height: 1px; background: var(--gray-100); margin: 6px 0; }

.navbar-transparent .nav-dropdown-menu,
.page-home .nav-dropdown-menu {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
.navbar-transparent .nav-dropdown-item,
.page-home .nav-dropdown-item { color: rgba(255,255,255,0.8); }
.navbar-transparent .nav-dropdown-item:hover,
.page-home .nav-dropdown-item:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.navbar-transparent .nav-dropdown-item .item-count,
.page-home .nav-dropdown-item .item-count { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.navbar-transparent .nav-dropdown-divider,
.page-home .nav-dropdown-divider { background: rgba(255,255,255,0.1); }

/* ========== 7. ARTICLES MENU ========== */
.articles-menu { position: relative; }
.articles-btn {
    display: inline-flex; align-items: center; gap: 4px;
    cursor: pointer; font-family: inherit;
    background: transparent; height: 36px; padding: 0 18px;
}
.articles-arrow { transition: transform 0.2s; }
.articles-menu.show .articles-arrow { transform: rotate(180deg); }
.articles-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%; transform: translateX(-50%);
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    z-index: 1001; padding: 8px;
}
.articles-menu.show .articles-dropdown { display: block; }
.articles-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 8px;
    color: var(--gray-700); text-decoration: none;
    font-size: 14px; transition: all 0.2s;
}
.articles-dropdown-item:hover { background: var(--gray-50); color: var(--primary); }
.articles-dropdown-item .item-icon { font-size: 16px; }
.articles-dropdown-item .item-text { flex: 1; }
.articles-dropdown-item .item-count {
    font-size: 12px; padding: 2px 8px;
    background: var(--gray-100); border-radius: var(--radius-full); color: var(--gray-500);
}
.articles-dropdown-divider { height: 1px; background: var(--gray-100); margin: 6px 0; }

.navbar-transparent .articles-dropdown,
.page-home .articles-dropdown {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
.navbar-transparent .articles-dropdown-item,
.page-home .articles-dropdown-item { color: rgba(255,255,255,0.8); }
.navbar-transparent .articles-dropdown-item:hover,
.page-home .articles-dropdown-item:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.navbar-transparent .articles-dropdown-item .item-count,
.page-home .articles-dropdown-item .item-count { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.navbar-transparent .articles-dropdown-divider,
.page-home .articles-dropdown-divider { background: rgba(255,255,255,0.1); }

/* ========== 8. SYSTEM MENU ========== */
.system-menu { position: relative; }
.system-btn { display: inline-flex; align-items: center; gap: 4px; }
.system-arrow { transition: transform 0.2s; }
.system-menu.show .system-arrow { transform: rotate(180deg); }
.system-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%; transform: translateX(-50%);
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 8px; z-index: 100;
}
.system-menu.show .system-dropdown { display: block; }
.system-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; border-radius: 8px;
    font-size: 14px; color: var(--gray-700);
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.system-dropdown-item:hover { background: var(--gray-50); color: var(--primary); text-decoration: none; }
.system-dropdown-item.active { color: var(--primary); font-weight: 600; }
.system-dropdown-item .item-icon { font-size: 16px; }
.system-dropdown-item .item-text { flex: 1; }
.system-dropdown-divider { height: 1px; background: var(--gray-100); margin: 4px 8px; }

.navbar-transparent .system-dropdown,
.page-home .system-dropdown {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
.navbar-transparent .system-dropdown-item,
.page-home .system-dropdown-item { color: rgba(255,255,255,0.8); }
.navbar-transparent .system-dropdown-item:hover,
.page-home .system-dropdown-item:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.navbar-transparent .system-dropdown-divider,
.page-home .system-dropdown-divider { background: rgba(255,255,255,0.1); }

/* Transparent navbar buttons */
.navbar-transparent .nav-btn-primary,
.page-home .nav-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
}
.navbar-transparent .nav-btn-primary:hover,
.page-home .nav-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.5);
}
.navbar-transparent .nav-btn-outline,
.page-home .nav-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}
.navbar-transparent .nav-btn-outline:hover,
.page-home .nav-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}
.navbar-transparent .nav-btn-outline.active,
.page-home .nav-btn-outline.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* ========== 9. LANGUAGE SWITCHER ========== */
.lang-switcher {
    position: relative; flex-shrink: 0; display: inline-block;
}
.lang-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center; gap: 6px;
    height: 36px; padding: 0 12px;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    color: var(--gray-600); font-size: 13px;
    cursor: pointer; transition: all 0.2s;
    white-space: nowrap; box-sizing: border-box;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.navbar-transparent .lang-btn,
.page-home .lang-btn {
    border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8);
}
.navbar-transparent .lang-btn:hover,
.page-home .lang-btn:hover {
    border-color: rgba(255,255,255,0.5); color: var(--white);
}
.lang-flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.lang-current { max-width: 80px; overflow: hidden; text-overflow: ellipsis; }
.lang-arrow { transition: transform 0.2s; width: 12px; height: 12px; }
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px); right: 0;
    min-width: 200px; max-height: 400px; overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
}
.lang-dropdown::-webkit-scrollbar { width: 6px; }
.lang-dropdown::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 3px; }
.lang-dropdown::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.lang-dropdown::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
.lang-option {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; color: var(--gray-700);
    text-decoration: none; transition: background 0.2s;
}
.lang-option:hover { background: var(--gray-50); color: var(--primary); }
.lang-option.active { background: var(--primary-light); color: var(--primary); }
.lang-option .lang-flag { width: 24px; height: 18px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.lang-native { font-weight: 500; font-size: 14px; }

/* ========== 10. USER MENU ========== */
.user-menu { position: relative; flex-shrink: 0; display: inline-block; }
.user-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center; gap: 6px;
    height: 36px; padding: 0 12px 0 4px;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    color: var(--gray-700); font-size: 13px;
    cursor: pointer; transition: all 0.2s;
    white-space: nowrap; box-sizing: border-box;
}
.user-btn:hover { border-color: var(--primary); background: rgba(217, 119, 6, 0.05); }
.page-home .user-btn, .navbar-transparent .user-btn {
    border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9);
}
.page-home .user-btn:hover, .navbar-transparent .user-btn:hover {
    border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.1);
}
.user-avatar {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600; color: #fff; flex-shrink: 0;
}
.user-name {
    font-weight: 500; max-width: 80px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-arrow {
    transition: transform 0.2s; color: var(--gray-400);
    width: 12px; height: 12px; flex-shrink: 0;
}
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px); right: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1001; overflow: hidden;
}
.user-dropdown-header {
    padding: 16px; background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.user-dropdown-header .name {
    font-weight: 600; color: var(--gray-900);
    display: flex; align-items: center; gap: 8px;
}
.user-dropdown-header .role { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.admin-badge, .vip-badge {
    display: inline-block; padding: 2px 8px;
    border-radius: 10px; font-size: 10px; font-weight: 500;
}
.admin-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}
.vip-badge {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
    color: #fff;
}
.user-dropdown-menu { padding: 8px 0; }
.user-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; color: var(--gray-700);
    text-decoration: none; transition: all 0.2s;
}
.user-dropdown-item:hover { background: var(--gray-50); color: var(--primary); }
.user-dropdown-item svg { width: 18px; height: 18px; color: var(--gray-400); }
.user-dropdown-item:hover svg { color: var(--primary); }
.user-dropdown-item.logout { color: #dc2626; }
.user-dropdown-item.logout:hover { background: #fef2f2; }
.user-dropdown-item.logout svg { color: #dc2626; }
.user-dropdown-divider { height: 1px; background: var(--gray-200); margin: 8px 0; }

/* ========== 11. HOMEPAGE ========== */
.page-home {
    /* No overflow hidden, no color white - just let normal flow work */
}
.page-home .navbar {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-home .navbar.navbar-scrolled {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-home .navbar .brand-text { color: #fff; }
.page-home .navbar .nav-link { color: rgba(255,255,255,0.75); }
.page-home .navbar .nav-link:hover,
.page-home .navbar .nav-link.active { color: #fff; background: rgba(255,255,255,0.1); }
.page-home .navbar .lang-btn { color: rgba(255,255,255,0.75); }
.page-home .navbar .articles-btn { color: rgba(255,255,255,0.75); }
.page-home .navbar .mobile-menu-btn span { background: #fff; }

.no-navbar .navbar { display: none; }
.no-navbar .footer { display: none; }

.home-main { position: relative; }

/* Hero Section */
.home-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #111827 0%, #1F2937 100%);
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(17,24,39,0.92), rgba(31,41,55,0.85));
    z-index: 1;
}
.hero-bg .hero-particles {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    width: 100%; height: 100%;
}
.hero-bg .hero-image-placeholder { z-index: 0; }

.hero-content {
    position: relative; z-index: 3;
    text-align: center; padding: 0 20px;
    max-width: 900px; margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}
.hero-badge {
    display: inline-block; padding: 8px 20px;
    background: rgba(217,119,6,0.15); color: #F59E0B;
    border: 1px solid rgba(217,119,6,0.3);
    border-radius: 100px; font-size: 13px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.hero-title .hero-title-line {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #F59E0B 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #D1D5DB; max-width: 650px;
    margin: 0 auto 36px; line-height: 1.7;
}
.hero-cta-group {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 48px;
}
.hero-stats-bar {
    display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item { text-align: center; }
.hero-stat-item .hero-stat-num {
    font-size: 2rem; font-weight: 800; color: #D97706; display: inline;
}
.hero-stat-item .hero-stat-text {
    display: block; font-size: 13px; color: #9CA3AF; margin-top: 4px;
}
.hero-stat-divider { width: 1px; background: rgba(255,255,255,0.15); }
.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 3; cursor: pointer; animation: float 2s ease-in-out infinite;
}
.scroll-arrow {
    width: 24px; height: 24px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
}

/* Sections */
.section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; padding: 6px 16px;
    background: rgba(217,119,6,0.1); color: #D97706;
    border-radius: 100px; font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.section-tag.light { background: rgba(217,119,6,0.2); color: #F59E0B; }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
    color: #111827; line-height: 1.2; margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-title.text-center { text-align: center; }
.section-subtitle {
    font-size: 1.1rem; color: #6B7280;
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.section-subtitle.light { color: #9CA3AF; }
.dark-section { background: #111827; padding: 100px 0; }
.alt-bg { background: #F9FAFB; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 15px;
    transition: all 0.3s ease; border: none; cursor: pointer; text-decoration: none; line-height: 1.4;
    font-family: var(--font-main);
}
.btn-primary { background: #D97706; color: #fff; }
.btn-primary:hover { background: #B45309; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(217,119,6,0.35); }
.btn-outline { background: transparent; color: #D97706; border: 2px solid #D97706; }
.btn-outline:hover { background: #D97706; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* Additional Button Variants */
.btn-default {
    background: var(--white); border: 1px solid var(--gray-300); color: var(--gray-700);
}
.btn-default:hover { background: var(--gray-50); border-color: var(--gray-400); color: var(--gray-900); }
.btn-secondary {
    background: var(--dark);
    color: var(--white) !important;
}
.btn-secondary:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}
.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    padding: 10px 16px;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-success { background: var(--success); color: var(--white); box-shadow: 0 2px 4px rgba(16,185,129,0.3); }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-rounded { border-radius: var(--radius-full); }
.btn-icon {
    width: 40px; height: 40px;
    padding: 0;
    border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
}

/* Feature Cards */
.features-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
    padding: 36px 28px; text-align: center; transition: all 0.4s ease;
}
.feature-card:hover { border-color: #D97706; transform: translateY(-8px); box-shadow: 0 20px 40px rgba(217,119,6,0.1); }
.feature-icon {
    width: 64px; height: 64px; background: rgba(217,119,6,0.08); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #D97706;
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #D97706, #B45309);
    box-shadow: 0 8px 20px rgba(217,119,6,0.3);
}
.feature-card:hover .feature-icon svg { color: #fff; stroke: #fff; }
.feature-title { font-size: 1.1rem; font-weight: 700; color: #111827; margin-bottom: 10px; }
.feature-desc { font-size: 0.95rem; color: #6B7280; line-height: 1.6; }

/* Products Preview (dark section) */
.products-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-showcase-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; overflow: hidden; transition: all 0.4s ease;
}
.product-showcase-card:hover { transform: translateY(-8px); border-color: #D97706; box-shadow: 0 20px 50px rgba(217,119,6,0.15); }
.product-image { overflow: hidden; }
.product-image img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.5s ease; }
.product-showcase-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 28px; }
.product-name { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.product-desc { font-size: 0.95rem; color: #9CA3AF; line-height: 1.7; margin-bottom: 16px; }
.product-colors { display: flex; gap: 8px; margin-bottom: 20px; }
.color-dot {
    width: 24px; height: 24px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2); cursor: pointer; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    padding: 0; margin: 0; font: inherit; line-height: 0; vertical-align: middle;
    appearance: none; -webkit-appearance: none; box-sizing: border-box;
}
.color-dot:hover { transform: scale(1.2); }
.color-dot:focus-visible {
    outline: 2px solid #F59E0B;
    outline-offset: 2px;
}
.color-dot.active {
    border-color: #F59E0B;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.45);
}
#homePortableImg { transition: opacity 0.2s ease, transform 0.5s ease; }

/* Stats */
.stats-section { padding: 100px 0; }
.stats-section .stats-grid,
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.stat-item { text-align: center; padding: 32px 16px; }
.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900;
    color: #D97706; line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 0.95rem; color: #6B7280; }
.stat-label.light { color: #9CA3AF; }
.counter { display: inline; }
.dark-section .stat-item {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
}
.dark-section .stat-item:hover {
    background: rgba(255,255,255,0.06); border-color: rgba(217,119,6,0.3);
    transform: translateY(-4px);
}
.dark-section .stat-number { color: #F59E0B; text-shadow: 0 0 30px rgba(245,158,11,0.3); }
.dark-section .stat-label { color: #9CA3AF; }

/* CTA Section */
.cta-section { position: relative; padding: 100px 0; overflow: hidden; }
.cta-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
}
.cta-bg::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(217,119,6,0.12) 0%, transparent 50%);
}
.cta-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 700px; margin: 0 auto;
}
.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
    color: #fff; margin-bottom: 16px;
}
.cta-desc {
    font-size: 1.1rem; color: #9CA3AF;
    margin-bottom: 36px; line-height: 1.7;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Page Hero (subpages) */
.page-hero {
    position: relative; min-height: 50vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 140px 20px 80px;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #111827 0%, #1F2937 60%, #111827 100%); z-index: 0;
}
.page-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(217,119,6,0.15) 0%, transparent 60%);
}
.page-hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 800px; margin: 0 auto;
}
.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
    color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem); color: #9CA3AF; line-height: 1.7;
}

/* Product Detail */
.product-detail-section { overflow: hidden; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-detail-grid.reverse > :first-child { order: 2; }
.product-detail-grid.reverse > :last-child { order: 1; }
.product-gallery { position: relative; }
.product-main-image { border-radius: 16px; overflow: hidden; background: #F3F4F6; }
.product-main-image img { width: 100%; height: auto; display: block; }
.product-badge {
    display: inline-block; padding: 6px 16px;
    background: rgba(217,119,6,0.1); color: #D97706;
    border-radius: 100px; font-size: 13px; font-weight: 600;
    letter-spacing: 1px; margin-bottom: 16px;
}
.product-detail-title { font-size: 2.2rem; font-weight: 800; color: #111827; margin-bottom: 16px; }
.product-detail-title.light { color: #fff; }
.product-detail-desc { font-size: 1.05rem; color: #6B7280; line-height: 1.8; margin-bottom: 24px; }
.product-detail-desc.light { color: #D1D5DB; }
.product-highlights { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.highlight-item { display: flex; gap: 16px; align-items: flex-start; }
.highlight-icon {
    width: 48px; height: 48px; background: rgba(217,119,6,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: #D97706; flex-shrink: 0;
}
.highlight-item h4 { font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: 4px; }
.highlight-item h4.light { color: #fff; }
.highlight-item p { font-size: 0.9rem; color: #6B7280; }
.highlight-item p.light { color: #D1D5DB; }
.product-use-cases { margin-bottom: 28px; }
.product-use-cases h4 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.use-cases-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.use-case-tag {
    padding: 8px 16px; background: rgba(217,119,6,0.08);
    color: #B45309; border-radius: 8px; font-size: 14px; font-weight: 500;
}
.color-swatches { display: flex; gap: 12px; margin-top: 16px; justify-content: center; }
.color-swatch {
    width: 44px; height: 44px; border-radius: 50%;
    border: 3px solid transparent; cursor: pointer; transition: all 0.3s; position: relative;
}
.color-swatch.active { border-color: #D97706; box-shadow: 0 0 0 3px rgba(217,119,6,0.2); }
.color-swatch:hover { transform: scale(1.1); }
.swatch-label {
    position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%);
    font-size: 11px; color: #6B7280; white-space: nowrap; opacity: 0; transition: opacity 0.2s;
}
.color-swatch:hover .swatch-label { opacity: 1; }

/* Specs Table */
.specs-table-wrapper {
    max-width: 800px; margin: 0 auto; border-radius: 16px;
    overflow: hidden; border: 1px solid #E5E7EB;
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid #F3F4F6; }
.specs-table tr:last-child { border-bottom: none; }
.spec-label { padding: 18px 24px; font-weight: 600; color: #374151; background: #F9FAFB; width: 40%; }
.spec-value { padding: 18px 24px; color: #111827; font-weight: 500; }

/* Features Full Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-full-card {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
    padding: 36px; position: relative; transition: all 0.4s ease; overflow: hidden;
}
.feature-full-card:hover { border-color: #D97706; transform: translateY(-6px); box-shadow: 0 15px 35px rgba(217,119,6,0.1); }
.feature-number { position: absolute; top: 16px; right: 20px; font-size: 3rem; font-weight: 900; color: rgba(217,119,6,0.08); line-height: 1; }
.feature-icon-box {
    width: 60px; height: 60px; background: rgba(217,119,6,0.08); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; color: #D97706; margin-bottom: 20px;
}
.feature-full-title { font-size: 1.15rem; font-weight: 700; color: #111827; margin-bottom: 10px; }
.feature-full-desc { font-size: 0.95rem; color: #6B7280; line-height: 1.7; }

/* Comparison Table */
.comparison-table-wrapper {
    max-width: 900px; margin: 0 auto; border-radius: 16px;
    overflow: hidden; border: 1px solid #E5E7EB; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table thead th { padding: 20px 24px; font-size: 1rem; font-weight: 700; text-align: left; }
.feature-col { background: #F9FAFB; color: #374151; width: 25%; }
.belief-col { background: rgba(217,119,6,0.08); color: #B45309; width: 37.5%; }
.other-col { background: #F9FAFB; color: #4B5563; width: 37.5%; }
.comparison-table tbody td { padding: 16px 24px; border-top: 1px solid #F3F4F6; font-size: 0.95rem; }
.feature-name { font-weight: 600; color: #374151; background: #FAFAFA; }
.belief-val { color: #1F2937; background: rgba(217,119,6,0.03); }
.other-val { color: #6B7280; }
.check-icon { color: #10B981; font-weight: 700; margin-right: 6px; }
.cross-icon { color: #EF4444; font-weight: 700; margin-right: 6px; }

/* Story/About Section */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-text { font-size: 1.05rem; color: #4B5563; line-height: 1.8; margin-bottom: 16px; }
.mission-section { padding: 80px 0; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
    background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
    padding: 32px; text-align: center; transition: all 0.4s ease;
}
.value-card:hover { border-color: #D97706; transform: translateY(-6px); box-shadow: 0 15px 35px rgba(217,119,6,0.08); }
.value-icon {
    width: 60px; height: 60px; background: rgba(217,119,6,0.08); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; color: #D97706; margin: 0 auto 16px;
}
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #111827; }
.value-card p { font-size: 0.9rem; color: #6B7280; line-height: 1.6; }
.company-info-card {
    max-width: 600px; margin: 0 auto; text-align: center;
    padding: 48px; background: #fff; border-radius: 20px; border: 1px solid #E5E7EB;
}
.company-logo { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.company-name { font-size: 1.1rem; color: #4B5563; margin-bottom: 24px; }
.company-contacts { display: flex; flex-direction: column; gap: 12px; }
.company-contact-item { display: flex; align-items: center; gap: 12px; justify-content: center; color: #4B5563; }
.company-contact-item a { color: #D97706; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; color: #111827; }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px; background: #F9FAFB; border-radius: 12px;
    border: 1px solid #E5E7EB; transition: all 0.3s;
}
.contact-card:hover { border-color: #D97706; background: #fff; }
.contact-card-icon {
    width: 48px; height: 48px; background: rgba(217,119,6,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: #D97706; flex-shrink: 0;
}
.contact-card h4 { font-weight: 600; color: #111827; margin-bottom: 4px; }
.contact-card a, .contact-card p { font-size: 0.95rem; color: #4B5563; }
.contact-card a:hover { color: #D97706; }
.distributor-card {
    padding: 24px; background: linear-gradient(135deg, rgba(217,119,6,0.08), rgba(245,158,11,0.05));
    border: 1px solid rgba(217,119,6,0.2); border-radius: 12px;
}
.distributor-card h3 { font-size: 1.1rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.distributor-card p { font-size: 0.9rem; color: #4B5563; line-height: 1.6; }
.contact-form-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; color: #111827; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-group label .required { color: var(--error); }
.form-input, .form-textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #E5E7EB; border-radius: 10px;
    font-size: 15px; color: #111827; transition: all 0.3s; background: #fff; outline: none;
    font-family: inherit;
}
.form-input:focus, .form-textarea:focus { border-color: #D97706; box-shadow: 0 0 0 3px rgba(217,119,6,0.1); }
.form-textarea { resize: vertical; }
.form-group select,
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px; color: var(--gray-900);
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
}
.form-group select:focus,
.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}
.radio-group { display: flex; gap: 20px; }
.radio-group label {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; font-size: 14px; color: var(--gray-700);
}
.radio-group input[type="radio"] { width: 18px; height: 18px; accent-color: var(--primary); }

/* Site Footer */
.site-footer { background: #111827; color: #D1D5DB; padding-top: 64px; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px;
    padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-logo .brand-icon { font-size: 24px; }
.footer-logo .brand-text { font-size: 20px; font-weight: 700; color: #fff; }
.footer-brand-desc { font-size: 0.9rem; color: #9CA3AF; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
    width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: #9CA3AF;
    transition: all 0.3s; text-decoration: none;
}
.social-link:hover { background: #D97706; color: #fff; transform: translateY(-3px); }
.footer-links-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-links-list { list-style: none; padding: 0; margin: 0; }
.footer-links-list li { margin-bottom: 12px; }
.footer-links-list a { color: #9CA3AF; font-size: 0.9rem; transition: color 0.2s; text-decoration: none; }
.footer-links-list a:hover { color: #D97706; }
.footer-newsletter-desc { font-size: 0.9rem; color: #9CA3AF; margin-bottom: 16px; line-height: 1.6; }
.footer-newsletter-form { display: flex; gap: 8px; margin-bottom: 20px; }
.footer-newsletter-input {
    flex: 1; padding: 12px 16px; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; color: #fff; font-size: 14px; outline: none;
}
.footer-newsletter-input::placeholder { color: #6B7280; }
.footer-newsletter-input:focus { border-color: #D97706; }
.footer-newsletter-btn {
    padding: 12px 20px; background: #D97706; color: #fff; border: none; border-radius: 8px;
    font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.3s; white-space: nowrap;
}
.footer-newsletter-btn:hover { background: #B45309; }
.footer-contact-info { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.footer-contact-item svg { color: #D97706; flex-shrink: 0; }
.footer-contact-item a { color: #9CA3AF; text-decoration: none; }
.footer-contact-item a:hover { color: #D97706; }
.footer-bottom { padding: 24px 0; }
.footer-bottom-content {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-copyright { font-size: 0.85rem; color: #6B7280; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.85rem; color: #6B7280; text-decoration: none; }
.footer-legal a:hover { color: #D97706; }

/* Old Footer Compat */
.footer { background: var(--white); border-top: 1px solid var(--gray-200); padding: 40px 0; }
.footer-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { color: var(--gray-600); font-size: 14px; }
.footer-links a:hover { color: var(--primary); }

/* Old Footer (with footer-brand, footer-links-group, newsletter) */
.footer-brand { max-width: 320px; }
.footer-brand .brand-text {
    font-size: 24px; font-weight: 800;
    margin-bottom: 16px; display: block;
}
.footer-brand .footer-desc {
    font-size: 14px; color: rgba(156, 163, 175, 0.8);
    line-height: 1.7; margin-bottom: 20px;
}
.footer-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: var(--gray-400); font-size: 18px;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--primary); color: var(--white);
    transform: translateY(-2px);
}
.footer-links-group h4 {
    font-size: 14px; font-weight: 700; color: var(--white);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.footer-links-group ul { list-style: none; }
.footer-links-group li { margin-bottom: 10px; }
.footer-links-group a {
    font-size: 14px; color: rgba(156, 163, 175, 0.8);
    transition: all 0.2s; display: inline-block;
}
.footer-links-group a:hover { color: var(--accent); transform: translateX(4px); }
.footer-newsletter h4 {
    font-size: 14px; font-weight: 700; color: var(--white);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.footer-newsletter p {
    font-size: 13px; color: rgba(156, 163, 175, 0.7);
    margin-bottom: 16px; line-height: 1.6;
}
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
    flex: 1; padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm); color: var(--white); font-size: 14px; outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(156, 163, 175, 0.5); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
    padding: 10px 18px; background: var(--primary); border: none;
    border-radius: var(--radius-sm); color: var(--white);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background 0.2s; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent); }

/* Navbar Scroll */
.navbar-transparent.navbar-scrolled {
    background: rgba(17,24,39,0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(255,255,255,0.1) !important;
}

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal.reveal-left { transform: translateX(-30px); }
.reveal.reveal-left.active { transform: translateX(0); }
.reveal.reveal-right { transform: translateX(30px); }
.reveal.reveal-right.active { transform: translateX(0); }
.reveal.reveal-scale { transform: scale(0.9); }
.reveal.reveal-scale.active { transform: scale(1); }

.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.7s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.8s; }

.floating { animation: float 3s ease-in-out infinite; }
.floating-slow { animation: float 5s ease-in-out infinite; }
.pulse-glow { animation: borderGlow 2s ease-in-out infinite; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes borderGlow { 0%, 100% { border-color: rgba(217, 119, 6, 0.2); } 50% { border-color: rgba(217, 119, 6, 0.5); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile Menu Override */
.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; flex-direction: column; gap: 5px; z-index: 1001;
}
.mobile-menu-btn span {
    display: block; width: 24px; height: 2px; background: #374151;
    transition: all 0.3s; border-radius: 2px;
}
.navbar-transparent .mobile-menu-btn span { background: #fff; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== 12. SEARCH PAGE ========== */
.page-search { background: var(--gray-50); }
.page-search .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}
.page-search .nav-link { color: var(--gray-600); }
.page-search .nav-link:hover { color: var(--primary); }
.page-search .nav-link.active { color: var(--primary); }
.page-search .user-btn { border-color: var(--gray-300); color: var(--gray-700); }
.page-search .lang-btn { border-color: var(--gray-300); color: var(--gray-600); }
.search-main { flex: 1; padding: 90px 20px 40px; }

.search-layout {
    display: flex; gap: 24px;
    max-width: var(--container-wide); margin: 0 auto;
    align-items: flex-start;
}

.search-sidebar {
    width: 260px; flex-shrink: 0;
    position: sticky; top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.search-sidebar::-webkit-scrollbar { display: none; }
.sidebar-inner {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--gray-200); box-shadow: var(--shadow);
    overflow: hidden;
}
.sidebar-section {
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}
.sidebar-section:last-child { border-bottom: none; }

.sidebar-section .section-title {
    font-size: 12px; font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 14px;
}

/* Stats section (search sidebar) */
.sidebar-inner .stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center; padding: 24px 20px;
}
.stats-number {
    font-size: 28px; font-weight: 700;
    color: var(--white); line-height: 1.2; margin-bottom: 4px;
}
.stats-label { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }
.stats-time { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* Filter options */
.filter-options { display: flex; flex-direction: column; gap: 10px; }
.filter-radio {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; padding: 8px 12px;
    border-radius: 8px; transition: background 0.2s;
}
.filter-radio:hover { background: var(--gray-50); }
.filter-radio input[type="radio"] { display: none; }
.radio-mark {
    width: 18px; height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 50%; position: relative;
    transition: all 0.2s; flex-shrink: 0;
}
.filter-radio input[type="radio"]:checked + .radio-mark { border-color: var(--primary); }
.filter-radio input[type="radio"]:checked + .radio-mark::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    background: var(--primary); border-radius: 50%;
}
.radio-label { font-size: 14px; color: var(--gray-700); }
.filter-radio input[type="radio"]:checked ~ .radio-label { color: var(--primary); font-weight: 500; }

.filter-checkbox {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; padding: 8px 12px;
    border-radius: 8px; transition: background 0.2s;
}
.filter-checkbox:hover { background: var(--gray-50); }
.filter-checkbox input[type="checkbox"] { display: none; }
.checkbox-mark {
    width: 18px; height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 5px; position: relative;
    transition: all 0.2s; flex-shrink: 0;
}
.filter-checkbox input[type="checkbox"]:checked + .checkbox-mark {
    background: var(--primary); border-color: var(--primary);
}
.filter-checkbox input[type="checkbox"]:checked + .checkbox-mark::after {
    content: ''; position: absolute;
    top: 2px; left: 5px;
    width: 5px; height: 9px;
    border: solid white; border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-label { font-size: 14px; color: var(--gray-700); }
.filter-checkbox input[type="checkbox"]:checked ~ .checkbox-label { color: var(--primary); font-weight: 500; }

.page-size-options { display: flex; gap: 8px; }
.size-btn {
    flex: 1; padding: 10px 0;
    background: var(--gray-100); border: 1px solid var(--gray-200);
    border-radius: 8px; font-size: 14px; font-weight: 500;
    color: var(--gray-600); cursor: pointer; transition: all 0.2s;
}
.size-btn:hover { background: var(--gray-200); color: var(--gray-800); }
.size-btn.active {
    background: var(--primary); border-color: var(--primary);
    color: var(--white); box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
}

.btn-export-full {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px 16px;
    background: var(--white); border: 1px solid var(--gray-300);
    border-radius: 8px; font-size: 14px; font-weight: 500;
    color: var(--gray-700); cursor: pointer; transition: all 0.2s;
}
.btn-export-full:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-export-full svg { flex-shrink: 0; }

.search-content { flex: 1; min-width: 0; }

/* Sort bar */
.sort-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); margin-bottom: 16px;
    box-shadow: var(--shadow); flex-wrap: wrap;
}
.sort-bar-label { font-size: 13px; color: var(--gray-500); font-weight: 500; white-space: nowrap; }
.sort-bar-options { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.sort-chip {
    display: inline-flex; align-items: center;
    padding: 5px 14px; border-radius: var(--radius-full);
    font-size: 13px; color: var(--gray-600);
    background: var(--gray-100); cursor: pointer;
    transition: all 0.2s; white-space: nowrap; user-select: none;
}
.sort-chip input { display: none; }
.sort-chip:hover { background: rgba(217, 119, 6, 0.08); color: var(--primary-dark); }
.sort-chip.active,
.sort-chip:has(input:checked) {
    background: var(--primary); color: var(--white);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}
.sort-bar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.sort-bar-time { font-size: 12px; color: var(--gray-400); white-space: nowrap; }
.sort-bar-hint { font-size: 11px; color: var(--gray-400); white-space: nowrap; }

/* Old toolbar compat */
.search-container { max-width: 900px; margin: 0 auto; }
.search-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--white); padding: 16px 20px; border-radius: var(--radius);
    border: 1px solid var(--gray-200); box-shadow: var(--shadow);
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.toolbar-left { color: var(--gray-600); font-size: 14px; font-weight: 500; }
.toolbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.toolbar-option { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); }
.toolbar-option select {
    padding: 6px 12px; border: 1px solid var(--gray-300);
    border-radius: 6px; font-size: 13px; outline: none;
    background: var(--white); color: var(--gray-700);
}
.toolbar-option input[type="checkbox"] {
    width: 16px; height: 16px; accent-color: var(--primary);
    border: 1px solid var(--gray-300); border-radius: 4px;
}
.btn-export {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px; background: var(--white); border: 1px solid var(--gray-300);
    border-radius: 6px; font-size: 13px; color: var(--gray-700); cursor: pointer;
    transition: all 0.2s; font-weight: 500;
}
.btn-export:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* Results */
.results-list { display: flex; flex-direction: column; gap: 16px; }
.result-item {
    background: var(--white); padding: 24px; border-radius: var(--radius);
    border: 1px solid var(--gray-200); box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.result-item:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.result-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.result-title-link {
    font-size: 18px; color: var(--gray-900); font-weight: 600;
    line-height: 1.4; max-width: 100%;
}
.result-title-link:hover { text-decoration: none; color: var(--primary); }
.result-title-link:visited { color: var(--gray-600); }
.result-title-link em.hl { color: #CC0000; font-style: normal; font-weight: 700; }

.contact-icon { font-size: 16px; opacity: 0.8; cursor: help; }
.detail-link { margin-left: auto; font-size: 13px; color: var(--primary); font-weight: 500; }
.detail-link:hover { text-decoration: underline; }

.result-url-row { font-size: 13px; color: var(--success); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.result-url-row cite { font-style: normal; }

.result-snippet { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.result-snippet mark, .result-snippet em.hl { color: #CC0000; background: transparent; font-weight: 600; padding: 0; border-radius: 0; font-style: normal; }

.result-meta-row { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--gray-500); }
.meta-item { display: flex; align-items: center; gap: 4px; }
.meta-tag {
    padding: 4px 10px; background: var(--gray-100); color: var(--gray-600);
    border-radius: var(--radius-full); font-size: 12px; font-weight: 500;
}

.result-contact-row {
    background: var(--gray-50);
    margin: 16px -24px -24px; padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    border-radius: 0 0 var(--radius) var(--radius);
    display: flex; flex-direction: column; gap: 8px;
}
.contact-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.contact-label { color: var(--gray-500); font-weight: 500; }
.contact-link { color: var(--primary-dark); }
.contact-link:hover { text-decoration: underline; }
.contact-text { color: var(--gray-700); }
.contact-sep { color: var(--gray-300); margin: 0 4px; }
.contact-more { color: var(--gray-400); font-size: 12px; }

/* Pagination */
.pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 40px; padding: 20px 0;
}
.page-btn {
    min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: var(--white); border: 1px solid var(--gray-300);
    color: var(--gray-700); font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.page-btn:hover:not(:disabled) { background: var(--gray-50); border-color: var(--gray-400); }
.page-btn:disabled { color: var(--gray-400); cursor: not-allowed; opacity: 0.6; }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3); }
.page-info { color: var(--gray-400); font-size: 14px; margin: 0 8px; }

/* ========== 13. MODALS ========== */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; }
.modal.show { display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); }
.modal-dialog {
    position: relative; background: var(--white); border-radius: var(--radius);
    width: 100%; max-width: 600px; max-height: 90vh;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-sm { max-width: 400px; }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--gray-100);
}
.modal-header h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); }
.modal-close {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; font-size: 24px; color: var(--gray-400);
    cursor: pointer; border-radius: 6px; transition: all 0.2s;
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-600); }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: 12px;
    padding: 20px 24px; border-top: 1px solid var(--gray-100);
    background: var(--gray-50); border-radius: 0 0 var(--radius) var(--radius);
}

.detail-section { margin-bottom: 24px; }
.detail-section h4 { font-size: 12px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.5px; }
.detail-content { font-size: 15px; color: var(--gray-700); line-height: 1.6; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.detail-item { padding: 12px 16px; background: var(--gray-50); border-radius: 8px; border: 1px solid var(--gray-100); }
.detail-item .label { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }
.detail-item .value { font-size: 14px; color: var(--gray-900); font-weight: 500; word-break: break-all; }

.contact-detail-list { display: flex; flex-direction: column; gap: 16px; }
.contact-detail-item { display: flex; flex-direction: column; gap: 8px; }
.contact-detail-label { font-size: 13px; color: var(--gray-500); font-weight: 500; }
.contact-detail-values { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-detail-value {
    display: inline-block; padding: 6px 12px;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: 6px; font-size: 13px; color: var(--gray-700);
    word-break: break-all; text-decoration: none; transition: all 0.2s;
}
a.contact-detail-value { color: var(--primary); background: var(--primary-light); border-color: transparent; }
a.contact-detail-value:hover { background: var(--primary); color: var(--white); }

/* ========== 14. VIP MODAL ========== */
.vip-modal {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000; align-items: center; justify-content: center;
}
.vip-modal.show { display: flex; }
.vip-modal-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
}
.vip-modal-content {
    position: relative; background: #fff; border-radius: 20px;
    padding: 40px; max-width: 420px; width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalIn 0.3s ease;
}
.vip-modal-icon { font-size: 48px; margin-bottom: 16px; }
.vip-modal-title { font-size: 22px; color: var(--gray-900); margin-bottom: 12px; }
.vip-modal-desc { color: var(--gray-600); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.vip-modal-contact {
    background: var(--gray-50); border-radius: 12px;
    padding: 16px; margin-bottom: 24px;
}
.vip-modal-contact p {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; color: var(--gray-700); font-size: 14px; margin-bottom: 8px;
}
.vip-modal-contact p:last-child { margin-bottom: 0; }
.vip-modal-contact strong { color: var(--primary); }
.vip-modal-buttons { display: flex; gap: 12px; justify-content: center; }
.vip-modal-buttons .btn {
    padding: 10px 24px; border-radius: var(--radius-full);
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: all 0.2s; text-decoration: none;
}
.vip-modal-buttons .btn-default { background: var(--gray-100); color: var(--gray-700); border: none; }
.vip-modal-buttons .btn-default:hover { background: var(--gray-200); }
.vip-modal-buttons .btn-vip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff; border: none;
}
.vip-modal-buttons .btn-vip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

/* ========== 15. LOADING STATES ========== */
.loading-mask {
    display: none; position: fixed; inset: 0; z-index: 3000;
    background: rgba(8, 12, 30, 0.65); backdrop-filter: blur(12px);
    align-items: center; justify-content: center;
}
.loading-mask.show { display: flex; }

.search-loading-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    padding: 48px 56px 40px;
    background: linear-gradient(145deg, rgba(17,24,39,0.95), rgba(31,41,55,0.95));
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 24px;
    box-shadow: 0 0 80px rgba(217, 119, 6, 0.15), 0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden; min-width: 320px;
}
.search-loading-glow {
    position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.search-loading-anim { width: 90px; height: 90px; margin-bottom: 28px; }
.search-loading-svg { width: 100%; height: 100%; }
.search-loading-svg .track { fill: none; stroke: rgba(255,255,255,0.04); stroke-width: 2; }
.search-loading-svg .arc {
    fill: none; stroke-width: 2.5; stroke-linecap: round;
    transform-origin: 50% 50%;
}
.arc-1 {
    stroke: var(--primary);
    stroke-dasharray: 60 192;
    animation: arcSpin 1.4s linear infinite;
    filter: drop-shadow(0 0 4px rgba(217, 119, 6, 0.6));
}
.arc-2 {
    stroke: var(--accent);
    stroke-dasharray: 40 148;
    animation: arcSpin 1.8s linear infinite reverse;
    filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.5));
}
.arc-3 {
    stroke: #FDE68A;
    stroke-dasharray: 25 100;
    animation: arcSpin 1.1s linear infinite;
    filter: drop-shadow(0 0 3px rgba(253, 230, 138, 0.5));
}
@keyframes arcSpin { to { transform: rotate(360deg); } }

.search-loading-bar-track {
    width: 220px; height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px; overflow: hidden; margin-bottom: 12px;
}
.search-loading-bar-fill {
    height: 100%; width: 0%; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), #FDE68A);
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.6);
    transition: width 0.15s ease;
}
.search-loading-percent {
    font-size: 20px; font-weight: 700;
    color: var(--accent); margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}
.search-loading-text {
    font-size: 14px; color: rgba(156,163,175,0.9); letter-spacing: 0.5px;
}

.loading-inline { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px; color: var(--gray-500); }
.spinner-small {
    width: 20px; height: 20px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ========== 16. TOAST ========== */
.toast {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px; background: var(--gray-900); color: var(--white);
    border-radius: 50px; font-size: 14px; font-weight: 500; z-index: 4000;
    opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.empty-state { text-align: center; padding: 80px 20px; color: var(--gray-500); }
.empty-state h3 { font-size: 18px; color: var(--gray-900); margin-bottom: 8px; font-weight: 600; }

/* ========== 17. ABOUT PAGE (OLD/COMPAT) ========== */
.page-about { background: var(--gray-50); }
.page-about .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}
.page-about .nav-link { color: var(--gray-600); }
.page-about .nav-link:hover { color: var(--primary); }
.page-about .nav-link.active { color: var(--primary); }
.page-about .user-btn { border-color: var(--gray-300); color: var(--gray-700); }
.page-about .lang-btn { border-color: var(--gray-300); color: var(--gray-600); }
.about-main { flex: 1; padding: 100px 20px 60px; }
.about-container { max-width: 900px; margin: 0 auto; }
.about-container h1 { font-size: 36px; font-weight: 800; color: var(--gray-900); margin-bottom: 40px; text-align: center; letter-spacing: -0.5px; }

.about-section { margin-bottom: 60px; }
.about-section h2 {
    font-size: 24px; font-weight: 700; color: var(--gray-900);
    margin-bottom: 24px; padding-bottom: 12px;
    border-bottom: 2px solid var(--primary); display: inline-block;
}
.about-section p { font-size: 16px; color: var(--gray-600); line-height: 1.8; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-item {
    display: flex; gap: 20px; padding: 30px;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--gray-100);
    transition: all 0.3s;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-item .feature-icon {
    font-size: 32px; background: var(--primary-light);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
}
.feature-content h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.feature-content p { font-size: 14px; color: var(--gray-600); margin: 0; }

.stats-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat-box {
    text-align: center; padding: 30px 50px;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--gray-100);
}
.stat-box .stat-number { font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-box .stat-text { font-size: 14px; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ========== 18. DATA INFO PAGE ========== */
.page-data-info .data-info-main { padding-top: 70px; }

.page-data-info .data-hero {
    position: relative; min-height: 420px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 30%, #fef9c3 70%, #f8fafc 100%);
}
.page-data-info .data-hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
.page-data-info .data-grid-lines {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(217, 119, 6, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 119, 6, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
}
.page-data-info .data-particles {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(3px 3px at 15% 25%, rgba(217, 119, 6, 0.3), transparent),
        radial-gradient(2px 2px at 35% 65%, rgba(217, 119, 6, 0.25), transparent),
        radial-gradient(3px 3px at 55% 15%, rgba(217, 119, 6, 0.2), transparent),
        radial-gradient(2px 2px at 75% 45%, rgba(217, 119, 6, 0.3), transparent),
        radial-gradient(2px 2px at 85% 85%, rgba(217, 119, 6, 0.2), transparent);
}
.page-data-info .data-hero-content {
    position: relative; z-index: 1; text-align: center;
    padding: 60px 20px; max-width: 900px;
}
.page-data-info .data-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800;
    color: var(--gray-900); margin-bottom: 20px; letter-spacing: -0.5px;
}
.page-data-info .data-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem); color: var(--gray-600);
    line-height: 1.8; max-width: 680px; margin: 0 auto 40px;
}
.page-data-info .data-hero-stats { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.page-data-info .hero-stat {
    text-align: center; padding: 20px 30px;
    background: rgba(255, 255, 255, 0.8); border-radius: 16px;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.1);
}
.page-data-info .hero-stat-value { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.page-data-info .hero-stat-label { display: block; font-size: 0.85rem; color: var(--gray-500); margin-top: 6px; font-weight: 500; }

.page-data-info .data-fields-section { padding: 80px 0; background: var(--white); }
.page-data-info .data-fields-section .container,
.page-data-info .contact-info-section .container,
.page-data-info .data-sale-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.page-data-info .section-header { text-align: center; margin-bottom: 50px; }
.page-data-info .section-tag {
    display: inline-block; padding: 8px 20px;
    background: var(--primary-light);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-dark); font-size: 0.8rem;
    font-weight: 600; letter-spacing: 1px; margin-bottom: 16px;
}
.page-data-info .data-fields-section .section-title,
.page-data-info .contact-info-section .section-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem); font-weight: 700;
    color: var(--gray-900); margin-bottom: 12px;
}
.page-data-info .section-desc {
    font-size: 1rem; color: var(--gray-500);
    max-width: 550px; margin: 0 auto; line-height: 1.7;
}

.page-data-info .fields-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px;
}
.page-data-info .field-card {
    position: relative; background: var(--gray-50);
    border: 1px solid var(--gray-200); border-radius: 16px;
    padding: 28px; transition: all 0.3s ease; overflow: hidden;
}
.page-data-info .field-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.page-data-info .field-card-glow {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0; transition: opacity 0.3s;
}
.page-data-info .field-card:hover .field-card-glow { opacity: 1; }
.page-data-info .field-card-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.page-data-info .field-card-icon svg { width: 26px; height: 26px; stroke: var(--primary); }
.page-data-info .field-card-title { font-size: 1.15rem; font-weight: 600; color: var(--gray-900); margin-bottom: 10px; }
.page-data-info .field-card-list { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

.page-data-info .contact-info-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.page-data-info .contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.page-data-info .contact-info-content .section-tag { margin-bottom: 14px; }
.page-data-info .contact-info-content .section-title { text-align: left; margin-bottom: 16px; }
.page-data-info .contact-info-content .section-desc { text-align: left; margin: 0 0 28px 0; max-width: none; }
.page-data-info .social-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.page-data-info .social-icon {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius-full);
    color: var(--gray-700); font-size: 0.85rem; transition: all 0.3s;
}
.page-data-info .social-icon:hover {
    background: var(--primary-light); border-color: var(--primary);
    color: var(--primary-dark); transform: translateY(-2px);
}
.page-data-info .contact-info-visual {
    position: relative; height: 280px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(217, 119, 6, 0.08) 100%);
    border-radius: 24px; overflow: hidden;
}
.page-data-info .data-flow-animation { position: relative; width: 100%; height: 100%; }
.page-data-info .flow-line {
    position: absolute; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: flowLineLight 3s ease-in-out infinite;
}
.page-data-info .flow-line:nth-child(1) { top: 30%; left: 10%; width: 80%; animation-delay: 0s; }
.page-data-info .flow-line:nth-child(2) { top: 50%; left: 5%; width: 90%; animation-delay: 1s; }
.page-data-info .flow-line:nth-child(3) { top: 70%; left: 15%; width: 70%; animation-delay: 2s; }
@keyframes flowLineLight {
    0%, 100% { opacity: 0.2; transform: scaleX(0.5); }
    50% { opacity: 0.6; transform: scaleX(1); }
}
.page-data-info .flow-dot {
    position: absolute; width: 10px; height: 10px;
    background: var(--primary); border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    animation: flowDotLight 4s ease-in-out infinite;
}
.page-data-info .flow-dot:nth-child(4) { top: 30%; animation-delay: 0s; }
.page-data-info .flow-dot:nth-child(5) { top: 50%; animation-delay: 1.3s; }
.page-data-info .flow-dot:nth-child(6) { top: 70%; animation-delay: 2.6s; }
@keyframes flowDotLight {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.page-data-info .data-sale-section { padding: 80px 0 100px; background: var(--white); }
.page-data-info .sale-card {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(217, 119, 6, 0.08) 100%);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 24px; padding: 50px; text-align: center; overflow: hidden;
}
.page-data-info .sale-card-bg { display: none; }
.page-data-info .sale-card-content { position: relative; z-index: 1; }
.page-data-info .sale-icon { font-size: 3.5rem; margin-bottom: 20px; }
.page-data-info .sale-title {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
    color: var(--gray-900); margin-bottom: 14px;
}
.page-data-info .sale-desc {
    font-size: 1rem; color: var(--gray-500);
    max-width: 480px; margin: 0 auto 32px; line-height: 1.7;
}
.page-data-info .sale-contact {
    background: var(--white); border-radius: 16px;
    padding: 28px; max-width: 450px; margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.page-data-info .sale-contact h3 { font-size: 1rem; color: var(--gray-700); margin-bottom: 18px; font-weight: 600; }
.page-data-info .sale-contact-items { display: flex; flex-direction: column; gap: 12px; }
.page-data-info .sale-contact-item {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 20px; background: var(--gray-50); border-radius: 10px;
    transition: all 0.3s;
}
.page-data-info .sale-contact-item:hover { background: var(--primary-light); }
.page-data-info .contact-icon { font-size: 1.1rem; }
.page-data-info .contact-label { color: var(--gray-500); font-size: 0.9rem; }
.page-data-info .contact-value { color: var(--primary-dark); font-weight: 600; font-size: 0.95rem; }

/* ========== 19. UTILITY CLASSES ========== */
.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
}
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }
.text-dark { color: var(--gray-900); }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 24px; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-normal { font-weight: 400; }

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }

/* Display utilities */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }
.d-inline-flex { display: inline-flex; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* Grid utilities */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Background utilities */
.bg-white { background: var(--white); }
.bg-light { background: var(--gray-50); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-primary { background: var(--primary); color: var(--white); }

/* Radius */
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow */
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }

/* Width */
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Divider */
.divider {
    height: 1px;
    background: var(--gray-200);
    margin: 32px 0;
}

/* ========== 20. RESPONSIVE ========== */
@media (max-width: 1024px) {
    /* Search layout */
    .search-layout { flex-direction: column; }
    .search-sidebar { width: 100%; position: relative; top: 0; max-height: none; }
    .sidebar-inner { display: flex; flex-wrap: wrap; gap: 0; }
    .sidebar-section {
        flex: 1; min-width: 200px;
        border-bottom: none; border-right: 1px solid var(--gray-100);
    }
    .sidebar-section:last-child { border-right: none; }
    .sidebar-inner .stats-section { width: 100%; flex: none; }
    /* Grid utilities */
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    /* Page sections */
    .features-preview, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-detail-grid.reverse > :first-child, .product-detail-grid.reverse > :last-child { order: 0; }
    .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Nav */
    .nav-container { padding: 0 16px; }
    .nav-search { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-menu {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: #fff; flex-direction: column; align-items: center;
        justify-content: center; gap: 20px; display: none; z-index: 1000;
    }
    .nav-menu.open { display: flex; }
    .nav-link { font-size: 18px; }
    .navbar-transparent .nav-menu.open { background: #111827; }
    .navbar-transparent .nav-menu.open .nav-link { color: #fff; }
    .user-name { display: none; }
    .lang-current { display: none; }
    /* Page sections */
    .features-preview, .features-grid, .products-preview { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .hero-stats-bar { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-content { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero { min-height: 40vh; padding: 120px 16px 60px; }
    .section, .dark-section { padding: 60px 0; }
    .comparison-table { font-size: 14px; }
    .comparison-table thead th, .comparison-table tbody td { padding: 12px 14px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    /* Search */
    .search-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
    .toolbar-right { justify-content: space-between; }
    .detail-grid { grid-template-columns: 1fr; }
    /* Modals */
    .modal-footer { flex-direction: column; }
    .modal-footer .btn { width: 100%; }
    /* About old */
    .feature-item { flex-direction: column; text-align: center; }
    .feature-item .feature-icon { margin: 0 auto; }
    /* Sidebar */
    .sidebar-inner { flex-direction: column; }
    .sidebar-section { border-right: none; border-bottom: 1px solid var(--gray-100); }
    .page-size-options { flex-wrap: wrap; }
    /* Grid utilities */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    /* Footer compat */
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .newsletter-form { flex-direction: column; }
    /* Data info */
    .page-data-info .data-hero { min-height: 380px; }
    .page-data-info .data-hero-stats { gap: 15px; }
    .page-data-info .hero-stat { padding: 15px 20px; }
    .page-data-info .hero-stat-value { font-size: 2rem; }
    .page-data-info .fields-grid { grid-template-columns: 1fr; }
    .page-data-info .contact-info-grid { grid-template-columns: 1fr; gap: 30px; }
    .page-data-info .contact-info-visual { display: none; }
    .page-data-info .sale-card { padding: 35px 20px; }
}

@media (max-width: 480px) {
    .vip-modal-content { padding: 28px 20px; }
}

/* ========== 21. RTL SUPPORT ========== */
[dir="rtl"] .nav-menu { direction: rtl; }
[dir="rtl"] .nav-container { direction: rtl; }
[dir="rtl"] .footer-links-group a:hover,
[dir="rtl"] .footer-links-list a:hover { transform: translateX(-4px); }
[dir="rtl"] .feature-full-card:nth-child(even) { flex-direction: row; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 40px; }
[dir="rtl"] .timeline::before { left: auto; right: 15px; }
[dir="rtl"] .timeline-item { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .timeline-item::before { left: auto; right: -33px; }

/* ========== 22. PRINT STYLES ========== */
@media print {
    .navbar,
    .site-footer,
    .footer,
    .mobile-menu,
    .bg-task-tracker,
    .toast,
    .modal,
    .vip-modal,
    .loading-mask { display: none !important; }

    body { background: white; color: black; }
    .page-hero,
    .home-hero-section,
    .hero-content-inner,
    .products-hero,
    .features-hero,
    .comparison-hero,
    .about-hero,
    .contact-hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 20px !important;
    }
    .page-hero-title,
    .page-hero-subtitle,
    .hero-title,
    .hero-subtitle,
    .hero-content-inner h1,
    .hero-content-inner p {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}
