/* 营养师小雅 - 苹果风格专业营养指导网站 */

/* CSS变量定义 - 苹果系统色彩 */
:root {
    /* 苹果系统色彩 */
    --primary-color: #007AFF;        /* 苹果蓝 - 主色调 */
    --secondary-color: #5856D6;      /* 紫色 - 辅助色 */
    --accent-color: #FF3B30;         /* 红色 - 强调色 */
    --success-color: #34C759;        /* 绿色 - 成功色 */
    --warning-color: #FF9500;        /* 橙色 - 警告色 */
    
    /* 文字色彩 */
    --text-primary: #1D1D1F;         /* 深灰 - 主要文字 */
    --text-secondary: #86868B;       /* 中灰 - 次要文字 */
    --text-tertiary: #C7C7CC;        /* 浅灰 - 三级文字 */
    --text-white: #FFFFFF;           /* 纯白 */
    
    /* 背景色彩 */
    --bg-primary: #FFFFFF;           /* 主背景 - 纯白 */
    --bg-secondary: #F2F2F7;         /* 次要背景 - 浅灰 */
    --bg-tertiary: #FFFFFF;          /* 三级背景 */
    --bg-dark: #1D1D1F;              /* 深色背景 */
    
    /* 边框和分割线 */
    --border-light: #E5E5EA;         /* 浅色边框 */
    --border-medium: #C7C7CC;        /* 中等边框 */
    --border-dark: #8E8E93;          /* 深色边框 */
    
    /* 阴影 */
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 4px 20px rgba(0, 122, 255, 0.2);
    
    /* 字体系统 - SF Pro 替代 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    
    /* 字体大小 - 缩小至80% */
    --font-size-xs: 0.6rem;          /* 9.6px */
    --font-size-sm: 0.7rem;          /* 11.2px */
    --font-size-base: 0.8rem;        /* 12.8px */
    --font-size-lg: 0.9rem;          /* 14.4px */
    --font-size-xl: 1rem;            /* 16px */
    --font-size-2xl: 1.2rem;         /* 19.2px */
    --font-size-3xl: 1.5rem;         /* 24px */
    --font-size-4xl: 1.8rem;         /* 28.8px */
    --font-size-5xl: 2.4rem;         /* 38.4px */
    
    /* 字体权重 */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* 间距系统 - 缩小至80% */
    --spacing-xs: 0.4rem;            /* 6.4px */
    --spacing-sm: 0.8rem;            /* 12.8px */
    --spacing-md: 1.2rem;            /* 19.2px */
    --spacing-lg: 1.6rem;            /* 25.6px */
    --spacing-xl: 2.4rem;            /* 38.4px */
    --spacing-2xl: 3.2rem;           /* 51.2px */
    --spacing-3xl: 4.8rem;           /* 76.8px */
    
    /* 圆角系统 - 缩小至80% */
    --radius-sm: 6.4px;
    --radius-md: 9.6px;
    --radius-lg: 12.8px;
    --radius-xl: 16px;
    --radius-2xl: 19.2px;
    --radius-full: 9999px;
    
    /* 过渡动画 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 毛玻璃效果 */
    --backdrop-blur: blur(20px);
    --backdrop-saturate: saturate(180%);
    
    /* 浏览器兼容性前缀 */
    --webkit-backdrop-blur: -webkit-backdrop-filter;
    --webkit-transform: -webkit-transform;
    --webkit-transition: -webkit-transition;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* 容器 - 缩小至80% */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 导航栏 - 苹果风格毛玻璃效果 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: var(--backdrop-blur);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    color: var(--primary-color);
}

.nav-logo i {
    font-size: var(--font-size-2xl);
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
    position: relative;
    padding: var(--spacing-xs) 0;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--spacing-xs);
}

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

/* 首页英雄区 - 缩小至80% */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.05) 0%, 
        rgba(255, 59, 48, 0.05) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 59, 48, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: var(--font-size-2xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-medium);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.hero-stats {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-2xl);
    z-index: 2;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: var(--backdrop-blur);
    backdrop-filter: var(--backdrop-blur);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.stat h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat p {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

/* 按钮样式 - 苹果风格 */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 140px;
}

