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

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #1a1a2e;
    --accent-color: #0f3460;
    --text-light: #e0e0e0;
    --text-dark: #333;
    --border-color: #444;
    --bg-dark: #0f0f1e;
    --bg-light: #1a1a2e;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==================== Animated Background ==================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0f0f1e, #1a1a2e, #0f3460, #0f0f1e);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(15, 52, 96, 0.1) 0%, transparent 50%);
    animation: gradientFloat 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

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

@keyframes gradientFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(50px, -50px);
    }
    50% {
        transform: translate(100px, 0);
    }
    75% {
        transform: translate(50px, 50px);
    }
}

/* ==================== Floating Shapes ==================== */
.floating-shape {
    position: fixed;
    border-radius: 50%;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    top: 10%;
    left: 5%;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0f3460, #16c784);
    top: 50%;
    right: 5%;
    animation: float 25s infinite ease-in-out reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #1a1a2e, #ff6b6b);
    bottom: 10%;
    left: 15%;
    animation: float 30s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(0, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ==================== Header & Navigation ==================== */
.header {
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(68, 68, 68, 0.3);
    transition: var(--transition);
}

.header:hover {
    background-color: rgba(26, 26, 46, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

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

.logo-text {
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

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

.nav-link.active::after {
    width: 100%;
}

/* ==================== Mobile Menu ==================== */
#mobileMenuBtn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

#mobileMenuBtn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
}

#mobileMenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}

.mobile-nav-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 0;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(15, 52, 96, 0.15) 0%, transparent 50%);
    animation: pulseGradient 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseGradient {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: slideUp 0.8s ease;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
    }
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Hero - 补充未定义的控件样式（不修改背景） */
.hero-features {
    display: block;         /* 改为块级，垂直堆叠 */
    margin: 18px auto;
    padding: 0;
    max-width: 820px;
}

.hero-features li {
    display: block;
    margin: 8px 0;          /* 每项之间垂直间距 */
    padding: 6px 0;
    background: transparent;/* 保持整洁，如需 pill 样式可恢复 */
    border-radius: 0;
    text-align: center;
}

/* CTA 区域 */
.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 100%);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(59,130,246,0.16);
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(59,130,246,0.18);
    opacity: 0.98;
}

.secondary-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    font-weight: 600;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.04);
}

/* 信任/统计行 */
.hero-trust {
    margin-top: 14px;
    color: rgba(224,224,224,0.88);
    font-size: 14px;
    line-height: 1.4;
}

/* ==================== Page Header ==================== */
.page-header {
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(15, 52, 96, 0.2) 0%, transparent 70%);
    animation: expandPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes expandPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* ==================== Sections ==================== */
.section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: slideWidth 2s ease-in-out infinite;
}

@keyframes slideWidth {
    0%, 100% {
        width: 100px;
    }
    50% {
        width: 150px;
    }
}

/* ==================== Service Cards ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    animation: rotateGradient 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    background: rgba(26, 26, 46, 0.8);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.8;
}

/* ==================== Stats Section ==================== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: var(--transition);
    animation: bounceIn 0.8s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.2), transparent);
    animation: shimmerEffect 3s infinite;
}

@keyframes shimmerEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.stat-card:hover {
    transform: scale(1.08) translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(26, 26, 46, 0.8);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

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

/* ==================== Team Section ==================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    text-align: center;
    transition: var(--transition);
    animation: slideInLeft 0.6s ease;
    position: relative;
    overflow: hidden;
}

.team-member::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary-color);
    background: rgba(26, 26, 46, 0.8);
}

.team-member:hover::after {
    opacity: 1;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.team-member p {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.8;
}

/* ==================== Service Details ==================== */
.service-detail-item {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: var(--transition);
    animation: slideInRight 0.6s ease;
    position: relative;
    overflow: hidden;
}

.service-detail-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-detail-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    background: rgba(26, 26, 46, 0.8);
}

.service-detail-item:hover::before {
    left: 100%;
}

.service-detail-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-detail-item ul {
    list-style: none;
    padding: 0;
}

