:root {
    --color-primary: #1d4ed8;
    --color-primary-dark: #1e40af;
    --color-accent: #60a5fa;
    --color-surface: #f8fafc;
    --color-text: #0f172a;
    --rgb-primary: 29,78,216;
    --rgb-accent: 96,165,250;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 10px;
    --shadow-sm: 0 1px 0 rgba(15, 23, 42, .10), 0 2px 8px rgba(15, 23, 42, .06);
    --shadow-md: 0 1px 2px rgba(2, 6, 23, .10), 0 8px 18px rgba(2, 6, 23, .10);
    --shadow-lg: 0 2px 4px rgba(2, 6, 23, .12), 0 14px 28px rgba(2, 6, 23, .14);
    --space-section: 4rem;
    --space-card: 1.25rem;
    --space-gap: 0.95rem;
    --transition: 220ms cubic-bezier(.2, .9, .2, 1);
    --heading-weight: 700;
    --body-line-height: 1.65;
}

body { color: #0f172a; line-height: var(--body-line-height); }
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, .06),
        0 10px 26px rgba(2, 6, 23, .10),
        inset 0 1px 0 rgba(255, 255, 255, .70);
    padding: var(--space-card);
    transition:
        transform 220ms cubic-bezier(.2, .9, .2, 1),
        box-shadow 220ms cubic-bezier(.2, .9, .2, 1),
        border-color 220ms cubic-bezier(.2, .9, .2, 1),
        background-color 220ms cubic-bezier(.2, .9, .2, 1),
        color 220ms cubic-bezier(.2, .9, .2, 1);
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition:
        transform 220ms cubic-bezier(.2, .9, .2, 1),
        box-shadow 220ms cubic-bezier(.2, .9, .2, 1),
        background-color 220ms cubic-bezier(.2, .9, .2, 1),
        color 220ms cubic-bezier(.2, .9, .2, 1),
        border-color 220ms cubic-bezier(.2, .9, .2, 1);
}

a:not([class]) { color: var(--color-primary); transition: var(--transition); }

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

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

.hero { position: relative; min-height: 70vh; display: flex; align-items: center; }
.hero-content { position: relative; z-index: 1; }

.testimonial-list { column-count: 2; column-gap: var(--space-gap); }
.testimonial-list > * { break-inside: avoid; margin-bottom: var(--space-gap); }

.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-gap); align-items: center; }

.faq-list { max-width: 800px; margin: 0 auto; }

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

.cta-inner {
    background:
        radial-gradient(1200px 260px at 15% 0%, rgba(59, 130, 246, .18), transparent 55%),
        radial-gradient(900px 220px at 85% 10%, rgba(96, 165, 250, .16), transparent 55%),
        linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    box-shadow:
        0 1px 0 rgba(15, 23, 42, .06),
        0 16px 34px rgba(2, 6, 23, .12),
        inset 0 1px 0 rgba(255, 255, 255, .85);
}

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

a:not([class]):hover { color: #93c5fd; transition: 200ms cubic-bezier(.2, .9, .2, 1); }

.hero, [class*="hero"], section:first-of-type {
    background:
        linear-gradient(135deg,
            #0b1220 0%,
            #111c2f 22%,
            rgba(29, 78, 216, .92) 52%,
            rgba(30, 64, 175, .90) 100%);
}

.card { border: 1px solid rgba(29, 78, 216, .18); }

@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: 0.95rem; --space-gap: 0.7rem; }
    .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; }
}