/* ============================================
   蚂蚁结伴官方网站 - 样式表
   ============================================ */

/* CSS 变量 */
:root {
    --primary: #4CAF50;
    --primary-dark: #2E7D32;
    --primary-light: #81C784;
    --accent: #FF9800;
    --accent-light: #FFB74D;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8a8aa3;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gradient-start: #f0f7f0;
    --bg-gradient-end: #e8f5e9;
    --border-color: #e8e8f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-primary: 0 4px 20px rgba(76,175,80,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s ease;
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76,175,80,0.4);
}

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

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

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

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(76,175,80,0.1), rgba(255,152,0,0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

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

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-icon {
    font-size: 28px;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* ============================================
   Hero 区域
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    top: -200px;
    right: -100px;
    filter: blur(80px);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    bottom: -100px;
    left: -100px;
    filter: blur(60px);
    opacity: 0.3;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    top: 50%;
    right: 20%;
    filter: blur(100px);
    opacity: 0.15;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: white;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    width: fit-content;
}

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

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

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

/* 手机 mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 20px 60px rgba(0,0,0,0.15);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: var(--transition);
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 16px;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.app-logo {
    font-size: 24px;
}

.app-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.card-tag {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 8px;
}

.card-tag.tag-run {
    background: linear-gradient(135deg, var(--accent), #f57c00);
}

.app-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.app-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card-users {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.phone-reflection {
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
    border-radius: 50%;
    filter: blur(10px);
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 36px;
    animation: float 3s ease-in-out infinite;
}

.float-1 { top: 10%; left: -10%; animation-delay: 0s; }
.float-2 { top: 30%; right: -5%; animation-delay: 0.5s; }
.float-3 { bottom: 20%; left: -5%; animation-delay: 1s; }
.float-4 { bottom: 10%; right: -10%; animation-delay: 1.5s; }

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

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   功能特色
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

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

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

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(76,175,80,0.1), rgba(255,152,0,0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ============================================
   运动类型
   ============================================ */
.sports-types {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

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

.sport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.sport-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.sport-icon {
    font-size: 40px;
    transition: var(--transition);
}

.sport-item:hover .sport-icon {
    transform: scale(1.2);
}

.sport-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   使用指南
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

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

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
}

.step-icon {
    font-size: 48px;
    margin: 16px 0 20px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.step-arrow {
    font-size: 32px;
    color: var(--primary);
    font-weight: 300;
    flex-shrink: 0;
}

/* ============================================
   用户评价
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.testimonial-rating {
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   下载区域
   ============================================ */
.download {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.download-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.download-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    max-width: 280px;
}

.download-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.download-icon {
    font-size: 32px;
}

.download-info {
    display: flex;
    flex-direction: column;
}

.download-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.download-version {
    font-size: 13px;
    color: var(--text-muted);
}

.qr-code-section {
    display: inline-block;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
}

.qr-placeholder span {
    font-size: 32px;
}

.qr-placeholder p {
    font-size: 13px;
}

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

.phone-mockup-large {
    width: 300px;
    height: 600px;
}

.screen-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.app-logo-large {
    font-size: 64px;
    margin-bottom: 16px;
}

.screen-download h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.screen-download > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.download-progress {
    width: 100%;
    max-width: 200px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

/* ============================================
   关于我们
   ============================================ */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

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

.about-text .section-tag {
    margin-bottom: 16px;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

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

.about-image {
    position: relative;
    width: 320px;
    height: 320px;
}

.about-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    z-index: 2;
}

.about-decoration {
    position: absolute;
    inset: 20px;
    background: linear-gradient(135deg, rgba(76,175,80,0.1), rgba(255,152,0,0.1));
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.about-decoration::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px dashed rgba(76,175,80,0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

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

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

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 80px 0 0;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand > p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 280px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-column a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: white;
}

/* ============================================
   动画
   ============================================ */
[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) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-desc {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sports-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .download-content,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-text h2 {
        font-size: 32px;
    }

    .download-buttons {
        align-items: center;
    }

    .about-visual {
        order: -1;
    }

    .about-image {
        width: 240px;
        height: 240px;
    }

    .about-icon {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 24px;
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .nav-menu.active .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand > p {
        margin: 0 auto 24px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sport-item {
        padding: 20px 12px;
    }

    .sport-icon {
        font-size: 32px;
    }
}
