/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #2a2a2a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(42, 42, 42, 0.9);
    padding: 8px;
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #d0d0d0;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.lang-btn.active {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #1a1a1a;
    font-weight: 600;
}

/* Language Hint */
.language-hint {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
    animation: pulse 2s infinite;
}

.hint-content {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #1a1a1a;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    border: 2px solid #1a1a1a;
}

.hint-content:before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffd700;
}

.hint-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hint-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 80px 0;
    border-bottom: 2px solid #ffd700;
}

.banner-content {
    text-align: center;
}

.banner-title {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 16px;
    font-weight: 700;
}

.banner-subtitle {
    font-size: 1.3rem;
    color: #d0d0d0;
    margin-bottom: 50px;
    opacity: 0.9;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.flow-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.flow-text {
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.flow-arrow {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.7;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1;
}

.stat-label {
    color: #d0d0d0;
    font-size: 1rem;
    margin-top: 8px;
}

.banner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #1a1a1a;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.cta-note {
    color: #ffd700;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 主要内容 */
.main {
    padding: 60px 0;
}

.step-section {
    margin-bottom: 80px;
    background: #3a3a3a;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
    border: 1px solid #4a4a4a;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.step-number {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-header h2 {
    font-size: 2rem;
    color: #ffd700;
    font-weight: 600;
}

/* 知识卡片网格 */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.knowledge-card {
    background: #4a4a4a;
    border: 1px solid #5a5a5a;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.knowledge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.knowledge-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #ffd700;
}

.knowledge-card p {
    color: #d0d0d0;
    margin-bottom: 16px;
    line-height: 1.6;
}

.learn-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.learn-link:hover {
    color: #ffb347;
}

.learn-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ai-intro {
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    border-radius: 12px;
    border-left: 4px solid #ffa500;
}

.ai-intro p {
    color: #1a1a1a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* 工具卡片 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tool-card {
    background: #fefcf7;
    border: 1px solid #e8dcc6;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.tool-card:hover:not(.coming-soon) {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
    border-color: #b8860b;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.tool-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #3d3426;
}

.tool-card p {
    color: #5a5040;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-link {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* 即将推出样式 */
.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffd700;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 代码部分 */
.code-section {
    margin-bottom: 40px;
}

.code-section h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #ffd700;
}

.prompt-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.prompt-card {
    background: #4a4a4a;
    border-left: 4px solid #ffd700;
    padding: 20px;
    border-radius: 8px;
}

.prompt-card h4 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.prompt-card p {
    color: #d0d0d0;
    font-style: italic;
    line-height: 1.5;
}

/* 示例部分 */
.examples-section h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #ffd700;
}

.example-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.example-card {
    background: #4a4a4a;
    border: 1px solid #5a5a5a;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.example-card:hover:not(.coming-soon) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.example-card h4 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.example-card p {
    color: #d0d0d0;
    margin-bottom: 16px;
    line-height: 1.5;
}

.example-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
}

.example-link:hover {
    color: #ffb347;
}

/* 完整网站部分 */
.complete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.complete-card {
    background: #4a4a4a;
    border: 1px solid #5a5a5a;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.complete-card:hover:not(.coming-soon) {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.complete-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #ffd700;
}

.complete-card p {
    color: #d0d0d0;
    margin-bottom: 16px;
    line-height: 1.6;
}

.complete-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.complete-link:hover {
    color: #ffb347;
}

/* SEO部分 */
.seo-content h3 {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 24px;
}

.seo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.seo-card {
    background: #4a4a4a;
    border: 1px solid #5a5a5a;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.seo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.seo-card h4 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.seo-card p {
    color: #d0d0d0;
    margin-bottom: 16px;
    line-height: 1.6;
}

.seo-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.seo-link:hover {
    color: #ffb347;
}

.seo-note {
    padding: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    border-radius: 12px;
    border-left: 4px solid #ffa500;
}

.seo-note p {
    color: #1a1a1a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.hosting-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #e0e0e0;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.footer p {
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 0;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .process-flow {
        flex-direction: column;
        gap: 15px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }

    .banner-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .step-section {
        padding: 24px;
        margin-bottom: 40px;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .step-header h2 {
        font-size: 1.5rem;
    }

    .knowledge-grid,
    .tools-grid,
    .complete-grid {
        grid-template-columns: 1fr;
    }

    .prompt-cards,
    .example-cards {
        grid-template-columns: 1fr;
    }

    .seo-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 6px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .flow-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .flow-text {
        font-size: 0.8rem;
    }

    .banner-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .step-section {
        padding: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
