* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C5F2D;
    --secondary-color: #8B4513;
    --accent-color: #D4AF37;
    --bg-color: #F8F6F3;
    --card-bg: #FFFFFF;
    --text-color: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E8E8E8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --gradient-start: #F8F6F3;
    --gradient-end: #E8E4D9;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'SimSun', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nav-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.08) 0%, rgba(139, 69, 19, 0.05) 100%);
    border-radius: 24px;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(44, 95, 45, 0.1);
}

.hero-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: var(--shadow);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.info-section {
    padding: 40px 20px;
}

.info-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.constitution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.constitution-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.constitution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.constitution-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.constitution-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

#test-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

#test-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#test-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.progress-bar {
    max-width: 600px;
    margin: 0 auto 30px;
    background: var(--border-color);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.3s ease;
    width: 0%;
}

#progress-text {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.question-container {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.question-text {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 10px;
    font-size: 1rem;
    text-align: left;
    transition: all 0.3s ease;
    font-family: inherit;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

.option-btn.selected {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);
}

.test-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.nav-btn-secondary {
    padding: 12px 30px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nav-btn-secondary:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#test-result {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

#test-result h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.result-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.primary-result {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.primary-result h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.constitution-name {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.primary-result p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.tea-recommendations {
    margin-bottom: 40px;
}

.tea-recommendations h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#tea-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tea-card {
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.03) 0%, rgba(139, 69, 19, 0.03) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tea-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tea-card:hover::before {
    transform: scaleX(1);
}

.tea-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tea-card .tea-image {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.tea-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.tea-card .tea-type {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 69, 19, 0.08);
    border-radius: 12px;
}

.tea-card .tea-benefit {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.tea-card .tea-usage {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 10px;
}

.tea-card .tea-reason {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding: 12px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
}

.tea-card .tea-contraindication {
    color: #D32F2F;
    font-size: 0.85rem;
    padding: 10px;
    background: rgba(211, 47, 47, 0.08);
    border-radius: 8px;
    margin-top: 10px;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.history-list,
.favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.history-item,
.favorite-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.history-item:hover,
.favorite-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.history-item h4,
.favorite-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.history-item .date,
.favorite-item .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.history-item .tea-count,
.favorite-item .tea-count {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.share-btn:hover {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

.share-icon {
    font-size: 1.5rem;
}

.info-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 15px 25px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.1);
}

.form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.adjustment-suggestions {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.03) 0%, rgba(205, 133, 63, 0.03) 100%);
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

.adjustment-suggestions h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.suggestion-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.suggestion-tab {
    padding: 12px 25px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.suggestion-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.suggestion-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.suggestion-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.suggestion-panel {
    display: none;
}

.suggestion-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.suggestion-panel h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.suggestion-panel ul {
    list-style: none;
    padding: 0;
}

.suggestion-panel li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
    line-height: 1.8;
    border-bottom: 1px solid var(--border-color);
}

.suggestion-panel li:last-child {
    border-bottom: none;
}

.suggestion-panel li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.suggestion-panel .contraindications {
    margin-top: 25px;
    padding: 0;
}

.suggestion-panel .contraindications h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.suggestion-panel .contraindications ul {
    list-style: none;
    padding: 0;
}

.suggestion-panel .contraindications li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
    border-bottom: 1px solid rgba(211, 47, 47, 0.1);
}

.suggestion-panel .contraindications li:last-child {
    border-bottom: none;
}

.suggestion-panel .contraindications li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    margin-right: 8px;
}

#tea-habits {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

#tea-habits h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

#tea-habits p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

#tea-habits-questions {
    margin-bottom: 30px;
}

