/* CSSVariantEngine v3.0 — homes-worldcup2026.com */
/* Palette: rose | Radius: moderate | Shadow: medium */
/* Spacing: spacious | Transition: bouncy */
/* Section layouts: {"news":"featured-top","features":"grid-3","hero":"split","testimonials":"masonry","partners":"grid-4","faq":"two-column","stats":"big-number","cta":"card-style"} */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #115e59;
    --color-accent: #22d3ee;
    --color-surface: #fffaf0;
    --color-text: #1f2937;
    --rgb-primary: 15,118,110;
    --rgb-accent: 34,211,238;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 18px rgba(34, 211, 238, 0.14);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.12), 0 0 24px rgba(34, 211, 238, 0.22), inset 0 1px 0 rgba(255,255,255,0.65);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.18), 0 0 32px rgba(34, 211, 238, 0.28), inset 0 1px 0 rgba(255,255,255,0.7);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 600;
    --body-line-height: 1.75;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, #ffffff 0%, #fffaf0 34%, #0f172a 67%, #ffffff 100%); caret-color: var(--color-primary); accent-color: var(--color-accent); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #0f172a; text-shadow: 0 1px 0 rgba(255,255,255,0.65); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
section:nth-of-type(4n+1), .section:nth-of-type(4n+1) { background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%); }
section:nth-of-type(4n+2), .section:nth-of-type(4n+2) { background: linear-gradient(180deg, #fffaf0 0%, #fff4dd 100%); }
section:nth-of-type(4n+3), .section:nth-of-type(4n+3) { background: linear-gradient(180deg, #111827 0%, #0f172a 100%); }
section:nth-of-type(4n+4), .section:nth-of-type(4n+4) { background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,252,255,0.92) 100%); border-color: rgba(15,118,110,0.22); border-style: solid; backdrop-filter: blur(10px); filter: saturate(1.04); }
.card:hover, [class*="card"]:hover { box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18), 0 0 32px rgba(34, 211, 238, 0.38), inset 0 1px 0 rgba(255,255,255,0.78); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: linear-gradient(135deg, #0f766e 0%, #22d3ee 100%); color: #ffffff; border-color: rgba(255,255,255,0.22); border-style: solid; box-shadow: 0 8px 18px rgba(15, 118, 110, 0.24), 0 0 24px rgba(34, 211, 238, 0.4); text-shadow: 0 1px 1px rgba(0,0,0,0.18); }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { box-shadow: 0 12px 24px rgba(15, 118, 110, 0.28), 0 0 32px rgba(34, 211, 238, 0.6); filter: brightness(1.03); }
.btn:focus, button[class*="btn"]:focus, a[class*="btn"]:focus { outline-color: rgba(34,211,238,0.85); outline-style: solid; }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(34,211,238,0.45); text-shadow: 0 0 10px rgba(34,211,238,0.12); }
a:not([class]):hover { color: #0ea5b7; text-shadow: 0 0 18px rgba(34,211,238,0.28); }

/* ========== 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; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18), 0 0 30px rgba(34, 211, 238, 0.24); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,250,240,0.94) 100%); }

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

/* hero: split */
/* 左文右图 */
                .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,250,240,0.88) 48%, rgba(15,23,42,0.94) 100%); border-radius: var(--radius-xl); box-shadow: 0 20px 42px rgba(15, 23, 42, 0.18), 0 0 28px rgba(34, 211, 238, 0.2); }

/* testimonials: masonry */
.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
                .testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,251,251,0.9) 100%); border-radius: var(--radius-lg); box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14), 0 0 24px rgba(34, 211, 238, 0.18); }

/* partners: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }
.partner-grid > * { background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,250,240,0.92) 100%); border-radius: var(--radius-md); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12), 0 0 22px rgba(34, 211, 238, 0.16); filter: saturate(0.98); opacity: 0.96; }
.partner-grid > *:hover { box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16), 0 0 32px rgba(34, 211, 238, 0.6); opacity: 1; }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list > * { background: linear-gradient(180deg, rgba(255,250,240,0.95) 0%, rgba(255,255,255,0.94) 100%); border-radius: var(--radius-lg); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 0 24px rgba(34, 211, 238, 0.16); border-color: rgba(15,118,110,0.18); border-style: solid; }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; color: #0f766e; text-shadow: 0 0 24px rgba(34, 211, 238, 0.42), 0 2px 6px rgba(15, 23, 42, 0.18); }

/* cta: card-style */
.cta-inner { background: linear-gradient(135deg, #fffaf0 0%, #f4fbfb 52%, #ffffff 100%); border-radius: var(--radius-xl); padding: 3rem; text-align: center; box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16), 0 0 30px rgba(34, 211, 238, 0.26); border-color: rgba(34,211,238,0.22); border-style: solid; }

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

/* 条件性装饰 */
.card { border-left: 3px solid var(--color-primary); }
header, .header, .navbar { box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1), 0 0 24px rgba(34, 211, 238, 0.16); background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,252,255,0.92) 100%); backdrop-filter: blur(12px); border-color: rgba(15,118,110,0.12); border-style: solid; }

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