:root {
    --color-primary: #ef476f;
    --color-primary-dark: #7f032d;
    --color-accent: #ffd166;
    --color-surface: #fff4e6;
    --color-text: #1b1b1e;
    --rgb-primary: 239,71,111;
    --rgb-accent: 255,209,102;
    --radius-sm: 0px;
    --radius-md: 1px;
    --radius-lg: 3px;
    --radius-xl: 4px;
    --shadow-sm: 3px 3px 0 #1b1b1e, 0 0 0 2px #ef476f;
    --shadow-md: 5px 5px 0 #1b1b1e, 0 0 0 2px #ef476f;
    --shadow-lg: 7px 7px 0 #1b1b1e, 0 0 0 3px #ffd166;
    --space-section: 3rem;
    --space-card: 1.25rem;
    --space-gap: 1rem;
    --transition: 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    --heading-weight: 600;
    --body-line-height: 1.65;
}

body {
    background: #f6f2ea;
    color: var(--color-text);
    line-height: var(--body-line-height);
    accent-color: var(--color-primary);
    caret-color: var(--color-primary);
}

h1, h2, h3, h4 { font-weight: var(--heading-weight); }

section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }

.card, [class*="card"] {
    background: linear-gradient(160deg, #ffffff 0%, #fff4e6 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-card);
    transition: var(--transition);
}

.btn, button[class*="btn"], a[class*="btn"] {
    background: #1b1b1e;
    color: #fff4e6;
    border-radius: var(--radius-md);
    box-shadow: 3px 3px 0 #ef476f;
    transition: var(--transition);
}

a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
}

.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(3, 1fr);
    gap: var(--space-gap);
}

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

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

.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 {
    max-width: 800px;
    margin: 0 auto;
}

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

.stats-grid .stat-value {
    font-size: 3rem;
    color: var(--color-primary);
    text-shadow: 3px 3px 0 #ffd166;
}

.cta-inner {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    color: #1b1b1e;
    box-shadow: 6px 6px 0 #1b1b1e, 0 0 0 3px #ef476f;
}

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

.card:hover, [class*="card"]:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hero, [class*="hero"], section:first-of-type {
    background: linear-gradient(135deg, #1b1b1e 0%, #ef476f 48%, #ffd166 100%);
    color: #fff4e6;
}

header, .header, .navbar {
    box-shadow: 0 3px 0 #1b1b1e, 0 0 0 2px #ffd166;
}

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