:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #4c1d95;
    --color-accent: #f59e0b;
    --color-surface: #0b1020;
    --color-text: #e9e7ff;
    --rgb-primary: 109,40,217;
    --rgb-accent: 245,158,11;

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

    --shadow-sm: 0 10px 22px rgba(17, 24, 39, 0.35);
    --shadow-md:
        0 18px 44px rgba(0, 0, 0, 0.40),
        0 2px 0 rgba(255, 255, 255, 0.06) inset;
    --shadow-lg:
        0 24px 64px rgba(0, 0, 0, 0.52),
        0 0 28px rgba(var(--rgb-primary), 0.22);

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

    --transition: 520ms cubic-bezier(0.16, 1, 0.3, 1);
    --heading-weight: 800;
    --body-line-height: 1.7;
}

body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background:
        radial-gradient(1100px 520px at 50% -120px, rgba(var(--rgb-accent), 0.18), transparent 60%),
        radial-gradient(900px 520px at 10% 0%, rgba(var(--rgb-primary), 0.20), transparent 55%),
        radial-gradient(820px 520px at 90% 10%, rgba(var(--rgb-accent), 0.12), transparent 58%),
        var(--color-surface);
}

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 18px 48px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(245, 158, 11, 0.10) inset,
        0 0 26px rgba(var(--rgb-primary), 0.22);
    padding: var(--space-card);
    transition:
        transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 560ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 560ms cubic-bezier(0.16, 1, 0.3, 1),
        background 560ms cubic-bezier(0.16, 1, 0.3, 1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

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

a:not([class]) {
    color: var(--color-accent);
    transition:
        color 360ms cubic-bezier(0.16, 1, 0.3, 1),
        text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover, [class*="card"]:hover {
    transform: translateY(-5px);
    box-shadow:
        0 28px 74px rgba(0, 0, 0, 0.60),
        0 0 0 1px rgba(245, 158, 11, 0.26) inset,
        0 0 36px rgba(var(--rgb-accent), 0.36),
        0 0 24px rgba(var(--rgb-primary), 0.30);
}

a:not([class]):hover {
    color: #ffd37a;
    text-shadow:
        0 0 18px rgba(var(--rgb-accent), 0.55),
        0 0 26px rgba(var(--rgb-primary), 0.25);
}

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

header, .header, .navbar { background: transparent; }

.news-grid { column-count: 2; column-gap: var(--space-gap); }
.news-grid .card { break-inside: avoid; margin-bottom: var(--space-gap); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.hero-content { text-align: left; max-width: 600px; }
.testimonial-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); 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 { text-align: center; max-width: 700px; margin: 0 auto; }
.page-main { max-width: 1200px; 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; }
}