/* ===== MODERN CSS RESET ===== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Remove default list styles */
ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-base);
}

/* Remove default button styles */
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: all var(--transition-base);
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Images */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Forms */
input,
button,
textarea,
select {
    font: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin: 0;
}

p {
    margin: 0;
}

/* Remove default table spacing */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    transition: all var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light) 0%, #f093fb 100%);
    box-shadow: var(--shadow-glow);
}

/* Selection */
::selection {
    background-color: var(--primary-light);
    color: var(--text-primary);
}

::-moz-selection {
    background-color: var(--primary-light);
    color: var(--text-primary);
}