/* ========================================
   AI商学社 - 主样式表
   配色：粉紫渐变 + 亮蓝
   ======================================== */

/* CSS变量 */
:root {
    /* 主色调 - 基于Logo */
    --primary-gradient: linear-gradient(135deg, #E879F9 0%, #A855F7 50%, #8B5CF6 100%);
    --primary-pink: #E879F9;
    --primary-purple: #A855F7;
    --primary-blue: #3B82F6;
    --primary-cyan: #06B6D4;
    
    /* 辅助色 */
    --accent-orange: #F97316;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    
    /* 背景色 - 亮色系 */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-card: rgba(255, 255, 255, 0.8);
    
    /* 文字色 */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --text-white: #FFFFFF;
    
    /* 边框和阴影 */
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.3);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 字体 */
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 容器 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 粒子背景画布 */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 渐变文字 */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--text-white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

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

/* ========================================
   导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 16px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-purple);
    background: rgba(168, 85, 247, 0.1);
}

.nav-link.cta-nav {
    background: var(--primary-gradient);
    color: var(--text-white);
}

.nav-link.cta-nav:hover {
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* 移动端菜单按钮 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, 
        rgba(232, 121, 249, 0.05) 0%, 
        rgba(168, 85, 247, 0.03) 30%,
        rgba(255, 255, 255, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-purple);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

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

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats-preview {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stats-preview .stat-item {
    text-align: center;
}

.hero-stats-preview .stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats-preview .stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* Hero装饰元素 */
.hero-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    animation: orbit-rotate 20s linear infinite;
}

.orbit-1 {
    width: 400px;
    height: 400px;
}

.orbit-2 {
    width: 600px;
    height: 600px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 800px;
    height: 800px;
    animation-duration: 40s;
}

@keyframes orbit-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 3s ease-in-out infinite;
}

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

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    left: 8%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

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

/* ========================================
   信任数据区
   ======================================== */
.trust-stats {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 121, 249, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: var(--radius-lg);
    color: var(--primary-purple);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ========================================
   核心权益区
   ======================================== */
.benefits {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

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

.benefit-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

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

.benefit-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(168, 85, 247, 0.1);
    line-height: 1;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    color: var(--text-white);
    margin-bottom: 24px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   王牌导师区
   ======================================== */
.coaches {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.coach-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.coach-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-purple);
}

.coach-card.featured {
    border: 2px solid var(--primary-purple);
    position: relative;
}

.coach-card.featured::after {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 20px;
    padding: 4px 12px;
    background: var(--primary-gradient);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.coach-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top-color: var(--primary-pink);
    border-right-color: var(--primary-purple);
    border-radius: 50%;
    animation: avatar-rotate 3s linear infinite;
}

@keyframes avatar-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.coach-badge {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: var(--accent-orange);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.coach-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.coach-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.coach-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag {
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-purple);
}

.coach-achievements {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.achievement {
    text-align: center;
}

.achievement-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-purple);
}

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

.coaches-more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   实战项目区
   ======================================== */
.programs {
    padding: 100px 0;
    background: var(--bg-primary);
}

.programs-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--text-white);
}

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

.program-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all var(--transition-normal);
}

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

.program-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.program-badge.hot {
    background: linear-gradient(135deg, #F97316 0%, #EF4444 100%);
    color: var(--text-white);
}

.program-badge.new {
    background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    color: var(--text-white);
}

.program-header {
    margin-bottom: 16px;
    padding-right: 60px;
}

.program-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.program-coach {
    font-size: 14px;
    color: var(--text-secondary);
}

.program-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.program-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 44px;
}

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

.program-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-original {
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.price-member {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-green);
}

/* ========================================
   学员见证区
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.testimonial-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

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

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

.result-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-green);
}

.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

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

.stat-number-large {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label-large {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ========================================
   CTA转化区
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(232, 121, 249, 0.08) 0%, 
        rgba(168, 85, 247, 0.08) 50%,
        rgba(59, 130, 246, 0.08) 100%);
}

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

.cta-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #F97316 0%, #EF4444 100%);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 16px;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-primary);
}

.cta-feature svg {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
}

.cta-price {
    display: flex;
    gap: 24px;
}

.price-tag {
    padding: 16px 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

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

/* QR卡片 */
.qr-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.qr-icon {
    font-size: 24px;
}

.qr-placeholder {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.qr-code {
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
    color: var(--text-primary);
}

.qr-code img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

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

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

/* ========================================
   页脚
   ======================================== */
.footer {
    padding: 80px 0 24px;
    background: #2b2b41;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #f4f6ff;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.footer-desc {
    font-size: 15px;
    color: #d4d9f8;
    line-height: 1.7;
    max-width: 360px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

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

.social-link.has-qr {
    position: relative;
    overflow: visible;
}

.social-link:hover {
    background: var(--primary-purple);
    color: var(--text-white);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-qr {
    position: absolute;
    left: 50%;
    bottom: 52px;
    transform: translateX(-50%) translateY(6px);
    width: 140px;
    height: 140px;
    padding: 8px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 20;
}

.social-qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links-group h4 {
    font-size: 16px;
    font-weight: 700;
    color: #f4f6ff;
    margin-bottom: 20px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 14px;
    color: #d4d9f8;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: #ffffff;
}

.footer-links-group a.has-side-qr {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer-link-qr {
    position: absolute;
    left: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    width: 136px;
    height: 136px;
    padding: 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 30;
}

.footer-link-qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-links-group a.has-side-qr:hover .footer-link-qr {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #d4d9f8;
}

/* ========================================
   悬浮客服按钮
   ======================================== */
.floating-support {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 999;
}

.support-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    transition: all var(--transition-normal);
    position: relative;
}

.support-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.5);
}

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

.join-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    transition: all var(--transition-normal);
    position: absolute;
    right: 0;
    bottom: 68px;
    text-decoration: none;
    z-index: 1000;
}

.join-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.45);
}

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

.join-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 16px;
    background: var(--text-primary);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.join-btn:hover .join-tooltip {
    opacity: 1;
    visibility: visible;
}

.support-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 16px;
    background: var(--text-primary);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.support-btn:hover .support-tooltip {
    opacity: 1;
    visibility: visible;
}

.support-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 280px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

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

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.popup-header h4 {
    font-size: 16px;
    font-weight: 600;
}

.popup-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

.popup-close svg {
    width: 18px;
    height: 18px;
}

.popup-content {
    padding: 20px;
    text-align: center;
}

.popup-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.popup-qr {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    color: var(--text-primary);
}

.popup-qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* ========================================
   回到顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--text-white);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

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

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

/* AOS动画 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-features {
        align-items: center;
    }
    
    .cta-price {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-normal);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-stats-preview {
        gap: 24px;
    }
    
    .floating-card {
        display: none;
    }
    
    .orbit {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .coaches-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .floating-support {
        bottom: 80px;
        right: 16px;
    }
    
    .back-to-top {
        right: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-price {
        flex-direction: column;
        align-items: center;
    }
}
