* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary: #3A2E21; /* 墨色 */
    --secondary: #9E2A2B; /* 朱砂红 */
    --accent: #D4A017; /* 赭石黄 */
    --text-dark: #231815; /* 深墨色 */
    --text-light: #5C554A; /* 浅墨色 */
    --bg-light: #F5F0E6; /* 宣纸色 */
    --bg-white: #FFFBF0; /* 米色 */
    --border: #D9C8A9; /* 竹黄色 */
    --shadow: rgba(0,0,0,0.08);
    --error: #A62F00; /* 赤褐色 */
    --success: #2D5D2A; /* 松绿色 */
}

body {
    font-family: '宋体', 'SimSun', '楷体', 'KaiTi', serif;
    background-color: var(--bg-light);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    min-height: 100vh;
    display: flex;
    justify-content: center;
    line-height: 1.8;
}

/* 主容器居中布局 */
.main-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 0 0 30px var(--shadow);
    background-color: var(--bg-white);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

/* 左侧导航 - 仿古籍侧边 */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, var(--primary) 0%, #4A3A2A 100%);
    padding: 30px 20px;
    box-shadow: 3px 0 15px var(--shadow);
    position: relative;
    overflow-y: auto;
}

.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

/* 导航容器 */
.nav-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent);
    flex-shrink: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
    font-family: '隶书', 'LiSu', serif;
}

.logo p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

.nav-menu {
    list-style: none;
    flex: 1;
}

.nav-item {
    margin-bottom: 3px;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 15px;
    position: relative;
}

.nav-link::before {
    content: "•";
    position: absolute;
    left: 8px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--accent);
}

.nav-link:hover::before, .nav-link.active::before {
    opacity: 1;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.15);
    padding-left: 25px;
}

