/* ===== CSS Variables ===== */
:root {
    --primary: #7C3AED;
    --primary-light: #8B5CF6;
    --primary-dark: #6D28D9;
    --secondary: #00D4FF;
    --secondary-light: #38BDF8;
    --accent: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #64748B;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;
    
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
    
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #7C3AED 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0F172A 100%);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-width: 1280px;
    --nav-height: 72px;
    --nav-height-mobile: 60px;
    --mobile-bottom-nav-height: 64px;
    --mobile-bottom-nav-padding: 80px;
    
    /* Typography */
    --font-base-size: 17px;
    --font-base-size-mobile: 16px;
    --font-line-height: 1.7;
    --font-weight-regular: 500;
    --font-weight-medium: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Chinese font stack - system-first */
    --font-family-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: manipulation;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-base-size);
    font-weight: var(--font-weight-regular);
    line-height: var(--font-line-height);
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    /* Safe area support for notched devices */
    padding-top: env(safe-area-inset-top, 0);
}

/* Focus-visible accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

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

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    min-height: 48px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    width: 100%;
    font-weight: 500;
    touch-action: manipulation;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 14px;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    min-height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

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

@media (hover: hover) {
    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg), 0 0 30px rgba(124, 58, 237, 0.4);
    }
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-primary.large {
    padding: 18px 36px;
    font-size: 17px;
    min-height: 56px;
}

.btn-primary.full {
    width: 100%;
    justify-content: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    min-height: 48px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition-normal);
    touch-action: manipulation;
}

@media (hover: hover) {
    .btn-outline:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

.btn-outline:active {
    transform: scale(0.97);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    touch-action: manipulation;
}

@media (hover: hover) {
    .btn-ghost:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
}

.btn-ghost:active {
    transform: scale(0.97);
}

.btn-ghost.large {
    padding: 18px 36px;
    font-size: 17px;
    min-height: 56px;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 500;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

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

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

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* English mode: show image logo, hide text */
body.lang-en .logo-main,
body.lang-en .logo-sub {
    display: none;
}

body.lang-en .logo-image {
    display: block !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
    touch-action: manipulation;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

@media (hover: hover) {
    .nav-menu > li > a:hover {
        color: var(--primary);
    }

    .nav-menu > li > a:hover::after {
        width: 100%;
    }
}

.nav-menu > li > a:active {
    color: var(--primary-dark);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 560px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 22px;
    flex-shrink: 0;
}

.dropdown-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.dropdown-desc {
    font-size: 12px;
    color: var(--text-tertiary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    min-height: 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: 1px solid rgba(124, 58, 237, 0.2);
    touch-action: manipulation;
}

@media (hover: hover) {
    .ai-search-btn:hover {
        background: var(--gradient-primary);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    }
}

.ai-search-btn:active {
    transform: scale(0.97);
}

.lang-switch {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    padding: 4px;
}

.lang-btn {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.lang-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ===== Mobile Bottom Navigation ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-bottom-nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    padding: 0 8px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 48px;
    min-height: 48px;
    padding: 6px 12px;
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
    cursor: pointer;
    flex: 1;
    position: relative;
    touch-action: manipulation;
}

.mobile-nav-item-icon {
    font-size: 22px;
    line-height: 1;
    transition: all var(--transition-fast);
}

.mobile-nav-item-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    transition: all var(--transition-fast);
}

.mobile-nav-item:active {
    transform: scale(0.94);
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.active .mobile-nav-item-icon {
    transform: translateY(-2px) scale(1.1);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-nav-item.active .mobile-nav-item-label {
    font-weight: 700;
    color: var(--primary);
}

/* Center AI button special style */
.mobile-nav-item.ai-center {
    position: relative;
}

.mobile-nav-item.ai-center .mobile-nav-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    -webkit-text-fill-color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    margin-top: -10px;
    transition: all var(--transition-normal);
}

.mobile-nav-item.ai-center.active .mobile-nav-item-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.mobile-nav-item.ai-center:active .mobile-nav-item-icon {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: var(--mobile-bottom-nav-padding);
        padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0) + 16px);
    }
}

/* ===== AI Search Modal ===== */
.ai-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.ai-search-modal.active {
    display: flex;
}

