@import url('https://googleapis.com');

:root {
    --primary-red: #ff0f23;
    --dark-void: #020202;
    --dark-surface: rgba(10, 10, 14, 0.4);
    --border-color: rgba(255, 15, 35, 0.12);
    --border-hover: rgba(255, 15, 35, 0.65);
    --text-pure: #ffffff;
    --text-muted: #55555d;
}

/* Explicit Reset & Performance Optimizations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html, body {
    background-color: var(--dark-void) !important;
    background: var(--dark-void) !important;
    color: var(--text-pure);
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100vw;
}

/* Background Atmosphere Compositions */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    display: block !important;
    z-index: 1;
    pointer-events: none;
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    background: radial-gradient(circle at center, transparent 15%, rgba(2, 2, 2, 0.98) 95%) !important;
    pointer-events: none;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.3;
}

/* Hairline Architectural Grid Lines */
.structural-grid-line {
    position: fixed;
    top: 0;
    width: 1px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, rgba(255, 15, 35, 0.04) 20%, rgba(255, 15, 35, 0.04) 80%, transparent);
    z-index: 2;
    pointer-events: none;
}
.line-left { left: 8%; }
.line-right { right: 8%; }

/* Core Layout View Frame Port */
.viewport-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    background: transparent;
}

/* Precision Industrial Telemetry Strings */
.ui-framework-metric {
    position: absolute;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-left { top: 40px; left: 50px; }
.top-right { top: 40px; right: 50px; }
.bottom-left { bottom: 40px; left: 50px; }
.bottom-right { bottom: 40px; right: 50px; }

.status-node-dot {
    width: 4px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-red);
    animation: metricPulse 2.5s infinite ease-in-out;
}
@keyframes metricPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.central-canvas {
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    gap: 75px;
}

/* Technical Header Framework */
.branding-header {
    text-align: center;
    position: relative;
}

.title-frame-wrapper {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
}

/* Hardware-Accelerated 3D Image Container Layer */
.logo-graphic-container {
    width: 100%;
    max-width: 580px; 
    display: flex;
    align-items: center;
    justify-content: center;
    
    animation: PremiumFluidBreathe 6s ease-in-out infinite alternate;
    will-change: transform;
    transform-style: preserve-3d;
}

.custom-brand-logo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.95));
}

.sub-terminal-text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 30px;
}

/* SECTION 2: HARDWARE FEATURE BADGES */
.badges-feature-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.badge-item-card {
    width: 100%;
    background: rgba(5, 5, 8, 0.4);
    border: 1px solid var(--border-color);
    padding: 24px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.badge-hardware-icon {
    font-size: 16px;
    color: var(--primary-red);
    display: block;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(255, 15, 35, 0.4);
}

.badge-main-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e2e2e8;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.badge-sub-detail {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
    line-height: 1.3;
}

.badge-item-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 15, 35, 0.02);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* SECTION 3: INTERACTIVE NAVIGATION LINKS HUB */
.navigation-links-hub {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 4px;
}

.title-accent-bracket {
    font-size: 14px;
    font-weight: 400;
    color: var(--primary-red);
}

.section-display-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #a2a2aa;
    text-transform: uppercase;
}

.link-rows-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
}

.premium-interactive-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
    background: rgba(6, 6, 8, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    color: #dbdbe2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.row-indicator-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-red);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-interactive-row:hover {
    background: rgba(255, 15, 35, 0.02);
    border-bottom-color: var(--border-hover);
    padding-left: 38px;
    color: var(--primary-red);
}

.premium-interactive-row:hover .row-indicator-bar {
    width: 4px;
}

.row-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.premium-interactive-row:hover .row-arrow {
    transform: translate3d(6px, 0, 0);
    color: var(--primary-red);
}

/* Cinematic Scale Breathing Keyframe Tracking */
@keyframes PremiumFluidBreathe {
    0% { transform: scale3d(0.98, 0.98, 1) rotateX(1deg); }
    100% { transform: scale3d(1.02, 1.02, 1) rotateX(-1deg); }
}

/* Fluid Responsiveness Layers */
@media (max-width: 860px) {
    .viewport-wrapper { padding: 60px 20px; }
    .logo-graphic-container { max-width: 100%; }
    .title-frame-wrapper { padding: 10px 15px; }
    .badges-feature-matrix { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ui-framework-metric, .structural-grid-line { display: none !important; }
    .central-canvas { gap: 50px; }
    .premium-interactive-row { padding: 22px 16px; font-size: 12px; }
}
