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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
        Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9fafb;
    color: #111827;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.025em;
}

header h1 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

header h1 a:hover {
    color: #6366f1;
}

/* Main Content */
main {
    min-height: calc(100vh - 80px);
}

/* Footer */
footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Responsive Typography */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.25rem;
        padding: 1.25rem 1rem;
    }

    body {
        font-size: 0.95rem;
    }
}
