/* Global Ultra Spacing */
body.inner-page {
    padding-top: 100px; /* Buffer for fixed nav */
}

/* Ensure the footer stays at the bottom */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main, .main-content {
    flex: 1;
}

/* === Typography === */
.ultra-h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.1));
}

.ultra-h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ultra-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 800px;
}

.mono-label {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    background: rgba(100, 255, 218, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    width: fit-content;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

.text-muted { color: var(--text-muted); }
.text-success { color: var(--accent-primary); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

/* === Buttons === */
.ultra-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    background: var(--accent-primary);
    color: var(--bg-dark);
    border: none;
}

.ultra-btn:hover {
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
    transform: translateY(-2px);
}

.ultra-btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.ultra-btn-outline:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* === Animations === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Typewriter Cursor */
.typewriter-text {
    position: relative;
    color: var(--accent-primary);
}

.typewriter-text::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s infinite;
    color: var(--accent-primary);
}

.typewriter-text:not(.typing-active)::after {
    display: none; /* Hide cursor when done if desired, or keep blinking */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
