/**
 * 上门维修服务系统 - 前台样式
 * 参考 fzgpos.cn 蓝色配色方案
 * 主色调: #1677FF (科技蓝)
 * 辅助色: #00B4D8 (青蓝色)
 * 强调色: #FF6B35 (橙红色)
 */

:root {
    /* 主色调 - 蓝色系 */
    --primary: #1677FF;
    --primary-light: #E6F4FF;
    --primary-lighter: #F0F7FF;
    --primary-dark: #0958D9;
    --primary-gradient: linear-gradient(135deg, #1677FF 0%, #00B4D8 100%);
    --primary-gradient-dark: linear-gradient(135deg, #0958D9 0%, #0891B2 100%);
    
    /* 辅助色 - 青蓝色 */
    --secondary: #00B4D8;
    --secondary-light: #E0F7FA;
    --secondary-dark: #0891B2;
    
    /* 强调色 - 橙红色 */
    --accent: #FF6B35;
    --accent-light: #FFF2E8;
    --accent-dark: #D4380D;
    
    /* 功能色 */
    --success: #52C41A;
    --success-light: #F6FFED;
    --warning: #FAAD14;
    --warning-light: #FFFBE6;
    --error: #F5222D;
    --error-light: #FFF1F0;
    
    /* 文字颜色 */
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    /* 背景颜色 */
    --bg-white: #FFFFFF;
    --bg-gray: #F8FAFC;
    --bg-blue: #F0F7FF;
    --bg-dark: #0F172A;
    
    /* 边框 */
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 4px 14px rgba(22, 119, 255, 0.35);
    --shadow-accent: 0 4px 14px rgba(255, 107, 53, 0.35);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 119, 255, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-accent {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* ===== 顶部导航 ===== */
.header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-primary);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.phone i {
    font-size: 16px;
}

/* ===== Hero区域 ===== */
.hero {
    background: var(--primary-gradient);
    padding: 100px 0 120px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    max-width: 720px;
    margin: 0 auto 56px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    height: 56px;
    padding: 0 24px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 15px;
    transition: all 0.3s;
    background: var(--bg-gray);
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

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

.stat-num {
    display: block;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== 区块通用 ===== */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-blue {
    background: var(--bg-blue);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ===== 服务分类 ===== */
.category-section {
    background: var(--bg-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.category-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.category-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary);
    font-size: 24px;
    transition: all 0.3s;
}

.category-item:hover .category-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.category-name {
    font-size: 14px;
    font-weight: 600;
}

/* ===== 服务卡片 ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}

.service-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.service-info {
    padding: 20px;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.service-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.service-meta i {
    margin-right: 4px;
}

.service-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.price-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-unit {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== 师傅卡片 ===== */
.master-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.master-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.master-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.master-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow);
}

.master-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.master-skills {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.master-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.master-stat {
    text-align: center;
}

.master-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.master-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.master-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
    color: var(--warning);
    font-size: 14px;
}

/* ===== 订单记录 ===== */
.order-list {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s;
}

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

.order-item:hover {
    background: var(--bg-blue);
}

.order-icon {
    width: 48px;
    height: 48px;
    background: var(--success-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 20px;
    margin-right: 16px;
    flex-shrink: 0;
}

.order-info {
    flex: 1;
}

.order-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.order-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.order-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-right: 24px;
}

.order-status {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.order-status.completed {
    background: var(--success-light);
    color: var(--success);
}

/* ===== 功能特色 ===== */
.feature-section {
    background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg-white) 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
    font-size: 32px;
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

/* ===== 流程步骤 ===== */
.process-section {
    background: var(--bg-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 0;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
    border: 4px solid var(--bg-white);
}

.process-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.process-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== 数据展示 ===== */
.data-section {
    background: var(--bg-blue);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.data-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.data-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    font-size: 28px;
}

.data-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.data-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== CTA区域 ===== */
.cta-section {
    background: var(--primary-gradient);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.cta-btn:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
}

/* ===== 底部 ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    box-shadow: none;
}

.footer-brand .logo-text {
    color: white;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-contact {
    font-size: 14px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ===== 标签 ===== */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.tag-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.tag-secondary {
    background: var(--secondary-light);
    color: var(--secondary);
}

.tag-success {
    background: var(--success-light);
    color: var(--success);
}

.tag-warning {
    background: var(--warning-light);
    color: var(--warning);
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-gray);
}

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
    background: var(--bg-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input::placeholder {
    color: var(--text-light);
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-grid,
    .master-grid,
    .data-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .stat-num {
        font-size: 32px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form .btn {
        width: 100%;
    }
    
    .nav {
        display: none;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid,
    .master-grid,
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .service-grid,
    .master-grid,
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-item {
        padding: 16px 12px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}
