/* CSSVariantEngine v3.0 — go-aiyouxiapp.com.cn */
/* Palette: tropical-gradient | Radius: soft-rounded | Shadow: layered-elevated */
/* Spacing: airy | Transition: long-smooth */
/* Section layouts: {"news":"featured-top","features":"horizontal","hero":"centered","testimonials":"carousel","partners":"scroll","faq":"two-column","stats":"big-number","cta":"centered"} */

:root {
    --color-primary: #06b6d4;
    --color-primary-dark: #0891b2;
    --color-accent: #f97316;
    --color-surface: linear-gradient(135deg, #f0fdfa 0%, #fff7ed 100%);
    --color-text: #1e293b;
    --rgb-primary: 6, 182, 212;
    --rgb-accent: 249, 115, 22;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --shadow-sm: 0 2px 8px rgba(6, 182, 212, 0.12), 0 1px 3px rgba(249, 115, 22, 0.08);
    --shadow-md: 0 8px 20px rgba(6, 182, 212, 0.18), 0 4px 10px rgba(249, 115, 22, 0.1);
    --shadow-lg: 0 16px 40px rgba(6, 182, 212, 0.22), 0 8px 16px rgba(249, 115, 22, 0.12);
    --space-section: 3.25rem;
    --space-card: 1.5rem;
    --space-gap: 1.5rem;
    --transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #f0f9ff 0%, #fffbeb 100%); }
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(145deg, #ffffff 0%, #f0fdfa 50%, #fff7ed 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(90deg, #06b6d4 0%, #f97316 100%); color: white; box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

/* ========== 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(120deg, #06b6d4 0%, #f97316 50%, #84cc16 100%); color: white; }

/* features: horizontal */
/* 水平滚动 */
                .feature-list { display: flex; gap: var(--space-gap); overflow-x: auto; scroll-snap-type: x mandatory; }
                .feature-list > * { flex: 0 0 300px; scroll-snap-align: start; background: linear-gradient(160deg, #ecfeff 0%, #ffedd5 100%); border: 2px solid transparent; border-image: linear-gradient(135deg, #06b6d4, #f97316) 1; }

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

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

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

/* 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; background: linear-gradient(90deg, #06b6d4, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; padding: 3rem; border-radius: var(--radius-xl); background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.15) 0%, rgba(249, 115, 22, 0.1) 100%); }

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
            .page-main { max-width: 1200px; margin: 0 auto; }

/* 条件性装饰 */
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 8px rgba(249, 115, 22, 0.3); }
.card { border-left: 4px solid; border-image: linear-gradient(180deg, #06b6d4, #f97316, #84cc16) 1; }
header, .header, .navbar { background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%); backdrop-filter: blur(10px); }

/* 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: 1rem; }
    .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; }
}