/* ============================================
   ZBOM Thailand Factory - 主站 dzomhome.com 样式
   紫色渐变主题，响应式设计
   ============================================ */

/* ---------- CSS 变量 - 浅色模式 ---------- */
:root {
    --primary: #6B5B95;
    --primary-dark: #4A3F6B;
    --primary-light: #8B7CB3;
    --primary-lighter: #A99BD1;
    --secondary: #7C6DA0;
    --accent: #9B8EC4;
    --gradient: linear-gradient(135deg, #6B5B95 0%, #8B7CB3 50%, #A99BD1 100%);
    --gradient-dark: linear-gradient(135deg, #4A3F6B 0%, #6B5B95 100%);
    --gradient-hero: linear-gradient(135deg, #4A3F6B 0%, #5B4B85 30%, #7B6BA5 60%, #9B8EC4 100%);
    --white: #FFFFFF;
    --light-bg: #F8F7FC;
    --gray-100: #F3F2F7;
    --gray-200: #E8E6F0;
    --gray-300: #D0CCE0;
    --gray-500: #8E8BA0;
    --gray-700: #5A5770;
    --gray-900: #2D2A3E;
    --text: #333333;
    --text-light: #666666;
    --bg-body: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-section: #F8F7FC;
    --border-color: #E8E6F0;
    --shadow-sm: 0 2px 8px rgba(107, 91, 149, 0.1);
    --shadow-md: 0 4px 16px rgba(107, 91, 149, 0.15);
    --shadow-lg: 0 8px 32px rgba(107, 91, 149, 0.2);
    --shadow-xl: 0 12px 48px rgba(107, 91, 149, 0.25);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px) saturate(180%);
}

/* ---------- CSS 变量 - 深色模式 ---------- */
[data-theme="dark"] {
    --primary: #8B7CB3;
    --primary-dark: #6B5B95;
    --primary-light: #A99BD1;
    --primary-lighter: #C4B8E0;
    --gradient: linear-gradient(135deg, #6B5B95 0%, #8B7CB3 50%, #A99BD1 100%);
    --gradient-dark: linear-gradient(135deg, #4A3F6B 0%, #6B5B95 100%);
    --gradient-hero: linear-gradient(135deg, #2D1F4F 0%, #3D2F6F 30%, #5B4B85 60%, #7B6BA5 100%);
    --white: rgba(255, 255, 255, 0.9);
    --light-bg: #12101A;
    --gray-100: #1E1A2E;
    --gray-200: #2A2540;
    --gray-300: #3D3659;
    --gray-500: #7A7399;
    --gray-700: #A8A0C8;
    --gray-900: #E0DAF0;
    --text: #E8E4F5;
    --text-light: #A8A0C8;
    --bg-body: #0D0B14;
    --bg-card: #1A1625;
    --bg-section: #12101A;
    --border-color: #2A2540;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 导航栏- 液态玻璃---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(74, 63, 107, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(30, 26, 46, 0.85);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto !important;
    max-width: none;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .logo-img {
    opacity: 0.9;
}

.nav-center {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-btn {
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    color: var(--primary);
    background: var(--bg-card);
    font-weight: 600;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero 区域 ---------- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    padding-top: 70px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(255,255,255,0.03) 0%, transparent 35%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.8; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.hero-sm {
    min-height: 300px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-badge i {
    color: #FFD700;
}

.hero-title {
    color: #FFFFFF;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    line-height: 1.3;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-sm .hero-title {
    font-size: 36px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(107, 91, 149, 0.3);
}

.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 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: #FFFFFF;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-white {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- 关于我们 ---------- */
.about-section {
    background: var(--bg-section);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-card-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--gradient);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-md);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    gap: 12px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.05) 0%, transparent 35%);
}

.image-placeholder i {
    font-size: 64px;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.image-placeholder span {
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 1px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 8px;
}

.link-arrow:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ---------- 鏁版嵁缁熳 ---------- */
.stats-section {
    background: var(--gradient-dark);
    color: #FFFFFF;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ---------- 服务卡片 ---------- */
.services-section {
    background: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ---------- 信任标识 ---------- */
.trust-section {
    background: var(--bg-section);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.trust-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.trust-item i {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.trust-item:hover i {
    transform: scale(1.2);
}

.trust-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

/* ---------- 联系我们 ---------- */
.contact-section {
    background: var(--bg-section);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.contact-item-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-item-body p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-item-body a {
    color: var(--primary);
}

.contact-item-body a:hover {
    text-decoration: underline;
}

.map-links {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.map-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text);
    transition: var(--transition);
}

.map-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.map-embed {
    margin-top: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-controls {
    display: flex;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.map-toggle-btn {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.map-toggle-btn:hover {
    background: var(--gray-100);
    color: var(--text);
}

.map-toggle-btn.active {
    background: var(--gradient);
    color: #FFFFFF;
}

/* ---------- 表单 ---------- */
.contact-form-panel {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-body);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(107, 91, 149, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.captcha-group {
    display: flex;
    flex-direction: column;
}

.captcha-row {
    display: flex;
    gap: 8px;
}

.captcha-row input {
    flex: 1;
}

.btn-refresh {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.btn-refresh:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.form-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: #FFFFFF;
    padding-left: 8px;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-lighter);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- 关于页面详细 ---------- */
.about-detail-section {
    background: var(--bg-section);
}

.about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-detail-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.about-detail-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.about-feature-item i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 2px;
}

.about-feature-item div h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.about-feature-item div p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* ---------- 服务页面详细 ---------- */
.services-detail-section {
    background: var(--bg-body);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-detail-card .service-icon {
    margin: 0 0 20px 0;
}

.service-detail-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-detail-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:hover {
    padding-left: 8px;
    color: var(--primary);
}

.service-features li i {
    color: var(--primary);
    font-size: 14px;
}

/* ---------- 加载动画 ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ---------- 视差效果 ---------- */
.parallax-wrapper {
    overflow: hidden;
    position: relative;
}

.parallax-img {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ---------- 页面进度条---------- */
.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary));
    z-index: 9999;
    transition: width 0.2s ease;
    box-shadow: 0 0 8px rgba(107, 91, 149, 0.5);
}

/* ---------- 页面进入动画 ---------- */
.page-enter {
    animation: pageEnter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 无障碍返回顶部 ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-size: 14px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 70px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ---------- 图片懒加载---------- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src] {
    opacity: 1;
}

/* ---------- 响应式设计---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-stats {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--gradient-dark);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-center.show {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 4px;
    }

    .nav-links li a {
        display: block;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .hamburger {
        display: flex;
    }

    .lang-switcher {
        gap: 2px;
    }

    .lang-btn {
        padding: 3px 6px;
        font-size: 11px;
        min-width: 28px;
        text-align: center;
    }

    .nav-right {
        gap: 6px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat .stat-number {
        font-size: 24px;
    }

    .hero-sm .hero-title {
        font-size: 26px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .about-grid,
    .about-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-value {
        font-size: 28px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-item {
        padding: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-panel {
        padding: 24px;
    }

    .map-btns {
        flex-direction: column;
    }
}

/* ---------- Cookie 同意横幅 ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    padding: 20px 24px;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.cookie-banner-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--gradient);
    color: #FFFFFF;
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cookie-btn-secondary {
    background: var(--gray-100);
    color: var(--text);
    border: 1px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    background: var(--gray-200);
}

.cookie-btn-link {
    background: transparent;
    color: var(--primary);
    text-decoration: underline;
    padding: 10px 8px;
}

.cookie-btn-link:hover {
    color: var(--primary-dark);
}

/* ---------- 法律页面样式 ---------- */
.legal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
    flex-wrap: wrap;
}

.legal-tab {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: -2px;
    white-space: nowrap;
}

.legal-tab:hover {
    color: var(--primary);
    background: var(--gray-100);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.legal-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.legal-content {
    animation: fadeInUp 0.4s ease;
}

.legal-content.hidden {
    display: none;
}

.legal-content h2 {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 8px;
}

.legal-content h3 {
    font-size: 20px;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-content ul li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-date {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    font-style: italic;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cookie-table th,
.cookie-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.cookie-table td {
    color: var(--text-light);
    font-size: 14px;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover td {
    background: var(--gray-100);
}

/* ---------- 页脚法律链接 ---------- */
.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo:hover .footer-logo-img {
    opacity: 1;
}

.footer-legal {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

[data-theme="dark"] .footer-legal {
    border-top-color: rgba(255,255,255,0.08);
}

/* ---------- 深色模式 Cookie 横幅 ---------- */
[data-theme="dark"] .cookie-banner {
    background: var(--bg-card);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .cookie-btn-secondary {
    background: var(--gray-700);
    color: var(--white);
    border-color: var(--gray-500);
}

[data-theme="dark"] .cookie-btn-secondary:hover {
    background: var(--gray-500);
}

/* ---------- 响应式 Cookie 横幅 ---------- */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .legal-tabs {
        gap: 4px;
    }
    .legal-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
    .cookie-table {
        font-size: 13px;
    }
    .cookie-table th,
    .cookie-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 60px;
    }

    .logo-img {
        height: 28px;
    }

    .hero {
        padding-top: 60px;
        min-height: 450px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-stat .stat-number {
        font-size: 20px;
    }

    .hero-stat .stat-label {
        font-size: 11px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .service-card {
        padding: 24px 16px;
    }

    .service-detail-card {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-value {
        font-size: 24px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   智能功能增强样式
   ============================================ */

/* ---------- 打字机效果 ---------- */
.typewriter {
    display: inline;
    border-right: 2px solid rgba(255,255,255,0.8);
    animation: blink 0.8s step-end infinite;
    padding-right: 2px;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* ---------- 智能表单验证 ---------- */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #4caf50;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #f44336;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f44336' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group .validation-msg {
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
    transition: all 0.3s ease;
}

.form-group .validation-msg.error {
    color: #f44336;
}

.form-group .validation-msg.success {
    color: #4caf50;
}

/* ---------- 复制按钮 ---------- */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--gray-100);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    margin-left: 8px;
    vertical-align: middle;
}

.copy-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.copy-btn.copied {
    background: #4caf50;
    color: #FFFFFF;
    border-color: #4caf50;
}

.copy-btn.copied i::before {
    content: '\f00c';
}

/* ---------- 页面加载动画 ---------- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-body);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* ---------- 键盘快捷键浮动按钮 ---------- */
.keyboard-fab {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 997;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-bounce);
}

.keyboard-fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .keyboard-fab {
    background: var(--gradient-dark);
}

/* ---------- 键盘快捷键提示 ---------- */
.keyboard-hint {
    position: fixed;
    bottom: 150px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    font-size: 13px;
    color: var(--text-light);
    max-width: 220px;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s ease;
    pointer-events: none;
}

.keyboard-hint.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.keyboard-hint h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.keyboard-hint kbd {
    display: inline-block;
    padding: 2px 6px;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
    color: var(--gray-700);
    margin: 0 2px;
}

.keyboard-hint ul {
    list-style: none;
    padding: 0;
}

.keyboard-hint ul li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- 智能导航隐藏 ---------- */
.navbar.smart-hide {
    transform: translateY(-100%);
}

/* ---------- 滚动指示器增强 ---------- */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator i {
    font-size: 16px;
    animation: bounce 2s infinite;
}

/* ---------- 图片灯箱 ---------- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ---------- 服务搜索 ---------- */
.service-search {
    margin-bottom: 32px;
    position: relative;
}

.service-search input {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.service-search input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(107, 91, 149, 0.1);
}

.service-search i {
    position: absolute;
    left: calc(50% - 220px);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 16px;
}

.service-search input:focus + i,
.service-search input:not(:placeholder-shown) + i {
    color: var(--primary);
}

/* ---------- 暗色模式适配 ---------- */
[data-theme="dark"] .form-group input.valid,
[data-theme="dark"] .form-group select.valid,
[data-theme="dark"] .form-group textarea.valid {
    background-color: rgba(76, 175, 80, 0.1);
}

[data-theme="dark"] .form-group input.invalid,
[data-theme="dark"] .form-group select.invalid,
[data-theme="dark"] .form-group textarea.invalid {
    background-color: rgba(244, 67, 54, 0.1);
}

[data-theme="dark"] .keyboard-hint {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .keyboard-hint kbd {
    background: var(--gray-200);
    border-color: var(--gray-300);
    color: var(--gray-700);
}
