/* ООО «НЭЦ ЭТАЛОН» — Luxury Tech Minimalist Stylesheet */
/* 100% Concept-based UI inspired by 1.webp aesthetic with powerful blue accent */

:root {
    --bg-warm-grey: #ebebeb;
    --text-main: #000000;
    --text-muted: #4b5563;
    --text-slate: #8e95a5;
    
    /* Powerful Premium Tech Blue Accent (User request) */
    --blue-accent: #0066ff;
    --blue-accent-dark: #0052cc;
    --blue-accent-glow: rgba(0, 102, 255, 0.15);
    
    /* Crystal Frosted Glass Tokens */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-heavy: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-border-heavy: rgba(255, 255, 255, 0.85);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, monospace;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-hud: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-hud: 0 10px 40px -15px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.01);
    --shadow-hud-hover: 0 24px 60px -20px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-warm-grey);
    color: var(--text-main);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-warm-grey);
    position: relative;
    transition: background-color 0.4s ease;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

p {
    color: var(--text-muted);
}

/* Header Navigation (Minimalist Glassmorphism inspired by 1.webp) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(235, 235, 235, 0.5);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-hud);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.15);
    transition: var(--transition-fast);
}

.logo:hover .logo-circle {
    transform: scale(1.05);
    background: var(--blue-accent-dark);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 850;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

/* Header Main Navigation Link Tabs (Russian items align) */
.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: var(--transition-fast);
    padding: 6px 12px;
    border-radius: 20px;
}

.main-nav a:hover {
    color: var(--text-main);
}

