:root {
    --brand-blue: #002868;
    /* US Flag Blue */
    --brand-red: #BF0A30;
    /* US Flag Red */
    --brand-white: #ffffff;
    --text-color: #333333;
    --bg-color: #f8f9fa;
}

body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Standard Clean Sans */
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    padding: 3rem 1rem;
    text-align: center;
    border-bottom: 10px solid var(--brand-red);
}

h1 {
    font-family: 'Anton', 'Impact', sans-serif;
    font-size: 6rem;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
}

.subhead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    min-height: 80vh;
}

section {
    margin-bottom: 4rem;
    text-align: center;
}

h2 {
    color: var(--brand-blue);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

p {
    font-size: 1.25rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* The Code Box - Central Feature */
.code-container {
    background: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 1.5rem;
    text-align: left;
    font-family: 'Courier New', monospace;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.code-container code {
    display: block;
    word-break: break-all;
    font-size: 1.1rem;
    color: #333;
}

.copy-hint {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--brand-red);
    font-weight: bold;
    text-transform: uppercase;
}

/* Demo Visualizer */
.demo-stage {
    background: var(--brand-blue);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.demo-stage h2 {
    color: white;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.visualizer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.key-box {
    width: 50px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.1s;
}

.key-box.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

footer {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    background: white;
}