:root {
    --color-primary: #2dd4bf;
    --color-primary-dark: #0f766e;
    --color-accent: #ffb703;
    --color-surface: #0b1220;
    --color-text: #eaf2ff;
    --rgb-primary: 45,212,191;
    --rgb-accent: 255,183,3;

    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 10px;

    --shadow-sm:
        0 1px 0 rgba(255,183,3,.10),
        0 2px 8px rgba(11,18,32,.35);
    --shadow-md:
        0 1px 0 rgba(255,255,255,.06),
        0 4px 14px rgba(11,18,32,.45),
        0 0 0 1px rgba(45,212,191,.10) inset;
    --shadow-lg:
        0 2px 0 rgba(255,183,3,.12),
        0 10px 26px rgba(11,18,32,.58),
        0 0 0 1px rgba(45,212,191,.14) inset;

    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;

    --transition: 240ms cubic-bezier(0.2, 0.95, 0.2, 1);
    --heading-weight: 650;
    --body-line-height: 1.75;

    --outline-focus: rgba(45,212,191,.55);
    --accent-glow: rgba(255,183,3,.30);
}

body { color: var(--color-text); line-height: var(--body-line-height); background: radial-gradient(900px 520px at 12% -10%, rgba(45,212,191,.18), transparent 55%), radial-gradient(760px 420px at 92% 8%, rgba(255,183,3,.14), transparent 52%), linear-gradient(180deg, #070b14, #0b1220 60%, #070b14); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); letter-spacing: -0.01em; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }

.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(45,212,191,.10) inset,
        0 1px 0 rgba(255,255,255,.06),
        0 6px 18px rgba(0,0,0,.45);
    padding: var(--space-card);
    transition:
        transform var(--transition),
        box-shadow 320ms cubic-bezier(0.2, 0.9, 0.15, 1),
        background-color 320ms cubic-bezier(0.2, 0.9, 0.15, 1);
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
        radial-gradient(900px 260px at 18% 0%, rgba(45,212,191,.10), transparent 55%),
        rgba(255,255,255,.02);
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition:
        transform var(--transition),
        background-color 220ms cubic-bezier(0.2, 0.95, 0.2, 1),
        color 220ms cubic-bezier(0.2, 0.95, 0.2, 1),
        box-shadow 260ms cubic-bezier(0.2, 0.9, 0.15, 1);
    box-shadow:
        0 0 0 1px rgba(45,212,191,.18) inset,
        0 1px 0 rgba(255,183,3,.10);
}

a:not([class]) {
    color: #3be5d1;
    transition:
        color 180ms cubic-bezier(0.2, 0.95, 0.2, 1),
        text-shadow 220ms cubic-bezier(0.2, 0.9, 0.15, 1);
    text-shadow: 0 0 0 rgba(0,0,0,0);
}

:focus-visible {
    outline: 2px solid var(--outline-focus);
    outline-offset: 2px;
}

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

/* news: featured-left */
/* 左大右小 (1大+2小) */
                .news-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: var(--space-gap); }
                .news-grid > *:first-child { grid-row: span 2; }

/* features: grid-2 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--space-gap) * 1.5); }

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

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; text-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(45,212,191,.14); }

/* cta: card-style */
.cta-inner {
    background:
        radial-gradient(800px 260px at 15% 0%, rgba(45,212,191,.20), transparent 55%),
        radial-gradient(600px 220px at 95% 40%, rgba(255,183,3,.18), transparent 52%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01)),
        var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255,183,3,.18) inset,
        0 10px 28px rgba(0,0,0,.48);
}

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(45,212,191,.18) inset,
        0 2px 0 rgba(255,183,3,.10),
        0 14px 34px rgba(0,0,0,.62),
        0 0 28px rgba(45,212,191,.12);
}

a:not([class]):hover {
    color: #ffd166;
    text-shadow:
        0 0 14px rgba(255,209,102,.22),
        0 1px 0 rgba(0,0,0,.25);
}

header, .header, .navbar {
    background: transparent;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 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; --transition: 200ms cubic-bezier(0.2, 0.95, 0.2, 1); }
    .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; }
}