/* Modern CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/* CSS Custom Properties - Light Modern Theme */
:root {
    --primary-color: #4f46e5;
    --primary-light: #8b5cf6;
    --primary-dark: #3730a3;
    --secondary-color: #6366f1;
    --accent-color: #f1f5f9;
    --background-color: #ffffff;
    --background-alt: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Roboto', sans-serif;
    --font-mono: 'Inconsolata', monospace;
    --section-padding: clamp(2.5rem, 5vw, 4rem);
    --container-padding: clamp(1rem, 4vw, 2rem);
}

/* Modern Typography */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Link Styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Styling */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-family: var(--font-mono);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
    position: relative;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

/* Accessibility */
.visually-hidden-focusable {
    position: absolute;
    top: -40px;
    left: 6px;
    width: 1px;
    height: 1px;
    padding: 8px 16px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    z-index: 100000;
}

.visually-hidden-focusable:focus {
    position: absolute;
    top: 6px;
    left: 6px;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}