.ai-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.ai-search-container {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.ai-search-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.ai-badge.small {
    padding: 2px 8px;
    font-size: 10px;
}

.close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.close-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.ai-search-input-wrap {
    position: relative;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon {
    position: absolute;
    left: 40px;
    color: var(--text-tertiary);
    z-index: 1;
}

.ai-search-input {
    flex: 1;
    padding: 14px 16px 14px 48px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.ai-search-input:focus {
    border-color: var(--primary);
}

.search-submit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.search-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.ai-search-suggestions {
    padding: 0 24px 24px;
}

.suggestions-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    font-weight: 500;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-light);
}

.suggestion-tag:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-color: rgba(124, 58, 237, 0.2);
}

.ai-search-results {
    padding: 0 24px 24px;
    max-height: 400px;
    overflow-y: auto;
}

.results-header {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    font-weight: 500;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-light);
}

.result-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.result-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 28px;
    flex-shrink: 0;
}

.result-info {
    flex: 1;
}

.result-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.result-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.result-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.result-category {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 60%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--warning);
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #00D4FF 0%, #A78BFA 50%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    margin-bottom: 48px;
}

.hero-search-box {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 8px 8px 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.hero-search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}

.hero-search-box svg {
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.hero-search-box input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
}

.hero-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-box input:focus {
    box-shadow: none;
}

.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.hero-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
}

.ai-label {
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #00D4FF, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    z-index: 1;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* ===== Categories Section ===== */
.categories-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    overflow: hidden;
    touch-action: manipulation;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

@media (hover: hover) {
    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: transparent;
    }

    .category-card:hover::before {
        transform: scaleX(1);
    }

    .category-card:hover .category-glow {
        opacity: 0.5;
        width: 90px;
        height: 90px;
    }

    .category-card:hover .category-arrow {
        transform: translateX(4px);
    }
}

.category-card:active {
    transform: scale(0.98) translateY(-2px);
}

.category-icon-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

.category-icon {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.category-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    filter: blur(20px);
    opacity: 0.3;
    z-index: 0;
    transition: all var(--transition-normal);
}

.category-card:hover .category-glow {
    opacity: 0.5;
    width: 90px;
    height: 90px;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.category-card p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 62px;
}

.category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.category-count {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.category-arrow {
    font-size: 18px;
    color: var(--primary);
    transition: transform var(--transition-fast);
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
}

/* ===== AI Services Section ===== */
.ai-services-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ai-service-card {
    position: relative;
    padding: 40px 32px;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.ai-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.ai-service-card.featured {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-color: rgba(124, 58, 237, 0.2);
}

.ai-service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.ai-service-icon svg {
    width: 100%;
    height: 100%;
}

.ai-service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.ai-service-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ai-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.ai-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.check-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.ai-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-normal);
}

.ai-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.ai-service-btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.ai-service-btn.secondary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

/* ===== Products Section ===== */
.products-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 10px 24px;
    background: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.product-tab:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.product-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
    z-index: 1;
}

.product-badge.hot {
    background: linear-gradient(135deg, #EF4444, #F97316);
}

.product-badge.new {
    background: linear-gradient(135deg, #10B981, #059669);
}

.product-info {
    padding: 20px;
}

.product-category-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 45px;
}

.product-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    line-height: 1.5;
    min-height: 40px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price-unit {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 400;
}

.product-action-btn {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--primary);
    color: white;
}

