:root {
    --color-primary: #d4af37;
    --color-primary-dark: #9a7b1e;
    --color-accent: #8b5cf6;
    --color-surface: #faf6ee;
    --color-text: #2a2620;
    --rgb-primary: 212, 175, 55;
    --rgb-accent: 139, 92, 246;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 12px rgba(15, 15, 26, 0.14), 0 1px 3px rgba(15, 15, 26, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    --shadow-md: 0 8px 30px rgba(15, 15, 26, 0.2), 0 4px 12px rgba(15, 15, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    --shadow-lg: 0 22px 55px rgba(15, 15, 26, 0.35), 0 12px 26px rgba(15, 15, 26, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    --space-section: 5rem;
    --space-card: 2rem;
    --space-gap: 1.5rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 800;
    --body-line-height: 1.75;
}

body {
    color: var(--color-text);
    line-height: var(--body-line-height);
    background: radial-gradient(circle at 50% 0%, #fdf9f1 0%, #ede2cd 38%, #322a3d 70%, #0f0f1a 100%) fixed;
}

h1, h2, h3, h4 {
    font-weight: var(--heading-weight);
    text-shadow: 0 2px 20px rgba(212, 175, 55, 0.12), 0 1px 2px rgba(255, 255, 255, 0.7);
}

section, .section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.07) 30%, rgba(139, 92, 246, 0.06) 60%, transparent 100%);
}

.card, [class*="card"] {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(212, 175, 55, 0.18);
    padding: var(--space-card);
    transition: var(--transition);
    background: linear-gradient(145deg, #ffffff 0%, #faf4e8 45%, #f1e7d5 75%, #e9ddc6 100%);
    color: var(--color-text);
    border-image: linear-gradient(135deg, rgba(212, 175, 55, 0.55), rgba(139, 92, 246, 0.45)) 1;
}

.btn, button[class*="btn"], a[class*="btn"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: linear-gradient(135deg, #d4af37 0%, #b28c2e 45%, #8b5cf6 120%);
    color: #17120a;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

a:not([class]) {
    color: var(--color-primary);
    transition: var(--transition);
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 2px;
    text-shadow: 0 1px 8px rgba(212, 175, 55, 0.15);
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-gap);
}

.news-grid .card {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.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;
    overflow: hidden;
}

.testimonial-list > * {
    flex: 0 0 100%;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.cta-inner {
    background: linear-gradient(135deg, #1d1730 0%, #3b2a6a 40%, #6d4bd1 72%, #d4af37 130%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    color: #f8f1df;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(212, 175, 55, 0.25);
    border-image: linear-gradient(135deg, #d4af37 0%, #8b5cf6 100%) 1;
}

.page-main {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.82) 0%, rgba(250, 244, 232, 0.65) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.card:hover, [class*="card"]:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

a:not([class]):hover {
    color: var(--color-accent);
    background-size: 100% 2px;
    text-shadow: 0 2px 16px rgba(139, 92, 246, 0.35);
}

header, .header, .navbar {
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.92) 0%, rgba(15, 15, 26, 0.45) 75%, transparent 100%);
    color: #f7efdd;
    box-shadow: 0 10px 30px rgba(15, 15, 26, 0.3);
}

@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;
        --shadow-md: 0 4px 16px rgba(15, 15, 26, 0.2), 0 2px 6px rgba(15, 15, 26, 0.1);
    }
    .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; }
}