:root {
    --color-primary: #7c3aed;
    --color-primary-dark: #5b21b6;
    --color-accent: #22c55e;
    --color-surface: #ecfeff;
    --color-text: #0f172a;
    --rgb-primary: 124,58,237;
    --rgb-accent: 34,197,94;
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --radius-xl: 4px;
    --shadow-sm: 3px 3px 0 rgba(12, 74, 110, 0.35);
    --shadow-md: 4px 4px 0 rgba(17, 24, 39, 0.55), 6px 6px 0 rgba(124, 58, 237, 0.18), 0 0 0 rgba(0,0,0,0);
    --shadow-lg: 4px 4px 0 rgba(2, 6, 23, 0.60), 8px 8px 0 rgba(124, 58, 237, 0.16), 0 10px 24px rgba(0,0,0,.12);
    --space-section: 2rem;
    --space-card: 1rem;
    --space-gap: 0.75rem;
    --transition: 0.15s cubic-bezier(0.2, 0.9, 0.2, 1);
    --heading-weight: 650;
    --body-line-height: 1.75;
    --color-border-strong: rgba(2, 6, 23, 0.75);
    --shadow-outline: rgba(124, 58, 237, 0.35);
}

body { color: var(--color-text); 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-xl);
    box-shadow:
        4px 4px 0 rgba(2, 6, 23, 0.55),
        0 0 0 2px rgba(124, 58, 237, 0.22),
        10px 10px 0 rgba(34, 197, 94, 0.10);
    padding: var(--space-card);
    transition: var(--transition);
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow:
        3px 3px 0 rgba(2, 6, 23, 0.55),
        0 0 0 2px rgba(124, 58, 237, 0.20);
}

a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-shadow: 1px 1px 0 rgba(2, 6, 23, 0.35);
}

a:hover { text-shadow: 2px 2px 0 rgba(2, 6, 23, 0.45); }

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

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

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

.testimonial-list { column-count: 2; column-gap: var(--space-gap); }

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

.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

.faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

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

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #4f46e5 45%, var(--color-accent) 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    border-radius: 0px;
    box-shadow:
        4px 4px 0 rgba(2, 6, 23, 0.70),
        0 0 0 3px rgba(255, 255, 255, 0.12),
        16px 16px 0 rgba(124, 58, 237, 0.18);
}

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

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