/* 全局样式 */
:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f5f5f7;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* 头部导航 */
.header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero 部分 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 4rem 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* 按钮样式 */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 章节样式 */
.section {
    padding: 6rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* 步骤样式 */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 价格卡片 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
}

.pricing-card li {
    margin: 1rem 0;
}

/* FAQ 样式 */
.faq-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 返回工具按钮样式 */
.back-to-tool {
    text-align: center;
    padding: 2rem 0;
    background: var(--light-gray);
}

.back-to-tool-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-tool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.arrow-up {
    font-size: 1.2rem;
}

/* 页脚样式 */
.footer {
    background: var(--light-gray);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 40vh;
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .feature-card, .pricing-card, .faq-item {
        margin: 1rem;
    }

    .tool-container iframe {
        height: 600px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-out;
}

/* 在线工具部分 */
.online-tool-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
    margin-top: -2rem;
}

.tool-wrapper {
    position: relative;
    width: 100%;
    min-height: 800px;
}

.tool-container {
    margin: 2rem auto;
    max-width: 1200px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.tool-container iframe {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 800px;
    border: none;
    background: white;
}

.fallback-message {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 0 0 15px 15px;
    margin-top: -1px;
}

.fallback-message a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.fallback-message a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .online-tool-section {
        padding: 2rem 0;
    }

    .tool-wrapper {
        min-height: 600px;
    }

    .tool-container {
        margin: 1rem auto;
    }

    .tool-container iframe {
        height: 600px;
    }
}

/* Overview Video Section */
.overview-video {
    padding: 4rem 0;
    margin-top: -4rem;
    background: var(--light-gray);
    position: relative;
    z-index: 1;
}

.video-title {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 2rem;
}

.video-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.video-title p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #000;
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .overview-video {
        padding: 3rem 0;
        margin-top: -2rem;
    }

    .video-title {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .video-title h2 {
        font-size: 2rem;
    }

    .video-title p {
        font-size: 1.1rem;
    }

    .video-wrapper {
        padding: 0 1rem;
    }
    
    .video-wrapper video {
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }
} 