:root {
    --color-primary: #1a237e;
    --color-primary-dark: #0d47a1;
    --color-accent: #00e5ff;
    --color-surface: #e8eaf6;
    --color-text: #1a1a2e;
    --rgb-primary: 26,35,126;
    --rgb-accent: 0,229,255;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.12), 0 0 18px rgba(var(--rgb-accent),0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15), 0 0 24px rgba(var(--rgb-accent),0.25);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2), 0 0 32px rgba(var(--rgb-accent),0.3);
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --heading-weight: 700;
    --body-line-height: 1.7;
}

@keyframes card-glow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 0 24px rgba(var(--rgb-accent),0.2);
    }
    50% {
        box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 32px rgba(var(--rgb-accent),0.4);
    }
}

body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background: #1e2a3a;
}
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-card);
    transition: var(--transition);
    background: #ffffff;
    animation: card-glow 4s ease-in-out infinite;
}
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

/* ========== Section Layout Variants ========== */

/* news: masonry-2 */
/* 两列瀑布流 */
                .news-grid { column-count: 2; column-gap: var(--space-gap); }
                .news-grid .card { break-inside: avoid; margin-bottom: var(--space-gap); }

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: centered */
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

/* testimonials: grid-3 */
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* partners: grid-6 */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }

/* cta: full-bg */
.cta-section {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    padding: 4rem 2rem;
    box-shadow: 0 0 48px rgba(var(--rgb-accent),0.2);
}

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
        .page-main {
    max-width: 1200px;
    margin: 0 auto;
    background: #f4f6f9;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding-bottom: 2rem;
}

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); }
header, .header, .navbar {
    background: #162130;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-list { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    :root { --space-section: 2rem; --space-card: 1rem; --space-gap: 0.75rem; }
    .news-grid { grid-template-columns: 1fr !important; }
    .feature-list { grid-template-columns: 1fr !important; }
    .faq-list { grid-template-columns: 1fr !important; }
    .testimonial-list { column-count: 1 !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cta-inner { grid-template-columns: 1fr !important; }
}