/* 主内容区 - 仿书卷布局 */
.main-content {
    flex: 1;
    padding: 50px 60px;
    background-color: var(--bg-light);
    overflow-y: auto;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 100%;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-section {
    display: none;
    animation: fadeIn 0.6s;
}

.content-section.active {
    display: block;
}

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

/* 首页样式 */
.home-section {
    text-align: center;
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #5D4433 100%);
    color: white;
    padding: 70px 40px;
    border-radius: 4px;
    margin-bottom: 50px;
    box-shadow: 0 15px 30px var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.hero-title {
    font-size: 42px;
    font-weight: normal;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-family: '隶书', 'LiSu', serif;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 16px;
}

/* 功能卡片网格 - 仿古籍书页 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed rgba(158, 42, 43, 0.2);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}

.service-icon {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: normal;
    font-family: '楷体', 'KaiTi', serif;
}

.service-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 统计数据 */
.stats-section {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 50px;
    border: 1px solid var(--border);
}

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

.stat-item {
    text-align: center;
    padding: 15px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.stat-number {
    font-size: 36px;
    font-weight: normal;
    color: var(--secondary);
    margin-bottom: 10px;
    font-family: '楷体', 'KaiTi', serif;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
}

.section-header h2 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: normal;
    font-family: '隶书', 'LiSu', serif;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--border);
}

.section-header h2::before {
    left: 0;
}

.section-header h2::after {
    right: 0;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* 表单样式 - 仿传统文书 */
.form-container {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

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

.form-label {
    display: block;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: normal;
}

.form-label .required {
    color: var(--error);
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-light);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(158, 42, 43, 0.1);
}

.form-control.error {
    border-color: var(--error);
    background: #fdf0ef;
}

.error-message {
    color: var(--error);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-option {
    padding: 12px 20px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-family: inherit;
    position: relative;
    -webkit-appearance: none;
    -webkit-user-select: none;
    user-select: none;
    min-height: 44px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-option:hover {
    border-color: var(--secondary);
    background-color: rgba(158, 42, 43, 0.03);
}

.btn-option.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-option.error {
    border-color: var(--error);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.date-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-display {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.date-display:hover {
    border-color: var(--secondary);
}

.date-display.error {
    border-color: var(--error);
    background: #fdf0ef;
}

.calendar-btn {
    padding: 12px 20px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.calendar-btn:hover {
    border-color: var(--secondary);
    background-color: rgba(158, 42, 43, 0.03);
}

/* 提交按钮 - 仿印章风格 */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, #5D4433 100%);
    color: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 18px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 50px;
    font-family: '楷体', 'KaiTi', serif;
}

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 结果容器 - 仿卷轴 */
.result-container {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    display: none;
    border: 1px solid var(--border);
    position: relative;
}

.result-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.result-content {
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
    white-space: pre-wrap;
    padding: 20px 0;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 24px;
    background: var(--primary);
    animation: blink 1s infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.complete-indicator {
    display: inline-flex;
    align-items: center;
    color: var(--success);
    font-size: 14px;
    margin-left: 10px;
}

/* 加载动画 */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading.show {
    display: flex;
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

/* 模态框样式 - 仿画框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-white);
    padding: 0;
    border-radius: 10px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
}

.modal-title {
    font-size: 20px;
    color: var(--primary);
    font-weight: normal;
    font-family: '楷体', 'KaiTi', serif;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s;
}

.modal-close:hover {
    color: var(--secondary);
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.date-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.picker-group {
    display: flex;
    flex-direction: column;
}

.picker-label {
    margin-bottom: 8px;
    font-weight: normal;
    color: var(--text-dark);
}

.picker-select {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    background: var(--bg-light);
}

.picker-select:focus {
    outline: none;
    border-color: var(--secondary);
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background-color: var(--bg-light);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    font-family: '楷体', 'KaiTi', serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #5D4433;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-light);
}

/* 省市选择器样式 */
.city-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.province-list, .city-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: var(--bg-white);
}

.province-item, .city-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.province-item:hover, .city-item:hover {
    background: var(--bg-light);
    padding-left: 20px;
}

.province-item.active, .city-item.active {
    background: var(--primary);
    color: white;
}

.province-item:last-child, .city-item:last-child {
    border-bottom: none;
}

.city-list-header {
    padding: 10px 15px;
    background: var(--bg-light);
    font-weight: normal;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.select-list {
    max-height: 400px;
    overflow-y: auto;
}

.select-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.select-item:hover {
    background: var(--bg-light);
    padding-left: 20px;
}

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

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    min-width: 40px;
    min-height: 40px;
    -webkit-tap-highlight-color: transparent;
}

/* 专家按钮样式 */
.button-container {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.submit-btn {
    flex: 1;
    max-width: 50%;
}

.expert-btn {
    flex: 1;
    max-width: 50%;
    padding: 15px;
    background: linear-gradient(135deg, var(--accent) 0%, #C8A054 100%);
    color: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: '楷体', 'KaiTi', serif;
}

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

/* 底部友情链接 - 仿古籍跋语 */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, #5D4433 100%);
    color: white;
    padding: 30px 20px 20px;
    margin-top: 50px;
    border-radius: 2px 2px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: normal;
    font-family: '隶书', 'LiSu', serif;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.05);
    font-size: 15px;
}

.links a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 平板端适配 */
@media (max-width: 1200px) {
    .main-wrapper {
        max-width: 100%;
    }
    
    .main-content {
        padding: 40px 30px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }
    
    /* 移动端顶部横向导航栏 */
    .sidebar {
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 100;
        padding: 10px 15px;
        box-shadow: 0 2px 10px var(--shadow);
    }
    
    .sidebar::after {
        display: none;
    }
    
    /* 导航容器改为横向排列 */
    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Logo调整 */
    .logo {
        text-align: left;
        margin-bottom: 0;
        margin-right: 15px;
        flex-shrink: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .logo h1 {
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    .logo p {
        font-size: 11px;
    }
    
    /* 导航菜单横向排列 */
    .nav-menu {
        display: flex;
        list-style: none;
        gap: 5px;
        overflow-x: auto;
        flex: 1;
        padding: 0;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        margin-bottom: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 10px;
        display: inline-block;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link:hover, .nav-link.active {
        padding-left: 12px;
    }
    
    /* 显示移动端菜单按钮 */
    .mobile-menu-btn {
        display: block;
        flex-shrink: 0;
        margin-left: 10px;
    }
    
    /* 主内容区调整 */
    .main-content {
        padding: 20px 15px;
        background-size: 15px 100%;
    }
    
    .date-picker {
        grid-template-columns: 1fr;
    }
    
    .city-selector {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn-option {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 10px 15px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .section-header {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .stats-section {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .submit-btn, .expert-btn {
        max-width: 100%;
    }
    
    .links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .links a {
        width: 80%;
        text-align: center;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 16px;
    }
    
    .logo p {
        display: none;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
}