.main-nav a.active {
    color: var(--text-main);
    font-weight: 700;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

/* Header Actions & Pill language toggle switcher */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-pill-toggle {
    background: rgba(255,255,255,0.4);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 3px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    width: 76px;
    height: 30px;
}

.lang-option {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    z-index: 2;
    color: var(--text-muted);
    transition: var(--transition-fast);
    line-height: 24px;
}

.lang-option.active {
    color: #ffffff;
}

.lang-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 34px;
    height: 24px;
    border-radius: 20px;
    background: #000000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Active language slide offsets */
.lang-en-active .lang-slider {
    transform: translateX(36px);
}

/* Black Rounded Consultation Pill Button */
.btn-menu-pill {
    background: #000000;
    color: #ffffff;
    border-radius: 40px;
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: var(--transition-hud);
}

.btn-menu-pill:hover {
    background: #27272a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Hero Section (Eco-Brutalist Light Warm-Grey style) */
.hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
    max-width: 1320px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    padding: 0 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tagline-hud-badge {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 102, 255, 0.16);
    padding: 6px 14px;
    border-radius: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 102, 255, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: var(--transition-hud);
    user-select: none;
    letter-spacing: 0.02em;
}

.hero-tagline-hud-badge:hover {
    border-color: rgba(0, 102, 255, 0.35);
    box-shadow: 0 8px 32px 0 rgba(0, 102, 255, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.badge-sys-mono {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue-accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-beacon-dot-blue {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--blue-accent);
    display: inline-block;
    box-shadow: 0 0 8px var(--blue-accent);
    animation: beaconPulseBlue 2.5s infinite ease-in-out;
}

@keyframes beaconPulseBlue {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 10px 3px rgba(0, 102, 255, 0.35);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.35rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 28px;
}

.hero-description {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.6;
}

/* Action Buttons Row */
.hero-action-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    font-family: var(--font-sans);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-hud);
}

/* Blue Rounded Pill Action Button */
.btn-accent-pill {
    background: var(--blue-accent);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 12px;
    box-shadow: 0 10px 24px -6px rgba(0, 102, 255, 0.25);
}

.btn-accent-pill:hover {
    background: var(--blue-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(0, 102, 255, 0.4);
}

.btn-arrow-diag {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

/* Outline Pill Button */
.btn-outline-pill {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(0,0,0,0.12);
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-outline-pill:hover {
    border-color: var(--text-main);
    background: rgba(0,0,0,0.02);
    transform: translateY(-2px);
}

/* Telemetry parameters spaced horizontally below buttons (1.webp style) */
.hero-telemetry-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 580px;
    border-top: 1.5px solid rgba(0,0,0,0.06);
    padding-top: 24px;
}

.telemetry-item {
    display: flex;
    gap: 32px;
}

.telemetry-label {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.telemetry-icons-group {
    display: flex;
    gap: 6px;
}

.t-circle-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.15);
    display: inline-block;
}

/* Right Visual (Crystal device & Parallax Glass cards layout from 1.webp) */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.visual-scene-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1.15;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(var(--rx, 0deg)) rotateX(var(--ry, 0deg));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.scene-image-card {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    background: #ffffff;
    transform: translateZ(10px);
}

.scene-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlapping translucent glass overlays with 3D depth */
.translucent-overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-hud);
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.card-overlay-left {
    bottom: 120px;
    left: -40px;
    width: 170px;
    transform: translate3d(calc(var(--tx, 0px) * -1.3), calc(var(--ty, 0px) * -1.3), 35px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-card-mono {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 800;
    color: var(--text-slate);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.overlay-card-stats {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.card-overlay-right {
    bottom: 160px;
    right: -24px;
    width: 100px;
    height: 100px;
    border-radius: 24px;
    transform: translate3d(calc(var(--tx, 0px) * 1.3), calc(var(--ty, 0px) * 1.3), 45px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: center;
    justify-content: center;
}

.glowing-pill-battery {
    width: 20px;
    height: 52px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(0,0,0,0.02);
    padding: 2px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.battery-fill {
    width: 100%;
    height: 60%;
    border-radius: 10px;
    background: linear-gradient(180deg, #0066ff, #00ccff, #a5f3fc);
    box-shadow: 0 0 6px 1px rgba(0, 102, 255, 0.3);
}

/* Map Coordinates Badge (1.webp) */
.map-coordinates-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 36px;
    padding: 10px 14px 10px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.02);
    z-index: 6;
    transform: translateZ(20px);
}

.compass-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.03);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-circle svg {
    width: 14px;
    height: 14px;
}

.coordinates-info {
    display: flex;
    flex-direction: column;
}

.coords-address {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.coords-link {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: underline;
}

/* Floating animation hooks */
.animate-float {
    animation: float-y 5.5s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-y 5.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float-y {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Bottom Capsule Cards switcher */
.bottom-capsule-cards-section {
    max-width: 1320px;
    margin: 40px auto 100px;
    padding: 0 24px;
}

.bottom-capsule-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Scroll-Reveal Transition Core Rules */
.scroll-reveal, .bottom-capsule-card, .stat-capsule-item, .principle-glass-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Trigger reveal animations */
.scroll-reveal.revealed, .bottom-capsule-card.revealed, .stat-capsule-item.revealed, .principle-glass-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger bottom cards delay */
.bottom-capsule-container .bottom-capsule-card:nth-child(1) { transition-delay: 0.05s; }
.bottom-capsule-container .bottom-capsule-card:nth-child(2) { transition-delay: 0.15s; }
.bottom-capsule-container .bottom-capsule-card:nth-child(3) { transition-delay: 0.28s; }

.bottom-capsule-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 50px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-hud);
    cursor: pointer;
}

.bottom-capsule-card:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hud-hover);
    border-color: var(--blue-accent);
}

.capsule-circle-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.capsule-circle-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capsule-card-text-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.capsule-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.capsule-card-sub {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.capsule-card-action-btn {
    background: #000000;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.bottom-capsule-card:hover .capsule-card-action-btn {
    background: var(--blue-accent);
    color: #ffffff;
}

/* Services Block Layout Section (Clean, Professional copy based blocks) */
.services-block-section {
    max-width: 1320px;
    margin: 80px auto;
    padding: 64px 24px;
    border-top: 1.5px solid rgba(0,0,0,0.04);
}

.light-bg-offset {
    background: rgba(255,255,255,0.25);
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.services-block-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.reverse-row {
    grid-template-columns: 0.85fr 1.15fr;
}

.reverse-row .services-block-info {
    grid-column: 2;
}

.reverse-row .services-block-visual {
    grid-column: 1;
    grid-row: 1;
}

.services-block-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services-block-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-slate);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.services-block-info h2 {
    font-size: 2.25rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.services-block-lead {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 28px;
    line-height: 1.55;
}

.services-lists-wrapper {
    margin-bottom: 28px;
    width: 100%;
}

.services-bullet-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bullet-title {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Premium clean bullets list */
.clean-bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.clean-bullets-list li {
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.clean-bullets-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-slate);
}

.services-block-foot {
    font-size: 0.92rem;
    color: var(--text-muted);
    border-left: 2.5px solid var(--blue-accent);
    padding-left: 16px;
    margin-top: 10px;
    line-height: 1.5;
}

/* Immersive Clean viewports for secondary images */
.immersive-image-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-hud);
    border: 1px solid var(--glass-border);
    height: 320px;
    background: #ffffff;
    width: 100%;
    aspect-ratio: 1.25;
}

.viewport-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clean Spec Dashboard Widget */
/* Clean Spec Dashboard Widget */
.glass-specs-dashboard {
    background: rgba(255,255,255,0.45);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 24px 32px 32px 32px;
    width: 100%;
    box-shadow: var(--shadow-hud-hover);
    display: flex;
    flex-direction: column;
}

.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(0,0,0,0.04);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.dashboard-label {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 800;
    color: var(--text-slate);
    letter-spacing: 0.05em;
}

.dashboard-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-accent);
}

.dashboard-graph-visual {
    background: #fbfbfb;
    border: 1.5px solid rgba(0,0,0,0.03);
    border-radius: 16px;
    padding: 16px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dashboard-grid-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.dash-grid-wave {
    stroke-dasharray: 80 20;
    animation: grid-wave-sweep 3s linear infinite;
}

@keyframes grid-wave-sweep {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -100; }
}

/* Rich high-tech digital operational status meters */
.dashboard-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 14px;
}

.dash-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-stat-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-mono {
    font-family: var(--font-mono);
    font-size: 7px;
    font-weight: 850;
    color: var(--text-slate);
    letter-spacing: 0.05em;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 850;
    color: var(--blue-accent);
}

.dash-stat-progress {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    overflow: hidden;
}

.dash-stat-progress-fill {
    height: 100%;
    background: var(--blue-accent);
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 102, 255, 0.3);
}

