:root {
    --primary-color: #007AFF;
    --text-color: #2c3e50;
    --bg-color: #f5f7fa;
    --card-bg: rgba(255, 255, 255, 0.8);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* 导航栏样式 */
.app-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* 工具区域样式 */
.tools-section {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
}

.tools-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card:not(.coming-soon):hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    font-size: 2.5rem;
    color: #007AFF;
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.tool-card p {
    color: #86868b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 122, 255, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 关于区域样式 */
.about-section {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* 页脚样式 */
.app-footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* 添加 FAQ 部分的样式 */
.faq-section {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #1d1d1f;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #1d1d1f;
    margin: 0;
    font-weight: 500;
}

.faq-question i {
    color: #007AFF;
    transition: transform 0.3s ease;
}

.faq-answer {
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0.8rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* 修改这部分，统一间距 */
.faq-answer p:first-child {
    padding-top: 1.2rem;
}

.faq-answer p:last-child {
    padding-bottom: 1.2rem;
}

/* 强调文本样式 */
.faq-answer strong {
    color: #1d1d1f;
    font-weight: 500;
}

/* 列表样式 */
.faq-answer p:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 激活状态样式 */
.faq-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-question {
    background: rgba(0, 122, 255, 0.1);
    border-bottom: 1px solid rgba(0, 122, 255, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-answer p {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* 动画效果 */
.faq-item {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-1px);
}

.faq-answer {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    opacity: 1;
    transform: translateY(0);
}