.btn::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: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* 通用区块样式 - 缩小至80% */
section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

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

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    position: relative;
}

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

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

/* 关于我页面标题特殊样式 */
.about .section-title {
    background: linear-gradient(135deg, #1e293b, #475569, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.about .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #10b981, #f59e0b);
    border-radius: 2px;
}

/* 关于我页面副标题特殊样式 */
.about .section-subtitle {
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about .section-subtitle::after {
    content: '✨';
    margin-left: 8px;
}

/* 关于我区块 */
.about {
    background: linear-gradient(135deg, 
        #f8fafc 0%, 
        #f1f5f9 25%,
        #e2e8f0 50%,
        #f1f5f9 75%,
        #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

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

.about-text {
    background: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #10b981, #f59e0b);
}

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.credential {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out both;
}

.credential:nth-child(1) { animation-delay: 0.8s; }
.credential:nth-child(2) { animation-delay: 1.0s; }
.credential:nth-child(3) { animation-delay: 1.2s; }

.credential::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.credential:hover::before {
    left: 100%;
}

.credential:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.credential i {
    font-size: 1.8rem;
    color: #6366f1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.credential:hover i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.2));
}

.credential span {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.credential:hover span {
    color: #6366f1;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: slideInRight 0.8s ease-out 0.6s both;
}

.image-placeholder {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #10b981);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 
        0 25px 50px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.image-placeholder:hover i {
    transform: scale(1.1);
}

.image-placeholder p {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.decorative-dots {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 25px 25px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

/* 添加浮动动画 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 服务区块 - 现代化设计 */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 服务标题特殊样式 */
.services .section-title {
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    position: relative;
    letter-spacing: -0.02em;
}

.services .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.services .section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.services .section-subtitle::before {
    content: '✨';
    margin-right: 8px;
}

.services .section-subtitle::after {
    content: '✨';
    margin-left: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem 1.6rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

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

.service-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: white;
    font-size: 1.76rem;
    box-shadow: 
        0 12px 28px rgba(59, 130, 246, 0.3),
        0 4px 12px rgba(59, 130, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 20px 45px rgba(59, 130, 246, 0.4),
        0 8px 20px rgba(59, 130, 246, 0.3);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #3b82f6;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #475569;
}

/* 服务卡片进入动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 为服务卡片添加进入动画 */
.service-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* 标题进入动画 */
.services .section-title {
    animation: fadeInScale 0.8s ease-out forwards;
    opacity: 0;
}

.services .section-subtitle {
    animation: fadeInScale 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* 悬停时的微交互效果 */
.service-card {
    cursor: pointer;
}

.service-card:active {
    transform: translateY(-8px) scale(1.01);
}

/* 图标旋转动画 */
@keyframes iconRotate {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.service-card:hover .service-icon i {
    animation: iconRotate 0.6s ease-in-out;
}

/* 知识区块 - 全新现代化设计 */
.knowledge {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.knowledge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.knowledge-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.knowledge-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 2px solid transparent;
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.tab-btn span {
    position: relative;
    z-index: 1;
}

.tab-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
    border-color: var(--primary-color);
}

.tab-btn:hover::before {
    opacity: 1;
}

.tab-btn:hover span {
    color: var(--text-white);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
    transform: translateY(-2px);
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn.active span {
    color: var(--text-white);
}

.tab-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.tab-panel h3 {
    font-size: var(--font-size-4xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    font-weight: var(--font-weight-bold);
    position: relative;
}

.tab-panel h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

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

.knowledge-item {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.knowledge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.knowledge-item:hover::before {
    transform: scaleX(1);
}

.knowledge-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.2);
}

.knowledge-item-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.knowledge-item i {
    font-size: var(--font-size-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    background-color: rgba(0, 122, 255, 0.1);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--primary-color);
}

.knowledge-item h4 {
    color: var(--text-primary);
    margin: 0;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    line-height: 1.3;
}

.knowledge-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--font-size-base);
    margin: 0;
}

/* 减脂知识特殊样式 */
.knowledge-category[data-category="weight-loss"] .knowledge-item {
    border-left: 4px solid var(--success-color);
}

.knowledge-category[data-category="weight-loss"] .knowledge-item i {
    color: var(--success-color);
    background-color: rgba(52, 199, 89, 0.1);
}

/* 营养搭配特殊样式 */
.knowledge-category[data-category="nutrition"] .knowledge-item {
    border-left: 4px solid var(--warning-color);
}

.knowledge-category[data-category="nutrition"] .knowledge-item i {
    color: var(--warning-color);
    background-color: rgba(255, 149, 0, 0.1);
}

/* 生活方式特殊样式 */
.knowledge-category[data-category="lifestyle"] .knowledge-item {
    border-left: 4px solid var(--secondary-color);
}

.knowledge-category[data-category="lifestyle"] .knowledge-item i {
    color: var(--secondary-color);
    background-color: rgba(88, 86, 214, 0.1);
}

/* 成功案例部分 - 大学生专属设计 */
.testimonials {
    background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 50%, #e8f2ff 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xxl) 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(88, 86, 214, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(88, 86, 214, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(88, 86, 214, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .section-title {
    background: linear-gradient(135deg, #5856d6, #007AFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    text-align: center;
    padding: 0 var(--spacing-lg);
    letter-spacing: 2px;
    line-height: 1.2;
}

/* 去掉成功案例标题的横线 */
.testimonials .section-title::before {
    display: none !important;
}

/* 完全禁用成功案例标题的横线 */
.testimonials .section-title::after {
    content: '🎓' !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.5rem !important;
    animation: bounce 2s infinite !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(-50%); }
    40% { transform: translateY(-60%); }
    60% { transform: translateY(-55%); }
}

.testimonials .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    margin-bottom: var(--spacing-xxl);
    text-align: center;
    padding: 0 var(--spacing-lg);
    line-height: 1.6;
    letter-spacing: 1px;
    margin-top: var(--spacing-sm);
}

/* 统计数据概览 */
.testimonials-stats {
    margin-bottom: var(--spacing-2xl);
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(88, 86, 214, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5856d6, #007AFF);
    border-radius: 24px 24px 0 0;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(88, 86, 214, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5856d6, #007AFF);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(88, 86, 214, 0.3);
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #5856d6;
    margin: 0 0 var(--spacing-xs) 0;
    line-height: 1.1;
}

.stat-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

/* 案例卡片网格 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-lg);
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .testimonials-grid {
        max-width: 1440px;
        gap: var(--spacing-xl);
    }
    
    .testimonial-card {
        min-height: 384px;
    }
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.95));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(88, 86, 214, 0.12);
    border-radius: 19.2px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 16px 32px rgba(88, 86, 214, 0.06), 0 6px 12px rgba(0, 0, 0, 0.03);
    min-height: 384px;
}

.testimonial-card.featured {
    border: 1px solid rgba(88, 86, 214, 0.15);
    box-shadow: 0 16px 32px rgba(88, 86, 214, 0.08), 0 6px 12px rgba(0, 0, 0, 0.04);
    transform: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.9));
}


.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5856d6, #007AFF);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 64px rgba(88, 86, 214, 0.12), 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(88, 86, 214, 0.2);
}

.testimonial-card:hover::after {
    opacity: 1;
}

/* 案例头部信息 */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-image {
    position: relative;
}

.avatar-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #5856d6, #007AFF, #34C759);
    border-radius: 19.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 26px rgba(88, 86, 214, 0.25), 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.testimonial-card:hover .avatar-container {
    transform: scale(1.1);
    box-shadow: 0 16px 40px rgba(88, 86, 214, 0.4);
}

.avatar-container i {
    font-size: 1.44rem;
    color: white;
}

.success-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #34C759, #30B050, #2E9A4A);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
    letter-spacing: 0.3px;
    animation: pulse 2s infinite;
}

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

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 var(--spacing-xs) 0;
    line-height: 1.3;
}

.testimonial-meta {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 var(--spacing-sm) 0;
    font-weight: 500;
    line-height: 1.4;
}

.testimonial-rating {
    display: flex;
    gap: var(--spacing-xs);
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
}

/* 成果展示 */
.testimonial-result {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.06), rgba(0, 122, 255, 0.04), rgba(52, 199, 89, 0.02));
    border-radius: 20px;
    border: 1px solid rgba(88, 86, 214, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(88, 86, 214, 0.05);
}

.testimonial-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.result-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(88, 86, 214, 0.08);
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.1);
}

.result-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.result-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #5856d6;
    text-shadow: 0 1px 2px rgba(88, 86, 214, 0.1);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* 评价文字 */
.testimonial-text {
    margin-bottom: var(--spacing-md);
}

.testimonial-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: var(--spacing-lg);
}

.testimonial-text p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: #5856d6;
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

/* 专业标签 */
.testimonial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.testimonial-tags .tag {
    background: linear-gradient(135deg, #5856d6, #007AFF, #34C759);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.25);
    transition: all 0.3s ease;
    line-height: 1.2;
}

.testimonial-tags .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 86, 214, 0.4);
}

/* 行动召唤区域 */
.testimonials-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.12), rgba(0, 122, 255, 0.08), rgba(52, 199, 89, 0.05));
    border-radius: 24px;
    padding: var(--spacing-xl);
    border: 1px solid rgba(88, 86, 214, 0.25);
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 30px;

}

.testimonials-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(88, 86, 214, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 122, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-cta h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 var(--spacing-md) 0;
    background: linear-gradient(135deg, #5856d6, #007AFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.testimonials-cta p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 var(--spacing-lg) 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::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;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

.cta-buttons .btn i {
    font-size: 1.2rem;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #5856d6, #007AFF);
    color: white;
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(88, 86, 214, 0.3);
}

.cta-buttons .btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    color: #5856d6;
    border: 2px solid #5856d6;
}

.cta-buttons .btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(88, 86, 214, 0.2);
    background: linear-gradient(135deg, #5856d6, #007AFF);
    color: white;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .knowledge-tabs {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-2xl);
    }
    
    /* 成功案例部分响应式 */
    .testimonials .section-title {
        font-size: 2rem;
        padding: 0 var(--spacing-md);
    }
    
    .testimonials .section-title::after {
        right: 10px;
        font-size: 1.2rem;
    }
    
    .testimonials .section-subtitle {
        padding: 0 var(--spacing-md);
    }
    
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    
    .stat-card {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        min-height: 100px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .stat-content p {
        font-size: 0.8rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }
    
    .testimonial-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
        min-height: 450px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .avatar-container {
        width: 60px;
        height: 60px;
    }
    
    .avatar-container i {
        font-size: 1.5rem;
    }
    
    .testimonial-info h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-meta {
        font-size: 0.8rem;
    }
    
    .testimonial-result {
        flex-direction: column;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm);
    }
    
    .result-value {
        font-size: 1rem;
    }
    
    .testimonial-text p {
        font-size: 0.9rem;
        padding-left: var(--spacing-md);
    }
    
    .testimonial-text p::before {
        font-size: 2.5rem;
        top: -8px;
    }
    
    .testimonial-tags .tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .testimonials-cta {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-md);
    }
    
    .testimonials-cta h3 {
        font-size: 1.5rem;
    }
    
    .testimonials-cta p {
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .cta-buttons .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* 成功案例部分小屏幕响应式 */
    .testimonials .section-title {
        font-size: 1.6rem;
        padding: 0 var(--spacing-sm);
    }
    
    .testimonials .section-title::after {
        right: 5px;
        font-size: 1rem;
    }
    
    .testimonials .section-subtitle {
        padding: 0 var(--spacing-sm);
        font-size: 1rem;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .stat-card {
        padding: var(--spacing-sm);
        min-height: 80px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon i {
        font-size: 1rem;
    }
    
    .stat-content h3 {
        font-size: 1.3rem;
    }
    
    .stat-content p {
        font-size: 0.75rem;
    }
    
    .testimonials-grid {
        padding: 0 var(--spacing-sm);
    }
    
    .testimonial-card {
        padding: var(--spacing-sm);
        min-height: 400px;
    }
    
    
    .avatar-container {
        width: 50px;
        height: 50px;
    }
    
    .avatar-container i {
        font-size: 1.3rem;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-meta {
        font-size: 0.75rem;
    }
    
    .testimonial-result {
        padding: var(--spacing-sm);
    }
    
    .result-value {
        font-size: 0.95rem;
    }
    
    .testimonial-text p {
        font-size: 0.85rem;
        padding-left: var(--spacing-sm);
    }
    
    .testimonial-text p::before {
        font-size: 2rem;
        top: -5px;
    }
    
    .testimonial-tags .tag {
        font-size: 0.65rem;
        padding: 2px 4px;
    }
    
    .testimonials-cta {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-sm);
    }
    
    .testimonials-cta h3 {
        font-size: 1.3rem;
    }
    
    .testimonials-cta p {
        font-size: 0.85rem;
    }
    
    .cta-buttons .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.85rem;
    }
    
    .tab-btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
    
    .knowledge-items {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .knowledge-item {
        padding: var(--spacing-lg);
    }
    
    .knowledge-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .knowledge-item i {
        font-size: var(--font-size-2xl);
    }
    
    .tab-content {
        padding: var(--spacing-xl);
    }
    
    .tab-panel h3 {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 480px) {
    .knowledge-tabs {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .tab-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .knowledge-item {
        padding: var(--spacing-md);
    }
    
    .tab-content {
        padding: var(--spacing-lg);
    }
}

/* 减脂知识指南 - 全新设计 */
.fat-loss-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    padding: var(--spacing-lg);
}

.fat-loss-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.fat-loss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fat-loss-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.fat-loss-card:hover::before {
    opacity: 1;
}

.fat-loss-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.fat-loss-card .card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.fat-loss-card:hover .card-icon::before {
    opacity: 0.2;
}

.fat-loss-card .card-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

/* 减脂卡片不同主题颜色 */
.calories .card-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.protein .card-icon {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.timing .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.hydration .card-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.sleep .card-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.exercise .card-icon {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.fat-loss-card .card-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fat-loss-card .card-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.3);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(88, 86, 214, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(88, 86, 214, 0.1);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 8px;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.card-tips {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.1), rgba(88, 86, 214, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(88, 86, 214, 0.2);
}

.tip {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.card-tips span:last-child {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 生活方式指南 - 全新设计 */
.lifestyle-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    padding: var(--spacing-lg);
}

.lifestyle-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.lifestyle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lifestyle-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.lifestyle-card:hover::before {
    opacity: 1;
}

.lifestyle-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.lifestyle-card .card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.lifestyle-card:hover .card-icon::before {
    opacity: 0.2;
}

.lifestyle-card .card-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

/* 生活方式卡片不同主题颜色 */
.activity .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.digital .card-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.social .card-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stress .card-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.learning .card-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.environment .card-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.lifestyle-card .card-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lifestyle-card .card-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.3);
}

/* 营养搭配指南 - 全新设计 */
.nutrition-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-xl);
    padding: var(--spacing-lg);
}

.meal-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.meal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meal-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.meal-card:hover::before {
    opacity: 1;
}

.meal-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.meal-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.meal-card:hover .meal-icon::before {
    opacity: 0.2;
}

.meal-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

/* 不同餐次的图标颜色 */
.breakfast .meal-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.lunch .meal-icon {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.dinner .meal-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.snack .meal-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.hydration .meal-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.meal-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.meal-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.3);
}

.food-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.food-item {
    background: rgba(88, 86, 214, 0.1);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(88, 86, 214, 0.2);
    transition: all 0.3s ease;
}

.food-item:hover {
    background: rgba(88, 86, 214, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(88, 86, 214, 0.2);
}

.meal-benefit {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .fat-loss-guide,
    .lifestyle-guide,
    .nutrition-guide {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-md);
    }
    
    .fat-loss-card,
    .lifestyle-card,
    .meal-card {
        padding: var(--spacing-lg);
    }
    
    .fat-loss-card .card-icon,
    .lifestyle-card .card-icon,
    .meal-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-md);
    }
    
    .fat-loss-card .card-icon i,
    .lifestyle-card .card-icon i,
    .meal-icon i {
        font-size: 2rem;
    }
    
    .fat-loss-card .card-content h4,
    .lifestyle-card .card-content h4,
    .meal-content h4 {
        font-size: 1.25rem;
    }
    
    .card-details {
        gap: var(--spacing-xs);
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .food-items {
        gap: var(--spacing-xs);
    }
    
    .food-item {
        font-size: 0.8rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .fat-loss-guide,
    .lifestyle-guide,
    .nutrition-guide {
        padding: var(--spacing-sm);
    }
    
    .fat-loss-card,
    .lifestyle-card,
    .meal-card {
        padding: var(--spacing-md);
    }
    
    .fat-loss-card .card-icon,
    .lifestyle-card .card-icon,
    .meal-icon {
        width: 50px;
        height: 50px;
    }
    
    .fat-loss-card .card-icon i,
    .lifestyle-card .card-icon i,
    .meal-icon i {
        font-size: 1.5rem;
    }
    
    .card-tips {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
}

.meal-plan {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

.meal-plan:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.meal-plan h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
}

.meal-plan p {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-medium);
}

.meal-tip {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-style: italic;
}

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

.tip-card {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.tip-card i {
    font-size: var(--font-size-3xl);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.tip-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
}

.tip-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 成功案例区块 */
.testimonials {
    background: var(--bg-primary);
}

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

.testimonial-card {
    background: var(--bg-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.testimonial-card:hover::before {
    opacity: 1;
}

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

.testimonial-card > * {
    position: relative;
    z-index: 2;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-colored);
}

.testimonial-image i {
    font-size: var(--font-size-3xl);
    color: var(--text-white);
}

.testimonial-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
}

.testimonial-result {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

/* 联系区块 */
.contact {
    background: linear-gradient(135deg, 
        rgba(88, 86, 214, 0.02) 0%, 
        rgba(255, 255, 255, 0.95) 25%, 
        rgba(255, 255, 255, 0.95) 75%, 
        rgba(175, 82, 222, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(88, 86, 214, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(175, 82, 222, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 149, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
}

/* 联系我页面进入动画 */
.contact-info {
    animation: slideInLeft 0.8s ease-out;
}

.qr-section {
    animation: slideInRight 0.8s ease-out;
}

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

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

/* 特色卡片依次出现动画 */
.feature:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.feature:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.feature:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

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

.contact-info {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-info h3 {
    font-size: var(--font-size-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    font-weight: var(--font-weight-bold);
    position: relative;
}

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

.contact-info p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    font-weight: var(--font-weight-medium);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px rgba(88, 86, 214, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.feature:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(88, 86, 214, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.feature:hover::before {
    width: 6px;
}

.feature i {
    font-size: var(--font-size-2xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature span {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    transition: color 0.3s ease;
}

.feature:hover span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qr-section {
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.qr-section h3 {
    font-size: var(--font-size-3xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    font-weight: var(--font-weight-bold);
    position: relative;
}

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

.qr-code {
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.qr-placeholder {
    width: 176px;
    height: 176px;
    background: linear-gradient(135deg, 
        rgba(88, 86, 214, 0.9) 0%, 
        rgba(175, 82, 222, 0.9) 50%, 
        rgba(255, 149, 0, 0.9) 100%);
    border-radius: 19.2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin: 0 auto;
    box-shadow: 
        0 16px 48px rgba(88, 86, 214, 0.3),
        0 6px 19px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

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

.qr-placeholder::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    pointer-events: none;
}

.qr-placeholder:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(88, 86, 214, 0.4),
        0 12px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.qr-placeholder i {
    font-size: 3.2rem;
    margin-bottom: var(--spacing-md);
    z-index: 2;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.qr-placeholder:hover i {
    transform: scale(1.1) rotate(10deg);
}

.qr-placeholder p {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* 二维码容器 */
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

/* 二维码框架 */
.qr-frame {
    position: relative;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, 
        rgba(88, 86, 214, 0.1) 0%, 
        rgba(175, 82, 222, 0.1) 50%, 
        rgba(255, 149, 0, 0.1) 100%);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 
        0 25px 80px rgba(88, 86, 214, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse {
    0% {
        box-shadow: 
            0 25px 80px rgba(88, 86, 214, 0.25),
            0 10px 30px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 25px 80px rgba(88, 86, 214, 0.35),
            0 10px 30px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 0 0 rgba(88, 86, 214, 0.4);
    }
    100% {
        box-shadow: 
            0 25px 80px rgba(88, 86, 214, 0.25),
            0 10px 30px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.qr-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(88, 86, 214, 0.05) 0%, 
        rgba(175, 82, 222, 0.05) 50%, 
        rgba(255, 149, 0, 0.05) 100%);
    border-radius: 24px;
    z-index: 1;
}

.qr-frame::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    animation: shimmer 4s infinite;
    pointer-events: none;
    z-index: 2;
}

/* 二维码图片 */
.qr-image {
    width: 100%;
    height: 100%;
    max-width: 176px;
    max-height: 176px;
    border-radius: 16px;
    object-fit: cover;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    /* 确保图片始终显示 */
    min-width: 100px;
    min-height: 100px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
}

/* 图片加载失败时的备用样式 */
.qr-image:not([src]),
.qr-image[src=""],
.qr-image[src*="undefined"],
.qr-image[src*="null"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
}

.qr-image:not([src])::before,
.qr-image[src=""]::before,
.qr-image[src*="undefined"]::before,
.qr-image[src*="null"]::before {
    content: "图片加载中...";
}

/* 二维码备用显示样式 */
.qr-placeholder-fallback {
    width: 100%;
    height: 100%;
    max-width: 176px;
    max-height: 176px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.qr-placeholder-fallback:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
}

/* 微信图标覆盖层 */
.qr-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 4;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.qr-overlay i {
    font-size: 1.8rem;
    color: #07C160;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 悬停效果 */
.qr-frame:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 35px 100px rgba(88, 86, 214, 0.35),
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.qr-frame:hover .qr-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.qr-frame:hover .qr-image {
    filter: brightness(1.1) contrast(1.05);
}

/* 文字区域 */
.qr-text {
    text-align: center;
    position: relative;
}

.qr-text h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
    position: relative;
}

.qr-text h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.qr-text p {
    font-size: var(--font-size-md);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    margin: 0;
    opacity: 0.8;
    line-height: 1.4;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px rgba(88, 86, 214, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-details p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-md);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
    position: relative;
}

.contact-details p::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.contact-details p:hover::before {
    width: 100%;
}

.contact-details p:hover {
    transform: translateX(8px);
    color: var(--primary-color);
}

.contact-details i {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--font-size-xl);
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-details p:hover i {
    transform: scale(1.2) rotate(5deg);
}

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

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

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-semibold);
}

.footer-section p,
.footer-section li {
    color: var(--text-tertiary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: var(--backdrop-blur);
        backdrop-filter: var(--backdrop-blur);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-2xl);
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: var(--spacing-md) 0;
    }

    .nav-menu a {
        font-size: var(--font-size-xl);
    }

    .hamburger {
        display: flex;
    }

    .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(7px, -6px);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: var(--spacing-2xl);
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-text {
        padding: var(--spacing-xl);
        animation: fadeInUp 0.8s ease-out 0.4s both;
    }
    
    .about-image {
        animation: fadeInUp 0.8s ease-out 0.6s both;
    }
    
    .about .section-title {
        font-size: 2.5rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .credential {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .credential i {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .credential span {
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .contact-info {
        animation: fadeInUp 0.8s ease-out;
    }
    
    .qr-section {
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }
    
    .qr-section h3 {
        font-size: var(--font-size-2xl);
    }
    
    .feature {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .feature i {
        font-size: var(--font-size-xl);
        width: 32px;
    }
    
    .feature span {
        font-size: var(--font-size-md);
    }
    
    .qr-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .qr-frame {
        width: 180px;
        height: 180px;
        padding: 10px;
    }
    
    .qr-image {
        max-width: 160px;
        max-height: 160px;
    }
    
    .qr-overlay {
        width: 50px;
        height: 50px;
    }
    
    .qr-overlay i {
        font-size: 1.5rem;
    }
    
    .qr-placeholder i {
        font-size: 3rem;
    }
    
    .contact-details {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .contact-details p {
        font-size: var(--font-size-md);
        justify-content: center;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 var(--spacing-md);
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .services .section-title {
        font-size: 2.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .lifestyle-tips {
        grid-template-columns: 1fr;
    }

    .knowledge-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    /* 服务页面小屏幕优化 */
    .services .section-title {
        font-size: 2rem;
    }
    
    .services .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    /* 关于我页面小屏幕优化 */
    .about .section-title {
        font-size: 2rem;
    }
    
    .about .section-subtitle {
        font-size: 1rem;
    }
    
    .about-text {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-sm);
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .credential {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .credential i {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .credential span {
        font-size: 0.9rem;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .image-placeholder i {
        font-size: 3.5rem;
    }
    
    .image-placeholder p {
        font-size: 1.1rem;
    }
    
    .decorative-dots {
        width: 60px;
        height: 60px;
        top: 20px;
        right: 20px;
        background-size: 20px 20px;
    }

    .contact-info h3 {
        font-size: var(--font-size-2xl);
    }
    
    .contact-info p {
        font-size: var(--font-size-md);
        margin-bottom: var(--spacing-lg);
    }
    
    .feature {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .feature i {
        font-size: var(--font-size-lg);
        width: 28px;
    }
    
    .feature span {
        font-size: var(--font-size-sm);
    }
    
    .qr-placeholder {
        width: 160px;
        height: 160px;
        border-radius: 20px;
    }
    
    .qr-frame {
        width: 160px;
        height: 160px;
        padding: 8px;
        border-radius: 20px;
    }
    
    .qr-image {
        max-width: 144px;
        max-height: 144px;
    }
    
    .qr-overlay {
        width: 45px;
        height: 45px;
    }
    
    .qr-overlay i {
        font-size: 1.3rem;
    }
    
    .qr-text h4 {
        font-size: var(--font-size-lg);
    }
}

/* ===== 二维码模态框样式 ===== */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease-out;
}

.qr-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-modal-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border-radius: 24px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.qr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, 
        rgba(88, 86, 214, 0.05) 0%, 
        rgba(175, 82, 222, 0.05) 100%);
}

.qr-modal-header h3 {
    margin: 0;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qr-modal-close {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.qr-modal-close:hover {
    color: var(--primary-color);
    background: rgba(88, 86, 214, 0.1);
    transform: scale(1.1);
}

.qr-modal-body {
    padding: 32px;
    text-align: center;
}

.qr-modal-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(88, 86, 214, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, 
        rgba(88, 86, 214, 0.1) 0%, 
        rgba(175, 82, 222, 0.1) 50%, 
        rgba(255, 149, 0, 0.1) 100%);
    padding: 16px;
}

.qr-modal-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: transform 0.3s ease;
}

.qr-modal-image:hover {
    transform: scale(1.02);
}

/* 模态框二维码备用显示 */
.qr-modal-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}


.qr-modal-text h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qr-modal-text p {
    color: var(--text-secondary);
    margin: 8px 0;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.qr-modal-tip {
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 20px;
    display: inline-block;
}

/* 模态框动画 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qr-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .qr-modal-header {
        padding: 20px 24px 12px;
    }
    
    .qr-modal-header h3 {
        font-size: var(--font-size-lg);
    }
    
    .qr-modal-body {
        padding: 24px;
    }
    
    .qr-modal-image {
        width: 250px;
        height: 250px;
    }
    
    
    .qr-modal-text h4 {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .qr-modal-content {
        width: 98%;
        margin: 10px;
    }
    
    .qr-modal-header {
        padding: 16px 20px 8px;
    }
    
    .qr-modal-body {
        padding: 20px;
    }
    
    .qr-modal-image {
        width: 200px;
        height: 200px;
    }
    
    
    .qr-modal-text h4 {
        font-size: var(--font-size-base);
    }
    
    .qr-modal-text p {
        font-size: var(--font-size-sm);
    }
}
    
    .qr-text p {
        font-size: var(--font-size-sm);
    }

    .qr-placeholder i {
        font-size: 2.5rem;
    }
    
    .qr-placeholder p {
        font-size: var(--font-size-md);
    }
    
    .contact-details {
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }
    
    .contact-details p {
        font-size: var(--font-size-sm);
        padding: var(--spacing-xs) 0;
    }
    
    .contact-details i {
        font-size: var(--font-size-lg);
        width: 20px;
    }


/* 滚动条样式 - 苹果风格 */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0056CC;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-white);
}

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

/* 减少动画 - 尊重用户偏好 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
