:root {
    --bg-dark: #070707;
    --text-primary: #ffffff;
    --text-muted: #888888;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center center;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.noise-overlay {
    position: fixed;
    top: -50%; left: -50%;
    width: 200vw; height: 200vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    animation: noiseAnim 0.15s infinite linear;
}

@keyframes noiseAnim {
    0% { transform: translate(0,0); }
    10% { transform: translate(-2%,-2%); }
    20% { transform: translate(-4%,2%); }
    30% { transform: translate(2%,-4%); }
    40% { transform: translate(-2%,6%); }
    50% { transform: translate(-4%,2%); }
    60% { transform: translate(6%,0); }
    70% { transform: translate(0,6%); }
    80% { transform: translate(1%,12%); }
    90% { transform: translate(-4%,4%); }
    100% { transform: translate(0,0); }
}

#particles-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -3; /* Placed exactly behind the glow background */
    pointer-events: none;
}

.glow-background {
    position: fixed;
    top: 50%; left: 25%;
    transform: translate(-50%, -50%);
    width: 60vh; height: 60vh;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, transparent 60%);
    opacity: 0.05;
    filter: blur(80px);
    z-index: -1;
    transition: all 0.8s ease;
}

/* --- TECH FRAME EFFECT --- */
.tech-frame {
    position: fixed;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15); 
    box-shadow: 0 0 0 15px #020202; 
    z-index: 10000; 
    pointer-events: none; 
}

/* Corner Brackets */
.tech-frame .corner {
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid #fff;
    opacity: 0.5;
}
.tech-frame .top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.tech-frame .top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.tech-frame .bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.tech-frame .bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* Subtle Crosshairs in the middle of edges */
.tech-frame .crosshair {
    position: absolute;
    background: rgba(255,255,255,0.4);
}
.tech-frame .crosshair.top { top: -2px; left: 50%; width: 10px; height: 3px; transform: translateX(-50%); }
.tech-frame .crosshair.bottom { bottom: -2px; left: 50%; width: 10px; height: 3px; transform: translateX(-50%); }
.tech-frame .crosshair.left { left: -2px; top: 50%; width: 3px; height: 10px; transform: translateY(-50%); }
.tech-frame .crosshair.right { right: -2px; top: 50%; width: 3px; height: 10px; transform: translateY(-50%); }

.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 4rem;
    z-index: 10;
    flex: 0 0 auto;
}

.brand-logomark {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    z-index: 5;
}

/* Left Visual Section */
.visual-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.abstract-shape {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #ffffff;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: rotateGlow 8s linear infinite;
}

/* HUB HUD Rings */
.tech-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    z-index: 1;
}

.ring-1 {
    width: 320px; height: 320px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px dashed rgba(255, 255, 255, 0.15);
    animation: spinRight 12s linear infinite;
}

.ring-2 {
    width: 400px; height: 400px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-right: 1px dotted rgba(255, 255, 255, 0.3);
    animation: spinLeft 20s linear infinite;
}

@keyframes spinRight { 100% { transform: rotate(360deg); } }
@keyframes spinLeft { 100% { transform: rotate(-360deg); } }

.active-logo {
    width: 200px;
    height: 200px;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

/* Right Info Section */
.info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 6rem;
}

.info-content {
    max-width: 600px;
}

.headline {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -2px;
}

.description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #90a0b0;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Action Button Stylíng removed */

/* Bottom Tabs */
.bottom-tabs {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 10;
}

/* Data Stream Widget */
.data-stream {
    position: fixed;
    bottom: 120px;
    right: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: right;
    z-index: 5;
    pointer-events: none;
    line-height: 1.6;
    letter-spacing: 1px;
}
.data-stream div {
    display: block;
    margin-bottom: 2px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.5;
}

.tab-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.4s ease;
}

.tab-item span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #999;
    transition: color 0.4s ease;
}

.tab-item:hover, .tab-item.active {
    opacity: 1;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.tab-item.active {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tab-item:hover span, .tab-item.active span {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .main-content { flex-direction: column; padding: 0 2rem; }
    .visual-section { height: 40vh; }
    .abstract-shape { width: 300px; height: 300px; }
    .active-logo { width: 140px; height: 140px; }
    .ring-1 { width: 220px; height: 220px; }
    .ring-2 { width: 280px; height: 280px; }
    .info-section { padding-left: 0; text-align: center; }
    .headline { font-size: 2.5rem; }
    .bottom-tabs { flex-wrap: wrap; }
    .tech-frame { top: 10px; bottom: 10px; left: 10px; right: 10px; box-shadow: 0 0 0 10px #000; }
}
