/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff9500;
    --secondary-color: #ff6b35;
    --accent-color: #667eea;
    --accent-secondary: #764ba2;
    --bg-color: #f7fafc;
    --card-bg: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    position: relative;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 60px 40px 80px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    clip-path: polygon(0 40%, 20% 50%, 40% 35%, 60% 50%, 80% 35%, 100% 45%, 100% 100%, 0% 100%);
}

/* 介绍部分 */
.intro-section {
    margin-bottom: 60px;
}

.intro-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.intro-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-secondary);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 核心原则部分 */
.principles-section {
    margin-bottom: 60px;
}

.principles-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.principle-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

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

.principle-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.principle-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* 提示词集合部分 */
.prompts-section {
    margin-bottom: 60px;
}

.prompts-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.prompt-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.prompt-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.prompt-type {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.prompt-content {
    padding: 20px 24px 24px;
}

.prompt-text {
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.prompt-analysis {
    margin-bottom: 16px;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.prompt-analysis strong {
    color: var(--text-primary);
}

.prompt-links {
    display: flex;
    gap: 12px;
}

.video-link, .social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.video-link:hover, .social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 指南部分 */
.guide-section {
    margin-bottom: 60px;
}

.guide-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.guide-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.guide-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.guide-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 洞察部分 */
.insights-section {
    margin-bottom: 60px;
}

.insights-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.insight-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.insight-card.positive {
    border-left: 4px solid #10b981;
}

.insight-card.warning {
    border-left: 4px solid #f59e0b;
}

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

.insight-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.insight-card ul {
    list-style: none;
    padding: 0;
}

.insight-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.insight-card li:last-child {
    border-bottom: none;
}

/* 资源部分 */
.resources-section {
    margin-bottom: 60px;
}

.resources-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.resource-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.resource-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.resource-card li:last-child {
    border-bottom: none;
}

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

.resource-card a:hover {
    color: var(--accent-secondary);
}

/* 页脚 */
.footer {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-content a:hover {
    color: var(--accent-secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .header {
        padding: 40px 24px 60px;
        margin-bottom: 24px;
    }

    .logo {
        font-size: 2rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .intro-content, .guide-card, .insight-card, .resource-card {
        padding: 24px;
    }

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

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

    .guide-content {
        grid-template-columns: 1fr;
    }

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

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

    .prompt-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .prompt-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .intro-content h2, .principles-section h2, .prompts-section h2, 
    .guide-section h2, .insights-section h2, .resources-section h2 {
        font-size: 1.5rem;
    }

    .principle-card, .guide-card, .insight-card, .resource-card {
        padding: 20px;
    }

    .prompt-content {
        padding: 16px 20px 20px;
    }

    .prompt-text {
        font-size: 0.9rem;
    }
}