:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-accent: #06b6d4;
    --color-surface: #f8fafc;
    --color-text: #0f172a;
    --rgb-primary: 37,99,235;
    --rgb-accent: 6,182,212;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;

    --shadow-sm: 0 1px 0 rgba(2, 6, 23, .06);
    --shadow-md:
        0 10px 22px rgba(2, 6, 23, .08),
        0 2px 6px rgba(2, 6, 23, .06);
    --shadow-lg:
        0 18px 40px rgba(2, 6, 23, .14),
        0 6px 18px rgba(37, 99, 235, .14),
        0 2px 6px rgba(2, 6, 23, .06);

    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;

    --transition: 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
    --heading-weight: 700;
    --body-line-height: 1.65;
}

body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background:
        radial-gradient(1200px 700px at 20% -10%, rgba(37, 99, 235, .12), transparent 55%),
        radial-gradient(900px 600px at 95% 10%, rgba(6, 182, 212, .14), transparent 52%),
        linear-gradient(180deg, #f3f7ff 0%, #f8fafc 60%, #f7fafc 100%);
}

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:
        transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        box-shadow 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        border-color 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        background 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition:
        transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        box-shadow 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        background 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        border-color 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
        color 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
}

a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-decoration-color: rgba(37, 99, 235, .35);
}
a:not([class]):hover { text-decoration-color: rgba(6, 182, 212, .55); }

.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: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }

.hero { padding: 2rem 0; } .hero-content { max-width: 560px; }

.testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

.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(900px 350px at 20% 0%, rgba(37, 99, 235, .18), transparent 55%),
        radial-gradient(700px 280px at 90% 30%, rgba(6, 182, 212, .18), transparent 52%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 45%, #f3fbff 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(2, 6, 23, .06);
    box-shadow:
        0 20px 55px rgba(2, 6, 23, .10),
        0 10px 25px rgba(37, 99, 235, .10),
        0 2px 8px rgba(2, 6, 23, .05);
}

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

.card:hover, [class*="card"]:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 65px rgba(2, 6, 23, .16),
        0 10px 26px rgba(37, 99, 235, .16),
        0 4px 12px rgba(6, 182, 212, .10);
    border-color: rgba(var(--rgb-accent), .22);
}

a:not([class]):hover { color: var(--color-accent); }

.hero, [class*="hero"], section:first-of-type {
    background:
        radial-gradient(1200px 520px at 10% 0%, rgba(255, 255, 255, .25), transparent 55%),
        linear-gradient(135deg, #0ea5e9 0%, #2563eb 35%, #1d4ed8 62%, #0b4aa2 100%);
}

.card { border: 1px solid rgba(var(--rgb-primary), .14); }

header, .header, .navbar {
    box-shadow:
        0 10px 28px rgba(2, 6, 23, .10),
        0 2px 8px rgba(2, 6, 23, .06);
    background:
        linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,250,252,.86) 100%);
    border-bottom: 1px solid rgba(2, 6, 23, .08);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
}

@media (prefers-reduced-motion: reduce) {
    .card, [class*="card"], .btn, button[class*="btn"], a[class*="btn"], a:not([class]) {
        transition: none !important;
    }
}

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