/* DIGOOD - Премиум + Design System */
:root {
    --bg-main: #0c0d10;
    --bg-surface: #14161b;
    --bg-card: #1a1d24;
    --bg-card-hover: #222630;
    --bg-subtle: #121418;
    
    --gold-primary: #d4af37;
    --gold-light: #f3cf65;
    --gold-dark: #a28224;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f7dc7d 50%, #aa8524 100%);
    --gold-glow: 0 8px 25px rgba(212, 175, 55, 0.22);
    --gold-border: rgba(212, 175, 55, 0.28);

    --text-primary: #f5f3ef;
    --text-beige: #e5dfd5;
    --text-muted: #9ba1ad;
    --text-dark: #0c0d10;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.35);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-max: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-beige);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

.text-gold {
    color: var(--gold-primary);
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted {
    color: var(--text-muted);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #0d0e12;
    font-weight: 700;
    box-shadow: var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-neutral {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--text-beige);
}

.btn-outline-neutral:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Layout Sections */
.section {
    padding: 90px 0;
    position: relative;
}

.section-darker {
    background-color: var(--bg-surface);
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.3rem;
    margin-top: 14px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Cards Grid */
.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 60px 0;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
}