.habit-question {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.habit-question h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.habit-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.habit-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.habit-option:hover {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

.habit-option input[type="radio"] {
    display: none;
}

.habit-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.1);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.favorite-btn:hover {
    transform: scale(1.2);
}

.tea-card {
    position: relative;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .language-switch {
        position: static;
        justify-content: center;
        margin-top: 20px;
    }

    .main-nav {
        gap: 10px;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 40px 15px;
        margin-bottom: 30px;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
        border-radius: 25px;
    }

    .info-section {
        padding: 30px 15px;
    }

    .info-section h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .constitution-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .constitution-card {
        padding: 20px;
    }

    .question-container {
        padding: 20px 15px;
    }

    .question-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .option-btn {
        padding: 15px 20px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .nav-buttons {
        gap: 10px;
    }

    .nav-btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .primary-result p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .tea-recommendations {
        margin-bottom: 30px;
    }

    .tea-recommendations h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    #tea-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tea-card {
        padding: 20px;
        border-radius: 15px;
    }

    .tea-card .tea-image {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .tea-card h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .tea-card .tea-type,
    .tea-card .tea-benefit,
    .tea-card .tea-usage {
        font-size: 0.9rem;
        margin-bottom: 12px;
        padding: 3px 10px;
    }

    .tea-card .tea-reason,
    .tea-card .tea-contraindication {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .tea-card .favorite-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
        padding: 8px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .adjustment-suggestions {
        margin-top: 30px;
    }

    .adjustment-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .adjustment-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .suggestion-panel {
        padding: 20px;
    }

    .suggestion-panel h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .suggestion-panel ul {
        padding-left: 20px;
    }

    .suggestion-panel li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .contraindications {
        margin-top: 15px;
        padding: 15px;
        background: rgba(255, 100, 100, 0.05);
        border-radius: 10px;
    }

    .contraindications h5 {
        font-size: 1rem;
        margin-bottom: 10px;
        color: #ff6b6b;
    }

    .contraindications ul {
        padding-left: 20px;
    }

    .contraindications li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .result-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .cta-btn,
    .nav-btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .modal-content {
        max-width: 90%;
        margin: 20px 5%;
        padding: 25px 20px;
    }

    .modal-content h3 {
        font-size: 1.3rem;
    }

    .share-options {
        gap: 10px;
    }

    .share-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .adjustment-suggestions {
        margin-top: 30px;
    }

    .adjustment-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .adjustment-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .suggestion-panel {
        padding: 20px 15px;
    }

    .suggestion-panel h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .suggestion-panel ul {
        padding-left: 20px;
    }

    .suggestion-panel li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .contraindications {
        margin-top: 15px;
        padding: 0;
    }

    .contraindications h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .contraindications li {
        padding: 8px 0;
        padding-left: 20px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .contraindications li::before {
        font-size: 0.85rem;
        margin-right: 6px;
    }

    #tea-habits {
        padding: 30px 15px;
    }

    .tea-habits h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .tea-habits .form-group {
        margin-bottom: 20px;
    }

    .tea-habits label {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .tea-habits .radio-option {
        padding: 12px 20px;
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .constitution-name {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 30px 10px;
    }

    .hero-section h2 {
        font-size: 1.3rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .info-section {
        padding: 25px 10px;
    }

    .info-section h3 {
        font-size: 1.3rem;
    }

    .constitution-card {
        padding: 15px;
    }

    .question-container {
        padding: 15px 10px;
    }

    .question-text {
        font-size: 1rem;
    }

    .option-btn {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .result-content {
        padding: 20px 10px;
    }

    .constitution-name {
        font-size: 1.5rem;
    }

    .tea-card h4 {
        font-size: 1.2rem;
    }

    .tea-card .tea-image {
        font-size: 2rem;
    }

    .tea-card {
        padding: 15px;
    }

    .adjustment-tab {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .suggestion-panel {
        padding: 15px 10px;
    }

    .suggestion-panel h4 {
        font-size: 1.1rem;
    }

    .suggestion-panel li {
        font-size: 0.9rem;
    }

    .suggestion-panel .contraindications h5 {
        font-size: 0.95rem;
    }

    .suggestion-panel .contraindications li {
        font-size: 0.85rem;
        padding: 6px 0;
        padding-left: 18px;
    }

    .suggestion-panel .contraindications li::before {
        font-size: 0.8rem;
    }

    .tea-habits {
        padding: 20px 10px;
    }

    .tea-habits h3 {
        font-size: 1.2rem;
    }

    .tea-habits .form-group {
        margin-bottom: 15px;
    }

    .tea-habits label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .tea-habits .radio-option {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 20px 15px;
    }

    .modal-content h3 {
        font-size: 1.2rem;
    }
}

.standard-content {
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(44, 95, 45, 0.1);
}

.standard-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.standard-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.standard-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.standard-section p {
    line-height: 1.7;
    color: var(--text-color);
}

.tea-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tea-type-card {
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.03) 0%, rgba(139, 69, 19, 0.03) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(44, 95, 45, 0.1);
    transition: all 0.3s ease;
}

.tea-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.15);
    border-color: rgba(44, 95, 45, 0.3);
}

.tea-type-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.tea-type-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-align: center;
}

.tea-type-card > p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.tea-type-details {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.tea-type-details p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-color);
}

.tea-type-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .standard-content {
        padding: 20px 15px;
    }

    .standard-section {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .standard-section h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .tea-types-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tea-type-card {
        padding: 20px;
    }

    .tea-type-icon {
        font-size: 2.5rem;
    }

    .tea-type-card h4 {
        font-size: 1.2rem;
    }

    .tea-type-details {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .standard-content {
        padding: 15px 10px;
    }

    .standard-section {
        padding: 15px 10px;
        margin-bottom: 12px;
    }

    .standard-section h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .tea-type-card {
        padding: 15px;
    }

    .tea-type-icon {
        font-size: 2rem;
    }

    .tea-type-card h4 {
        font-size: 1.1rem;
    }

    .tea-type-details {
        padding: 12px;
    }
}