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

/* CSS Variables */
:root {
    --color-primary: #1e3a8a;
    --color-secondary: #f3f4f6;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-white: #ffffff;
    --color-border: #e5e7eb;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    --max-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu {
*{margin:0;padding:0;box-sizing:border-box}
:root{--bg0:#0b1020;--bg1:#0f172a;--bg2:#111827;--text:#e5e7eb;--muted:#94a3b8;--accent:#64ffda;--accent2:#7c3aed;--surface:rgba(255,255,255,.06);--border:rgba(100,255,218,.35)}
html{scroll-behavior:smooth}
body{min-height:100vh;color:var(--text);background:
linear-gradient(145deg,var(--bg0),var(--bg2) 60%,#1f2937),
radial-gradient(1500px 800px at 10% 0%,rgba(124,58,237,.15),transparent 60%),
radial-gradient(1200px 700px at 90% 10%,rgba(100,255,218,.12),transparent 60%);
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;line-height:1.6}
main,header,footer{max-width:1100px;margin:0 auto;padding:1.25rem}
header{position:sticky;top:0;background:linear-gradient(180deg,rgba(17,24,39,.85),rgba(17,24,39,.65));backdrop-filter:saturate(125%) blur(8px);border-bottom:1px solid var(--surface)}
nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:.75rem;padding:.5rem 0}
nav a{display:inline-block;padding:.5rem .75rem;border-radius:999px;color:var(--text);border:1px solid transparent;transition:all .25s ease}
nav a:hover,nav a:focus{border-color:var(--border);box-shadow:0 0 0 3px rgba(100,255,218,.15);outline:none}
h1{font-size:clamp(1.75rem,3.5vw,2.5rem);letter-spacing:.5px;color:var(--text);text-shadow:0 0 8px rgba(100,255,218,.25)}
h2{font-size:clamp(1.4rem,3vw,2rem);letter-spacing:.3px;color:var(--text);text-shadow:0 0 6px rgba(124,58,237,.2);margin-bottom:.75rem}
h3{font-size:clamp(1.15rem,2.2vw,1.5rem);color:var(--text);margin:.5rem 0}
h4{font-size:clamp(1rem,2vw,1.25rem);color:var(--text)}
p{margin:.65rem 0;color:var(--text)}
a{color:var(--accent)}
hr{border:none;border-top:1px solid var(--surface);margin:1.25rem 0}
section{margin:1.25rem 0;padding:1.5rem;border:1px solid var(--surface);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.025));box-shadow:0 6px 24px rgba(0,0,0,.25)}
code{display:inline-block;padding:.2rem .45rem;border-radius:8px;background-color:rgba(2,6,23,.8);border:1px solid var(--border);color:var(--accent)}
form{display:grid;gap:.75rem;margin-top:.75rem}
label{font-weight:600;color:var(--text)}
input,select,textarea{width:100%;padding:.6rem .8rem;border-radius:10px;border:1px solid var(--surface);background-color:#0f172a;color:var(--text);outline:none;transition:border .2s ease,box-shadow .2s ease}
input:focus,select:focus,textarea:focus{border-color:var(--border);box-shadow:0 0 0 3px rgba(124,58,237,.16)}
button{appearance:none;border:none;border-radius:999px;padding:.7rem 1.1rem;background:linear-gradient(145deg,var(--accent2),#4c1d95);color:#fff;font-weight:600;letter-spacing:.3px;transition:transform .15s ease,box-shadow .2s ease}
button:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(124,58,237,.35)}
footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--surface);opacity:.95}
@media (max-width:720px){main,header,footer{padding:1rem}nav ul{gap:.5rem}section{padding:1rem}}
