/* CSSVariantEngine v3.0 — qv-app-kaiyun.com */
/* Palette: amber-plum | Radius: rounded | Shadow: layered-gradient */
/* Spacing: tight | Transition: smooth-long */
/* Section layouts: {"news":"list-view","features":"centered","hero":"overlay","testimonials":"carousel","partners":"centered","faq":"single-column","stats":"grid-3","cta":"card-style"} */

:root {
    --color-primary: #b45309;
    --color-primary-dark: #7c2d12;
    --color-accent: #fbbf24;
    --color-surface: #fff7ed;
    --color-text: #431407;
    --rgb-primary: 180,83,9;
    --rgb-accent: 251,191,36;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --shadow-sm: 0 1px 2px rgba(124, 45, 18, 0.18);
    --shadow-md: 0 4px 10px -2px rgba(124, 45, 18, 0.24), 0 2px 4px -1px rgba(180, 83, 9, 0.16);
    --shadow-lg: 0 18px 36px -8px rgba(124, 45, 18, 0.34), 0 8px 16px -4px rgba(180, 83, 9, 0.22);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #fffbf5 0%, #fff7ed 55%, #fef3e2 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(150deg, #ffffff 0%, #fff7ed 60%, #fef3e2 100%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); color: #fffbeb; border-color: rgba(124, 45, 18, 0.4); box-shadow: 0 2px 6px rgba(180, 83, 9, 0.28); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

/* news: list-view */
/* 列表模式 (图左文右) */
                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card { display: grid; grid-template-columns: 280px 1fr; }

/* 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: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.28) 0%, rgba(180, 83, 9, 0.18) 45%, rgba(124, 45, 18, 0.32) 100%); }
                .hero-content { position: relative; z-index: 1; }

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

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

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

/* stats: grid-3 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, #fef3e2 0%, #fde68a 50%, #fbbf24 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: var(--shadow-lg); }

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -10px rgba(124, 45, 18, 0.42), 0 10px 20px -6px rgba(180, 83, 9, 0.28); }
a:not([class]):hover { color: var(--color-accent); }
.card { border-left: 3px solid var(--color-primary); border-color: rgba(180, 83, 9, 0.35); }
header, .header, .navbar { background: linear-gradient(90deg, rgba(255, 251, 245, 0.9) 0%, rgba(254, 243, 226, 0.85) 100%); }

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