/* ========================================
   嘉兴顾珩智能科技有限公司 - 主样式文件
   简洁白色风格设计
   ======================================== */

/* CSS变量定义 - 色彩系统 */
:root {
    /* 主色调 - 科技蓝 */
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    
    /* 辅助色 */
    --secondary-color: #00D4FF;
    --accent-color: #6C5CE7;
    --accent-light: #A29BFE;
    
    /* 白色基调背景 */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFB;
    --bg-card: #FFFFFF;
    --bg-surface: #F1F5F8;
    
    /* 文字颜色 */
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    --gradient-accent: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    
    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);
    
    /* 边框 */
    --border-color: #E2E8F0;
    --border-light: #EDF2F7;
    
    /* 字体 */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   暗黑模式变量
   ======================================== */
[data-theme="dark"] {
    /* 主色调 */
    --primary-color: #4D94FF;
    --primary-dark: #3385FF;
    --primary-light: #66A3FF;
    
    /* 辅助色 */
    --secondary-color: #33D9FF;
    --accent-color: #8B7CF7;
    --accent-light: #B8AEFE;
    
    /* 暗色背景 */
    --bg-primary: #0F1419;
    --bg-secondary: #151B23;
    --bg-card: #1A2230;
    --bg-surface: #131920;
    
    /* 文字颜色 */
    --text-primary: #E8ECF0;
    --text-secondary: #9BA8B7;
    --text-muted: #6B7D8E;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #4D94FF 0%, #33D9FF 100%);
    --gradient-accent: linear-gradient(135deg, #8B7CF7 0%, #B8AEFE 100%);
    
    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.5);
    
    /* 边框 */
    --border-color: #2A3544;
    --border-light: #1F2A38;
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ========================================
   暗黑模式额外覆盖
   ======================================== */
[data-theme="dark"] .navbar {
    background: rgba(15, 20, 25, 0.98);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 20, 25, 1);
}

[data-theme="dark"] .mobile-menu {
    background: rgba(15, 20, 25, 0.98);
    border-bottom-color: var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .about-hero::before,
[data-theme="dark"] .products-hero::before,
[data-theme="dark"] .contact-hero::before {
    opacity: 0.5;
}

[data-theme="dark"] .about-hero-card::before {
    background: var(--gradient-primary);
}

[data-theme="dark"] .hamburger span {
    background: var(--text-primary);
}

[data-theme="dark"] .btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(77, 148, 255, 0.08);
}

[data-theme="dark"] .contact-email-link {
    background: rgba(77, 148, 255, 0.1);
}

[data-theme="dark"] .contact-email-link:hover {
    background: rgba(77, 148, 255, 0.18);
}

[data-theme="dark"] .lang-menu {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .lang-menu-item:hover {
    background: rgba(77, 148, 255, 0.1);
}

[data-theme="dark"] img[src*="logo.svg"] {
    filter: brightness(1.2);
}

/* ========================================
   暗黑模式切换按钮
   ======================================== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 18px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* 移动端切换按钮 */
.mobile-theme-toggle {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.mobile-theme-toggle:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
}

/* ========================================
   语言切换下拉菜单
   ======================================== */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
}

.lang-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.lang-toggle .lang-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    color: var(--text-muted);
}

.lang-dropdown.open .lang-toggle .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown.open .lang-toggle {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
    color: var(--text-secondary);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.lang-menu-item:hover {
    background: rgba(0, 102, 255, 0.06);
    color: var(--text-primary);
}

.lang-menu-item.active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(0, 102, 255, 0.06);
}

.lang-menu-item .lang-flag {
    font-size: 18px;
}

/* 导航栏右侧操作区 */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* 移动端语言切换 */
.mobile-lang-toggle {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.mobile-lang-toggle:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    overflow-wrap: break-word;
}

/* ========================================
   导航栏样式
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: white;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.logo-company {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-slogan {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

.navbar-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
}

.navbar-menu a.active {
    color: var(--primary-color);
}

.navbar-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

/* 悦月产品导航项 */
.navbar-menu .yueyue-link {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    font-weight: 600;
}

.navbar-menu .yueyue-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    background: var(--gradient-primary);
    color: white !important;
}

/* 悦月按钮在当前页面时也保持渐变色 */
.navbar-menu .yueyue-link.active {
    background: var(--gradient-primary);
    color: white !important;
}

.navbar-menu .yueyue-link.active::after {
    display: none;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
    font-weight: 500;
}

.mobile-menu a:last-of-type {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
}

.mobile-menu a.active {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.06);
    font-weight: 600;
}

