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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.hero {
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-guide {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.section {
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-alt {
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1e293b;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stage-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.stage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.stage-card p {
    color: #64748b;
    font-size: 1.1rem;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.usage-card {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.usage-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    background: linear-gradient(135deg, #667eea25 0%, #764ba225 100%);
}

.usage-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.usage-card h4 {
    font-size: 1.1rem;
    color: #1e293b;
}

.prompt-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.prompt-formula {
    text-align: center;
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 30px;
    font-weight: 600;
}

.formula-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.formula-step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
}

.step-arrow {
    font-size: 1.5rem;
    color: #94a3b8;
}

.prompt-example {
    background: #f1f5f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.example-label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.example-text {
    color: #1e293b;
    line-height: 1.8;
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mistake-card {
    background: #fef2f2;
    border: 2px solid #fecaca;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.mistake-card:hover {
    background: #fee2e2;
    transform: translateY(-5px);
}

.mistake-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.mistake-card p {
    color: #991b1b;
    font-weight: 500;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-content h4 {
    font-size: 1.1rem;
    color: #1e293b;
}

.interactive-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.interactive-desc {
    text-align: center;
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 30px;
}

#userInput {
    flex: 1;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#userInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

#generateBtn {
    padding: 15px 30px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#generateBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.output-area {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #10b981;
    min-height: 100px;
    display: none;
}

.output-area.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.output-area p {
    color: #1e293b;
    font-size: 1.1rem;
    line-height: 1.8;
}

.conclusion {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.conclusion .section-title {
    color: white;
}

.conclusion-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.conclusion-item p {
    font-size: 1.5rem;
    font-weight: 500;
}

.footer {
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 30px 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .stages-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mistakes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .usage-grid {
        grid-template-columns: 1fr;
    }
    
    .mistakes-grid {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .prompt-box,
    .interactive-box {
        padding: 30px 20px;
    }
    
    .conclusion-item p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 130px 15px 70px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 15px;
    }
}