/* CSS自定义属性（变量） */
:root {
    /* 颜色主题 */
    --primary-color: #007AFF;
    --primary-hover: #0056CC;
    --secondary-color: #FF6B35;
    --accent-color: #00D4AA;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-muted: #8E8E93;
    --background-primary: #FFFFFF;
    --background-secondary: #F7F7F7;
    --background-card: #FFFFFF;
    --border-color: #E5E5E7;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* 高对比度模式颜色 */
    --high-contrast-bg: #FFFFFF;
    --high-contrast-text: #000000;
    --high-contrast-primary: #0000FF;
    --high-contrast-border: #000000;
    
    /* 字体尺寸 */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    
    /* 间距 */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */
    
    /* 动画时长 */
    --transition-fast: 0.15s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* 容器宽度 */
    --container-max-width: 1200px;
    --container-padding: var(--spacing-md);
}

/* 高对比度模式 */
body.high-contrast {
    --background-primary: var(--high-contrast-bg);
    --background-secondary: var(--high-contrast-bg);
    --background-card: var(--high-contrast-bg);
    --text-primary: var(--high-contrast-text);
    --text-secondary: var(--high-contrast-text);
    --text-muted: var(--high-contrast-text);
    --primary-color: var(--high-contrast-primary);
    --border-color: var(--high-contrast-border);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 字体大小模式 */
body.font-large {
    --font-size-xs: 0.9375rem;   /* 15px */
    --font-size-sm: 1.0625rem;   /* 17px */
    --font-size-base: 1.25rem;   /* 20px */
    --font-size-lg: 1.375rem;    /* 22px */
    --font-size-xl: 1.5rem;      /* 24px */
    --font-size-2xl: 1.875rem;   /* 30px */
    --font-size-3xl: 2.25rem;    /* 36px */
    --font-size-4xl: 2.75rem;    /* 44px */
    --font-size-5xl: 3.5rem;     /* 56px */
}

body.font-extra-large {
    --font-size-xs: 1.125rem;    /* 18px */
    --font-size-sm: 1.25rem;     /* 20px */
    --font-size-base: 1.5rem;    /* 24px */
    --font-size-lg: 1.625rem;    /* 26px */
    --font-size-xl: 1.75rem;     /* 28px */
    --font-size-2xl: 2.25rem;    /* 36px */
    --font-size-3xl: 2.75rem;    /* 44px */
    --font-size-4xl: 3.25rem;    /* 52px */
    --font-size-5xl: 4rem;       /* 64px */
}

/* 基础重置和全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    transition: all var(--transition-normal) ease;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

body.show-focus *:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(0, 122, 255, 0.25);
}

/* 跳转链接 */
.skip-links {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 10000;
}

.skip-link {
    position: absolute;
    top: 100px;
    left: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    transform: translateY(-100%);
    transition: transform var(--transition-fast) ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* 无障碍工具栏 */
.accessibility-toolbar {
    position: fixed;
    top: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 1000;
    display: flex;
    gap: var(--spacing-sm);
    background: var(--background-card);
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.accessibility-toolbar button {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    transition: all var(--transition-fast) ease;
}

.accessibility-toolbar button:hover,
.accessibility-toolbar button:focus {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.accessibility-toolbar button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 容器 */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 头部 - 教育类风格 */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
}

.site-header.white{
     background: rgba(255, 255, 255, 0.6);
}

.site-header.white .logo-text{
    color: #fff;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) 0;
    padding: 10px 0;
    gap: var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.logo-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    justify-content: center;
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

.logo-tagline {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal) ease;
}

.main-nav a:hover,
.main-nav a:focus {
    background: var(--background-secondary);
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* 头部认证信息 */
.header-credentials {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--background-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.credential-item strong {
    font-size: var(--font-size-xs);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1;
}

.credential-item small {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-top: 2px;
    transition: all var(--transition-fast) ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

.main-nav a[aria-current="page"] {
    color: var(--primary-color);
    background: rgba(0, 122, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast) ease;
}

/* 英雄区 - 深色系高贵风格 */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    background-image: url(images/bnr_bg2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: var(--spacing-5xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section .container {
   display: flex;
   justify-content: center;
}

.hero-content {
    width: 900px;
    height: 800px;
    position: relative;
    z-index: 1;
    padding-top: 300px;
    padding-bottom: 160px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-left;
}

/* 认证徽章 - 深色主题适配 */
.hero-badge {
    font-size: 14px;
    color: rgba(255,255,255,.7);
}

.badge-icon {
    font-size: var(--font-size-xs);
    color: #00d4aa;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* 核心数据展示 - 深色主题适配 */
.hero-stats {
    width: 800px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* 信任标识 - 深色主题适配 */
.trust-indicators {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.trust-icon {
    color: #00d4aa;
    font-weight: bold;
    font-size: var(--font-size-sm);
}

/* 产品展示区域 - 深色主题适配 */
.product-showcase {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

/* 爱情展示区域 - 深色主题适配 */
.love-showcase {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.showcase-header {
    margin-bottom: var(--spacing-lg);
}

.showcase-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--spacing-xs);
}

.showcase-header p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.phone-mockup {
    margin: var(--spacing-lg) 0;
    display: inline-block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.app-screenshot {
    width: 200px;
    height: auto;
    display: block;
}

.love-image-container {
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.love-banner-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.love-banner-image:hover {
    transform: scale(1.02);
}

.love-message {
    margin: var(--spacing-lg) 0;
}

.love-message h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--spacing-xs);
}

.love-message p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.showcase-features {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: all var(--transition-normal) ease;
    min-height: 52px;
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover,
.cta-button.primary:focus {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform var(--transition-normal) ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    z-index: 2;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border: 2px solid #333;
    border-radius: 50%;
    z-index: 2;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    position: relative;
    z-index: 1;
}

/* 通用区域样式 */
section {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(180deg, transparent 0%, rgba(247, 247, 247, 0.5) 50%, transparent 100%);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 交友功能展示 - 全新设计 */
.features-section {
    background: var(--background-secondary);
    padding: var(--spacing-4xl) 0;
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-card.hot {
    border: 2px solid #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.15);
}

.feature-card.hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.feature-icon-bg {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.feature-icon-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-icon {
    font-size: 28px;
    color: white;
    z-index: 1;
}

.feature-content {
    flex: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.feature-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.feature-desc {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.feature-stats {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.feature-stats .stat {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    background: var(--background-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* 各种徽章样式 */
.hot-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

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

.status-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.new {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.status-badge:not(.new) {
    background: var(--background-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* 用户反馈 */
.real-feedback {
    margin-top: var(--spacing-4xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.real-feedback h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feedback-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
}

.feedback-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.feedback-text::before {
    content: '"';
    color: var(--text-secondary);
}

.feedback-text::after {
    content: '"';
    color: var(--text-secondary);
}

.feedback-author {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* 社区区域 - 双向滚动头像墙 */
.community-section {
    background: var(--background-primary);
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
}

.user-avatars {
    margin: var(--spacing-3xl) 0;
}

/* 双向滚动容器 */
.scroll-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    /* 渐变遮罩效果 */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.avatar-scroll-row {
    display: flex;
    width: max-content;
    align-items: center;
}

/* 滚动动画 */
.scroll-left-to-right .avatar-scroll-row {
    animation: scrollLeftToRight 80s linear infinite;
}

.scroll-right-to-left .avatar-scroll-row {
    animation: scrollRightToLeft 80s linear infinite;
}

/* hover暂停滚动 */
.scroll-container:hover .avatar-scroll-row {
    animation-play-state: paused;
}

/* 滚动动画关键帧 */
@keyframes scrollLeftToRight {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scrollRightToLeft {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* 头像样式 - 方形大图 */
.avatar-item {
    width: 180px;
    height: 180px;
    margin: 0 7.5px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal) ease;
    cursor: pointer;
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8);
    transition: all var(--transition-normal) ease;
}

.avatar-item:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.avatar-item:hover img {
    filter: saturate(1);
    transform: scale(1.05);
}

/* 社区数据展示 */
.community-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--background-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-normal) ease;
    min-width: 140px;
}

.stat-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .avatar-item {
        width: 140px;
        height: 140px;
        margin: 0 6px;
        border-radius: 12px;
    }
    
    .community-stats {
        gap: var(--spacing-lg);
    }
    
    .stat-badge {
        padding: var(--spacing-md) var(--spacing-lg);
        min-width: 120px;
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 480px) {
    .avatar-item {
        width: 120px;
        height: 120px;
        margin: 0 5px;
        border-radius: 10px;
    }
    
    .community-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .stat-badge {
        width: 100%;
        max-width: 200px;
    }
}



/* 关于我们 */
.about-section {
    background: linear-gradient(180deg, var(--background-secondary) 0%, var(--background-primary) 100%);
    padding: var(--spacing-4xl) 0;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.subsection-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 愿景使命 */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
}

.vision-card,
.mission-card {
    background: var(--background-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal) ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.vision-card h3,
.mission-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.vision-card p,
.mission-card p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 产品介绍 */
.product-intro {
    margin-bottom: var(--spacing-4xl);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.intro-text p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.intro-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.highlight-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--background-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal) ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.highlight-number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.highlight-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

/* 核心价值观 */
.core-values {
    margin-bottom: var(--spacing-4xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.value-item {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--background-card);
    border-radius: var(--radius-xl);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal) ease;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    display: block;
}

.value-item h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.value-item p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 技术优势 */
.tech-advantages {
    margin-bottom: var(--spacing-4xl);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.tech-item {
    padding: var(--spacing-xl);
    background: var(--background-card);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal) ease;
}

.tech-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary-color);
}

.tech-item h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.tech-item p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 发展历程 */
.development-timeline {
    margin-bottom: var(--spacing-4xl);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: var(--spacing-xl);
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    margin-left: var(--spacing-xl);
}

.timeline-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--background-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.timeline-content h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.timeline-content p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 公司信息 */
.company-info {
    background: var(--background-card);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.info-list {
    list-style: none;
}

.info-list dt {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-lg);
}

.info-list dd {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    margin-left: 0;
    font-size: var(--font-size-base);
}

.info-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-list a:hover,
.info-list a:focus {
    text-decoration: underline;
}

.company-certifications h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.cert-list {
    list-style: none;
}

.cert-list li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    position: relative;
    font-size: var(--font-size-base);
}

.cert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 下载区域 */
.download-section {
    background: var(--background-primary);
}

.download-options {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--background-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-normal) ease;
    box-shadow: var(--shadow-light);
    min-width: 200px;
}

.download-btn:hover,
.download-btn:focus {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.download-icon {
    font-size: var(--font-size-3xl);
}

.download-text small {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.download-text strong {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

/* 页脚 */
.site-footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

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

.footer-section h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    color: white;
}

.contact-info p,
.legal-links li,
.icp-info p {
    margin-bottom: var(--spacing-sm);
}

.legal-links {
    list-style: none;
}

.legal-links a,
.contact-info a,
.icp-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast) ease;
}

.legal-links a:hover,
.legal-links a:focus,
.contact-info a:hover,
.contact-info a:focus,
.icp-info a:hover,
.icp-info a:focus {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    :root {
        --container-padding: var(--spacing-md);
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
    }
    
    .accessibility-toolbar {
        position: static;
        margin: var(--spacing-md);
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
    
    .feature-icon::before {
        border-radius: 16px;
    }
    

    
          .avatar-item {
        border-width: 2px;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: var(--spacing-sm);
        --spacing-4xl: 3rem;
        --spacing-3xl: 2rem;
        --spacing-2xl: 1.5rem;
    }
    
    .hero-section {
        padding: var(--spacing-2xl) 0;
    }
    
    section {
        padding: var(--spacing-2xl) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .feature-icon-bg {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        font-size: 24px;
    }
    
    .feature-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    /* 头部移动端适配 */
    .header-content {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }
    
    .header-credentials {
        display: none;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    /* 英雄区移动端适配 */
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .trust-indicators {
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .phone-mockup {
        margin: var(--spacing-md) 0;
    }
    
    .app-screenshot {
        width: 160px;
    }
    
    /* 双向滚动头像墙移动端适配 */
    .scroll-container {
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
    
    .scroll-left-to-right .avatar-scroll-row {
        animation: scrollLeftToRight 30s linear infinite;
    }
    
    .scroll-right-to-left .avatar-scroll-row {
        animation: scrollRightToLeft 30s linear infinite;
    }
    
    /* 功能展示移动端适配 */
    .feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .feature-data {
        gap: var(--spacing-sm);
    }
    
    .feature-data span {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-xs);
    }
    
    .feedback-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* 关于我们移动端适配 */
    .vision-mission {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: var(--spacing-2xl);
    }
    
    .timeline-item .timeline-content {
        text-align: left !important;
        margin: var(--spacing-md) 0 0 0 !important;
        width: 100%;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        top: 0;
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .company-details {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .company-info {
        padding: var(--spacing-xl);
    }
}

/* 打印样式 */
@media print {
    .accessibility-toolbar,
    .mobile-menu-btn,
    .skip-links {
        display: none !important;
    }
    
    .site-header {
        position: static;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .hero-section {
        page-break-after: always;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow) ease;
}

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

/* 减少动画运动 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}