/* 移动端菜单分割线 */
.mobile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 16px;
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(108, 92, 231, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: var(--spacing-lg);
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    word-break: break-word;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    word-break: break-word;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Hero 统计数据 */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

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

.hero-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
    word-break: break-word;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 255, 0.02);
}

/* ========================================
   内容区块通用样式
   ======================================== */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: var(--bg-primary);
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.12);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    word-break: break-word;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   关于我们页面
   ======================================== */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero-text {
    position: relative;
}

.about-hero-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

/* About Hero Title (替代内联样式) */
.about-hero-title {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    line-height: 1.3;
    word-break: break-word;
}

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

.about-hero-desc {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
}

.about-hero-stats {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    overflow-wrap: break-word;
}

.about-stat {
    flex: 1;
    min-width: 120px;
}

.about-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.about-stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* About Hero Card (替代内联样式) */
.about-hero-card-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
}

.about-hero-card-title {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.about-hero-card-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Products Hero (替代内联样式) */
.products-hero-title {
    font-size: 52px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    word-break: break-word;
}

.products-hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Hero (替代内联样式) */
.contact-hero-title {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    word-break: break-word;
}

.contact-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* CTA 通用样式 */
.cta-title {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
    word-break: break-word;
}

.cta-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 悦月按钮组 */
.yueyue-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.yueyue-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.yueyue-logo-center {
    margin: 0 auto var(--spacing-md);
}

.about-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(108, 92, 231, 0.05) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border: 1px solid var(--border-color);
}

/* 企业文化卡片 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.culture-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.culture-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(108, 92, 231, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto var(--spacing-md);
}

.culture-card h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 700;
}

.culture-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* 时间轴 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    padding-left: var(--spacing-lg);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* 团队卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::after {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.team-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(108, 92, 231, 0.08) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: var(--spacing-md);
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.team-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* 核心价值卡片 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   产品中心页面
   ======================================== */
.products-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(108, 92, 231, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.products-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 240px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(108, 92, 231, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    border-bottom: 1px solid var(--border-color);
}

.product-content {
    padding: var(--spacing-md);
}

.product-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.product-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* 产品展示卡片 */
.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.product-showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.product-showcase-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(108, 92, 231, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.product-showcase-icon {
    font-size: 64px;
}

.product-showcase-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-showcase-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: var(--spacing-sm) 0;
    color: var(--text-primary);
}

.product-showcase-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

/* 产品优势卡片 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.advantage-card {
    display: flex;
    gap: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.advantage-content {
    flex: 1;
}

.advantage-content h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   悦月产品详情页
   ======================================== */
.yueyue-hero {
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.03) 0%, rgba(0, 102, 255, 0.03) 100%);
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.yueyue-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.yueyue-info {
    padding-right: var(--spacing-lg);
}

.yueyue-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: var(--spacing-md);
}

.yueyue-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yueyue-tagline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.yueyue-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.yueyue-preview {
    position: relative;
}

.yueyue-phone {
    width: 280px;
    height: 560px;
    background: white;
    border-radius: 40px;
    border: 3px solid rgba(255, 105, 180, 0.3);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.yueyue-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FFE4E1 0%, #FFF0F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

/* 功能特点 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(108, 92, 231, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto var(--spacing-md);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   联系我们页面
   ======================================== */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 邮箱联系卡片 */
.contact-email-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.contact-email-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-email-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.contact-email-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.contact-email-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(108, 92, 231, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto var(--spacing-md);
}

.contact-email-card h3 {
    font-size: 22px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.contact-email-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.06);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    word-break: break-all;
    max-width: 100%;
}

.contact-email-link:hover {
    background: rgba(0, 102, 255, 0.12);
}

/* 公司信息卡片 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-info-icon {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
}

.contact-info-card h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* FAQ列表 */
.faq-list {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.faq-icon {
    font-size: 20px;
}

.faq-question h3 {
    font-size: 18px;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    padding-left: 36px;
}

/* 旧样式保留兼容 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    padding: var(--spacing-lg);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 商务邮箱大号显示 */
.email-large {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    word-break: break-all;
}

.email-large a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.email-large a:hover {
    color: var(--primary-dark);
}

/* ========================================
   页脚样式
   ======================================== */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

/* 备案信息样式 */
.beian-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}

.beian-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.beian-info a:hover {
    color: var(--primary-color);
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* 滚动动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   工具类
   ======================================== */
.text-center {
    text-align: center;
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.pt-md {
    padding-top: var(--spacing-md);
}

.pb-md {
    padding-bottom: var(--spacing-md);
}
