/* ==========================================
   STObonus — Base — Full Dark Premium
   ========================================== */

/* ── Reset & base ────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    line-height: var(--line-height);
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: var(--letter-tight);
    color: #fff;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
    font-size: 1.1rem;
}

p {
    color: var(--text-muted);
}

/* ── Container ───────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section spacing ─────────────────────── */
.section {
    padding: var(--section-py) 0;
}

.section--alt {
    background: var(--bg-alt);
}

/* ── Section Header — Premium label ──────── */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header h1,
.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* Section label — uppercase accent eyebrow */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent-hover);
    margin-bottom: 18px;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* ── Buttons — Premium ───────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--speed) var(--ease);
    outline: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(var(--accent-rgb), .3);
}

.btn--primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), .35);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-hover);
}

.btn--outline:hover {
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .04);
}

.btn--ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn--ghost:hover {
    color: #fff;
}

.btn--sm {
    padding: 9px 20px;
    font-size: .82rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: .95rem;
}

.btn--full {
    width: 100%;
}

/* ── Card — Premium dark ─────────────────── */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all var(--speed) var(--ease);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

/* ── Badge ───────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: .78rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .7);
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .08);
}

/* ── Animations ──────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--speed-slow) var(--ease-out),
        transform var(--speed-slow) var(--ease-out);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .1s;
}

.delay-2 {
    transition-delay: .2s;
}

.delay-3 {
    transition-delay: .3s;
}

/* ── Selection ───────────────────────────── */
::selection {
    background: rgba(var(--accent-rgb), .3);
    color: #fff;
}

/* ── Scrollbar — Premium dark ────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, .18);
}