:root {
    --color-primary: #4f46e5;
    --color-primary-dark: #312e81;
    --color-accent: #f43f5e;
    --color-surface: #f5f5f4;
    --color-text: #18181b;
    --rgb-primary: 79, 70, 229;
    --rgb-accent: 244, 63, 94;
    --color-mosaic-1: #4f46e5;
    --color-mosaic-2: #ec4899;
    --color-mosaic-3: #f59e0b;
    --color-mosaic-4: #0d9488;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --shadow-sm: 0 1px 2px -1px rgba(var(--rgb-primary), .28), 0 0 0 1px rgba(var(--rgb-primary), .06);
    --shadow-md: 0 1px 0 rgba(255, 255, 255, .85) inset, 0 2px 5px -2px rgba(var(--rgb-primary), .26), 0 9px 20px -15px rgba(var(--rgb-primary), .48);
    --shadow-lg: 0 2px 6px -3px rgba(var(--rgb-primary), .22), 0 18px 36px -24px rgba(var(--rgb-primary), .42);
    --space-section: 2rem;
    --space-card: 0.95rem;
    --space-gap: 0.7rem;
    --transition: 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f7f7f8; }
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); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 3px 9px -5px rgba(var(--rgb-primary), .55); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.news-grid > *:first-child { grid-column: span 3; border-color: rgba(var(--rgb-primary), .26); box-shadow: inset 0 3px 0 0 var(--color-mosaic-1), var(--shadow-md); }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.feature-list > *:nth-child(3n + 1) { border-color: rgba(79, 70, 229, .30); box-shadow: inset 3px 0 0 0 var(--color-mosaic-1), var(--shadow-sm); }
.feature-list > *:nth-child(3n + 2) { border-color: rgba(236, 72, 153, .32); box-shadow: inset 3px 0 0 0 var(--color-mosaic-2), var(--shadow-sm); }
.feature-list > *:nth-child(3n) { border-color: rgba(245, 158, 11, .38); box-shadow: inset 3px 0 0 0 var(--color-mosaic-3), var(--shadow-sm); }

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

.testimonial-list { display: flex; overflow: hidden; }
.testimonial-list > * { flex: 0 0 100%; border-color: rgba(var(--rgb-accent), .24); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 24px -18px rgba(var(--rgb-accent), .55); }

.partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
@keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.faq-wrapper > *:last-child { border-color: rgba(13, 148, 136, .32); box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .12), var(--shadow-sm); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }
.stats-grid > *:nth-child(4n + 1) { background-color: rgba(79, 70, 229, .07); border-color: rgba(79, 70, 229, .22); }
.stats-grid > *:nth-child(4n + 2) { background-color: rgba(236, 72, 153, .07); border-color: rgba(236, 72, 153, .22); }
.stats-grid > *:nth-child(4n + 3) { background-color: rgba(245, 158, 11, .09); border-color: rgba(245, 158, 11, .26); }
.stats-grid > *:nth-child(4n) { background-color: rgba(13, 148, 136, .08); border-color: rgba(13, 148, 136, .24); }

.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

.page-main { max-width: 860px; margin: 0 auto; }

a:not([class]):hover { color: var(--color-accent); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #4f46e5, #7c3aed 52%, #312e81); }
.card { border: 1px solid rgba(var(--rgb-primary), .10); }
header, .header, .navbar { box-shadow: 0 1px 0 rgba(24, 24, 27, .06), 0 6px 18px -14px rgba(var(--rgb-primary), .55); }

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