/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
    list-style-position: inside;
}

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

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

.main-content {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - var(--header-height) - 100px);
    /* Approx footer height */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-main);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

h1 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

h2 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-secondary);
}

.d-flex {
    display: flex;
}

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

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

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}