:root {
    --color-primary: #2b7cff;
    --color-primary-dark: #0f4fbf;
    --color-accent: #19c37d;
    --color-surface: #f4f7ff;
    --color-text: #0f172a;
    --rgb-primary: 43,124,255;
    --rgb-accent: 25,195,125;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --shadow-sm: 0 1px 0 rgba(2, 6, 23, .18);
    --shadow-md: 0 2px 6px rgba(2, 6, 23, .10), 0 1px 1px rgba(2, 6, 23, .06);
    --shadow-lg: 0 6px 16px rgba(2, 6, 23, .14), 0 2px 5px rgba(2, 6, 23, .08);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.12s cubic-bezier(.2,.8,.2,1);
    --heading-weight: 700;
    --body-line-height: 1.65;
    --sidebar-bg: #252e3a;
    --sidebar-border: rgba(148, 163, 184, .22);
    --sidebar-accent: #3b82f6;
    --sidebar-ring: rgba(59, 130, 246, .28);
}

body { color: var(--color-text); line-height: var(--body-line-height); background: linear-gradient(180deg, rgba(244,247,255,.95), rgba(244,247,255,.85)); }
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:
        0 1px 0 rgba(15, 23, 42, .10),
        0 10px 22px rgba(15, 23, 42, .08),
        inset 0 1px 0 rgba(255, 255, 255, .55);
    padding: var(--space-card);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
    border: 1px solid rgba(148, 163, 184, .14);
}
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-decoration-color: rgba(43,124,255,.35); }
a:not([class]):hover { text-decoration-color: rgba(25,195,125,.45); }

:where(.news-grid, .feature-list, .hero-content, .testimonial-list, .partner-grid, .faq-list, .stats-grid, .cta-inner, .page-main) { color: inherit; }
:where(.news-grid, .stats-grid) { text-shadow: 0 1px 0 rgba(255,255,255,.55); }

.card:hover, [class*="card"]:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, .16),
        0 16px 38px rgba(15, 23, 42, .14),
        0 6px 14px rgba(59, 130, 246, .10),
        inset 0 1px 0 rgba(255, 255, 255, .62);
    border-color: rgba(59, 130, 246, .35);
}
a:not([class]):hover { color: var(--color-accent); }
header, .header, .navbar {
    background: linear-gradient(180deg, rgba(37,46,58,.94), rgba(37,46,58,.78));
    border-bottom: 1px solid var(--sidebar-border);
    box-shadow:
        0 1px 0 rgba(255,255,255,.06),
        0 10px 30px rgba(2, 6, 23, .25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0;
}
header, .header, .navbar { color: rgba(226, 232, 240, .95); }
:where(header, .header, .navbar) a:not([class]) { color: rgba(226, 232, 240, .92); }
:where(header, .header, .navbar) a:not([class]):hover { color: var(--sidebar-accent); text-shadow: 0 0 22px rgba(59, 130, 246, .25); }

@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; --transition: 0.10s cubic-bezier(.25,.85,.25,1); }
    .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; }
}

                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
                .news-grid > *:first-child { grid-column: span 3; }
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }
.hero-content { text-align: left; max-width: 600px; }
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.faq-list { max-width: 800px; margin: 0 auto; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); text-align: center; }
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }
            .page-main { max-width: 860px; margin: 0 auto; }