/* Reset & Base Styles */
html {
    scroll-behavior: auto;
}

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

body {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-body);
    color: var(--text-primary);
    background-color: #FFFFFF;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    animation: pageFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--grey-02);
}

::-webkit-scrollbar-thumb {
    background: var(--grey-12);
    border-radius: 10px;
    border: 2px solid var(--grey-02);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grey-11);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: 400;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

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

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Scroll Reveal Classes */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Load Animation */
@keyframes pageFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Global Mobile Responsiveness */
@media (max-width: 768px) {
    html {
        font-size: 12px;
    }

    button,
    .primaryBtn,
    .cardBtnOutline,
    .cardBtnFilled,
    .cardBtnInverted,
    .ghostBtn {
        font-weight: 400 !important;
    }
}
