/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo i {
    color: #ffd700;
    animation: bounce 2s infinite;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 重要提示横幅 */
.warning-banner {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 20px 0;
    border-bottom: 3px solid #ff6b6b;
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #d63031;
}

.warning-content i {
    font-size: 1.5rem;
    color: #e17055;
}

.warning-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 主要内容 */
.main {
    padding: 40px 0;
}

/* 搜索区域 */
.search-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: center;
}

/* 价值主张样式 */
.value-proposition {
    margin-bottom: 40px;
}

.value-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.problem-examples {
    margin-bottom: 25px;
}

.example-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.example-list li {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 可点击示例的样式 */
.clickable-example {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.clickable-example::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.clickable-example:hover::before {
    left: 100%;
}

.clickable-example:active {
    transform: translateY(-1px) scale(0.98);
    transition: transform 0.1s;
}

.example-list li i {
    font-size: 1.1rem;
    color: #ffd700;
}

.credibility-badge {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #74b9ff;
}

.credibility-badge p {
    color: #2d3436;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.credibility-badge i {
    color: #0984e3;
    font-size: 1.2rem;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 20px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    align-items: center;
    background: white;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 语音搜索按钮 - 暂时注释，等HTTPS证书申请完成后再启用
.voice-search-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 18px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    margin: 0 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.voice-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
}

.voice-search-btn:active {
    transform: translateY(0);
}

.voice-search-btn.recording {
    background: linear-gradient(135deg, #ff4757 0%, #c44569 100%);
    animation: pulse 1.5s infinite;
    transform: scale(1.1);
}

.voice-search-btn.recording::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 71, 87, 0.5);
    border-radius: 50%;
    animation: ripple 1s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
*/

/* 语音搜索状态提示 - 暂时注释，等HTTPS证书申请完成后再启用
.voice-status {
    margin-top: 20px;
    text-align: center;
}

.voice-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 107, 107, 0.1);
    padding: 15px 25px;
    border-radius: 25px;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 3px;
}

.voice-wave span {
    width: 4px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 2px;
    animation: voiceWave 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0s; }
.voice-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { animation-delay:0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes voiceWave {
    0%, 40%, 100% { height: 20px; }
    20% { height: 40px; }
}

.voice-text {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 1rem;
}
*/

.search-tips {
    color: #666;
    font-size: 0.9rem;
}

.tip {
    color: #667eea;
    font-weight: 600;
}

/* 分类区域 */
.category-section {
    margin-bottom: 40px;
}

/* 大类导航 */
.main-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.main-category-item {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.main-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.main-category-item .emoji-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: #667eea;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.main-category-item:hover .emoji-icon {
    transform: scale(1.1);
    text-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.main-category-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

/* 更多大类 */
.more-main-categories {
    margin-top: 30px;
    animation: slideDown 0.3s ease;
}

.more-categories-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.more-main-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.more-main-category-item {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.more-main-category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.more-main-category-item .emoji-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: #667eea;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.more-main-category-item:hover .emoji-icon {
    transform: scale(1.1);
    text-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.more-main-category-item h3 {
    font-size: 1rem;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* 更多按钮 */
.more-btn-container {
    text-align: center;
    margin-top: 30px;
}

.more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.more-btn i {
    transition: transform 0.3s ease;
}

.more-btn.expanded i {
    transform: rotate(180deg);
}

/* 小类选择 */
.sub-categories {
    margin-top: 30px;
    animation: slideDown 0.3s ease;
}

.sub-categories-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.back-btn {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: #e9ecef;
    color: #333;
}

.sub-categories-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
}

.sub-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.sub-category-item {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.sub-category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.sub-category-item span {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.more-btn:hover::before {
    left: 100%;
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.more-btn i {
    transition: transform 0.3s ease;
}

.more-btn.expanded i {
    transform: rotate(180deg);
}

.more-btn:active {
    transform: translateY(0);
}

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

.section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: #667eea;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background: white;
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before,
.category-card:active::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.category-card:active {
    transform: translateY(-2px);
}

/* 分类卡片图标样式 - 支持Emoji和Font Awesome */
.category-card i,
.category-card span[style*="font-size"] {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: block;
}

.category-card:hover i,
.category-card:hover span[style*="font-size"] {
    transform: scale(1.1);
    color: #764ba2;
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.category-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.8;
}

/* 更多分类网格 - 使用九宫格布局，确保大小一致 */
.more-categories .category-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
    margin: 0 auto;
    gap: 20px;
    padding: 0 20px;
}

/* 确保更多分类的卡片与主分类完全一致 */
.more-categories .category-card {
    background: white;
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 热门问题 */
.hot-section {
    margin-bottom: 40px;
}

.question-list {
    display: grid;
    gap: 20px;
}

.question-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.question-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.question-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.question-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.question-meta {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

/* 实用工具 */
.tools-section {
    margin-bottom: 40px;
}

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

.tool-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.tool-icon.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tool-icon.secondary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.tool-icon.warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.tool-icon.info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

.tool-content h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.tool-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tool-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tool-feature {
    background: #f8f9fa;
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
}

.tool-actions {
    display: flex;
    gap: 10px;
}

.tool-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tool-btn.secondary {
    background: #f8f9fa;
    color: #667eea;
    border: 1px solid #e9ecef;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 工具弹窗 */
.tool-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.tool-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.tool-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.tool-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tool-modal-header .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tool-modal-header .close-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.tool-modal-body {
    padding: 30px;
}

/* 工具内部样式 */
.milk-calculator .tool-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.milk-calculator .tool-intro p {
    color: #666;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.calculator-form {
    max-width: 500px;
    margin: 0 auto 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-tip {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.calculate-btn {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.result-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.result-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.result-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
}

.result-card.primary {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.result-card.secondary {
    border-color: #28a745;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.result-card h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.result-unit {
    font-size: 0.8rem;
    opacity: 0.8;
}

.feeding-schedule {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.feeding-schedule h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.schedule-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid #667eea;
}

.schedule-item h5 {
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.schedule-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tool-modal-content {
        width: 98%;
        margin: 1% auto;
    }
    
    .tool-modal-body {
        padding: 20px;
    }
}

/* 身高体重评估样式 */
.assessment-form {
    max-width: 500px;
    margin: 0 auto 30px;
}

.assessment-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.assessment-form select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.assessment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.assessment-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
}

.assessment-card.height {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.assessment-card.weight {
    border-color: #28a745;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.assessment-card h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.assessment-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.assessment-percentile {
    font-size: 0.8rem;
    opacity: 0.8;
}

.assessment-summary, .growth-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.assessment-summary h4, .growth-tips h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.summary-item, .tip-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid #667eea;
}

.summary-item h5, .tip-item h5 {
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.summary-item p, .tip-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 分享结果按钮 */
.share-result-btn {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.share-result-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

.share-result-btn i {
    font-size: 1rem;
}

/* 睡眠计算器样式 */
.sleep-form {
    max-width: 500px;
    margin: 0 auto 30px;
}

.sleep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.sleep-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
}

.sleep-card.total {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sleep-card.night {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

.sleep-card.nap {
    border-color: #ffc107;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
}

.sleep-card h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.sleep-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.sleep-unit {
    font-size: 0.8rem;
    opacity: 0.8;
}

.sleep-schedule, .sleep-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.sleep-schedule h4, .sleep-tips h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .assessment-grid, .sleep-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .sleep-grid {
        grid-template-columns: 1fr;
    }
}

/* 搜索结果 */
.result-section {
    margin-bottom: 40px;
}

.result-list {
    display: grid;
    gap: 20px;
}

/* 底部 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #667eea;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

.footer-bottom p {
    margin: 0 0 10px 0;
}

.icp-info {
    margin-top: 10px;
}

.icp-info a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 1002;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 40px 30px 30px;
}

.modal-question {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.modal-answer {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.modal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #888;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    /* 移动端价值主张优化 */
    .value-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .example-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .example-list li {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .credibility-badge {
        padding: 15px;
    }
    
    .credibility-badge p {
        font-size: 0.9rem;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .search-box {
        flex-direction: row;
        border-radius: 20px;
        gap: 8px;
        padding: 8px;
        max-width: 95%;
    }
    
    .search-input,
    .search-btn {
        border-radius: 15px;
    }
    
    .search-input {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 10px 15px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* 移动端大类小类优化 */
    .main-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .main-category-item {
        padding: 20px 15px;
        border-radius: 18px;
        min-height: 120px;
    }
    
    .main-category-item i {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .main-category-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .sub-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .sub-category-item {
        padding: 15px 12px;
        border-radius: 15px;
        min-height: 80px;
    }
    
    .sub-category-item span {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .more-main-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .more-main-category-item {
        padding: 15px 12px;
        border-radius: 10px;
        min-height: 80px;
    }
    
    .more-main-category-item .emoji-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .more-main-category-item h3 {
        font-size: 0.85rem;
    }
    
    .more-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .more-btn {
        padding: 15px 30px;
        font-size: 1rem;
        border-radius: 25px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        padding: 30px 20px 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 0;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .search-section {
        padding: 25px 20px;
    }
    
    .search-box {
        max-width: 100%;
        padding: 6px;
        gap: 6px;
    }
    
    .search-input {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .search-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
}



/* 微信分享模态框样式 */
.wechat-share-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.wechat-share-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease-out;
}

.wechat-share-header {
    background: linear-gradient(135deg, #07c160 0%, #00a854 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wechat-share-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wechat-share-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.wechat-share-header .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.wechat-share-body {
    padding: 30px;
}

.share-qr-code {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

.qr-placeholder {
    color: #6c757d;
}

.qr-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #07c160;
}

.qr-placeholder p {
    margin: 0;
    font-size: 1rem;
}

.share-instructions {
    margin-bottom: 30px;
}

.share-instructions h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.share-instructions ol {
    padding-left: 20px;
    color: #666;
    line-height: 1.8;
}

.share-instructions li {
    margin-bottom: 8px;
}

.share-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.share-btn.primary {
    background: linear-gradient(135deg, #07c160 0%, #00a854 100%);
    color: white;
}

.share-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 193, 96, 0.4);
}

.share-btn.secondary {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.share-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
}

.share-btn.tertiary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.share-btn.tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

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

/* 移动端适配 */
@media (max-width: 768px) {
    .wechat-share-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .wechat-share-header {
        padding: 20px 25px;
    }
    
    .wechat-share-header h3 {
        font-size: 1.2rem;
    }
    
    .wechat-share-body {
        padding: 25px 20px;
    }
    
    .share-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 微信分享引导样式 */
.wechat-share-guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.guide-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.guide-icon {
    font-size: 3rem;
    color: #07c160;
    margin-bottom: 20px;
}

.guide-text h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.guide-text p {
    color: #666;
    margin-bottom: 15px;
}

.guide-text ol {
    text-align: left;
    padding-left: 20px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.guide-close {
    background: linear-gradient(135deg, #07c160 0%, #00a854 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.guide-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 193, 96, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .guide-content {
        margin: 20px;
        padding: 25px;
    }
    
    .guide-icon {
        font-size: 2.5rem;
    }
    
    .guide-text h3 {
        font-size: 1.1rem;
    }
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none; /* 默认不可点击 */
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* 显示时可点击 */
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.back-to-top i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.back-to-top span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
    
    .back-to-top span {
        font-size: 0.6rem;
    }
}

/* ==================== 反馈功能样式 ==================== */

/* 反馈按钮样式 */
.feedback-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.feedback-btn i {
    font-size: 1rem;
}

/* 网络诊断按钮样式 */
.diagnostic-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.diagnostic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.diagnostic-btn i {
    font-size: 1rem;
}

/* 页面加载状态样式 */
.page-loading-content {
    text-align: center;
    color: #333;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-loading-content p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 网络状态提示样式 */
.network-error-content,
.network-warning-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-error-content strong,
.network-warning-content strong {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.network-error-content p,
.network-warning-content p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* WiFi诊断面板样式 */
.wifi-diagnostic-content {
    padding: 0;
}

.panel-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.panel-header .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.panel-body {
    padding: 20px;
}

.diagnostic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.diagnostic-item:last-child {
    border-bottom: none;
}

.diagnostic-item .label {
    font-weight: 500;
    color: #333;
}

.diagnostic-item .value {
    font-weight: 600;
}

.diagnostic-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.diagnostic-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.diagnostic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.diagnostic-btn i {
    font-size: 16px;
}

/* 反馈模态框样式 */
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.feedback-modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feedback-modal-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feedback-modal-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.feedback-modal-body {
    padding: 30px;
}

/* 反馈表单样式 */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* 字符计数样式 */
.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* 表单操作按钮样式 */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cancel-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e8ed;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cancel-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feedback-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .feedback-modal-header {
        padding: 20px 25px;
    }
    
    .feedback-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .feedback-modal-body {
        padding: 25px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
    }
}
