/* ========================================
   爱马仕风格样式表 - Hermès Style
   设计风格：高端奢华 + 女性温馨
   ======================================== */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 爱马仕风格配色 */
:root {
    --hermes-orange: #F37021;        /* 爱马仕橙 - 主色 */
    --hermes-orange-light: #FF8C42;  /* 亮橙色 - 渐变 */
    --warm-beige: #F5F5DC;           /* 温暖米色 - 背景 */
    --warm-beige-light: #FAFAE8;     /* 浅米色 - 渐变 */
    --rose-gold: #B76E79;            /* 玫瑰金 - 点缀 */
    --rose-gold-light: #D48893;      /* 亮玫瑰金 */
    --cream-white: #FFFDD0;          /* 奶油白 - 卡片 */
    --cream-white-dark: #FFF8C4;     /* 深奶油白 - 悬停 */
    --elegant-gray: #808080;         /* 高级灰 - 文字 */
    --elegant-gray-dark: #5A5A5A;    /* 深灰色 - 标题 */
    --deep-brown: #5D4037;           /* 深棕色 - 强调 */
    --soft-pink: #FFB6C1;            /* 柔和粉 - 女性元素 */
    --soft-pink-light: #FFC5D0;      /* 浅粉色 */
    --white: #FFFFFF;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(243, 112, 33, 0.15);
}

/* 字体引入 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

/* 页面主体 */
body {
    font-family: 'Lato', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--warm-beige-light) 50%, #F0EAD6 100%);
    min-height: 100vh;
    color: var(--elegant-gray);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-wide {
    max-width: 900px;
    padding: 60px 40px;
}

/* ========================================
   标题设计
   ======================================== */

.title-hermes {
    font-family: 'Playfair Display', Georgia, 'Songti SC', serif;
    color: var(--hermes-orange);
    font-size: 36px;
    letter-spacing: 3px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 1px 1px 2px rgba(243, 112, 33, 0.1);
}

.title-hermes-sub {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--deep-brown);
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 12px;
}

.subtitle-hermes {
    font-size: 14px;
    color: var(--elegant-gray);
    font-weight: 300;
    letter-spacing: 4px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* ========================================
   卡片设计
   ======================================== */

.card-hermes {
    background: var(--cream-white);
    border: 1px solid rgba(243, 112, 33, 0.2);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-hermes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--hermes-orange), var(--rose-gold));
    transition: width 0.4s ease;
}

.card-hermes:hover {
    background: var(--cream-white-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.card-hermes:hover::before {
    width: 4px;
}

/* ========================================
   按钮设计
   ======================================== */

.btn-hermes {
    background: linear-gradient(135deg, var(--hermes-orange), var(--hermes-orange-light));
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 2px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(243, 112, 33, 0.25);
}

.btn-hermes:hover {
    background: linear-gradient(135deg, var(--hermes-orange-light), var(--hermes-orange));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 112, 33, 0.35);
}

.btn-hermes:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(243, 112, 33, 0.2);
}

.btn-hermes-secondary {
    background: transparent;
    color: var(--hermes-orange);
    border: 1.5px solid var(--hermes-orange);
    padding: 14px 38px;
    box-shadow: none;
}

.btn-hermes-secondary:hover {
    background: rgba(243, 112, 33, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.15);
}

.btn-hermes-rose {
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-light));
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.3);
}

.btn-hermes-rose:hover {
    background: linear-gradient(135deg, var(--rose-gold-light), var(--rose-gold));
    box-shadow: 0 8px 25px rgba(183, 110, 121, 0.4);
}

.btn-hermes-pink {
    background: linear-gradient(135deg, var(--soft-pink), var(--soft-pink-light));
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.btn-hermes-pink:hover {
    background: linear-gradient(135deg, var(--soft-pink-light), var(--soft-pink));
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.4);
}

/* ========================================
   首页评估卡片
   ======================================== */

.assessment-card {
    display: block;
    background: var(--cream-white);
    border: 1px solid rgba(243, 112, 33, 0.2);
    border-radius: 4px;
    padding: 32px 28px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.assessment-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hermes-orange), var(--rose-gold));
    transition: width 0.4s ease;
}

.assessment-card:hover {
    background: var(--cream-white-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.assessment-card:hover::after {
    width: 100%;
}

.assessment-card-icon {
    font-size: 42px;
    margin-bottom: 16px;
    display: block;
}

.assessment-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: var(--deep-brown);
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 500;
}

.assessment-card-desc {
    font-size: 13px;
    color: var(--elegant-gray);
    line-height: 1.7;
    font-weight: 300;
}

.assessment-card-arrow {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--hermes-orange);
    opacity: 0;
    transition: all 0.4s ease;
}

.assessment-card:hover .assessment-card-arrow {
    right: 20px;
    opacity: 1;
}

/* ========================================
   表单元素
   ======================================== */