/* Real-time diagnostic console terminal log */
.dashboard-console-terminal {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 7.5px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 8px;
}

.console-line {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--text-muted);
}

.c-tag {
    font-weight: 900;
}

.c-tag.green {
    color: #00cc66;
}

.c-tag.blue {
    color: var(--blue-accent);
}

.c-text {
    color: var(--text-main);
}

.blink-line {
    animation: console-blink 1.5s infinite alternate;
}

@keyframes console-blink {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.dashboard-foot-telemetry {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    border-top: 1.5px dashed rgba(0,0,0,0.04);
    padding-top: 14px;
}

.telemetry-code {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    color: var(--text-slate);
}

/* Stats Section (Clean capsule layout) */
.expert-stats-section {
    background: rgba(255,255,255,0.45);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 24px;
    margin: 40px 0;
}

.expert-stats-container {
    max-width: 1320px;
    margin: 0 auto;
}

.expert-stats-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.expert-stats-header h2 {
    font-size: 2.35rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.expert-stats-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.stats-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-capsule-item {
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--glass-border);
    border-radius: 36px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-hud);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-capsule-item:hover {
    transform: translateY(-2px);
    border-color: var(--blue-accent);
    box-shadow: var(--shadow-hud-hover);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-slate);
    text-transform: uppercase;
}

/* Stagger stat elements entry */
.stats-grid-row .stat-capsule-item:nth-child(1) { transition-delay: 0.05s; }
.stats-grid-row .stat-capsule-item:nth-child(2) { transition-delay: 0.15s; }
.stats-grid-row .stat-capsule-item:nth-child(3) { transition-delay: 0.25s; }
.stats-grid-row .stat-capsule-item:nth-child(4) { transition-delay: 0.35s; }

/* Principles section */
.principles-section {
    max-width: 1320px;
    margin: 100px auto;
    padding: 0 24px;
}

.principles-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.principles-head h2 {
    font-size: 2.35rem;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.principles-head p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.principle-glass-card {
    background: rgba(255,255,255,0.45);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-hud);
    transition: var(--transition-hud);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.principle-glass-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-accent);
    background: rgba(255,255,255,0.75);
    box-shadow: var(--shadow-hud-hover);
}

.principle-card-num {
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 850;
    color: var(--text-slate);
    margin-bottom: 16px;
}

.principle-glass-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.principle-glass-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Stagger principles cards */
.principles-grid .principle-glass-card:nth-child(1) { transition-delay: 0.05s; }
.principles-grid .principle-glass-card:nth-child(2) { transition-delay: 0.12s; }
.principles-grid .principle-glass-card:nth-child(3) { transition-delay: 0.19s; }
.principles-grid .principle-glass-card:nth-child(4) { transition-delay: 0.26s; }
.principles-grid .principle-glass-card:nth-child(5) { transition-delay: 0.33s; }

/* Call to Action Frosted Box (Minimalist styling from 1.webp) */
.cta-section {
    max-width: 1320px;
    margin: 100px auto;
    padding: 0 24px;
}

.cta-box {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 36px;
    padding: 80px 56px;
    text-align: center;
    box-shadow: var(--shadow-hud);
    background: 
        radial-gradient(circle at center, rgba(0, 102, 255, 0.04) 0%, transparent 80%),
        rgba(255, 255, 255, 0.45);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 850;
}

