
:root {
    --bg-primary: #110b08;
    --bg-secondary: #1c120d;
    --bg-card: #241810;
    --bg-hover: #352215;
    --border-color: #57351f;
    --color-primary: #f5a33d;
    --color-secondary: #ffc16a;
    --color-highlight: #ffcf87;
    --text-primary: #fff3e7;
    --text-secondary: #cbb8a8;
    --text-muted: #998477;
    --color-success: #57c785;
    --color-danger: #ef6464;
    --container-width: 1400px;
    --border-radius: 10px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    color-scheme: dark;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
main {
    flex: 1;
    width: 100%;
}
.container {
    width: min(var(--container-width), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}
img {
    max-width: 100%;
    height: auto;
}
button, input, textarea, select {
    font: inherit;
}
button {
    cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 15px;
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.2;
}
h1 {
    font-size: clamp(36px, 5vw, 64px);
}
h2 {
    font-size: clamp(28px, 3vw, 42px);
}
h3 {
    font-size: 22px;
}
p {
    margin: 0 0 16px;
}
a {
    color: inherit;
}
::selection {
    background: var(--color-primary);
    color: var(--bg-primary);
}
.page-section {
    padding: 80px 0;
}
.page-section-dark {
    background: var(--bg-secondary);
}
.section-heading {
    margin-bottom: 35px;
}
.section-heading h2 {
    margin-bottom: 12px;
}
.section-heading p {
    max-width: 650px;
    color: var(--text-secondary);
}
.text-primary {
    color: var(--color-primary);
}
.text-secondary {
    color: var(--text-secondary);
}
.text-muted {
    color: var(--text-muted);
}
.text-center {
    text-align: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-primary {
    background: linear-gradient(180deg, #ffc16a, #ed9635);
    border-color: #f5ad53;
    color: #241409;
}
.btn-primary:hover {
    background: linear-gradient(180deg, #ffd18b, #ffa748);
    box-shadow: 0 4px 20px rgba(245, 163, 61, 0.25);
    transform: translateY(-2px);
}
.btn-outline {
    background: rgba(20, 12, 9, 0.75);
    border-color: var(--color-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--bg-hover);
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}
.btn:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
}
.card {
    background: linear-gradient(180deg, #27190f, #1a110d);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
    border-color: #a36a32;
    transform: translateY(-3px);
}
.card-content {
    padding: 25px;
}
.card-content h3 {
    margin-bottom: 10px;
}
.card-content p {
    color: var(--text-secondary);
    font-size: 14px;
}
.grid {
    display: grid;
    gap: 24px;
}
.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1000px) {
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-section {
        padding: 60px 0;
    }
}
@media (max-width: 600px) {
    .container {
        width: calc(100% - 32px);
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .page-section {
        padding: 45px 0;
    }
    .card-content {
        padding: 20px;
    }
    .btn {
        padding: 12px 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .btn, .card {
        transition: none;
    }
    .btn-primary:hover, .card:hover {
        transform: none;
    }
}
