/**
 * 侠客新知 - 全局样式表
 * 新媒体风格设计
 */

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

body { 
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; 
    line-height: 1.6; 
    color: #2d3748;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
}

/* ==================== 导航栏 ==================== */
.header { 
    background: rgba(255,255,255,0.98); 
    backdrop-filter: blur(10px);
    padding: 12px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-size: 24px; 
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* 桌面端导航 */
.nav { display: flex; gap: 35px; }

.nav a { 
    color: #4a5568; 
    text-decoration: none; 
    font-size: 15px; 
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav a:hover { color: #667eea; }

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s;
}

.nav a:hover::after { width: 100%; }

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    gap: 5px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 100px 30px 40px;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    color: #1a202c;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav a::after {
    content: '→';
    color: #667eea;
    font-size: 18px;
}

.mobile-nav a:hover {
    color: #667eea;
    padding-left: 10px;
}

/* ==================== Hero区域 ==================== */
.hero { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #fff; 
    padding: 120px 20px 100px; 
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.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");
    opacity: 0.5;
}

.hero h1 { 
    font-size: 52px; 
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.hero p { 
    font-size: 20px; 
    opacity: 0.95;
    max-width: 600px; 
    margin: 0 auto;
    font-weight: 400;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}

/* Hero小页面（关于、联系） */
.hero-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff; 
    padding: 80px 20px; 
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-small::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-small h1 { 
    font-size: 42px; 
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.back-link { 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.back-link:hover { 
    color: #fff;
    transform: translateX(-5px);
}

/* ==================== 区块样式 ==================== */
.section { 
    padding: 100px 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-title { 
    text-align: center; 
    font-size: 38px; 
    margin-bottom: 15px;
    color: #1a202c;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    font-size: 17px;
    margin-bottom: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 服务板块 - 全新设计 ==================== */
.services-section {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 50%, #faf8ff 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,126,234,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    position: relative;
    z-index: 1;
}

.service-card { 
    background: rgba(255, 255, 255, 0.95); 
    border-radius: 24px; 
    padding: 50px 35px; 
    box-shadow: 
        0 4px 20px rgba(102,126,234,0.08),
        0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none; 
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102,126,234,0.1);
    backdrop-filter: blur(10px);
}

/* 渐变边框效果 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover { 
    transform: translateY(-12px) scale(1.02); 
    box-shadow: 
        0 25px 50px rgba(102,126,234,0.15),
        0 10px 20px rgba(102,126,234,0.1);
}

.service-card:hover::before {
    opacity: 1;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 图标容器 - 全新设计 */
.service-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 42px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 32px rgba(102,126,234,0.15);
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 27px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, #667eea25, #764ba225);
    box-shadow: 0 12px 40px rgba(102,126,234,0.25);
}

.service-card:hover .service-icon-wrapper::after {
    opacity: 0.5;
}

/* 标题样式 */
.service-card h3 { 
    color: #1a202c; 
    font-size: 26px; 
    margin-bottom: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #1a202c, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.4s ease;
}

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

/* 描述文字 */
.service-card p { 
    color: #64748b; 
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* 服务标签 */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.service-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border-radius: 20px;
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    border: 1px solid rgba(102,126,234,0.2);
}

/* 了解更多按钮 */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: #764ba2;
    gap: 15px;
}

.service-card:hover .service-link::after {
    transform: translateX(5px);
}

/* 装饰元素 */
.service-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea08, #764ba208);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.service-card:hover .service-decoration {
    opacity: 1;
    transform: scale(1);
}

/* ==================== 案例板块 ==================== */
.cases-section {
    background: #fff;
}

.cases-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 35px; 
}

.case-card { 
    background: #fff; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
    border: 1px solid rgba(0,0,0,0.04);
}

.case-card:hover { 
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.case-image-wrapper {
    position: relative;
    overflow: hidden;
}

.case-card img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover;
    transition: transform 0.5s;
}

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

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.3s;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-info { 
    padding: 28px;
    background: #fff;
}

.case-card h3 { 
    font-size: 20px; 
    margin-bottom: 10px; 
    color: #1a202c;
    font-weight: 700;
}

.case-card p { 
    color: #718096; 
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-client { 
    display: inline-block;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    color: #667eea;
    font-size: 13px; 
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ==================== 内容卡片 ==================== */
.content-section { 
    padding: 80px 20px; 
    max-width: 800px; 
    margin: 0 auto; 
}

.content-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.content-card h2 {
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h2::before {
    content: '';
    width: 4px;
    height: 32px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 2px;
}

.content-card p { 
    font-size: 17px; 
    color: #4a5568; 
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* 特色网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea08, #764ba208);
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #667eea12, #764ba212);
}

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

.feature-item h3 {
    font-size: 18px;
    color: #1a202c;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* 联系信息卡片 */
.contact-card { 
    background: #fff; 
    border-radius: 24px; 
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-card h2 {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 35px;
    font-weight: 700;
    text-align: center;
}

.contact-item { 
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea08, #764ba208);
    border-radius: 16px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #667eea12, #764ba212);
}

.contact-item:last-child { margin-bottom: 0; }

.contact-label { 
    font-weight: 600; 
    color: #667eea;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value { 
    color: #1a202c;
    font-size: 18px;
    font-weight: 500;
}

.cta-section {
    margin-top: 40px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.4);
}

/* ==================== 页脚 ==================== */
.footer { 
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #fff; 
    padding: 50px 20px; 
    text-align: center;
}

.footer-brand {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer p { 
    opacity: 0.7; 
    font-size: 14px;
    margin: 8px 0;
}

.footer-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    margin: 20px auto;
    border-radius: 2px;
}

/* ==================== 后台管理样式 ==================== */
.admin-body {
    background: #f5f7fa;
}

.admin-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 20px;
    font-weight: 600;
}

.admin-header a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.admin-header a:hover {
    color: #fff;
}

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

.admin-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1a1a2e;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

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

.btn-secondary {
    background: #6c757d;
}

.btn-danger {
    background: #dc3545;
}

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

/* 表格样式 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-icon {
    font-size: 24px;
}

.thumb-img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.empty-msg {
    text-align: center;
    color: #999;
    padding: 30px;
    font-style: italic;
}

/* 登录页 */
.login-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-box h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a2e;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-box .form-group {
    margin-bottom: 20px;
}

.login-box input {
    padding: 14px;
    font-size: 15px;
}

.login-box .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-home:hover {
    color: #667eea;
}

.error-msg {
    color: #dc3545;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    padding: 10px;
    background: #f8d7da;
    border-radius: 6px;
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 768px) {
    /* 导航栏 */
    .header { padding: 10px 0; }
    .logo { font-size: 20px; }
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-nav { display: flex; }
    
    /* Hero区域 */
    .hero { padding: 60px 20px 50px; }
    .hero-badge {
        font-size: 12px;
        padding: 8px 18px;
        margin-bottom: 20px;
    }
    .hero h1 { 
        font-size: 28px; 
        margin-bottom: 15px;
    }
    .hero p { 
        font-size: 15px; 
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .hero-small { padding: 50px 20px 40px; }
    .hero-small h1 { font-size: 28px; }
    .back-link {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* 区块 */
    .section { 
        padding: 50px 16px; 
    }
    .section-title { 
        font-size: 24px; 
        margin-bottom: 12px;
    }
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
        padding: 0 20px;
    }
    
    .content-section { 
        padding: 30px 16px; 
    }
    
    /* 服务卡片 - 移动端优化 */
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 24px;
    }
    .service-card { 
        padding: 35px 28px; 
        border-radius: 20px;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }
    .service-card::before {
        border-radius: 20px;
        padding: 1.5px;
    }
    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 0;
        border-radius: 18px;
        flex-shrink: 0;
    }
    .service-icon-wrapper::after {
        border-radius: 21px;
    }
    .service-content {
        flex: 1;
    }
    .service-card h3 { 
        font-size: 20px; 
        margin-bottom: 12px;
    }
    .service-card h3::after {
        bottom: -6px;
        height: 3px;
    }
    .service-card p { 
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 0;
    }
    .service-link {
        display: none;
    }
    .service-tags {
        display: none;
    }
    .service-decoration {
        display: none;
    }
    
    /* 案例卡片 */
    .cases-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .case-card { 
        border-radius: 16px;
    }
    .case-card img { 
        height: 180px; 
    }
    .case-info { 
        padding: 20px;
    }
    .case-card h3 { 
        font-size: 17px; 
        margin-bottom: 8px;
    }
    .case-card p { 
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    .case-client { 
        font-size: 12px;
        padding: 5px 12px;
    }
    
    /* 内容卡片 */
    .content-card { 
        padding: 28px 22px; 
        border-radius: 20px;
    }
    .content-card h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .content-card h2::before {
        height: 26px;
    }
    .content-card p { 
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    /* 特色网格 */
    .features-grid { 
        grid-template-columns: 1fr; 
        gap: 12px;
        margin-top: 25px;
    }
    .feature-item {
        padding: 22px 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    .feature-icon {
        font-size: 32px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .feature-item h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .feature-item p {
        font-size: 13px;
    }
    
    /* 联系卡片 */
    .contact-card { 
        padding: 30px 22px; 
        border-radius: 20px;
    }
    .contact-card h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }
    .contact-item { 
        margin-bottom: 16px;
        padding: 20px;
        border-radius: 14px;
    }
    .contact-label { 
        font-size: 12px;
        margin-bottom: 6px;
    }
    .contact-value { 
        font-size: 16px;
    }
    
    .cta-section {
        margin-top: 30px;
    }
    .cta-button {
        padding: 14px 32px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }
    
    /* 页脚 */
    .footer { 
        padding: 40px 20px; 
    }
    .footer-brand {
        font-size: 22px;
    }
    .footer p { 
        font-size: 13px;
    }
    
    /* 后台管理 */
    .admin-container {
        padding: 15px;
    }
    .admin-card {
        padding: 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .admin-table {
        font-size: 13px;
    }
    .admin-table th,
    .admin-table td {
        padding: 12px 8px;
    }
    .thumb-img {
        width: 50px;
        height: 35px;
    }
    
    /* 登录页 */
    .login-box {
        padding: 30px 25px;
    }
    .login-box h1 {
        font-size: 24px;
    }
}

@media (max-width: 375px) {
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .section-title { font-size: 22px; }
    .service-card { padding: 20px 18px; }
    .case-card img { height: 160px; }
    .content-card { padding: 24px 18px; }
    .content-card h2 { font-size: 20px; }
}
