:root {
    --color-primary: #6c5ce7;
    --color-primary-dark: #4834d4;
    --color-accent: #a29bfe;
    --color-surface: #0f0f23;
    --color-text: #e0e0ff;
    --rgb-primary: 108,92,231;
    --rgb-accent: 162,155,254;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(108,92,231,0.15), 0 0 12px rgba(108,92,231,0.1);
    --shadow-md: 0 4px 16px rgba(108,92,231,0.25), 0 0 24px rgba(108,92,231,0.15);
    --shadow-lg: 0 8px 32px rgba(108,92,231,0.35), 0 0 40px rgba(108,92,231,0.2);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --heading-weight: 600;
    --body-line-height: 1.6;
}

body { color: var(--color-text); line-height: var(--body-line-height); background: #0a0a1a; }
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: linear-gradient(135deg, #1a1a3e 0%, #0f0f23 100%); border: 1px solid rgba(108,92,231,0.1); }
.card:hover, [class*="card"]:hover { box-shadow: 0 0 32px rgba(108,92,231,0.6); transform: translateY(-2px); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #6c5ce7 0%, #4834d4 100%); color: #fff; border: none; box-shadow: 0 0 16px rgba(108,92,231,0.3); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 0 24px rgba(108,92,231,0.5); transform: translateY(-1px); }
a:not([class]) { color: var(--color-accent); transition: var(--transition); text-shadow: 0 0 8px rgba(162,155,254,0.3); }
a:not([class]):hover { color: #c4bfff; text-shadow: 0 0 12px rgba(162,155,254,0.5); }

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

/* news: featured-top */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.news-grid > *:first-child { grid-column: span 3; background: linear-gradient(135deg, #2a2a5e 0%, #1a1a3e 100%); border: 1px solid rgba(108,92,231,0.2); box-shadow: 0 0 20px rgba(108,92,231,0.2); }

/* features: grid-2 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--space-gap) * 1.5); }
.feature-list > *:nth-child(odd) { background: linear-gradient(135deg, #1a1a4e 0%, #0f0f23 100%); border-color: rgba(108,92,231,0.15); }
.feature-list > *:nth-child(even) { background: linear-gradient(135deg, #1a1a3e 0%, #0f0f23 100%); border-color: rgba(162,155,254,0.15); }

/* hero: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

/* testimonials: stacked */
.testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }
.testimonial-list > * { background: linear-gradient(135deg, #1a1a4e 0%, #0f0f23 100%); border: 1px solid rgba(108,92,231,0.1); box-shadow: 0 0 16px rgba(108,92,231,0.1); }

/* partners: scroll */
.partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
@keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* faq: single-column */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list > * { background: linear-gradient(135deg, #1a1a3e 0%, #0f0f23 100%); border: 1px solid rgba(108,92,231,0.1); box-shadow: 0 0 12px rgba(108,92,231,0.1); }

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }
.stats-grid > * { background: linear-gradient(135deg, #2a2a5e 0%, #1a1a3e 100%); border: 1px solid rgba(108,92,231,0.2); box-shadow: 0 0 16px rgba(108,92,231,0.15); }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, #2a2a6e 0%, #1a1a4e 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; border: 1px solid rgba(108,92,231,0.3); box-shadow: 0 0 32px rgba(108,92,231,0.2); }

/* Page Layout: wide */
.page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
header, .header, .navbar { box-shadow: 0 2px 16px rgba(108,92,231,0.15), 0 0 20px rgba(108,92,231,0.1); background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%); border-bottom: 1px solid rgba(108,92,231,0.1); }

/* 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; }
}