.cta-lead-text {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.cta-needs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.need-item {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.need-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-accent-dark);
}

.cta-form {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.cta-form input {
    flex: 1;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    padding: 16px 22px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.cta-form input:focus {
    background: #ffffff;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.08);
}

.cta-form input::placeholder {
    color: var(--text-slate);
}

.btn-black-pill {
    background: #000000;
    color: #ffffff;
    border-radius: 40px;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    transition: var(--transition-hud);
}

.btn-black-pill:hover {
    background: #1e1e24;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Footer Styling */
.site-footer {
    background: #17181c;
    color: #9ca3af;
    padding: 88px 24px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 80px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-brand .logo-circle {
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.25);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.65;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    text-decoration: none;
    color: #9ca3af;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    align-self: flex-start;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contacts p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-contacts p strong {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1320px;
    margin: 36px auto 0;
    text-align: center;
    font-size: 0.8rem;
    color: #4b5563;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .bottom-capsule-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .services-block-container,
    .reverse-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reverse-row .services-block-info {
        grid-column: 1;
    }
    
    .reverse-row .services-block-visual {
        grid-column: 1;
        grid-row: auto;
    }
    
    .stats-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-actions .header-pill-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-action-row {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-action-row .btn {
        width: 100%;
    }
    
    .hero-telemetry-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .card-overlay-left,
    .card-overlay-right {
        display: none;
    }
    
    .stats-grid-row {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 44px 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* Yandex Map Container with HUD overlay */
.map-hud-container {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-hud);
    height: 380px;
    width: 100%;
    background: #e5e5e5;
    transition: var(--transition-hud);
    margin-top: 36px;
}

.map-hud-container:hover {
    border-color: var(--blue-accent);
    box-shadow: var(--shadow-hud-hover);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.1) brightness(0.95);
}

.map-telemetry-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 8px 14px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.map-telemetry-tag {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 800;
    color: var(--text-slate);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.map-telemetry-val {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    color: var(--text-main);
}

/* Liquid Glass Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(235, 235, 235, 0.4);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Panel */
.modal-window {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--glass-border-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 36px;
    padding: 44px;
    width: 90%;
    max-width: 580px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.08);
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-overlay.active .modal-window {
    transform: scale(1) translateY(0);
}

/* Modal Close Button */
.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
    color: var(--blue-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 1.85rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 440px;
}

/* Step list */
.modal-steps-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 8px;
    text-align: left;
}

.modal-step-card {
    background: rgba(255,255,255,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

.modal-step-card:hover {
    background: rgba(255,255,255,0.7);
    border-color: var(--blue-accent);
}

.step-number-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-accent);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-details-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-details-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.step-details-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* Action button inside step card */
.step-action-pill {
    background: #000000;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition-fast);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-action-pill:hover {
    background: var(--blue-accent);
    transform: translateY(-1px);
}

/* CTA HUD Grid layout */
.cta-hud-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: start;
    text-align: left;
}

@media (max-width: 1100px) {
    .cta-hud-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Premium ISO Vertical Stacked Deck Layout */
.iso-deck-tabs {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 16px;
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 24px;
}

.deck-tab {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-tab:hover {
    color: var(--text-main);
}

.deck-tab.active {
    background: #ffffff;
    color: var(--blue-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.iso-deck-container {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 60px; /* Space at bottom for 3D translation protrusion */
}

.iso-deck-card {
    grid-area: 1 / 1 / 2 / 2;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 22px 26px;
    box-shadow: var(--shadow-hud);
    /* Bind transformations, z-index and opacity to CSS custom variables set by JS */
    transform: translateY(var(--card-translate-y, 0px)) scale(var(--card-scale, 1)) translateZ(0);
    z-index: var(--card-z-index, 1);
    opacity: var(--card-opacity, 1);
    
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                z-index 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
    height: 100%; /* Stretch to grid cell height so bottom offsets always protrude perfectly */
    transform-origin: top center;
}

.iso-deck-card:not(.active):hover {
    /* Lift card slightly on hover, relative to its stack translation */
    transform: translateY(calc(var(--card-translate-y, 0px) - 8px)) scale(calc(var(--card-scale, 1) + 0.015)) translateZ(0);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(0, 102, 255, 0.35);
    opacity: 0.96 !important;
}

.iso-deck-card.active {
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--blue-accent);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.08), var(--shadow-hud-hover);
}

.pillar-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: var(--transition-fast);
}

.pillar-head-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pillar-mono-tag {
    font-family: var(--font-mono);
    font-size: 7px;
    font-weight: 800;
    color: var(--blue-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pillar-card-head h4 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 850;
    color: var(--text-main);
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.pillar-accordion-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.iso-deck-card.active .pillar-accordion-icon {
    transform: rotate(45deg);
    background: var(--blue-accent);
    color: #ffffff;
    border-color: var(--blue-accent);
}

.pillar-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.iso-deck-card.active .pillar-bullets {
    max-height: 350px;
    opacity: 1;
    margin-top: 16px;
    border-top: 1.5px dashed rgba(0, 0, 0, 0.05);
    padding-top: 14px;
}

.pillar-bullets li {
    font-family: var(--font-sans);
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.45;
    position: relative;
    padding-left: 18px;
}

.pillar-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-accent-dark);
}

/* ISO 13485 Section Specific Layout & Parallax overrides */
#iso .services-block-container {
    align-items: flex-start;
}

#iso-parallax-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#iso-parallax-trigger .visual-scene-wrapper {
    /* Large width and comfortable aspect ratio to provide a spacious feel */
    max-width: 530px;
    aspect-ratio: 1.15;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(var(--rx-iso, 0deg)) rotateX(var(--ry-iso, 0deg));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-overlay-iso-left {
    top: 60px;
    left: -32px;
    width: 215px; /* Widened to 215px to fit texts on a single line! */
    transform: translate3d(calc(var(--tx-iso, 0px) * -1.25), calc(var(--ty-iso, 0px) * -1.25), 32px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    background: rgba(255, 255, 255, 0.72) !important; /* Premium light platinum glass */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), var(--shadow-hud) !important;
}

.card-overlay-iso-right {
    bottom: 80px;
    right: -32px;
    width: 185px;
    transform: translate3d(calc(var(--tx-iso, 0px) * 1.25), calc(var(--ty-iso, 0px) * 1.25), 32px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    background: rgba(255, 255, 255, 0.72) !important; /* Premium light platinum glass */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), var(--shadow-hud) !important;
}

/* OLED-style High Contrast HUD Text Overrides */
.card-overlay-iso-left .overlay-card-mono,
.card-overlay-iso-right .overlay-card-mono {
    color: rgba(255, 255, 255, 0.52) !important; /* bright semi-transparent white label */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.12em;
}

.card-overlay-iso-left .overlay-card-text,
.card-overlay-iso-left .overlay-card-text,
.card-overlay-iso-right .overlay-card-text {
    color: #ffffff !important; /* Solid super-white for text readability */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 850 !important;
}

/* Documentation Section 2x2 Grid and Cards Layout */
.doc-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 28px;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .doc-advantages-grid {
        grid-template-columns: 1fr;
    }
}

.doc-advantage-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-hud);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.doc-advantage-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--blue-accent);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.05), var(--shadow-hud-hover);
    transform: translateY(-4px);
}

