* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    min-height: 100vh;
    color: #2e7d32;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.btn {
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #43a047 0%, #5cb860 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #81c784 0%, #a5d6a7 100%);
    color: #1b5e20;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #81c784 100%);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    max-width: 300px;
}

.btn-back {
    background: rgba(255, 255, 255, 0.8);
    color: #2e7d32;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-option {
    width: 100%;
    padding: 15px 20px;
    margin: 8px 0;
    background: white;
    color: #2e7d32;
    border: 2px solid #a5d6a7;
    font-size: 16px;
    border-radius: 15px;
}

.btn-option:hover {
    background: #e8f5e9;
    border-color: #4caf50;
}

.btn-option:active {
    background: #c8e6c9;
    border-color: #43a047;
}

.home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.home-content {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.2);
    max-width: 500px;
    width: 100%;
}

.tea-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 18px;
    color: #43a047;
    margin-bottom: 40px;
    font-weight: 500;
}

.home-footer {
    margin-top: 40px;
    color: #66bb6a;
    font-size: 14px;
}

.test-container {
    padding: 20px 15px;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    margin-left: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #c8e6c9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #66bb6a);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 14px;
    color: #2e7d32;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}

.question-card {
    background: white;
    padding: 30px 25px;
    border-radius: 25px;
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.15);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-number {
    font-size: 14px;
    color: #66bb6a;
    font-weight: 600;
    margin-bottom: 15px;
}

.question-text {
    font-size: 22px;
    color: #2e7d32;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 600;
}

.options-container {
    display: flex;
    flex-direction: column;
}

.result-container {
    padding: 20px 15px;
}

.result-header {
    margin-bottom: 20px;
}

.result-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.2);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.result-icon {
    font-size: 70px;
    margin-bottom: 20px;
}

.result-title {
    font-size: 20px;
    color: #66bb6a;
    margin-bottom: 10px;
    font-weight: 600;
}

.body-type-name {
    font-size: 36px;
    color: #2e7d32;
    margin-bottom: 30px;
    font-weight: 700;
}

.result-section {
    text-align: left;
    margin-bottom: 25px;
    padding: 20px;
    background: #f1f8e9;
    border-radius: 15px;
}

.section-title {
    font-size: 18px;
    color: #43a047;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-content {
    font-size: 15px;
    color: #558b2f;
    line-height: 1.8;
}

.result-card .btn {
    margin: 10px 0;
}

.tea-container {
    padding: 20px 15px;
}

.tea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tea-title {
    font-size: 28px;
    color: #2e7d32;
    font-weight: 700;
}

.body-type-summary {
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.1);
}

.body-type-label {
    font-size: 16px;
    color: #66bb6a;
    margin-right: 10px;
}

.body-type-value {
    font-size: 20px;
    color: #2e7d32;
    font-weight: 700;
}

.tea-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.tea-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tea-image {
    font-size: 60px;
    text-align: center;
    margin-bottom: 15px;
}

.tea-name {
    font-size: 24px;
    color: #2e7d32;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.tea-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tea-section {
    background: #f1f8e9;
    padding: 15px;
    border-radius: 12px;
}

.tea-section-title {
    font-size: 16px;
    color: #43a047;
    margin-bottom: 8px;
    font-weight: 600;
}

.tea-section-content {
    font-size: 14px;
    color: #558b2f;
    line-height: 1.6;
}

.info-container {
    padding: 20px 15px;
}

.info-header {
    margin-bottom: 20px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.2);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.info-icon {
    font-size: 70px;
    margin-bottom: 20px;
}

.info-title {
    font-size: 28px;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-subtitle {
    font-size: 16px;
    color: #66bb6a;
    margin-bottom: 30px;
    font-weight: 500;
}

.form-section {
    text-align: left;
    margin-bottom: 30px;
}

.form-label {
    font-size: 18px;
    color: #2e7d32;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-group.vertical {
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    background: #f1f8e9;
    border-radius: 12px;
    border: 2px solid #a5d6a7;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.radio-group.vertical .radio-label {
    flex: none;
    width: 100%;
}

.radio-label:hover {
    background: #e8f5e9;
    border-color: #4caf50;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    accent-color: #4caf50;
    width: 20px;
    height: 20px;
}

.radio-text {
    font-size: 16px;
    color: #2e7d32;
    font-weight: 500;
}

.user-info-summary {
    background: #f1f8e9;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.user-info-label {
    font-size: 16px;
    color: #66bb6a;
    font-weight: 600;
}

.user-info-value {
    font-size: 18px;
    color: #2e7d32;
    font-weight: 700;
}

.user-info-divider {
    color: #81c784;
    font-size: 18px;
}

.tea-category {
    text-align: center;
    font-size: 14px;
    color: #66bb6a;
    margin-bottom: 15px;
    padding: 5px 15px;
    background: #e8f5e9;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
}

.no-data {
    text-align: center;
    color: #66bb6a;
    font-size: 16px;
    padding: 40px;
}

@media (max-width: 600px) {
    .container {
        padding: 15px 10px;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .question-text {
        font-size: 18px;
    }
    
    .body-type-name {
        font-size: 28px;
    }
    
    .tea-title {
        font-size: 22px;
    }
    
    .tea-name {
        font-size: 20px;
    }
    
    .home-content,
    .question-card,
    .result-card,
    .info-card {
        padding: 25px 20px;
    }
    
    .info-title {
        font-size: 24px;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-label {
        width: 100%;
        flex: none;
    }
}

.preference-container {
    padding: 20px 15px;
}

.preference-header {
    margin-bottom: 20px;
}

.preference-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.2);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.preference-icon {
    font-size: 70px;
    margin-bottom: 20px;
}

.preference-title {
    font-size: 28px;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 700;
}

.preference-subtitle {
    font-size: 16px;
    color: #66bb6a;
    margin-bottom: 30px;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    background: #f1f8e9;
    border-radius: 12px;
    border: 2px solid #a5d6a7;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.checkbox-label:hover {
    background: #e8f5e9;
    border-color: #4caf50;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #4caf50;
    width: 20px;
    height: 20px;
}

.checkbox-text {
    font-size: 16px;
    color: #2e7d32;
    font-weight: 500;
}

.advice-section {
    text-align: left;
    margin-bottom: 20px;
    padding: 20px;
    background: #f1f8e9;
    border-radius: 15px;
}

.advice-title {
    font-size: 18px;
    color: #43a047;
    margin-bottom: 10px;
    font-weight: 600;
}

.advice-content {
    font-size: 15px;
    color: #558b2f;
    line-height: 1.8;
}

.preference-summary {
    background: #f1f8e9;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.preference-summary p {
    margin: 8px 0;
    font-size: 15px;
    color: #2e7d32;
    line-height: 1.6;
}

.preference-summary strong {
    color: #43a047;
    font-weight: 600;
}

.tea-section-content {
    font-size: 14px;
    color: #558b2f;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .container {
        padding: 15px 10px;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .question-text {
        font-size: 18px;
    }
    
    .body-type-name {
        font-size: 28px;
    }
    
    .tea-title {
        font-size: 22px;
    }
    
    .tea-name {
        font-size: 20px;
    }
    
    .home-content,
    .question-card,
    .result-card,
    .info-card,
    .preference-card {
        padding: 25px 20px;
    }
    
    .info-title {
        font-size: 24px;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-label {
        width: 100%;
        flex: none;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-label {
        width: 100%;
        flex: none;
    }
}