.products-more {
    text-align: center;
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left .section-badge {
    margin-bottom: 16px;
}

.about-left .section-title {
    text-align: left;
    margin-bottom: 24px;
    font-size: 36px;
}

.about-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.about-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: white;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.about-right {
    position: relative;
}

.about-image-card {
    position: relative;
    aspect-ratio: 1;
    max-width: 480px;
    margin: 0 auto;
}

.about-image-main {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

.building-icon svg {
    width: 180px;
    height: 180px;
}

.about-stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 180px;
}

.about-stat-card.stat-1 {
    top: 10%;
    right: -30px;
    animation: floatCard 4s ease-in-out infinite;
}

.about-stat-card.stat-2 {
    bottom: 15%;
    left: -30px;
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.big-number {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.small-text {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.author-company {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 50%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
}

.cta-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-left p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-right {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--secondary);
}

.footer-brand .footer-logo {
    margin-bottom: 20px;
}

.footer-brand .logo-main {
    color: white;
    -webkit-text-fill-color: white;
}

.footer-brand .logo-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand .logo-image {
    height: 42px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hidden-contact {
    display: none !important;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.contact-icon {
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.newsletter p {
    font-size: 14px;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 18px;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-2xl);
    transition: all var(--transition-normal);
}

@media (hover: hover) {
    .chat-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 40px rgba(124, 58, 237, 0.5);
    }
}

.chat-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-notification {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid white;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 560px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.3s ease;
}

.chat-window.active {
    display: flex;
}

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

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 22px;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid white;
}

.chat-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.chat-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0.8;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.message.bot-message {
    align-self: flex-start;
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.user-message .message-avatar {
    background: var(--primary);
    color: white;
}

.message-content {
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.user-message .message-content {
    background: var(--primary);
    color: white;
}

.message-text {
    font-size: 14px;
    line-height: 1.6;
}

.chat-quick-actions {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.quick-action {
    padding: 8px 14px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.quick-action:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-color: rgba(124, 58, 237, 0.2);
}

.chat-input-area {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid var(--border-light);
}

.chat-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

.chat-input-wrap input {
    flex: 1;
    padding: 8px 0;
    background: transparent;
    border: none;
    font-size: 14px;
}

.chat-input-wrap input:focus {
    box-shadow: none;
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

.chat-lang-hint {
    text-align: center;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    animation: modalScaleIn 0.3s ease;
}

.modal-container.large {
    max-width: 680px;
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 32px;
    border-bottom: 1px solid var(--border-light);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 28px 32px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* ===== Forms ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

/* ===== Quote Calculator ===== */
.quote-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.quote-form .form-group {
    margin-bottom: 18px;
}

.quote-result {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.quote-result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.quote-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.quote-price .currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.quote-price .amount {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.quote-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.quote-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.quote-item.discount {
    color: var(--accent);
}

.quote-item.total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.quote-note {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    font-style: italic;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    z-index: 3000;
    transform: translateX(400px);
    transition: transform var(--transition-normal);
    border-left: 4px solid var(--accent);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col:last-child {
        grid-column: span 3;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .categories-section,
    .ai-services-section,
    .products-section,
    .about-section,
    .testimonials-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .about-features {
        gap: 16px;
    }
    
    .about-feature {
        padding: 16px;
    }
}

@media (max-width: 992px) {
    .nav-center {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .ai-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-left .section-title {
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: var(--nav-height-mobile);
    }
    
    body {
        font-size: var(--font-base-size-mobile);
    }
    
    .navbar {
        height: var(--nav-height-mobile);
    }
    
    .hero {
        min-height: 90vh;
        padding-top: var(--nav-height-mobile);
    }
    
    .hero-desc {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: clamp(24px, 6vw, 28px);
    }
    
    .stat-divider {
        display: none;
    }
    
    .categories-section,
    .ai-services-section,
    .products-section,
    .about-section,
    .testimonials-section {
        padding: 64px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-card {
        padding: 24px 20px;
    }
    
    .category-icon-wrap,
    .category-icon {
        width: 56px;
        height: 56px;
    }
    
    .category-icon {
        font-size: 28px;
    }
    
    .category-card h3 {
        font-size: 16px;
    }
    
    .category-card p {
        font-size: 12px;
        min-height: auto;
        margin-bottom: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-card {
        border-radius: var(--radius-lg);
    }
    
    .product-image {
        height: 160px;
        font-size: 60px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-name {
        font-size: 15px;
        min-height: auto;
        margin-bottom: 6px;
    }
    
    .product-desc {
        font-size: 12px;
        min-height: auto;
        margin-bottom: 12px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .product-action-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .product-tabs {
        gap: 8px;
        margin-bottom: 32px;
    }
    
    .product-tab {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .ai-service-card {
        padding: 28px 24px;
    }
    
    .ai-service-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }
    
    .ai-service-card h3 {
        font-size: 19px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-left h2 {
        font-size: 24px;
    }
    
    .cta-left p {
        font-size: 15px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px 0;
    }
    
    /* Chat widget - fullscreen on mobile */
    .chat-window {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        z-index: 3000;
        animation: chatSlideUpMobile 0.3s ease;
    }
    
    @keyframes chatSlideUpMobile {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .chat-widget {
        bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0) + 16px);
        right: 16px;
        z-index: 998;
    }
    
    /* Modal - bottom sheet on mobile */
    .modal {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal-container {
        max-width: 100%;
        max-height: 90vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        animation: bottomSheetSlideUp 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    
    .modal-container.large {
        max-width: 100%;
    }
    
    @keyframes bottomSheetSlideUp {
        from {
            transform: translateY(100%);
            opacity: 0.5;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .modal-body {
        max-height: calc(90vh - 100px);
    }
    
    /* Forms - taller inputs on mobile */
    .form-group label {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    input, select {
        min-height: 52px;
        padding: 14px 16px;
        font-size: 16px;
    }
    
    textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-calculator {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ai-search-container {
        margin: 0;
        max-width: none;
        border-radius: 0;
        height: 100vh;
        max-height: none;
    }
    
    .ai-search-modal {
        padding-top: 0;
        align-items: stretch;
    }
    
    .ai-search-results {
        max-height: none;
        flex: 1;
    }
    
    /* Larger suggestion tags on mobile */
    .suggestion-tag {
        padding: 10px 18px;
        font-size: 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    .about-stat-card.stat-1,
    .about-stat-card.stat-2 {
        right: 0;
        left: 0;
        position: relative;
        margin: 16px auto;
        animation: none;
    }
    
    /* Hide decorative elements on mobile */
    .hero-scroll {
        display: none;
    }
    
    .floating-shapes .shape-3,
    .floating-shapes .shape-4 {
        display: none;
    }
    
    .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
    }
    
    .toast {
        top: calc(var(--nav-height-mobile) + 16px);
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 20px 16px;
    }
    
    .category-icon-wrap,
    .category-icon {
        width: 48px;
        height: 48px;
    }
    
    .category-icon {
        font-size: 24px;
    }
    
    .category-card h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .category-card p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .category-footer {
        padding-top: 12px;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 6px 16px;
        margin-bottom: 24px;
    }
    
    .hero-search {
        margin-bottom: 36px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .ai-search-btn span {
        display: none;
    }
    
    .ai-search-btn {
        padding: 10px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .lang-switch {
        display: none;
    }
    
    .hero-search-box {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }
    
    .hero-search-box input {
        min-height: 44px;
    }
    
    .hero-search-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .footer-brand,
    .footer-col:last-child {
        grid-column: span 1;
    }
    
    .cta-right {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-right .btn-primary,
    .cta-right .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    
    .chat-toggle {
        width: 56px;
        height: 56px;
    }
    
    .product-image {
        height: 140px;
        font-size: 50px;
    }
    
    .about-image-card {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .category-card {
        padding: 24px 20px;
    }
    
    .category-icon-wrap,
    .category-icon {
        width: 56px;
        height: 56px;
    }
    
    .category-icon {
        font-size: 28px;
    }
    
    .product-image {
        height: 180px;
        font-size: 70px;
    }
    
    .product-info {
        padding: 18px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .mobile-nav-item-label {
        font-size: 10px;
    }
    
    .mobile-nav-item-icon {
        font-size: 20px;
    }
    
    .mobile-nav-item.ai-center .mobile-nav-item-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .btn-primary,
    .btn-outline,
    .btn-ghost {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .btn-primary.large,
    .btn-ghost.large {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .ai-service-card {
        padding: 24px 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 15px;
    }
    
    .hero-title {
        letter-spacing: -0.3px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .product-tabs {
        gap: 6px;
    }
    
    .product-tab {
        padding: 7px 12px;
        font-size: 12px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .cta-left h2 {
        font-size: 20px;
    }
    
    .cta-left p {
        font-size: 14px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        border-radius: var(--radius-md);
    }
    
    .mobile-nav-item {
        padding: 6px 8px;
    }
    
    .mobile-nav-item-label {
        font-size: 9.5px;
    }
    
    .about-feature {
        padding: 14px;
    }
    
    .about-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .modal-header h3 {
        font-size: 19px;
    }
    
    .quote-price .amount {
        font-size: 30px;
    }
}

/* ===== Animations on Scroll ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* ===== Accessibility & Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .shape,
    .about-stat-card.stat-1,
    .about-stat-card.stat-2,
    .badge-dot,
    .scroll-wheel,
    .chat-notification {
        animation: none !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Additional Touch Optimizations ===== */
/* Close buttons - min touch target */
.close-btn,
.chat-close,
.modal-close {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.close-btn:active,
.chat-close:active,
.modal-close:active {
    transform: scale(0.9);
    background: var(--bg-tertiary);
}

/* Product action button */
.product-action-btn {
    min-height: 36px;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
}

.product-action-btn:active {
    transform: scale(0.95);
    background: var(--primary);
    color: white;
}

@media (hover: hover) {
    .product-action-btn:hover {
        background: var(--primary);
        color: white;
    }
}

/* Product tabs */
.product-tab {
    touch-action: manipulation;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.product-tab:active {
    transform: scale(0.96);
}

@media (hover: hover) {
    .product-tab:hover {
        color: var(--primary);
        border-color: var(--primary);
    }
}

/* AI service button */
.ai-service-btn {
    min-height: 48px;
    touch-action: manipulation;
}

.ai-service-btn:active {
    transform: scale(0.97);
}

@media (hover: hover) {
    .ai-service-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    }

    .ai-service-btn.secondary:hover {
        background: var(--primary);
        color: white;
        box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    }
}

/* Chat toggle */
.chat-toggle {
    touch-action: manipulation;
}

.chat-toggle:active {
    transform: scale(0.95);
}

/* Chat send button */
.chat-send-btn {
    min-width: 36px;
    min-height: 36px;
    touch-action: manipulation;
}

.chat-send-btn:active {
    transform: scale(0.9);
}

@media (hover: hover) {
    .chat-send-btn:hover {
        transform: scale(1.1);
    }
}

/* Quick actions */
.quick-action {
    min-height: 36px;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
}

.quick-action:active {
    transform: scale(0.95);
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-color: rgba(124, 58, 237, 0.2);
}

@media (hover: hover) {
    .quick-action:hover {
        background: rgba(124, 58, 237, 0.1);
        color: var(--primary);
        border-color: rgba(124, 58, 237, 0.2);
    }
}

/* Suggestion tags */
.suggestion-tag {
    touch-action: manipulation;
}

.suggestion-tag:active {
    transform: scale(0.96);
}

@media (hover: hover) {
    .suggestion-tag:hover {
        background: rgba(124, 58, 237, 0.1);
        color: var(--primary);
        border-color: rgba(124, 58, 237, 0.2);
    }
}

/* Result items */
.result-item {
    touch-action: manipulation;
}

.result-item:active {
    transform: scale(0.99);
    background: var(--bg-secondary);
}

@media (hover: hover) {
    .result-item:hover {
        background: var(--bg-secondary);
        border-color: var(--border-color);
    }
}

/* Dropdown items */
.dropdown-item {
    touch-action: manipulation;
    min-height: 48px;
}

.dropdown-item:active {
    background: var(--bg-tertiary);
}

@media (hover: hover) {
    .dropdown-item:hover {
        background: var(--bg-secondary);
    }
}

/* Social links */
.social-link {
    touch-action: manipulation;
}

.social-link:active {
    transform: scale(0.92);
}

@media (hover: hover) {
    .social-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
    }
}

/* Product cards - hover wrapped */
@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl);
        border-color: transparent;
    }

    .product-card:hover .product-image::before {
        opacity: 1;
    }
}

.product-card {
    touch-action: manipulation;
}

.product-card:active {
    transform: scale(0.98) translateY(-2px);
}

/* AI service cards - hover wrapped */
@media (hover: hover) {
    .ai-service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl);
    }
}

.ai-service-card {
    touch-action: manipulation;
}

.ai-service-card:active {
    transform: translateY(-2px);
}

/* Testimonial cards - hover wrapped */
@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
}

.testimonial-card {
    touch-action: manipulation;
}

.testimonial-card:active {
    transform: translateY(-1px);
}

/* About feature cards - hover wrapped */
@media (hover: hover) {
    .about-feature:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

.about-feature {
    touch-action: manipulation;
}

.about-feature:active {
    transform: translateY(-1px);
}

/* Search submit button */
.search-submit-btn {
    min-height: 48px;
    touch-action: manipulation;
}

.search-submit-btn:active {
    transform: scale(0.97);
}

@media (hover: hover) {
    .search-submit-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    }
}

/* Hero search button */
.hero-search-btn {
    min-height: 48px;
    touch-action: manipulation;
}

.hero-search-btn:active {
    transform: scale(0.97);
}

@media (hover: hover) {
    .hero-search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
    }
}

/* Newsletter button */
.newsletter-form button {
    touch-action: manipulation;
}

.newsletter-form button:active {
    transform: scale(0.92);
}

@media (hover: hover) {
    .newsletter-form button:hover {
        transform: translateX(2px);
    }
}

/* ===== Safe Area Utilities ===== */
.safe-area-top {
    padding-top: env(safe-area-inset-top, 0);
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ===== Selection Style ===== */
::selection {
    background: rgba(124, 58, 237, 0.2);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(124, 58, 237, 0.2);
    color: var(--text-primary);
}

/* ===== Smart Site Section ===== */
.smart-site-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
}

/* Dashboard Showcase */
.dashboard-showcase {
    position: relative;
    margin-bottom: 80px;
    border-radius: 20px;
    overflow: hidden;
}

.dashboard-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.dashboard-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.dashboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.1) 100%);
    pointer-events: none;
}

.dashboard-stats {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    min-width: 180px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Scene Grid */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.scene-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.scene-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.scene-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

@media (hover: hover) {
    .scene-card:hover .scene-image {
        transform: scale(1.08);
    }

    .scene-card:hover .scene-info {
        transform: translateY(-8px);
    }
}

.scene-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    transition: transform 0.4s ease;
}

.scene-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.scene-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Smart Features Grid */
.smart-features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.smart-feature {
    text-align: center;
    padding: 24px 16px;
    border-radius: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .smart-feature:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }
}

.smart-feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.smart-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.smart-feature-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* Video Showcase */
.video-showcase {
    text-align: center;
}

.video-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-cover-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    max-width: 900px;
    margin: 0 auto;
}

.video-cover-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.3);
    transition: background 0.3s ease;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-play-btn svg {
    margin-left: 4px;
}

@media (hover: hover) {
    .video-cover-wrapper:hover .video-cover-image {
        transform: scale(1.05);
    }

    .video-cover-wrapper:hover .video-overlay {
        background: rgba(15, 23, 42, 0.4);
    }

    .video-cover-wrapper:hover .video-play-btn {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-caption {
    margin-top: 16px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
}

@media (hover: hover) {
    .lightbox-close:hover,
    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .lightbox-prev:hover {
        transform: translateY(-50%) scale(1.1);
    }

    .lightbox-next:hover {
        transform: translateY(-50%) scale(1.1);
    }
}

.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
    transform: scale(0.95);
}

.lightbox-prev:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: var(--bg-dark);
    border-radius: 16px;
    overflow: hidden;
    animation: lightboxFadeIn 0.3s ease;
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

@media (hover: hover) {
    .video-modal-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }
}

.video-modal-body {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-loading {
    text-align: center;
    color: white;
}

.video-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

.video-loading p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.video-placeholder {
    text-align: center;
    color: white;
    padding: 40px;
}

.video-placeholder-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.video-placeholder h4 {
    font-size: 24px;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-placeholder p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Responsive: Smart Site Section ===== */
@media (max-width: 1024px) {
    .smart-site-section {
        padding: 80px 0;
    }

    .smart-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dashboard-stats {
        right: 20px;
        gap: 12px;
    }

    .stat-card {
        min-width: 150px;
        padding: 16px 20px;
    }

    .stat-number {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .smart-site-section {
        padding: 60px 0;
    }

    .dashboard-showcase {
        margin-bottom: 60px;
    }

    .dashboard-image-wrapper {
        border-radius: 16px;
    }

    .dashboard-image {
        border-radius: 16px;
    }

    .dashboard-stats {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 20px;
        justify-content: center;
    }

    .stat-card {
        flex: 1;
        min-width: calc(50% - 6px);
        padding: 14px 12px;
    }

    .stat-icon {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .scene-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 60px;
    }

    .scene-image-wrapper {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

    .scene-info {
        padding: 20px;
    }

    .scene-title {
        font-size: 20px;
    }

    .scene-desc {
        font-size: 13px;
    }

    .smart-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 60px;
    }

    .smart-feature {
        padding: 20px 12px;
    }

    .smart-feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .smart-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .smart-feature-title {
        font-size: 14px;
    }

    .smart-feature-desc {
        font-size: 12px;
    }

    .video-title {
        margin-bottom: 24px;
    }

    .video-cover-wrapper {
        border-radius: 16px;
    }

    .video-play-btn {
        width: 64px;
        height: 64px;
    }

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

    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        min-width: calc(50% - 6px);
    }

    .smart-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