.form-group {
    margin-bottom: 28px;
}

.question-card {
    background: var(--cream-white);
    border: 1px solid rgba(243, 112, 33, 0.15);
    border-radius: 4px;
    padding: 28px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.question-card:hover {
    border-color: rgba(243, 112, 33, 0.3);
    box-shadow: var(--shadow-light);
}

.question-number {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: var(--hermes-orange);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.question-text {
    font-size: 16px;
    color: var(--deep-brown);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid rgba(243, 112, 33, 0.15);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    border-color: var(--hermes-orange);
    background: rgba(243, 112, 33, 0.03);
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
    margin-right: 12px;
    accent-color: var(--hermes-orange);
    width: 18px;
    height: 18px;
}

.option-text {
    font-size: 14px;
    color: var(--elegant-gray-dark);
}

.option-label:hover .option-text {
    color: var(--deep-brown);
}

/* ========================================
   进度条
   ======================================== */

.progress-container {
    margin-bottom: 40px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-text {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: var(--hermes-orange);
    letter-spacing: 1px;
}

.progress-percentage {
    font-size: 13px;
    color: var(--elegant-gray);
}

.progress-bar {
    height: 3px;
    background: rgba(243, 112, 33, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hermes-orange), var(--rose-gold));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   页脚
   ======================================== */

.footer-hermes {
    margin-top: 60px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(243, 112, 33, 0.15);
}

.copyright-hermes {
    font-size: 12px;
    color: var(--elegant-gray);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.disclaimer-hermes {
    font-size: 11px;
    color: var(--elegant-gray);
    opacity: 0.7;
    font-style: italic;
}

/* ========================================
   装饰元素
   ======================================== */

.divider-hermes {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--hermes-orange), var(--rose-gold));
    margin: 30px auto;
}

.divider-hermes-thin {
    width: 40px;
    height: 1px;
    background: rgba(243, 112, 33, 0.3);
    margin: 20px auto;
}

.decorative-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(243, 112, 33, 0.2) 50%, 
        transparent 100%);
    margin: 40px 0;
}

/* ========================================
   提示框
   ======================================== */

.notice-hermes {
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.05), rgba(183, 110, 121, 0.05));
    border-left: 3px solid var(--hermes-orange);
    border-radius: 2px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.notice-hermes-title {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: var(--hermes-orange);
    margin-bottom: 10px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-hermes-content {
    font-size: 13px;
    color: var(--elegant-gray);
    line-height: 1.8;
}

/* ========================================
   结果卡片
   ======================================== */

.result-card {
    background: var(--cream-white);
    border: 1px solid rgba(243, 112, 33, 0.2);
    border-radius: 4px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
}

.result-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--deep-brown);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.result-score {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--hermes-orange);
    margin-bottom: 20px;
    font-weight: 600;
}

.result-desc {
    font-size: 15px;
    color: var(--elegant-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ========================================
   加载动画
   ======================================== */

.loading-hermes {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(243, 112, 33, 0.15);
    border-top-color: var(--hermes-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   响应式设计
   ======================================== */

/* 小屏手机 */
@media screen and (max-width: 375px) {
    .container {
        padding: 30px 16px;
    }
    
    .title-hermes {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .title-hermes-sub {
        font-size: 22px;
    }
    
    .card-hermes {
        padding: 28px 20px;
    }
    
    .btn-hermes {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .assessment-card {
        padding: 24px 20px;
    }
    
    .question-card {
        padding: 20px;
    }
}

/* 中等屏幕 */
@media screen and (min-width: 415px) and (max-width: 768px) {
    .container {
        max-width: 600px;
    }
    
    .title-hermes {
        font-size: 38px;
    }
}

/* 横屏模式 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 20px;
    }
    
    .card-hermes {
        padding: 24px;
    }
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
    :root {
        --warm-beige: #2D2A26;
        --warm-beige-light: #3D3A36;
        --cream-white: #3D3A36;
        --cream-white-dark: #4D4A46;
        --elegant-gray: #B0B0B0;
        --elegant-gray-dark: #D0D0D0;
    }
    
    body {
        background: linear-gradient(135deg, #1A1816 0%, #2D2A26 100%);
    }
    
    .option-label {
        background: #3D3A36;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================
   页面特定样式 - HPV
   ======================================== */

.hpv-accent {
    color: var(--hermes-orange);
}

.hpv-gradient {
    background: linear-gradient(135deg, var(--hermes-orange), var(--hermes-orange-light));
}

/* ========================================
   页面特定样式 - Longevity
   ======================================== */

.longevity-accent {
    color: var(--rose-gold);
}

.longevity-gradient {
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-light));
}

/* ========================================
   页面特定样式 - Lymphedema
   ======================================== */

.lymph-accent {
    color: var(--soft-pink);
}

.lymph-gradient {
    background: linear-gradient(135deg, var(--soft-pink), var(--soft-pink-light));
}
