/* --- Base Typography & Elements --- */

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Plus Jakarta Sans", sans-serif;
	background-color: var(--bg-body);
	color: var(--text-secondary);
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--text-primary);
	font-weight: 700;
	letter-spacing: -0.5px;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

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

/* --- Modern Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5); /* grayish-400 */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.8);
}

/* --- Dark Mode Utilities --- */
body.dark-mode .text-dark { color: var(--text-primary) !important; }
body.dark-mode .text-muted { color: var(--text-muted) !important; }
body.dark-mode .text-secondary { color: var(--text-secondary) !important; }
body.dark-mode .bg-white, body.dark-mode .bg-light { background-color: var(--bg-card) !important; }
body.dark-mode .border, body.dark-mode .border-top, body.dark-mode .border-bottom, body.dark-mode .border-left, body.dark-mode .border-right { border-color: var(--border-color) !important; }
