/* ==========================================
   智慧棋缘 STAR WALKIN - 样式表
   ========================================== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   多语言切换（带国旗下拉框）+ RTL 适配
   ========================================== */

/* 英文版字体（去掉中文优先字体栈） */
html.lang-en body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* 阿拉伯文字体 */
html.lang-ar body {
    font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* ---- 下拉切换器（details/summary，纯 CSS，纯链接跳转）---- */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}
.lang-current {
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    list-style: none;
    user-select: none;
}
.lang-current::-webkit-details-marker { display: none; }
.lang-current::marker { display: none; content: ''; }
.lang-current:hover { border-color: var(--primary); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-name { line-height: 1; }
.lang-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-light);
    margin-inline-start: 2px;
    transition: transform 0.2s ease;
}
.lang-switcher[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 188px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 6px;
    z-index: 1100;
    /* 单列排布：三个语言一行一个，纵向堆叠 */
    display: flex;
    flex-direction: column;
    gap: 2px;
}
/* 点击展开时的轻微下拉动效（纯 CSS） */
.lang-switcher[open] .lang-menu {
    animation: langMenuIn 0.18s ease;
}
@keyframes langMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lang-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 11px;
    border-radius: 8px;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
/* 行间细分隔线，强化单列列表感 */
.lang-option + .lang-option {
    box-shadow: inset 0 1px 0 var(--border);
}
/* 当前语言：整行高亮 + 行尾勾选（逻辑属性自动适配 RTL） */
.lang-option.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}
.lang-check {
    margin-inline-start: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0;
}
.lang-option.active .lang-check { opacity: 1; }
.lang-option:hover { background: var(--bg-light); color: var(--primary); }

.stat-noanim { letter-spacing: 1px; }

@media (max-width: 768px) {
    .lang-current { font-size: 12px; padding: 6px 9px; }
    .lang-flag { font-size: 14px; }
    .lang-menu { min-width: 170px; }
    .nav-container { gap: 8px; }
}

/* ==========================================
   RTL 适配（阿拉伯文版）
   ========================================== */
html[dir="rtl"] body {
    text-align: right;
}
html[dir="rtl"] .nav-menu,
html[dir="rtl"] .services-grid,
html[dir="rtl"] .chess-grid,
html[dir="rtl"] .philosophy-grid,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .hero-stats {
    direction: rtl;
}
/* 平滑滚动锚点、列表符号方向由 dir 自动处理；以下修正物理方向属性 */
html[dir="rtl"] .hero-chess-board { direction: ltr; }
html[dir="rtl"] .service-list li { text-align: right; }
html[dir="rtl"] blockquote { border-inline-start: none; border-inline-end: 4px solid var(--accent); }
/* 电话、邮箱等 LTR 数字串保持从左向右 */
html[dir="rtl"] a[href^="tel"],
html[dir="rtl"] a[href^="mailto"],
html[dir="rtl"] .contact-detail p { direction: ltr; text-align: right; unicode-bidi: embed; }

:root {
    --primary: #2c5282;
    --primary-dark: #1a365d;
    --primary-light: #ebf4ff;
    --secondary: #c05621;
    --accent: #d69e2e;
    --chess-dark: #744210;
    --chess-light: #f6e05e;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-warm: #fffaf0;
    --border: #e2e8f0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 28px;
    color: var(--chess-dark);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero 区域 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-white) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196,86,33,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 16px rgba(192,86,33,0.3);
}

.btn-primary:hover {
    background: #9c4221;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(192,86,33,0.4);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}

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

.btn-full {
    width: 100%;
}

/* 棋盘装饰 */
.hero-chess-board {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.chess-piece {
    font-size: 48px;
    opacity: 0.15;
    animation: float 3s ease-in-out infinite;
}

.chess-piece:nth-child(2) { animation-delay: 0.5s; }
.chess-piece:nth-child(3) { animation-delay: 1s; }
.chess-piece:nth-child(4) { animation-delay: 1.5s; }
.chess-piece:nth-child(5) { animation-delay: 2s; }
.chess-piece:nth-child(6) { animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* 通用区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

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

/* 理念区域 */
.philosophy {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.philosophy-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.philosophy-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.philosophy-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.philosophy-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

.philosophy-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.philosophy-quote blockquote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.philosophy-quote cite {
    font-size: 14px;
    color: var(--text-light);
    font-style: normal;
}

/* 服务区域 */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    border: 2px solid var(--secondary);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

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

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 13px;
    color: var(--text-light);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
}

/* 国际象棋价值 */
.chess-value {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.chess-item {
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.chess-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.chess-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.3;
    margin-bottom: 12px;
}

.chess-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.chess-item p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--bg-warm);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-dark);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.about-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.about-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 4px;
}

.about-card-subtitle {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
}

.about-card-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

.about-card-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    min-width: 80px;
}

.about-card-label {
    font-size: 15px;
    color: var(--text-medium);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 4px;
}

.contact-note {
    font-size: 13px;
    color: var(--text-light);
}

/* 联系表单 */
.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(192,86,33,0.1);
}

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

/* 页脚 */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

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

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

.footer-brand .logo-sub {
    color: rgba(255,255,255,0.6);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    line-height: 1.6;
}

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

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

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .chess-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .philosophy-grid,
    .services-grid,
    .chess-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-card-number {
        font-size: 24px;
        min-width: 60px;
    }
    
    .hero-chess-board {
        gap: 12px;
    }
    
    .chess-piece {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}


/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a5fb4;
    --primary-dark: #0d3a7a;
    --primary-light: #e8f0fe;
    --secondary: #2ec27e;
    --accent: #f5a623;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-light: #8a8a9a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #eef0f4;
    --border: #e0e2e8;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
}

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero 区域 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,95,180,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(26,95,180,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26,95,180,0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* 统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* 通用区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

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

/* 服务区域 */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

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

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 13px;
    color: var(--text-light);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-dark);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.about-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.about-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
}

.about-card-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

.about-card-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    min-width: 80px;
}

.about-card-label {
    font-size: 15px;
    color: var(--text-medium);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 4px;
}

.contact-note {
    font-size: 13px;
    color: var(--text-light);
}

/* 联系表单 */
.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,95,180,0.1);
}

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

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

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

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

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    line-height: 1.6;
}

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

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

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-card-number {
        font-size: 24px;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