.doc-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-accent);
    margin-bottom: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-advantage-card:hover .doc-card-icon {
    background: var(--blue-accent);
    color: #ffffff;
    border-color: var(--blue-accent);
    transform: scale(1.05);
}

.doc-advantage-card h4 {
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 850;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.doc-advantage-card p {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0;
}

/* Documentation 3D Parallax overrides and layout alignment */
#registration .services-block-container {
    align-items: flex-start;
}

#doc-parallax-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#doc-parallax-trigger .visual-scene-wrapper {
    max-width: 530px;
    aspect-ratio: 1.15;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(var(--rx-doc, 0deg)) rotateX(var(--ry-doc, 0deg));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-overlay-doc-left {
    top: 60px;
    left: -32px;
    width: 215px; /* Widened to 215px to fit texts on a single line! */
    transform: translate3d(calc(var(--tx-doc, 0px) * -1.25), calc(var(--ty-doc, 0px) * -1.25), 32px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    background: rgba(255, 255, 255, 0.72) !important; /* Premium light platinum glass */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), var(--shadow-hud) !important;
}

.card-overlay-doc-right {
    bottom: 80px;
    right: -32px;
    width: 185px;
    transform: translate3d(calc(var(--tx-doc, 0px) * 1.25), calc(var(--ty-doc, 0px) * 1.25), 32px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    background: rgba(255, 255, 255, 0.72) !important; /* Premium light platinum glass */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), var(--shadow-hud) !important;
}

/* Light Glass HUD Text Contrast Upgrades (Clean high-contrast typography) */
.card-overlay-iso-left .overlay-card-mono,
.card-overlay-iso-right .overlay-card-mono,
.card-overlay-doc-left .overlay-card-mono,
.card-overlay-doc-right .overlay-card-mono,
.card-overlay-infra-left .overlay-card-mono,
.card-overlay-infra-right .overlay-card-mono {
    color: var(--text-slate) !important; /* Cool grey mono label */
    text-shadow: none !important;
    letter-spacing: 0.10em;
    font-weight: 800;
}

