:root {
    --color-primary: #334155;
    --color-primary-dark: #0f172a;
    --color-accent: #3b82f6;
    --color-surface: #0b1220;
    --color-text: #e5e7eb;
    --rgb-primary: 51,65,85;
    --rgb-accent: 59,130,246;

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

    --shadow-sm: 0 2px 6px rgba(2, 6, 23, 0.28);
    --shadow-md: 0 8px 18px rgba(2, 6, 23, 0.25);
    --shadow-lg: 0 14px 40px rgba(2, 6, 23, 0.35);

    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;

    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --heading-weight: 700;
    --body-line-height: 1.6;
}

body { color: var(--color-text); line-height: var(--body-line-height); background: radial-gradient(1200px 800px at 15% -10%, rgba(var(--rgb-accent),0.20), transparent 55%), radial-gradient(1000px 700px at 90% 0%, rgba(59,130,246,0.12), transparent 52%), linear-gradient(180deg, #070c16 0%, #0b1220 55%, #070c16 100%); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #f8fafc; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow:
        0 4px 10px rgba(2, 6, 23, 0.12),
        0 14px 30px rgba(2, 6, 23, 0.22),
        0 1px 0 rgba(148, 163, 184, 0.14) inset,
        0 -1px 0 rgba(2, 6, 23, 0.20) inset;
    padding: var(--space-card);
    transition:
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.66) 100%);
    border: 1px solid rgba(148, 163, 184, .16);
}
.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition:
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 10px 22px rgba(2, 6, 23, 0.22),
        0 1px 0 rgba(255, 255, 255, 0.10) inset;
    border: 1px solid rgba(148, 163, 184, .22);
    background: linear-gradient(180deg, rgba(51, 65, 85, 0.55) 0%, rgba(15, 23, 42, 0.55) 100%);
    color: #eaf2ff;
}
a:not([class]) { color: #93c5fd; transition: color var(--transition), filter var(--transition); text-shadow: 0 1px 0 rgba(2, 6, 23, 0.35); }
a:not([class]):hover { color: #60a5fa; filter: saturate(1.12); }

section, .section { background-image: none; }

                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card {
                    display: grid; grid-template-columns: 280px 1fr;
                    background:
                        radial-gradient(650px 280px at 20% 0%, rgba(var(--rgb-accent),0.16), transparent 60%),
                        linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.64) 100%);
                    backdrop-filter: blur(10px);
                }

                .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 .card { background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 41, 59, 0.62) 100%); border-color: rgba(148, 163, 184, .18); }

                .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
                .hero-inner .card {
                    border-radius: calc(var(--radius-lg) + 2px);
                    background:
                        radial-gradient(920px 420px at 0% 0%, rgba(59,130,246,0.22), transparent 55%),
                        linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(30, 41, 59, 0.60) 100%);
                    box-shadow:
                        0 6px 14px rgba(2, 6, 23, 0.12),
                        0 22px 60px rgba(2, 6, 23, 0.30),
                        0 1px 0 rgba(255, 255, 255, 0.08) inset;
                }

                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }
                .testimonial-list .card {
                    background:
                        linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(51, 65, 85, 0.52) 100%);
                    border-color: rgba(148, 163, 184, .16);
                }

                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list .card {
    background:
        radial-gradient(680px 260px at 90% 0%, rgba(var(--rgb-accent),0.18), transparent 58%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.80) 0%, rgba(30, 41, 59, 0.58) 100%);
    border-color: rgba(148, 163, 184, .18);
}

                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
                .stats-grid .card {
                    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(51, 65, 85, 0.54) 100%);
                    border-color: rgba(148, 163, 184, .16);
                }

.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-inner .card {
    background:
        radial-gradient(800px 280px at 50% 0%, rgba(59,130,246,0.22), transparent 60%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(30, 41, 59, 0.62) 100%);
    border-color: rgba(148, 163, 184, .18);
}

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

.card:hover, [class*="card"]:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 20px rgba(2, 6, 23, 0.14),
        0 32px 70px rgba(2, 6, 23, 0.36),
        0 1px 0 rgba(255, 255, 255, 0.10) inset,
        0 0 0 1px rgba(59,130,246,0.22) inset;
    border-color: rgba(96, 165, 250, .35);
}
a:not([class]):hover { color: var(--color-accent); }

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

@media (prefers-reduced-motion: reduce) {
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !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; }
}