/* 全局样式和CSS变量 */
:root {
    --primary-color: #2D9DA8;
    --primary-dark: #1F7580;
    --primary-light: #E6F7F9;
    --secondary-color: #FF6B6B;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-nav-download):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-nav-download)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-nav-download):hover::after {
    width: 100%;
}

.btn-nav-download {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.btn-nav-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #E6F7F9 0%, #ffffff 100%);
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.separator {
    color: var(--border-color);
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.screenshot-preview {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 600;
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.badge-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    left: -20px;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 10%;
    right: -10px;
    animation-delay: 2s;
}

.badge-icon {
    font-size: 20px;
}

/* 通用区域样式 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* 痛点共鸣区域 */
.pain-points {
    background: var(--bg-light);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.pain-point-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.pain-point-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.pain-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.pain-point-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pain-point-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.solution-highlight {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: white;
}

.solution-icon {
    font-size: 64px;
    flex-shrink: 0;
}

.solution-text h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.solution-text p {
    font-size: 16px;
    opacity: 0.95;
}

/* 功能特性 */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-light) 100%);
    border: 2px solid var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding-left: 24px;
    margin-bottom: 8px;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.performance-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.perf-stat {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: var(--radius-sm);
}

.perf-stat strong {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.perf-stat span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 工作流程 */
.how-it-works {
    background: var(--bg-light);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step {
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 80px;
    width: 2px;
    height: calc(100% + 80px);
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.step:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-left: 100px;
}

.step-reverse .step-content {
    direction: rtl;
}

.step-reverse .step-text {
    direction: ltr;
}

.step-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.step-features {
    list-style: none;
}

.step-features li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    color: var(--text-secondary);
}

.step-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.step-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.step-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* 应用截图 */
.screenshots {
    background: white;
}

.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 32px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.screenshot-gallery {
    position: relative;
    min-height: 600px;
}

.screenshot-item {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: var(--transition);
}

.screenshot-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.screenshot-item img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin: 0 auto;
}

.screenshot-caption {
    text-align: center;
    margin-top: 32px;
}

.screenshot-caption h4 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.screenshot-caption p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-question h3 {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-toggle {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 32px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 下载区域 */
.download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-text h2 {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.download-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.trust-item svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: white;
}

.trust-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.trust-item span {
    font-size: 14px;
    opacity: 0.9;
}

.download-buttons {
    margin-bottom: 24px;
}

.download .btn-primary {
    background: white;
    color: var(--primary-color);
}

.download .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.download-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.9;
    margin-top: 16px;
}

.download-note {
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    border-left: 4px solid white;
    font-size: 14px;
    line-height: 1.7;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.download-image-wrapper {
    position: relative;
    text-align: center;
}

.app-icon-large {
    width: 180px;
    height: 180px;
    margin: 0 auto 32px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.download-stats-card {
    background: white;
    color: var(--text-primary);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.download-stats-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content,
    .step-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-reverse .step-content {
        direction: ltr;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    .floating-badge {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .download-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step-content {
        padding-left: 0;
    }
    
    .step-number {
        position: relative;
        margin-bottom: 20px;
    }
    
    .step::before {
        display: none;
    }
    
    .screenshot-tabs {
        flex-direction: column;
        gap: 12px;
    }
    
    .screenshot-gallery {
        min-height: 400px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .download-text h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .step-text h3 {
        font-size: 22px;
    }
    
    .download-info,
    .download-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

