@font-face {
  font-family: 'Titles';
  src: url('../fonts/SpaceGrotesk.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Main';
  src: url('../fonts/Inter.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
    --bg-deep: #0F171A;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --gen-celta: #6CACE4;
    --gen-irgreen: #009A44;
    --gen-irorange: #ff8200;
    --gen-ccgreen: #018749;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Main', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Oscilloscope Wave Container */
.wave-container {
    position: absolute;
    width: 100%;
    height: 150px;
    top: 50%;
    transform: translateY(-50%); /* Positioned safely on the container */
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
    overflow: hidden; /* Hides the overflow of the 200% width SVG */
}

.wave-container svg {
    width: 200%; /* Must be wider than 100% for -50% translateX loop */
    height: 100%;
}

@keyframes wave-flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animated-wave {
    animation: wave-flow 6s linear infinite;
}

.container-small {
    text-align: center;
    max-width: 740px;
    padding: 2rem;
    z-index: 1;
}

h1 {
    font-family: 'Titles', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.highlight {
    color: var(--gen-irgreen);
}

p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Unified Site-Wide Link Styles */
.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.site-link {
    color: var(--gen-celta);
    text-decoration: none;
    font-family: 'Titles', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.site-link:hover {
    color: var(--gen-irorange);
}

.site-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gen-irgreen);
    transition: width 0.3s ease;
}

.site-link:hover::after {
    width: 100%;
}