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

:root {
    --primary-color: #FFF8DC;
    --secondary-color: #F5DEB3;
    --accent-color: #DAA520;
    --text-color: #5D4037;
    --light-text: #8B7355;
    --card-bg: #FFFAF0;
    --highlight: #FFE4B5;
    --gradient-start: #FFF8DC;
    --gradient-end: #FFE4C4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-color);
    line-height: 1.8;
    min-height: 100vh;
}

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

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight) 100%);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.2);
}

.studio-name {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(218, 165, 32, 0.3);
}

.project-title {
    font-size: 1.8rem;
    color: var(--light-text);
    font-weight: normal;
}

.nav {
    background: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(93, 64, 55, 0.1);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-list a:hover {
    background: var(--accent-color);
    color: white;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.section-desc {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.intro-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.intro-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.1);
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
    border-color: var(--accent-color);
}

.intro-card h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.intro-card p {
    color: var(--text-color);
    text-align: justify;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.15);
}

.step-number {
    min-width: 80px;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.step-content {
    padding: 30px;
    flex: 1;
}

.step-content h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.step-tips {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight) 100%);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
    display: inline-block;
}

.data-explorer {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.15);
}

.date-selector {
    text-align: center;
    margin-bottom: 40px;
}

.date-selector label {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-right: 15px;
    font-weight: 600;
}

.date-selector select {
    padding: 12px 30px;
    font-size: 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.date-selector select:hover,
.date-selector select:focus {
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
}

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

.data-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.data-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
}

.data-card.main-data {
    background: linear-gradient(135deg, var(--accent-color) 0%, #C4941D 100%);
    color: white;
    text-align: center;
    grid-column: 1 / -1;
}

.data-card.main-data h3 {
    color: white;
    margin-bottom: 10px;
}

.ferment-stage {
    font-size: 1.5rem;
    font-weight: bold;
}

.data-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.data-bar {
    height: 25px;
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.data-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #E6BE8A);
    border-radius: 15px;
    transition: width 0.6s ease;
}

.data-bar-fill.alcohol {
    background: linear-gradient(90deg, #8B4513, #CD853F);
}

.data-bar-fill.acid {
    background: linear-gradient(90deg, #6B8E23, #9ACD32);
}

.data-bar-fill.amino {
    background: linear-gradient(90deg, #4169E1, #6495ED);
}

.data-bar-fill.aroma {
    background: linear-gradient(90deg, #DB7093, #FFB6C1);
}

.data-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.data-desc {
    font-size: 0.9rem;
    color: var(--light-text);
}

.taste-card {
    grid-column: 1 / -1;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight) 100%);
}

.taste-card h3 {
    color: var(--text-color);
}

.taste-emoji {
    font-size: 3rem;
    margin: 15px 0;
    letter-spacing: 10px;
}

.taste-rating {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.taste-desc {
    color: var(--light-text);
    font-size: 1rem;
}

.footer {
    background: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.copyright {
    color: var(--text-color);
    font-size: 1.1rem;
}

.copyright strong {
    color: var(--accent-color);
}

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

.section {
    animation: fadeIn 0.8s ease;
}

.step,
.intro-card,
.data-card {
    animation: fadeIn 0.6s ease;
    animation-fill-mode: both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }
.step:nth-child(5) { animation-delay: 0.5s; }
.step:nth-child(6) { animation-delay: 0.6s; }

.intro-card:nth-child(1) { animation-delay: 0.1s; }
.intro-card:nth-child(2) { animation-delay: 0.2s; }
.intro-card:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 768px) {
    .studio-name {
        font-size: 2rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .nav-list {
        gap: 15px;
    }
    
    .nav-list a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        min-width: 100%;
        padding: 15px;
    }
    
    .data-explorer {
        padding: 25px;
    }
    
    .data-display {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .studio-name {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .intro-card,
    .step-content {
        padding: 20px;
    }
    
    .taste-emoji {
        font-size: 2.2rem;
    }
}
