:root {
    --color-primary: #e63946;
    --color-primary-dark: #b71c1c;
    --color-accent: #f4a261;
    --color-surface: #f1faee;
    --color-text: #1d3557;
    --rgb-primary: 230,57,70;
    --rgb-accent: 244,162,97;
    --radius-sm: 18px;
    --radius-md: 22px;
    --radius-lg: 28px;
    --radius-xl: 32px;
    --shadow-sm: 0 8px 16px rgba(230,57,70,.06), 0 4px 8px rgba(230,57,70,.04);
    --shadow-md: 0 12px 28px rgba(230,57,70,.08), 0 6px 12px rgba(230,57,70,.05), 0 2px 4px rgba(230,57,70,.03);
    --shadow-lg: 0 20px 40px rgba(230,57,70,.10), 0 10px 20px rgba(230,57,70,.06), 0 4px 8px rgba(230,57,70,.04);
    --space-section: 2.4rem;
    --space-card: 1.2rem;
    --space-gap: 0.9rem;
    --transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --heading-weight: 800;
    --body-line-height: 1.7;
}

body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f8f9fa; }
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-color: #ffffff; border: 1px solid rgba(230,57,70,.08); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: #ffffff; border: 1px solid transparent; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background-color: var(--color-primary-dark); box-shadow: 0 8px 20px rgba(230,57,70,.25); transform: translateY(-2px); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: var(--color-accent); }
a:not([class]):hover { color: var(--color-primary-dark); text-decoration-color: var(--color-primary); }

.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; }
.news-grid > * { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background-color: #ffffff; border: 1px solid rgba(244,162,97,.10); }

.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; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); background-color: #ffffff; border: 1px solid rgba(230,57,70,.06); padding: 1.5rem; }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero-inner > *:first-child { background: linear-gradient(135deg, #f1faee 0%, #e8f0fe 100%); border-radius: var(--radius-xl); padding: 2.4rem; box-shadow: var(--shadow-lg); }
.hero-inner > *:last-child { border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 16px 32px rgba(230,57,70,.08); }

.testimonial-list { display: flex; overflow: hidden; gap: 1.2rem; } 
.testimonial-list > * { flex: 0 0 100%; border-radius: var(--radius-xl); background-color: #ffffff; padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid rgba(244,162,97,.10); }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }
.partner-grid > * { border-radius: var(--radius-lg); background-color: #ffffff; padding: 1.2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(230,57,70,.06); transition: var(--transition); }
.partner-grid > *:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--color-accent); }

.faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.faq-wrapper > *:first-child { background-color: #ffffff; border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid rgba(244,162,97,.08); }
.faq-wrapper > *:last-child { background: linear-gradient(135deg, #e63946 0%, #b71c1c 100%); border-radius: var(--radius-xl); padding: 2rem; color: #ffffff; box-shadow: 0 12px 28px rgba(230,57,70,.20); }

.stats-grid { display: flex; justify-content: center; gap: 3rem; }
.stats-grid > * { background-color: #ffffff; border-radius: var(--radius-xl); padding: 1.8rem 2.4rem; box-shadow: var(--shadow-md); border: 1px solid rgba(230,57,70,.06); min-width: 140px; text-align: center; }

.cta-section { background: linear-gradient(135deg, #e63946 0%, #b71c1c 50%, #f4a261 100%); color: #fff; padding: 4rem 2rem; border-radius: 0; box-shadow: 0 24px 48px rgba(230,57,70,.15); }
.cta-section h2 { text-shadow: 0 4px 8px rgba(0,0,0,.15); }

.page-main { max-width: 1200px; margin: 0 auto; padding: 0 1.6rem; }

.card { border: 1px solid rgba(var(--rgb-primary), .08); background-color: #ffffff; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--color-accent); transform: translateY(-4px); }

header, .header, .navbar { box-shadow: 0 4px 16px rgba(230,57,70,.06); background-color: #ffffff; border-bottom: 1px solid rgba(244,162,97,.10); }

@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; }
}