.card-overlay-iso-left .overlay-card-text,
.card-overlay-iso-right .overlay-card-text,
.card-overlay-doc-left .overlay-card-text,
.card-overlay-doc-right .overlay-card-text,
.card-overlay-infra-left .overlay-card-text,
.card-overlay-infra-right .overlay-card-text {
    color: var(--text-main) !important; /* Solid dark text for high contrast */
    text-shadow: none !important;
    font-weight: 850 !important;
}

/* Infrastructure Section Capsules Layout */
.infra-capsules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
}

.infra-glass-capsule {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow-hud);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.infra-glass-capsule:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--blue-accent);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.05), var(--shadow-hud-hover);
    transform: translateX(6px); /* Slide slightly to the right to indicate list interaction */
}

.infra-capsule-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 102, 255, 0.04);
    border: 1px solid rgba(0, 102, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-accent);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-glass-capsule:hover .infra-capsule-icon {
    background: var(--blue-accent);
    color: #ffffff;
    border-color: var(--blue-accent);
    transform: rotate(90deg); /* Rotate 90 degrees on hover */
}

.infra-capsule-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    text-align: left;
}

.infra-capsule-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.infra-capsule-header h4 {
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 850;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -0.01em;
}

.infra-capsule-telemetry {
    font-family: var(--font-mono);
    font-size: 7.5px;
    font-weight: 850;
    color: var(--blue-accent);
    letter-spacing: 0.08em;
    background: rgba(0, 102, 255, 0.06);
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.infra-glass-capsule:hover .infra-capsule-telemetry {
    background: var(--blue-accent);
    color: #ffffff;
}

.infra-capsule-desc {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Progress bar inside capsule */
.infra-capsule-progress-track {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
    position: relative;
}

.infra-capsule-progress-fill {
    height: 100%;
    width: var(--progress, 0%);
    background: var(--blue-accent);
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-glass-capsule:hover .infra-capsule-progress-fill {
    background: var(--blue-accent-dark);
    filter: drop-shadow(0 0 4px var(--blue-accent));
}

/* Infrastructure 3D Parallax overrides and layout alignment */
#infrastructure .services-block-container {
    align-items: flex-start;
}

#infra-parallax-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#infra-parallax-trigger .visual-scene-wrapper {
    max-width: 530px;
    aspect-ratio: 1.15;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(var(--rx-infra, 0deg)) rotateX(var(--ry-infra, 0deg));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-overlay-infra-left {
    top: 60px;
    left: -32px;
    width: 215px; /* Widened to 215px to fit 100% АКТУАЛИЗИРОВАНО on a single line! */
    transform: translate3d(calc(var(--tx-infra, 0px) * -1.25), calc(var(--ty-infra, 0px) * -1.25), 32px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    background: rgba(255, 255, 255, 0.72) !important; /* Premium light platinum glass */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), var(--shadow-hud) !important;
}

.card-overlay-infra-right {
    bottom: 80px;
    right: -32px;
    width: 185px;
    transform: translate3d(calc(var(--tx-infra, 0px) * 1.25), calc(var(--ty-infra, 0px) * 1.25), 32px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    background: rgba(255, 255, 255, 0.72) !important; /* Premium light platinum glass */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), var(--shadow-hud) !important;
}

/* Combined overlays typography rule applied globally above */

/* Services Section 1 Pipeline Styles */
.pipeline-services-container {
    position: relative;
    padding-left: 36px;
    margin-top: 28px;
    margin-bottom: 28px;
    width: 100%;
}

.pipeline-laser-line {
    position: absolute;
    left: 14px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(0, 102, 255, 0.1);
    overflow: hidden;
}

.pipeline-laser-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--blue-accent), transparent);
    animation: laser-flow 4s infinite linear;
}

@keyframes laser-flow {
    0% { top: -100px; }
    100% { top: 100%; }
}

.pipeline-step-item {
    position: relative;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.pipeline-step-item:last-child {
    margin-bottom: 0;
}

.pipeline-step-node {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(0, 102, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 850;
    color: var(--text-slate);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.pipeline-step-item:hover .pipeline-step-node {
    border-color: var(--blue-accent);
    background: var(--blue-accent);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.35);
    transform: scale(1.15);
}

.pipeline-step-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow-hud);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.pipeline-step-item:hover .pipeline-step-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--blue-accent);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.04), var(--shadow-hud-hover);
    transform: translateX(6px);
}

