* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', sans-serif;
}

:root {
    --blue-600: #2563eb;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-700: #1d4ed8;
    --gray-50: #f9fafb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    background-color: #ffffff;
    color: var(--gray-800);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 2px solid var(--blue-100);
}

.header-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.logo-area .logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-600);
    line-height: 1.2;
}
.logo-area .en {
    font-size: 0.9rem;
    color: var(--gray-600);
    letter-spacing: 0.3px;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
}
.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-menu a:hover {
    color: var(--blue-600);
}
.nav-menu .consult-btn {
    background-color: var(--blue-600);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    margin-left: 0.5rem;
    border: none;
    cursor: pointer;
}
.nav-menu .consult-btn:hover {
    background-color: var(--blue-700);
    color: white;
}

.header-phone {
    font-weight: 600;
    color: var(--blue-600);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 移动端适配导航 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }
    .logo-area {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav-menu {
        justify-content: center;
        border-top: 1px solid #e5e7eb;
        padding-top: 0.75rem;
        margin-top: 0.25rem;
    }
    .header-phone {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .nav-menu a {
        font-size: 0.9rem;
    }
    .container {
        padding: 0 1rem;
    }
}

/* 通用区块样式 */
section {
    padding: 4rem 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 1rem;
}
.section-subhead {
    text-align: center;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}
.bg-light {
    background-color: var(--blue-50);
}

/* 卡片网格 */
.grid-2, .grid-3, .grid-4, .grid-6 {
    display: grid;
    gap: 2rem 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-6 { grid-template-columns: repeat(6,1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-6 { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
    section { padding: 2.5rem 0; }
    .section-title { font-size: 1.8rem; }
}

/* 卡片设计 */
.card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.8rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(37, 99, 235, 0.1);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-200);
}
.card-icon {
    color: var(--blue-600);
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* 资质条 */
.trust-badge {
    background: white;
    border-radius: 60px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}
.badge-item i {
    color: var(--blue-600);
    font-size: 1.5rem;
}
@media (max-width: 640px) {
    .trust-badge { border-radius: 2rem; gap: 1.5rem; }
}

/* 行业标签网格 */
.industry-tag {
    background-color: white;
    border-radius: 3rem;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s;
}
.industry-tag:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
}

/* 新闻卡片 */
.news-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.news-date {
    color: var(--blue-600);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* 表单 */
.consult-form {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--blue-100);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 3rem;
    border: 1px solid #d1d5db;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.form-group textarea {
    border-radius: 2rem;
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    background-color: var(--blue-600);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}
.submit-btn:hover {
    background-color: var(--blue-700);
}

/* 底部 - 修改为BLUE-700渐变色 */
.footer {
    background: linear-gradient(145deg, #2563eb, #1d4ed8, #1e3a8a);
    color: white;
    padding: 3rem 0 2rem;
}
.footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.footer a:hover {
    color: white;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo h2 {
    color: white;
    font-size: 1.5rem;
}
.footer-logo .en {
    color: rgba(255,255,255,0.7);
}
.footer i {
    width: 1.5rem;
    color: rgba(255,255,255,0.8);
}
.icp {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* 按钮 */
.btn-outline-blue {
    border: 2px solid var(--blue-600);
    color: var(--blue-600);
    background: transparent;
    border-radius: 9999px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-blue:hover {
    background: var(--blue-600);
    color: white;
}
.btn-solid-blue {
    background: var(--blue-600);
    color: white;
    border-radius: 9999px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: white;
    border-radius: 2rem;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.modal-header h3 {
    font-size: 1.5rem;
    color: var(--blue-600);
}
.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: #9ca3af;
}
.admin-login {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.admin-login input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border-radius: 3rem;
    border: 1px solid #d1d5db;
}
.admin-login button {
    background-color: var(--blue-600);
    color: white;
    border: none;
    border-radius: 3rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
}
.admin-panel {
    display: none;
}
.news-item-admin {
    background: #f3f4f6;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-item-admin .title {
    font-weight: 600;
}
.news-item-admin .actions button {
    background: none;
    border: none;
    color: var(--blue-600);
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 1.1rem;
}
.news-item-admin .actions button.delete {
    color: #ef4444;
}
.add-form input, .add-form textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 2rem;
    border: 1px solid #d1d5db;
    margin-bottom: 1rem;
}
.add-form button {
    background-color: var(--blue-600);
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
}
.admin-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 1rem;
}
.admin-link:hover {
    color: white;
}

/* FAQ 折叠问答 */
details {
    scroll-margin-top: 90px;
}
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details > summary i {
    transition: transform 0.25s;
    flex-shrink: 0;
}
details[open] > summary i {
    transform: rotate(180deg);
}
details[open] > summary {
    margin-bottom: 1rem;
}