.service-detail-item li {
    padding: 10px 0;
    color: var(--text-light);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail-item li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* ==================== Contact Form ==================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(15, 15, 30, 0.6);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

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

.submit-button {
    background: linear-gradient(135deg, var(--primary-color), #ff8787);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.submit-button:hover::before {
    left: 100%;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    animation: slideUp 0.3s ease;
}

.form-message.success {
    background: rgba(22, 199, 132, 0.2);
    border: 1px solid #16c784;
    color: #16c784;
}

.form-message.error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.contact-info {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.contact-info-item {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    animation: slideInRight 0.6s ease;
}

.contact-info-icon {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-content h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-info-content p {
    color: var(--text-light);
    opacity: 0.8;
}

/* ==================== Footer ==================== */
.footer {
    background: rgba(18, 18, 34, 0.65); /* 更柔和的深色玻璃感 */
    backdrop-filter: blur(6px);
    padding: 36px 20px;
    border-top: 1px solid rgba(255, 107, 107, 0.06);
    margin-top: 80px;
    color: rgba(230,230,230,0.92);
}

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

/* 如果仍保留旧的 grid 布局，优先使用单列居中文本 */
.footer-content {
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

.footer-text {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
    color: rgba(220,220,220,0.88);
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

.footer-text p {
    margin: 8px 0;
    opacity: 0.95;
}

/* 强化重要信息的可读性（可按需复用类名 color-8a） */
.color-8a {
    color: rgba(210,210,210,0.9);
    font-size: 14px;
    line-height: 1.7;
}

/* 可选的较小版权行（若存在） */
.footer-bottom {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 107, 107, 0.04);
    color: rgba(200,200,200,0.75);
    font-size: 13px;
    margin-top: 12px;
}

/* 响应式：窄屏时减小内边距和字号，保持可读 */
@media (max-width: 768px) {
    .footer {
        padding: 28px 16px;
    }
    .footer-text { font-size: 13px; max-width: 92%; }
    .footer-bottom { font-size: 12px; }
}
@media (max-width: 420px) {
    .footer { padding: 20px 12px; }
    .footer-text { font-size: 12.5px; line-height: 1.6; }
}

/* ==================== Animations ==================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ==================== Partners / logos ==================== */
/* Partners / logos - 调整为更亮的背景以便透明 logo 可见 */
.partners-section {
    padding: 60px 20px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,107,107,0.04);

    /* 亮色玻璃面板，提升透明图标可见性 */
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    backdrop-filter: blur(6px) saturate(1.05);
}

/* partners: 增加 logo 间距并居中 subtitle */
.partners-section .partners-subtitle {
    text-align: center;
    margin: 8px auto 18px;
    max-width: 900px;
    color: #FFF;
    font-size: 15px;
}

/* 更宽松的网格间距与对齐 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px 32px;          /* 行间距 28px，列间距 32px */
    align-items: center;
    justify-items: center;
    margin-top: 20px;
}

/* 卡片内部留白增大，保证视觉空隙 */
.partner-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 8px;
    min-height: 72px;
}

/* 控制 logo 大小，保持等高与留白 */
.partner-logo {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
    display: block;
}

/* 响应式降级列数 */
@media (max-width: 1200px) {
    .partners-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 24px; }
}
@media (max-width: 900px) {
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 400px) {
    .partners-grid { grid-template-columns: repeat(1, 1fr); gap: 12px; }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    #mobileMenuBtn {
        display: flex;
    }

    .hero {
        height: 600px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .stats-section,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .nav-list {
        gap: 15px;
    }

    .section {
        padding: 40px 20px;
    }

    .service-card,
    .stat-card,
    .team-member {
        padding: 20px;
    }
}

/* ==================== Page Visibility ==================== */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: slideUp 0.5s ease;
}

/* services-details：每行显示 2 个项 */
#services-details .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
    align-items: stretch;
}

/* 窄屏回退为单列 */
@media (max-width: 720px) {
    #services-details .services-grid {
        grid-template-columns: 1fr;
    }
}

/* about-section：更高端、协调的卡片式排版 */
.about-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 稍微收敛标题，突出配色但不改变全局风格 */
.about-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

/* 将段落作为内容卡显示，覆盖页面中的 inline 样式以保证一致性 */
.about-section p {
    /* 覆盖可能存在的 inline 样式，确保统一外观 */
    max-width: 900px !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 16px !important;
    opacity: 1 !important;

    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,107,107,0.06);
    padding: 26px 28px;
    border-radius: 12px;
    color: rgba(235,235,235,0.95);
    line-height: 1.75;
    box-shadow: 0 10px 30px rgba(2,6,23,0.55);
    backdrop-filter: blur(4px);
}

/* 在段落内部的换行和小屏体验微调 */
.about-section p br { display: block; margin: 10px 0; }

/* 响应式 */
@media (max-width: 900px) {
    .about-section .section-title { font-size: 28px; }
    .about-section p {
        padding: 20px;
        max-width: 92% !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .about-section .section-title { font-size: 22px; }
    .about-section p {
        padding: 16px;
        font-size: 14px !important;
        line-height: 1.6;
    }
}