.pipeline-step-card h4 {
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 850;
    color: var(--text-main);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.pipeline-step-card p {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   PREMIUM HUD INTERACTIVE VISUAL EFFECTS (Canvas, Telemetry, Glow, Streamers)
   ========================================================================== */

/* 1. Hero Particles Canvas Overlay */
.hero-section {
    position: relative;
    overflow: hidden;
}

#hero-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.hero-container {
    position: relative;
    z-index: 2;
}


/* 3. Button Border Laser Streamer Animation */
.btn-accent-pill, .step-action-pill {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Conic background rotation wrapper */
.btn-accent-pill::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        rgba(0, 102, 255, 0.6) 15%, 
        transparent 30%, 
        transparent 65%, 
        rgba(0, 102, 255, 0.6) 80%, 
        transparent 95%
    );
    animation: rotateStreamer 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-accent-pill::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--blue-accent);
    border-radius: 40px;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.btn-accent-pill:hover::before {
    opacity: 1;
    animation-duration: 2.2s; /* Speed up laser border sweep on hover */
}

.btn-accent-pill:hover::after {
    background: var(--blue-accent-dark);
}

/* Odometer-like container styles */
.odometer-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums; /* Monospace numerical grid */
}

/* 4. Ambient Radial Card Glow Highlight Trackers */
.doc-advantage-card, .principle-glass-card, .iso-deck-card {
    position: relative;
    overflow: hidden;
}

/* Glow gradient pseudo layer */
.doc-advantage-card::before, 
.principle-glass-card::before, 
.iso-deck-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle 140px at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(0, 102, 255, 0.12),
        transparent 80%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.doc-advantage-card:hover::before,
.principle-glass-card:hover::before,
.iso-deck-card:hover::before {
    opacity: 1;
}

/* Bring card contents above glow layers */
.doc-advantage-card > *,
.principle-glass-card > *,
.iso-deck-card > * {
    position: relative;
    z-index: 1;
}

@keyframes rotateStreamer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   WAVE 2 HUD INTERACTIONS: BLUEPRINT GRID & FLOATING ACCREDITATION BEACON
   ========================================================================== */

/* 1. Beautiful Double-Layer Blueprint Drawing Grid Backdrop with Parallax scroll offset */
body::before {
    content: '';
    position: fixed;
    top: -120px; /* Buffer for scrolling parallax drift */
    left: 0;
    width: 100%;
    height: calc(100vh + 240px);
    background-image: 
        /* Major Grid Lines */
        linear-gradient(rgba(0, 102, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.035) 1px, transparent 1px),
        /* Minor Sub-Grid Lines */
        linear-gradient(rgba(0, 102, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.015) 1px, transparent 1px);
    background-size: 
        100px 100px, 100px 100px,
        20px 20px, 20px 20px;
    pointer-events: none;
    z-index: -10;
    transform: translateY(var(--grid-y-offset, 0px));
    will-change: transform;
}

/* 2. Floating Accreditation Status Beacon Widget */
.accreditation-floating-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    font-family: var(--font-mono);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.accreditation-pill-trigger {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 8px 16px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06), var(--shadow-hud);
    transition: var(--transition-hud);
    user-select: none;
}

.accreditation-pill-trigger:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--blue-accent);
    box-shadow: 0 12px 35px -8px rgba(0, 102, 255, 0.12), var(--shadow-hud-hover);
}

.beacon-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00cc66; /* Green representing verified accredited status */
    display: inline-block;
    box-shadow: 0 0 8px #00cc66;
    animation: beaconPulse 2.5s infinite ease-in-out;
}

@keyframes beaconPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.85);
        box-shadow: 0 0 3px #00cc66;
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
        box-shadow: 0 0 12px #00cc66;
    }
}

.beacon-text {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.04em;
}

/* Expandable Detail Card */
.accreditation-expanded-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--blue-accent-glow);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 20px;
    width: 290px;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.1), var(--shadow-hud-hover);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateY(15px) scale(0.94);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
    border-left: 3px solid var(--blue-accent);
}

/* Hover / Toggle state */
.accreditation-floating-widget.expanded .accreditation-expanded-card {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.accreditation-expanded-card .card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
    padding-bottom: 10px;
}

.accreditation-expanded-card .mono-meta {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-slate);
}

.accreditation-expanded-card .badge-status-val {
    font-size: 0.64rem;
    font-weight: 900;
    color: #00cc66;
    background: rgba(0, 204, 102, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 204, 102, 0.2);
}

