:root {
    --color-primary: #0f172a;
    --color-primary-dark: #0b1222;
    --color-accent: #7c3aed;
    --color-surface: #f7f1e3;
    --color-text: #0f172a;
    --rgb-primary: 15,23,42;
    --rgb-accent: 124,58,237;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 10px 22px rgba(15, 23, 42, .10), 0 2px 6px rgba(124, 58, 237, .08);
    --shadow-md: 0 18px 38px rgba(15, 23, 42, .12), 0 6px 18px rgba(124, 58, 237, .10);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, .14), 0 10px 26px rgba(124, 58, 237, .12);
    --space-section: 4.4rem;
    --space-card: 1.55rem;
    --space-gap: 1.35rem;
    --transition: 680ms cubic-bezier(0.16, 1, 0.3, 1);
    --heading-weight: 700;
    --body-line-height: 1.75;

    --color-strip-white: #ffffff;
    --color-strip-cream: #fff7e6;
    --color-strip-dark: #0b1222;
    --color-strip-cream-2: #f3ead3;
    --color-stroke: rgba(15, 23, 42, .12);
    --color-soft: rgba(15, 23, 42, .06);
    --color-soft-2: rgba(124, 58, 237, .10);
    --shadow-inset: inset 0 1px 0 rgba(255,255,255,.65);
}

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-lg);
    box-shadow:
        0 24px 55px rgba(15, 23, 42, .14),
        0 10px 24px rgba(124, 58, 237, .10),
        var(--shadow-inset);
    padding: var(--space-card);
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
    border: 1px solid rgba(15, 23, 42, .08);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(124, 58, 237, .28);
    box-shadow: 0 14px 28px rgba(124, 58, 237, .14), 0 6px 16px rgba(15, 23, 42, .08);
    background: linear-gradient(180deg, rgba(124,58,237,.12), rgba(124,58,237,.06));
}
a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

header, .header, .navbar {
    box-shadow:
        0 10px 24px rgba(15, 23, 42, .10),
        0 2px 8px rgba(124, 58, 237, .10);
    background:
        radial-gradient(1200px 220px at 20% -40%, rgba(124, 58, 237, .22), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
    border-bottom: 1px solid rgba(15, 23, 42, .10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover, [class*="card"]:hover {
    transform: translateY(-6px);
    box-shadow:
        0 34px 78px rgba(15, 23, 42, .18),
        0 14px 34px rgba(124, 58, 237, .16),
        inset 0 1px 0 rgba(255,255,255,.72);
}

.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; }
.feature-list::-webkit-scrollbar { height: 10px; }
.feature-list::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(124,58,237,.35), rgba(15,23,42,.22));
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.65);
}
.feature-list::-webkit-scrollbar-track { background: rgba(15,23,42,.06); }

:focus { outline-color: rgba(124, 58, 237, .55); }
*:focus-visible { outline: 2px solid rgba(124, 58, 237, .55); outline-offset: 3px; }

::selection { background: rgba(124, 58, 237, .22); color: var(--color-text); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
.news-grid > *:first-child { grid-column: span 3; }

.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(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }
.partner-grid > * {
    background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.68));
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

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

.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stats-grid .stat-value {
    font-size: 3rem;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(124, 58, 237, .16);
}

.cta-inner {
    background:
        radial-gradient(1000px 340px at 15% 0%, rgba(124, 58, 237, .24), transparent 55%),
        radial-gradient(900px 280px at 95% 30%, rgba(15, 23, 42, .16), transparent 55%),
        linear-gradient(180deg, rgba(255,247,230,.95), rgba(243,234,211,.72));
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow:
        0 34px 90px rgba(15, 23, 42, .14),
        0 12px 30px rgba(124, 58, 237, .14),
        inset 0 1px 0 rgba(255,255,255,.75);
}

.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: 2.6rem; --space-card: 1.1rem; --space-gap: 0.95rem; }
    .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; }
}

input, textarea, select { caret-color: rgba(124, 58, 237, .95); accent-color: rgba(124, 58, 237, .95); }
textarea::placeholder, input::placeholder { color: rgba(15, 23, 42, .45); text-shadow: none; }

section:nth-of-type(odd) { background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.96)); }
section:nth-of-type(even) { background: linear-gradient(180deg, rgba(255,247,230,1), rgba(243,234,211,.92)); }
section:first-of-type { background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.94)); }
section:only-of-type { background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.94)); }

.news-grid > * {
    background:
        radial-gradient(800px 220px at 10% -20%, rgba(124,58,237,.14), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.76));
    border: 1px solid rgba(15, 23, 42, .08);
}

.feature-list > * {
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.74));
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow:
        0 18px 44px rgba(15, 23, 42, .08),
        0 10px 24px rgba(124, 58, 237, .10);
}