/* ==========================================================================
   Aegis Product Introduction Style Sheet
   ========================================================================== */

/* --- Custom Variables & Palette --- */
:root {
    /* Color Palette */
    --color-bg-deep: hsl(220, 35%, 4%);
    --color-bg-dark: hsl(220, 30%, 7%);
    --color-bg-card: hsla(220, 30%, 12%, 0.45);
    
    --color-primary: hsl(220, 60%, 15%);
    --color-accent: hsl(210, 100%, 50%);
    --color-accent-hover: hsl(210, 100%, 60%);
    --color-accent-glow: hsla(210, 100%, 50%, 0.15);
    
    --color-text-main: hsl(210, 40%, 96%);
    --color-text-muted: hsl(215, 20%, 65%);
    --color-text-dark: hsl(215, 15%, 40%);
    
    /* Status Colors */
    --color-ok: #10B981;
    --color-ok-bg: rgba(16, 185, 129, 0.1);
    --color-warn: #F59E0B;
    --color-warn-bg: rgba(245, 158, 11, 0.1);
    --color-crit: #EF4444;
    --color-crit-bg: rgba(239, 68, 68, 0.1);
    
    /* Layout & Details */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glass-glow: 1px solid rgba(59, 130, 246, 0.3);
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px 2px hsla(210, 100%, 50%, 0.15);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Resets & Defaults --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Background Aesthetics --- */
.bg-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.bg-glow-radial {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(circle, hsla(210, 100%, 50%, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- Typography & Text Formatting --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-mono {
    font-family: var(--font-mono);
}

.text-center { text-align: center; }
.text-green { color: var(--color-ok) !important; }
.text-blue { color: var(--color-accent) !important; }
.text-amber { color: var(--color-warn) !important; }
.text-red { color: var(--color-crit) !important; }
.text-white { color: #FFFFFF !important; }

.bg-green-light { background-color: var(--color-ok-bg) !important; }
.bg-red-light { background-color: var(--color-crit-bg) !important; }
.bg-warn-light { background-color: var(--color-warn-bg) !important; }

/* --- UI Buttons & Badges --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3B82F6 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-success {
    background: var(--color-ok);
    color: #FFFFFF;
}

.btn-danger {
    background: var(--color-crit);
    color: #FFFFFF;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 12px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- Header / Navigation Bar --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: hsla(220, 35%, 4%, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--border-glass);
    z-index: 100;
    transition: var(--transition-smooth);
}

.glass-header.scrolled {
    height: 64px;
    background: hsla(220, 35%, 4%, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--color-accent);
    filter: drop-shadow(0 0 8px var(--color-accent));
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #FFFFFF 50%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#navbar {
    display: flex;
    gap: 30px;
}

#navbar a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

#navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

#navbar a:hover {
    color: #FFFFFF;
}

#navbar a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cta-mobile {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    transition: var(--transition-smooth);
}

/* --- Section Layout Base --- */
.section-padding {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--color-bg-dark);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.25;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 150px;
    padding-bottom: 100px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

.trust-icons {
    display: flex;
    gap: 8px;
}

.trust-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

/* --- Dashboard Mockup Layout --- */
.hero-card-wrapper {
    overflow: hidden;
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-glow);
}

.mockup-header {
    background: rgba(15, 23, 42, 0.6);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: var(--border-glass);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E11D48;
}

.mockup-dots span:nth-child(2) { background-color: #F59E0B; }
.mockup-dots span:nth-child(3) { background-color: #10B981; }

.mockup-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    flex-grow: 1;
}

.mockup-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-ok);
}

.pulse-green {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseG 1.8s infinite;
}

@keyframes pulseG {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mockup-content {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 280px;
}

.mockup-side {
    background: rgba(10, 15, 30, 0.4);
    border-right: var(--border-glass);
    padding: 16px 12px;
}

.mockup-section-title {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--color-text-dark);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.mini-rack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-rack-u {
    height: 38px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px;
    font-size: 0.65rem;
    font-family: var(--font-mono);
}

.mini-rack-u span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rack-temp {
    font-size: 0.55rem;
    color: var(--color-text-muted);
}

.u-ok { border-left: 3px solid var(--color-ok); }
.u-warn { border-left: 3px solid var(--color-warn); }
.u-crit { border-left: 3px solid var(--color-crit); }

.mockup-main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mockup-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 6px;
    padding: 10px 14px;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin: 2px 0;
}

.stat-sub {
    font-size: 0.55rem;
    color: var(--color-text-dark);
}

.mockup-chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 6px;
    padding: 12px;
    flex-grow: 1;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-header-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.chart-legend {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-legend i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.dot-green { background-color: var(--color-ok); }
.dot-blue { background-color: var(--color-accent); }

.svg-chart-mock {
    margin-top: 8px;
}

.mini-chart {
    width: 100%;
    height: 80px;
    display: block;
}

.chart-path-anim-1 {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawPath 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.chart-path-anim-2 {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawPath 4s cubic-bezier(0.25, 1, 0.5, 1) 0.5s infinite;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

/* --- Pain Points & Comparison Slider --- */
.slider-comparison-container {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 24px;
}

.comparison-title-row {
    text-align: center;
    margin-bottom: 24px;
}

.comparison-title-row h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    border: var(--border-glass);
}

.slider-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.side-badge {
    position: absolute;
    top: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 10;
}

.badge-red {
    background-color: var(--color-crit);
    color: #FFFFFF;
    left: 15px;
}

.badge-green {
    background-color: var(--color-ok);
    color: #FFFFFF;
    right: 15px;
}

.side-before {
    background: linear-gradient(135deg, hsl(0, 40%, 8%) 0%, hsl(0, 30%, 5%) 100%);
    z-index: 1;
}

.side-after {
    background: linear-gradient(135deg, hsl(150, 40%, 5%) 0%, hsl(220, 45%, 8%) 100%);
    z-index: 2;
    clip-path: inset(0 0 0 50%); /* Start at 50% split */
}

/* Alarms storm aesthetics */
.alarm-grid-overflow {
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
    margin-top: 25px;
    overflow-y: auto;
    max-height: 230px;
    padding-right: 8px;
}

.bad-alarm-tag {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #FFAAAA;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: flashRed 1s infinite alternate;
}

@keyframes flashRed {
    from { opacity: 0.8; }
    to { opacity: 1; border-color: rgba(239,68,68,0.8); box-shadow: 0 0 8px rgba(239,68,68,0.2); }
}

.aegis-clean-alert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 10px;
}

.clean-alert-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 24px;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.clean-alert-icon {
    font-size: 2.2rem;
    color: var(--color-ok);
    margin-bottom: 12px;
}

.clean-alert-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.clean-alert-box p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.clean-alert-box .root-cause-tag {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    padding: 4px 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #FFFFFF;
}

/* Slider Controls */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--color-accent);
    z-index: 50;
    pointer-events: none;
    transform: translateX(-50%);
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 4px solid var(--color-bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 100;
    cursor: ew-resize;
}

/* Pain Points Grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pain-card {
    padding: 24px;
}

.pain-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pain-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.pain-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pain-item {
    font-size: 0.9rem;
}

.pain-item .label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.pain-item.before .label {
    color: var(--color-crit);
}

.pain-item.after .label {
    color: var(--color-ok);
}

/* --- Features Grid Showcase --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ui-showcase-section {
    position: relative;
}

.ui-showcase-panel {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 48px 45px;
    background-image: linear-gradient(90deg, rgba(7, 13, 26, 0.96) 0%, rgba(7, 13, 26, 0.74) 35%, rgba(7, 13, 26, 0.24) 100%), url("images/screen-mix.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
}

.ui-showcase-content {
    color: #FFFFFF;
}

.ui-showcase-content h3 {
    font-size: 2rem;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.ui-showcase-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.82);
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    font-size: 0.98rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--color-accent);
    font-size: 1rem;
}

.feature-card {
    padding: 30px;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
}

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Live Monitor Simulator --- */
.simulator-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    overflow: hidden;
}

.sim-controls {
    background: rgba(10, 15, 30, 0.35);
    border-right: var(--border-glass);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-title-area h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.sim-title-area p {
    font-size: 0.85rem;
}

.sim-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.sim-btn-group .btn {
    width: 100%;
    font-size: 0.85rem;
    padding: 10px;
    border-radius: 6px;
    opacity: 0.7;
}

.sim-btn-group .btn.active {
    opacity: 1;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.sim-console-output h5 {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.console-box {
    background: #05050A;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    line-height: 1.4;
    height: 120px;
    overflow-y: auto;
    color: var(--color-text-muted);
}

.console-line {
    margin-bottom: 4px;
}

/* Simulator Dashboard Frame */
.sim-dashboard {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.sim-host {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.sim-tag-oob {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.sim-channels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex-grow: 1;
}

.sim-channel-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-channel-card.channel-crashed {
    border-color: rgba(239, 68, 68, 0.3) !important;
    background: rgba(239, 68, 68, 0.02);
}

.channel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.channel-header h5 {
    font-size: 0.95rem;
}

.status-indicator-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.channel-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.detail-row span:first-child {
    color: var(--color-text-muted);
}

.channel-telemetry-chart {
    margin-top: 15px;
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.sim-mini-chart {
    width: 100%;
    height: 100%;
}

.oob-action-area {
    margin-top: 15px;
}

/* --- Interactive Rack Builder --- */
.rack-builder-layout {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 30px;
}

.builder-sidebar h4, .builder-details h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.builder-sidebar p, .builder-details p.node-meta {
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.server-pool {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.draggable-server {
    padding: 16px;
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.draggable-server:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}

.srv-badge {
    align-self: flex-start;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    color: #FFFFFF;
}

.srv-badge.dell { background-color: #0076CE; }
.srv-badge.hpe { background-color: #00B388; }
.srv-badge.sm { background-color: #E21A1A; }

.srv-info h5 {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.srv-info p {
    font-size: 0.7rem;
}

/* Cabinet Center Column */
.rack-cabinet-wrapper {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cabinet-header {
    text-align: center;
    margin-bottom: 20px;
}

.cabinet-header h4 {
    font-size: 1.1rem;
}

.cabinet-rack {
    border: 6px solid #1E293B;
    background: #0B0F19;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    flex-grow: 1;
    min-height: 280px;
    justify-content: center;
}

.rack-slot {
    height: 70px;
    border-radius: 4px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.rack-slot.empty:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--color-accent);
}

.slot-number {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--color-text-dark);
}

.slot-drop-zone {
    font-size: 0.8rem;
    color: var(--color-text-dark);
}

/* Drag-and-Drop Visual Feedback */
.draggable-server.dragging {
    opacity: 0.45;
    border-color: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent-glow);
    transform: scale(0.97);
}

.draggable-server.selected {
    border-color: var(--color-accent);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

.rack-slot.drag-over {
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: var(--color-accent) !important;
    border-style: solid !important;
    box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.12), 0 0 10px rgba(59, 130, 246, 0.15);
}

.rack-slot.drag-over .slot-drop-zone {
    color: var(--color-accent);
    font-weight: 600;
}

/* Occupied Server inside Rack slot */
.rack-server-node {
    width: 100%;
    height: 100%;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 60px;
    transition: var(--transition-smooth);
}

.rack-server-node:hover {
    background: #1F2937;
    border-color: rgba(59,130,246,0.5);
}

.rack-server-node.selected {
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

.rack-server-node.fault {
    border-left: 4px solid var(--color-crit) !important;
}

.rack-node-info h5 {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.rack-node-info p {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

.rack-node-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rack-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator-ok { background-color: var(--color-ok); box-shadow: 0 0 6px var(--color-ok); }
.indicator-crit { background-color: var(--color-crit); box-shadow: 0 0 6px var(--color-crit); animation: flashRed 1s infinite alternate; }

.cabinet-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Details Sidebar Panel */
.builder-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.details-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    gap: 15px;
}

.details-empty-state p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.details-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.details-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 15px 0;
}

.details-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.metric-row span:first-child {
    color: var(--color-text-muted);
}

.status-indicator {
    font-weight: 700;
}

.details-actions {
    margin-top: 20px;
}

.details-actions .btn {
    width: 100%;
}

.hidden { display: none !important; }

/* --- System Architecture & Flowchart --- */
.architecture-flowchart-container {
    padding: 30px;
    margin-bottom: 40px;
}

.chart-title {
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    margin-bottom: 20px;
    text-align: center;
}

.svg-flowchart-wrapper {
    width: 100%;
    overflow-x: auto;
}

.arch-svg {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
}

/* SVG nodes & paths styling */
.svg-node {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.svg-node:hover rect {
    stroke: #FFFFFF;
    stroke-width: 1.5px;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.flow-path-anim {
    stroke-dasharray: 8, 6;
    animation: flowLines 20s linear infinite;
}

@keyframes flowLines {
    to { stroke-dashoffset: -280; }
}

/* Tooltip below chart */
.arch-tooltip {
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    padding: 16px 24px;
    margin-top: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.arch-tooltip h5 {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.arch-tooltip p {
    font-size: 0.85rem;
    color: var(--color-text-main);
}

/* Spec list items */
.architecture-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.spec-item {
    padding: 20px;
}

.spec-item h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.spec-item p {
    font-size: 0.85rem;
}

/* --- Advantages Matrix Table --- */
.advantages-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

.advantages-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.advantages-table th, .advantages-table td {
    padding: 20px 24px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.advantages-table th {
    background: rgba(10, 15, 30, 0.6);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
}

.advantages-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.advantages-table .feature-name {
    font-weight: 600;
    color: #FFFFFF;
    width: 20%;
}

.advantages-table .aegis-col {
    background-color: rgba(59, 130, 246, 0.05);
    color: var(--color-accent);
}

.advantages-table .aegis-val {
    background-color: rgba(59, 130, 246, 0.02);
    color: var(--color-text-main);
    width: 40%;
}

/* --- Roadmap Timeline --- */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.08);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

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

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-bg-deep);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.timeline-item.active .timeline-dot {
    border-color: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
}

.timeline-item.horizon .timeline-dot {
    border-color: var(--color-ok);
    box-shadow: 0 0 8px var(--color-ok);
}

.timeline-date {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.timeline-item.horizon .timeline-date {
    color: var(--color-ok);
}

.timeline-content {
    padding: 24px;
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.timeline-content ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-content ul li {
    font-size: 0.9rem;
    position: relative;
    padding-left: 18px;
    color: var(--color-text-muted);
}

.timeline-content ul li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.timeline-item.horizon .timeline-content ul li::before {
    color: var(--color-ok);
}

.timeline-content ul li strong {
    color: #FFFFFF;
}

/* --- Contact & Booking --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: flex-start;
}

.deployment-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-card {
    padding: 20px 24px;
    display: flex;
    gap: 20px;
}

.option-icon {
    font-size: 2rem;
    line-height: 1;
}

.option-info h5 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.option-info p {
    font-size: 0.85rem;
}

/* Booking Form */
.contact-form-wrapper {
    padding: 40px;
}

.contact-form-wrapper h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.contact-form-wrapper p {
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #FFFFFF;
}

.form-group label .required {
    color: var(--color-crit);
}

.form-group input, .form-group select {
    background-color: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: 6px;
    padding: 12px 16px;
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.04);
}

.form-group select option {
    background-color: var(--color-bg-dark);
    color: #FFFFFF;
}

.form-submit-row {
    margin-top: 10px;
}

/* --- Footer --- */
.main-footer {
    border-top: var(--border-glass);
    background: #06090F;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-wrapper {
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.85rem;
    max-width: 320px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

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

.link-group h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.link-group a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.link-group a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 20px;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-dark);
}

/* --- Success Popup Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition-smooth);
}

.modal-card {
    max-width: 420px;
    width: 90%;
    padding: 36px 30px;
    text-align: center;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
    transform: scale(1);
    transition: var(--transition-smooth);
}

.modal-overlay.hidden .modal-card {
    transform: scale(0.9);
}

.modal-icon-success {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-ok-bg);
    border: 2px solid var(--color-ok);
    color: var(--color-ok);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.modal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.modal-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-footer-row {
    display: flex;
    justify-content: center;
}

.modal-footer-row .btn {
    padding: 10px 30px;
}

/* --- Mobile Menu and Responsive Queries --- */
@media (max-width: 1024px) {
    /* 3 column layouts shift to 2 or 1 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rack-builder-layout {
        grid-template-columns: 1fr;
    }
    
    .builder-sidebar, .builder-details {
        max-width: 100%;
    }
    
    .architecture-specs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    /* Navigation */
    #navbar {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: var(--color-bg-deep);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 25px;
        transform: translateY(-120%);
        transition: transform 0.4s ease-in-out;
        z-index: 99;
        border-top: var(--border-glass);
    }
    
    #navbar.open {
        transform: translateY(0);
    }
    
    .nav-cta-mobile {
        display: block !important;
        margin-top: 20px;
        width: 80%;
        text-align: center;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.open span:first-child {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    /* Pain Points */
    .slider-comparison-container {
        padding: 16px;
    }
    
    .slider-wrapper {
        height: 400px;
    }
    
    .side-before, .side-after {
        padding: 16px;
    }
    
    .alarm-grid-overflow {
        margin-top: 35px;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Simulator */
    .simulator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sim-controls {
        border-right: none;
        border-bottom: var(--border-glass);
        padding: 20px;
    }
    
    .sim-dashboard {
        padding: 20px;
    }
    
    .sim-channels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        justify-content: flex-start;
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
