/* ══════════ BASE STYLES — Light Theme ══════════ */
@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Text:wght@400;500;600;700;800&display=swap');

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    color: var(--text-primary);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: var(--lh-tight);
    color: var(--text-primary);
}

h1 {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
}

h2 {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
}

h3 {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
}

h4 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
}

p {
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
}

/* ── Utility Classes ── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-5xl) 0;
}

@media (max-width: 768px) {
    .br-desktop {
        display: none;
    }

    .nowrap-desktop {
        white-space: normal !important;
    }
}

.nowrap-desktop {
    white-space: nowrap;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section-alt);
}

::-webkit-scrollbar-thumb {
    background: #CCC9C0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #AAA79E;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    h1 {
        font-size: var(--fs-3xl);
    }

    h2 {
        font-size: var(--fs-2xl);
    }

    h3 {
        font-size: var(--fs-xl);
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-3xl) 0;
    }
}