/* ===========================================
   BASE STYLES - Reset, Typography, Body
   =========================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(54, 101, 243, 0.15);
    color: #1a1a1a;
}

/* Body */
body {
    font-family: 'DM Sans', Arial, sans-serif;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.bg-white {
    background-color: #ffffff;
}

/* Typography */
a {
    color: #3665f3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Page titles */
.page-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #111;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Helper text */
.helper-text {
    font-size: 12px;
    color: #707070;
    margin-top: 5px;
}

/* Divider */
.divider {
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
}

/* Text colors */
.text-muted {
    color: #707070;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.text-warning {
    color: #ffa500;
}

.text-primary {
    color: #3665f3;
}

/* ===========================================
   RESPONSIVE TYPOGRAPHY
   =========================================== */

@media (max-width: 768px) {
    .page-title {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .page-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .divider {
        margin: 14px 0;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 16px;
    }
}