.accreditation-expanded-card .card-body-telemetry {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accreditation-expanded-card .telemetry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.accreditation-expanded-card .t-key {
    color: var(--text-muted);
    font-weight: 600;
}

.accreditation-expanded-card .t-val {
    color: var(--text-main);
    font-weight: 700;
}

.accreditation-expanded-card .sig-val {
    color: var(--blue-accent);
    background: var(--blue-accent-glow);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.66rem;
}

.accreditation-expanded-card .card-foot {
    border-top: 1px dashed rgba(0,0,0,0.08);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
}

.accreditation-expanded-card .foot-time-val {
    font-size: 0.6rem;
    color: var(--text-slate);
    font-weight: 600;
}

/* ==========================================================================
   WAVE 4 HUD ENHANCEMENTS: HEADER LOGO IMAGE & ACCREDITATION BEACON BADGE
   ========================================================================== */

/* Header Logo Image Scale */
.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Glowing Monospaced Accreditation Badge in Hero */
.telemetry-accreditation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 204, 102, 0.08);
    border: 1px solid rgba(0, 204, 102, 0.35);
    padding: 6px 14px;
    border-radius: 40px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    color: #00b359;
    box-shadow: 0 0 15px rgba(0, 204, 102, 0.08);
    letter-spacing: 0.03em;
    user-select: none;
    white-space: nowrap;
}

.telemetry-accreditation-badge .badge-beacon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #00cc66;
    display: inline-block;
    box-shadow: 0 0 8px #00cc66;
    animation: beaconPulse 2.5s infinite ease-in-out;
}

/* ==========================================================================
   WAVE 9 HUD ENHANCEMENTS: INTERACTIVE TESTING CHAMBER CONSOLE
   ========================================================================== */

.console-section {
    padding: 100px 24px;
    position: relative;
    background: var(--bg-warm-grey);
}

.console-section-container {
    max-width: 1320px;
    margin: 0 auto;
}

.console-header {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.console-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue-accent);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.console-section-title {
    font-size: 2.65rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.console-section-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.6;
}

.hud-console-board {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 32px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 32px;
    box-shadow: var(--shadow-hud);
}

.console-control-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.console-tabs-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.console-tab-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 102, 255, 0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-hud);
    text-align: left;
    width: 100%;
}

.console-tab-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 102, 255, 0.18);
    transform: translateX(4px);
}

.console-tab-btn.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--blue-accent);
    box-shadow: 0 4px 20px -5px rgba(0, 102, 255, 0.12);
}

.console-tab-btn .tab-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 102, 255, 0.15);
    transition: var(--transition-fast);
}

.console-tab-btn.active .tab-indicator {
    background-color: var(--blue-accent);
    box-shadow: 0 0 10px 2px var(--blue-accent);
}

.console-tab-btn .tab-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.console-tab-btn.active .tab-label {
    color: var(--text-main);
}

.console-telemetry-panel {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.telemetry-panel-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue-accent);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.telemetry-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 102, 255, 0.04);
    border-radius: 10px;
    padding: 12px 14px;
    transition: var(--transition-fast);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 102, 255, 0.15);
}

.metric-label {
    display: block;
    font-size: 0.68rem;
    color: var(--text-slate);
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.console-standards-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    padding: 20px;
}

.standards-meta-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-slate);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 14px;
}

.standards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.standards-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.standards-list li::before {
    content: '✦';
    color: var(--blue-accent);
    font-size: 0.75rem;
}

/* Right Screen CSS */
.console-screen-panel {
    background: rgba(10, 17, 30, 0.96);
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 255, 0.22);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.25), inset 0 0 40px rgba(0, 102, 255, 0.04);
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.screen-left-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.screen-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--blue-accent);
    box-shadow: 0 0 10px var(--blue-accent);
}

.screen-mode-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
}

.screen-fps-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
}

.screen-display-area {
    flex: 1;
    height: 290px;
    min-height: 290px;
    background: rgba(6, 10, 20, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.screen-coordinate-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.045) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    pointer-events: none;
}

#console-waveform-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.screen-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.screen-foot-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.foot-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

.foot-value {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

.text-green {
    color: #00cc66 !important;
    text-shadow: 0 0 6px rgba(0, 204, 102, 0.4);
}

/* Responsive Grid Adaptation */
@media (max-width: 991px) {
    .hud-console-board {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }
    .console-section {
        padding: 70px 20px;
    }
    .console-section-title {
        font-size: 2.15rem;
    }
    .screen-display-area {
        height: 250px;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .telemetry-metrics-grid {
        grid-template-columns: 1fr;
    }
    .console-section-title {
        font-size: 1.85rem;
    }
}



