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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 0 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #667eea;
}

header h1 {
    font-size: 2.5em;
    color: #667eea;
    margin-bottom: 10px;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.main-nav .nav-link {
    text-decoration: none;
    color: #666;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.main-nav .nav-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.main-nav .nav-link.active {
    background: #667eea;
    color: white;
}

.recipe-sub-nav {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.recipe-sub-nav .sub-nav-link {
    text-decoration: none;
    color: #666;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

.recipe-sub-nav .sub-nav-link:hover {
    background: #667eea;
    color: white;
}

.recipe-sub-nav .sub-nav-link.active {
    background: #667eea;
    color: white;
}

.subtitle {
    font-size: 1.2em;
    color: #666;
}

main {
    padding: 40px 0;
}

.hero {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

.hero h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2em;
}

.hero p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
}

.projects {
    margin-bottom: 40px;
}

.projects h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.project-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-card.coming-soon {
    background: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.project-header h3 {
    color: #667eea;
    font-size: 1.8em;
    margin: 0;
}

.badge {
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.badge-warning {
    background: #f39c12;
}

.description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1em;
    color: #444;
}

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

.download-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.info-card ol,
.info-card ul {
    margin-left: 20px;
    line-height: 1.8;
    color: #555;
}

.info-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.info-card a:hover {
    text-decoration: underline;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* 网页导航页面样式 */
.nav-section {
    margin-bottom: 40px;
}

.nav-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* 导航内容背景板 */
.nav-content-board {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

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

.nav-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #e0e0e0;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-color: #667eea;
}

.nav-icon {
    font-size: 2.5em;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.nav-content {
    flex: 1;
}

.nav-content h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 600;
}

.nav-content p {
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95em;
}

.nav-url {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.nav-card.placeholder {
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed #ccc;
    cursor: default;
}

.nav-card.placeholder:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
    border-color: #ccc;
}

.nav-card.placeholder .nav-icon {
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    box-shadow: none;
}

.nav-card.placeholder .nav-content h3 {
    color: #888;
}

.nav-card.placeholder .nav-content p {
    color: #999;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .hero h2 {
        font-size: 1.5em;
    }
    
    .projects h2 {
        font-size: 1.5em;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-section {
        flex-direction: column;
    }
    
    .info {
        grid-template-columns: 1fr;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-card {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-icon {
        margin: 0 auto 15px auto;
    }
    
    .nav-content-board {
        padding: 20px;
    }
}