/*
 * IO SaaS Product Presentation - Brand-New Standalone Style Sheet
 * Scoped to prevent style collisions with the rest of the site's codebase.
 * Supports pristine typography, glassmorphism, glowing telemetry states, and dark/light modes.
 */

:root {
    --site-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --site-mono: 'JetBrains Mono', monospace;

    /* Theme colors - Dark defaults */
    --site-bg: #050508;
    --site-bg-alt: #0a0a10;
    --site-surface: #0e0e16;
    --site-surface-hover: #141424;
    --site-text: #f3f4f6;
    --site-text-dim: #9ca3af;
    --site-text-faint: #4b5563;
    
    --site-border: rgba(255, 255, 255, 0.05);
    --site-border-strong: rgba(255, 255, 255, 0.12);
    
    /* Branding Core Accents */
    --site-a: #6366f1; /* Indigo (ioctl) */
    --site-b: #06b6d4; /* Cyan (iodba & firewall) */
    --site-c: #8b5cf6; /* Violet (ai console) */
    --site-d: #f59e0b; /* Amber (ipnet) */
    --site-e: #ef4444; /* Red (iozilla & block threats) */
    --site-f: #10b981; /* Green (synced / success) */
    
    --site-sheen: linear-gradient(135deg, #fff 0%, #93c5fd 50%, #6366f1 100%);
    --site-aurora-1: rgba(99, 102, 241, 0.15);
    --site-aurora-2: rgba(6, 182, 212, 0.15);
    --site-aurora-3: rgba(139, 92, 246, 0.15);

    /* Custom Scrollbar Tokens - Dark Mode */
    --scrollbar-track: #050508;
    --scrollbar-thumb: rgba(255, 255, 255, 0.15);
    --scrollbar-thumb-hover: rgba(99, 102, 241, 0.55);
    --scrollbar-thumb-active: rgba(99, 102, 241, 0.85);
}

/* Light Theme Variables overriding */
html[data-theme="light"] {
    --site-bg: #f8fafc;
    --site-bg-alt: #f1f5f9;
    --site-surface: #ffffff;
    --site-surface-hover: #e2e8f0;
    --site-text: #0f172a;
    --site-text-dim: #475569;
    --site-text-faint: #94a3b8;
    
    --site-border: rgba(0, 0, 0, 0.08);
    --site-border-strong: rgba(0, 0, 0, 0.16);
    
    --site-a: #4f46e5;
    --site-b: #0891b2;
    --site-c: #7c3aed;
    --site-d: #d97706;
    --site-e: #dc2626;
    --site-f: #059669;
    
    --site-sheen: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #4338ca 100%);
    --site-aurora-1: rgba(99, 102, 241, 0.06);
    --site-aurora-2: rgba(6, 182, 212, 0.06);
    --site-aurora-3: rgba(139, 92, 246, 0.06);

    /* Custom Scrollbar Tokens - Light Mode */
    --scrollbar-track: #f8fafc;
    --scrollbar-thumb: rgba(0, 0, 0, 0.18);
    --scrollbar-thumb-hover: rgba(79, 70, 229, 0.55);
    --scrollbar-thumb-active: rgba(79, 70, 229, 0.85);
}

/* 1. Global Page Settings & Custom Scrollbar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* Chrome, Edge, Safari Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 9999px;
    border: 2px solid var(--scrollbar-track);
    background-clip: padding-box;
    transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--scrollbar-thumb-active);
}

::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

body.welcome-page-new {
    font-family: var(--site-font);
    background-color: var(--site-bg);
    color: var(--site-text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.4s ease, color 0.4s ease;
    line-height: 1.5;
}

/* Scroll reveal utility classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* Common text gradient */
.text-gradient {
    background: var(--site-sheen);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Kicker */
.section-kicker {
    display: inline-block;
    font-family: var(--site-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--site-c);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: color-mix(in srgb, var(--site-c) 8%, transparent);
    border-radius: 99px;
}

/* Container */
.saas-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility classes for text colors */
.is-cyan { color: var(--site-b) !important; }
.is-dim { color: var(--site-text-dim) !important; }
.is-faint { color: var(--site-text-faint) !important; }
.is-ok { color: var(--site-f) !important; }
.is-err { color: var(--site-e) !important; }
.is-warn { color: var(--site-d) !important; }

/* 2. Standalone Presentation Header (Full Width Enterprise Navbar & Megamenu) */
.pres-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 4rem;
    z-index: 1000;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(8, 8, 14, 0.92);
    border: none;
    border-bottom: 1px solid var(--site-border);
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    transition: background-color 0.25s ease, border-color 0.25s ease;
    margin: 0;
}

html[data-theme="light"] .pres-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pres-header.scrolled {
    background: rgba(6, 6, 11, 0.98);
    border-bottom-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

html[data-theme="light"] .pres-header.scrolled {
    background: #ffffff;
    border-bottom-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.pres-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    gap: 1.5rem;
}

/* Header Terminal Backdrop Animation Styles */
.header-terminal-backdrop {
    display: none;
}

.pres-brand-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pres-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.pres-brand:hover {
    opacity: 0.9;
}

/* Spinner Logo */
.pres-logo-spin {
    position: relative;
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.72rem;
    color: #fff;
    background: var(--site-a);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.45);
    flex-shrink: 0;
}

.pres-logo-spin::before {
    content: '';
    position: absolute;
    width: 160%;
    height: 160%;
    background: conic-gradient(from 0deg, transparent 20%, var(--site-b) 60%, transparent 100%);
    animation: pres-logo-rotate 3.5s linear infinite;
}

@keyframes pres-logo-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pres-logo-spin span {
    position: relative;
    z-index: 1;
    font-family: var(--site-mono);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.pres-brand-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--site-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.pres-brand-badge {
    font-size: 0.58rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--site-text-dim);
    padding: 0.15rem 0.45rem;
    border-radius: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

html[data-theme="light"] .pres-brand-badge {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.06);
}

/* Live Cluster Status Indicator */
.pres-brand-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.7rem;
    font-family: var(--site-mono);
    font-weight: 600;
    color: var(--site-text-dim);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0.6rem;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pres-brand-status:hover {
    color: var(--site-text);
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.06);
}

html[data-theme="light"] .pres-brand-status {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

.pres-status-pulse {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--site-f);
}

.pres-status-pulse::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 1px solid var(--site-f);
    animation: pres-status-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes pres-status-ripple {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Main Navigation Bar (Clean Enterprise Header Tabs) */
.pres-nav {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
    flex-wrap: nowrap;
}

.nav-hover-pill {
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--site-a);
    border-radius: 0;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.pres-nav-item-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.pres-nav-link {
    height: 100%;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--site-text-dim);
    text-decoration: none;
    padding: 0 1.25rem;
    border-radius: 0;
    transition: color 0.15s ease, background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--site-font);
}

.pres-nav-link:hover,
.pres-nav-item-wrap.is-open .pres-nav-link {
    color: var(--site-text);
    background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .pres-nav-link:hover,
html[data-theme="light"] .pres-nav-item-wrap.is-open .pres-nav-link {
    background: rgba(0, 0, 0, 0.03);
}

.pres-nav-link .pres-nav-chevron {
    width: 13px;
    height: 13px;
    opacity: 0.6;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.pres-nav-item-wrap.is-open .pres-nav-link .pres-nav-chevron,
.pres-nav-item-wrap:hover .pres-nav-link .pres-nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--site-b);
}

/* Floating Bridge helper */
.pres-nav-item-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    display: none;
    z-index: 99;
}

.pres-nav-item-wrap:hover::after,
.pres-nav-item-wrap.is-open::after {
    display: block;
}

/* ==========================================================================
   FULL WIDTH MEGAMENU DROPDOWN STYLING (NO ROUNDED CORNERS)
   ========================================================================== */
.pres-megamenu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    background: rgba(7, 7, 12, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: none;
    border-top: 1px solid var(--site-border);
    border-bottom: 1px solid var(--site-border-strong);
    border-radius: 0 !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s;
    z-index: 999;
    overflow: hidden;
}

html[data-theme="light"] .pres-megamenu {
    background: rgba(255, 255, 255, 0.98);
    border-top-color: rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.pres-nav-item-wrap:hover .pres-megamenu,
.pres-nav-item-wrap.is-open .pres-megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Megamenu Grid Layout - Centered within Max-Width */
.megamenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 310px;
    gap: 2.5rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.25rem 2rem 2rem;
}

.megamenu-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.megamenu-col-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--site-text-dim);
    padding: 0 0.5rem 0.5rem;
    border-bottom: 1px solid var(--site-border);
    margin-bottom: 0.35rem;
    border-radius: 0;
}

.megamenu-col-head i {
    width: 14px;
    height: 14px;
}

.megamenu-col-head.col-core { color: var(--site-b); }
.megamenu-col-head.col-edge { color: var(--site-f); }
.megamenu-col-head.col-ai { color: var(--site-c); }

.megamenu-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.megamenu-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.15s ease;
    background: transparent;
    border: 1px solid transparent;
}

.megamenu-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .megamenu-item:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

.megamenu-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.megamenu-icon-box i {
    width: 16px;
    height: 16px;
}

/* Category icon accents */
.megamenu-item.theme-core .megamenu-icon-box {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
    color: var(--site-b);
}

.megamenu-item.theme-edge .megamenu-icon-box {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--site-f);
}

.megamenu-item.theme-ai .megamenu-icon-box {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
    color: var(--site-c);
}

.megamenu-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.megamenu-item-title-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.megamenu-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--site-text);
    line-height: 1.2;
}

.megamenu-tag {
    font-size: 0.58rem;
    font-family: var(--site-mono);
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.megamenu-tag.tag-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: var(--site-b);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.megamenu-tag.tag-green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--site-f);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.megamenu-tag.tag-purple {
    background: rgba(139, 92, 246, 0.12);
    color: var(--site-c);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.megamenu-item-desc {
    font-size: 0.72rem;
    color: var(--site-text-dim);
    line-height: 1.4;
}

/* Spotlight Showcase Card (Right Column) */
.megamenu-spotlight {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
    overflow: hidden;
}

html[data-theme="light"] .megamenu-spotlight {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.06), rgba(6, 182, 212, 0.04));
    border-color: rgba(99, 102, 241, 0.2);
}

.megamenu-spotlight-top {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.megamenu-spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--site-a);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 0;
    align-self: flex-start;
}

.megamenu-spotlight-badge i {
    width: 12px;
    height: 12px;
}

.megamenu-spotlight-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--site-text);
    line-height: 1.3;
}

.megamenu-spotlight-desc {
    font-size: 0.74rem;
    color: var(--site-text-dim);
    line-height: 1.5;
}

.megamenu-spotlight-cli {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 0.65rem 0.75rem;
    font-family: var(--site-mono);
    font-size: 0.7rem;
    color: #a5b4fc;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

html[data-theme="light"] .megamenu-spotlight-cli {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--site-a);
}

.megamenu-spotlight-cta {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: var(--site-a);
    padding: 0.65rem 1rem;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.megamenu-spotlight-cta:hover {
    background: #4f46e5;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.megamenu-spotlight-cta i {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.megamenu-spotlight-cta:hover i {
    transform: translateX(3px);
}

/* Full Width Megamenu Footer */
.megamenu-footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--site-border);
    border-radius: 0;
}

html[data-theme="light"] .megamenu-footer {
    background: rgba(0, 0, 0, 0.02);
}

.megamenu-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.95rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--site-text-dim);
}

.megamenu-footer-stats {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.megamenu-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--site-mono);
    font-size: 0.7rem;
}

.megamenu-stat-item i {
    width: 13px;
    height: 13px;
    color: var(--site-f);
}

.megamenu-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--site-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.megamenu-footer-link:hover {
    color: var(--site-b);
}

.megamenu-footer-link i {
    width: 13px;
    height: 13px;
}

/* ==========================================================================
   FULL WIDTH SOLUTIONS DROPDOWN (NO ROUNDED CORNERS)
   ========================================================================== */
.pres-dropdown-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    background: rgba(7, 7, 12, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: none;
    border-top: 1px solid var(--site-border);
    border-bottom: 1px solid var(--site-border-strong);
    border-radius: 0 !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s;
    z-index: 999;
    padding: 0;
}

html[data-theme="light"] .pres-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-top-color: rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.pres-nav-item-wrap:hover .pres-dropdown-menu,
.pres-nav-item-wrap.is-open .pres-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.solutions-menu-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.25rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Right Navigation Action Elements */
.pres-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Theme Toggle */
.pres-theme-toggle {
    background: transparent;
    border: 1px solid var(--site-border);
    color: var(--site-text-dim);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pres-theme-toggle:hover {
    color: var(--site-text);
    border-color: var(--site-border-strong);
    background: rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .pres-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Reusable buttons (Sharp Enterprise Look) */
.pres-btn {
    font-family: var(--site-font);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.pres-btn-outline {
    background: transparent;
    border-color: var(--site-border);
    color: var(--site-text);
}

.pres-btn-outline:hover {
    border-color: var(--site-border-strong);
    background: var(--site-surface-hover);
}

.pres-btn-primary {
    background: var(--site-a);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.pres-btn-primary:hover {
    background: #4f46e5;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
}

html[data-theme="light"] .pres-btn-primary {
    background: #0f172a;
    color: #ffffff !important;
    border: 1px solid #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .pres-btn-primary:hover {
    background: #334155;
    color: #ffffff !important;
    border-color: #334155;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.pres-menu-btn {
    display: none;
}

/* ==========================================================================
   MOBILE SIDEBAR DRAWER & ACCORDIONS (NO ROUNDED CORNERS)
   ========================================================================== */
.pres-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    background: var(--site-surface);
    border-left: 1px solid var(--site-border-strong);
    border-radius: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
    gap: 1.5rem;
    overflow-y: auto;
}

.pres-drawer.active {
    transform: translateX(0);
}

.pres-drawer-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
}

.pres-drawer-overlay.active {
    display: block;
}

.pres-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--site-border);
}

.pres-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.pres-drawer-close {
    background: transparent;
    border: 1px solid var(--site-border);
    color: var(--site-text-dim);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pres-drawer-close:hover {
    color: var(--site-text);
    border-color: var(--site-border-strong);
    background: rgba(255, 255, 255, 0.05);
}

.pres-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pres-drawer-accordion {
    border: 1px solid var(--site-border);
    border-radius: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .pres-drawer-accordion {
    background: rgba(0, 0, 0, 0.02);
}

.pres-drawer-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-family: var(--site-font);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--site-text);
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.pres-drawer-acc-btn i.acc-chevron {
    width: 14px;
    height: 14px;
    color: var(--site-text-dim);
    transition: transform 0.25s ease;
}

.pres-drawer-accordion.active .pres-drawer-acc-btn i.acc-chevron {
    transform: rotate(180deg);
}

.pres-drawer-acc-content {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem 0.75rem;
    border-top: 1px solid var(--site-border);
}

.pres-drawer-accordion.active .pres-drawer-acc-content {
    display: flex;
}

.drawer-service-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--site-text-dim);
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-service-link:hover {
    color: var(--site-text);
    background: rgba(255, 255, 255, 0.04);
}

.drawer-service-link i {
    width: 14px;
    height: 14px;
    color: var(--site-b);
}

.pres-drawer-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--site-text-dim);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0;
    transition: all 0.2s ease;
}

.pres-drawer-link:hover {
    color: var(--site-text);
    background: rgba(255, 255, 255, 0.04);
}

.pres-drawer-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--site-border);
}

/* 3. Hero Section */
.pres-hero {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

/* Aurora Backdrop glow blurs */
.site-aurora {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.site-aurora span {
    position: absolute;
    filter: blur(140px);
    border-radius: 50%;
    opacity: 0.6;
}

.site-aurora span:nth-child(1) {
    top: -10%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: var(--site-aurora-1);
}

.site-aurora span:nth-child(2) {
    top: 15%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: var(--site-aurora-2);
}

.site-aurora span:nth-child(3) {
    bottom: -10%;
    left: 30%;
    width: 350px;
    height: 350px;
    background: var(--site-aurora-3);
}

.pres-hero-canvas-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Hero Live Terminal Streams (SaaS Automation Core) */
.hero-terminal-stream-wrap {
    position: absolute;
    top: 6rem;
    bottom: 2rem;
    width: 320px;
    pointer-events: none;
    z-index: 0;
    font-family: var(--site-mono);
    font-size: 0.68rem;
    line-height: 1.6;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.hero-terminal-stream-wrap.stream-left {
    left: 2rem;
}

.hero-terminal-stream-wrap.stream-right {
    right: 2rem;
}

.hero-term-console {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0.14;
    animation: hero-log-scroll 40s linear infinite;
}

html[data-theme="light"] .hero-term-console {
    opacity: 0.06;
}

.hero-term-console.scroll-fast {
    animation-duration: 28s;
}

.hero-term-line {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-term-line .tag {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.hero-term-line .tag.ok {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--site-f);
}

.hero-term-line .tag.info {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--site-a);
}

.hero-term-line .tag.err {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: var(--site-e);
}

@keyframes hero-log-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@media (max-width: 1200px) {
    .hero-terminal-stream-wrap {
        display: none;
    }
}

.pres-hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.55;
}

.pres-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--site-surface);
    border: 1px solid var(--site-border-strong);
    padding: 0.35rem 1rem;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--site-text-dim);
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-badge i {
    width: 14px;
    height: 14px;
    color: var(--site-b);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--site-text-dim);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    border-top: 1px solid var(--site-border);
    padding-top: 2rem;
    width: 100%;
    max-width: 650px;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--site-text);
    font-family: var(--site-mono);
}

.stat-lbl {
    font-size: 0.78rem;
    color: var(--site-text-dim);
    font-weight: 500;
}

.stat-border {
    width: 1px;
    height: 2.5rem;
    background: var(--site-border);
}

/* 4. Common Presentation Sections */
.pres-section {
    position: relative;
    padding: 6rem 0;
    z-index: 1;
}

.pres-section-contrast {
    background: var(--site-bg-alt);
    border-top: 1px solid var(--site-border);
    border-bottom: 1px solid var(--site-border);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--site-text-dim);
    line-height: 1.55;
}

/* Contrast Problem/Solution Cards */
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contrast-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.contrast-card:hover {
    border-color: var(--site-border-strong);
}

.contrast-card.io-edge {
    border-color: color-mix(in srgb, var(--site-b) 30%, transparent);
    box-shadow: 0 4px 24px color-mix(in srgb, var(--site-b) 5%, transparent);
}

.contrast-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contrast-card-header i {
    width: 1.75rem;
    height: 1.75rem;
}

.contrast-card-header i.icon-danger { color: var(--site-e); }
.contrast-card-header i.icon-success { color: var(--site-f); }

.contrast-card-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

.contrast-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contrast-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contrast-list li i {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contrast-list li i.icon-danger { color: var(--site-e); }
.contrast-list li i.icon-success { color: var(--site-f); }

.contrast-list li span {
    font-size: 0.9rem;
    color: var(--site-text-dim);
    line-height: 1.5;
}

.contrast-list li span strong {
    color: var(--site-text);
}

/* 5. Tool Fleet Showcase (Tabs & Terminal) */
.fleet-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3rem;
    align-items: start;
}

.fleet-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fleet-tab-btn {
    background: transparent;
    border: 1px solid var(--site-border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: start;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    width: 100%;
}

.fleet-tab-btn:hover {
    border-color: var(--site-border-strong);
    background: var(--site-surface-hover);
    transform: translateX(4px);
}

.fleet-tab-btn.active {
    background: var(--site-surface) !important;
    border-color: var(--site-a) !important;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--site-a) 12%, transparent);
}

/* Colors for active tabs */
.fleet-tab-btn.active[data-tab="iodba"] { border-color: var(--site-b) !important; box-shadow: 0 4px 20px color-mix(in srgb, var(--site-b) 12%, transparent); }
.fleet-tab-btn.active[data-tab="ai-console"] { border-color: var(--site-c) !important; box-shadow: 0 4px 20px color-mix(in srgb, var(--site-c) 12%, transparent); }
.fleet-tab-btn.active[data-tab="ipnet"] { border-color: var(--site-d) !important; box-shadow: 0 4px 20px color-mix(in srgb, var(--site-d) 12%, transparent); }
.fleet-tab-btn.active[data-tab="iozilla"] { border-color: var(--site-e) !important; box-shadow: 0 4px 20px color-mix(in srgb, var(--site-e) 12%, transparent); }

.fleet-tab-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: var(--site-bg-alt);
    border: 1px solid var(--site-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}

.fleet-tab-icon i {
    width: 1.15rem;
    height: 1.15rem;
}

.fleet-tab-btn.active .fleet-tab-icon {
    background: color-mix(in srgb, var(--site-a) 10%, transparent);
    border-color: color-mix(in srgb, var(--site-a) 25%, transparent);
    color: var(--site-a);
}

.fleet-tab-btn.active[data-tab="iodba"] .fleet-tab-icon {
    background: color-mix(in srgb, var(--site-b) 10%, transparent);
    border-color: color-mix(in srgb, var(--site-b) 25%, transparent);
    color: var(--site-b);
}
.fleet-tab-btn.active[data-tab="ai-console"] .fleet-tab-icon {
    background: color-mix(in srgb, var(--site-c) 10%, transparent);
    border-color: color-mix(in srgb, var(--site-c) 25%, transparent);
    color: var(--site-c);
}
.fleet-tab-btn.active[data-tab="ipnet"] .fleet-tab-icon {
    background: color-mix(in srgb, var(--site-d) 10%, transparent);
    border-color: color-mix(in srgb, var(--site-d) 25%, transparent);
    color: var(--site-d);
}
.fleet-tab-btn.active[data-tab="iozilla"] .fleet-tab-icon {
    background: color-mix(in srgb, var(--site-e) 10%, transparent);
    border-color: color-mix(in srgb, var(--site-e) 25%, transparent);
    color: var(--site-e);
}

.fleet-tab-cmd {
    font-family: var(--site-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--site-text);
    margin-bottom: 0.2rem;
}

.fleet-tab-desc {
    font-size: 0.78rem;
    color: var(--site-text-dim);
    line-height: 1.4;
}

/* Console/Terminal Body */
.pres-term {
    border: 1px solid var(--site-border-strong);
    border-radius: 12px;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    min-height: 440px;
    overflow: hidden;
}

html[data-theme="light"] .pres-term {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.pres-term-bar {
    padding: 0.75rem 1.25rem;
    background: #09090e;
    border-bottom: 1px solid var(--site-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

html[data-theme="light"] .pres-term-bar {
    background: #f8fafc;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.pres-term-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pres-term-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pres-term-dots i:nth-child(1) { background: #ff5f56; }
.pres-term-dots i:nth-child(2) { background: #ffbd2e; }
.pres-term-dots i:nth-child(3) { background: #27c93f; }

.pres-term-title {
    font-family: var(--site-mono);
    font-size: 0.72rem;
    color: var(--site-text-dim);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.pres-term-modes {
    display: flex;
    gap: 0.25rem;
    background: rgba(255,255,255,0.03);
    padding: 2px;
    border-radius: 6px;
}

html[data-theme="light"] .pres-term-modes {
    background: rgba(0, 0, 0, 0.04);
}

.pres-term-mode-btn {
    background: transparent;
    border: none;
    color: var(--site-text-dim);
    font-family: var(--site-mono);
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
}

.pres-term-mode-btn.active {
    background: var(--site-border-strong);
    color: var(--site-text);
}

html[data-theme="light"] .pres-term-mode-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pres-term-state {
    font-family: var(--site-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--site-f);
    padding: 0.15rem 0.4rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 4px;
}

.pres-term-body-wrap {
    flex-grow: 1;
    position: relative;
    background: #020204;
    overflow: hidden;
    min-height: 340px;
}

html[data-theme="light"] .pres-term-body-wrap {
    background: #ffffff;
}

.pres-term-text {
    padding: 1.25rem;
    font-family: var(--site-mono);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--site-text);
    overflow-y: auto;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    white-space: pre-wrap;
}

html[data-theme="light"] .pres-term-text {
    color: #0f172a;
}

.pres-term-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #020204;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

html[data-theme="light"] .pres-term-screenshot {
    background: #f8fafc;
}

.pres-term-screenshot img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border: 1px solid var(--site-border-strong);
}

.pres-term-line {
    margin-bottom: 4px;
    animation: pres-fade-in 0.2s ease-out;
}

.pres-term-cursor {
    display: inline-block;
    width: 6px;
    height: 14px;
    background: var(--site-b);
    margin-left: 2px;
    animation: pres-blink 0.8s infinite;
}

@keyframes pres-blink {
    50% { opacity: 0; }
}

@keyframes pres-fade-in {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

.pres-term-status {
    border-top: 1px solid var(--site-border);
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #09090e;
}

html[data-theme="light"] .pres-term-status {
    background: #f8fafc;
    border-top-color: rgba(0, 0, 0, 0.06);
}

.pres-term-status-lbl {
    font-family: var(--site-mono);
    font-size: 0.7rem;
    color: var(--site-text-faint);
}

/* 6. Console Operator Dials */
.dials-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border-strong);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 3rem;
}

.dials-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--site-border);
    background: var(--site-bg-alt);
}

.dials-tab-btn {
    background: transparent;
    border: none;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--site-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--site-text-dim);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.dials-tab-btn:hover {
    color: var(--site-text);
}

.dials-tab-btn.active {
    color: var(--site-text);
    border-bottom-color: var(--site-c);
    background: var(--site-surface);
}

.dials-panel {
    display: none;
    padding: 2.5rem;
}

.dials-panel.active {
    display: block;
}

.dials-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--site-border);
    padding-bottom: 1.5rem;
}

.dials-panel-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dials-panel-lead {
    font-size: 0.88rem;
    color: var(--site-text-dim);
}

.dials-armed-badge {
    font-family: var(--site-mono);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--site-e);
    padding: 0.2rem 0.5rem;
    background: color-mix(in srgb, var(--site-e) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--site-e) 20%, transparent);
    border-radius: 4px;
}

.dials-armed-badge.ok {
    color: var(--site-f);
    background: color-mix(in srgb, var(--site-f) 8%, transparent);
    border-color: color-mix(in srgb, var(--site-f) 20%, transparent);
}

.dials-sliders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.dial-slider-card {
    background: var(--site-bg-alt);
    border: 1px solid var(--site-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dial-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dial-slider-lbl {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--site-text-dim);
}

.dial-slider-val-box {
    font-family: var(--site-mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--site-text);
}

/* Native Slider Input Styling */
.dial-input-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 99px;
    background: var(--site-border-strong);
    outline: none;
    cursor: pointer;
}

.dial-input-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--site-c);
    box-shadow: 0 0 10px var(--site-c);
    transition: transform 0.1s;
}

.dial-input-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.dials-panel[data-panel="firewall"] .dial-input-range::-webkit-slider-thumb {
    background: var(--site-b);
    box-shadow: 0 0 10px var(--site-b);
}

.dials-panel[data-panel="php"] .dial-input-range::-webkit-slider-thumb {
    background: var(--site-a);
    box-shadow: 0 0 10px var(--site-a);
}

.dial-slider-bounds {
    display: flex;
    justify-content: space-between;
    font-family: var(--site-mono);
    font-size: 0.65rem;
    color: var(--site-text-faint);
}

.dials-readout-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--site-bg-alt);
    border-top: 1px solid var(--site-border);
    padding: 1rem 1.5rem;
}

.dials-readout-item {
    font-size: 0.82rem;
    color: var(--site-text-dim);
}

.dials-readout-item b {
    color: var(--site-text);
    font-family: var(--site-mono);
    margin-left: 0.25rem;
}

/* 7. Firewall Live Canvas Section */
.fw-canvas-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border-strong);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 3rem;
}

.fw-canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #09090e;
    border-bottom: 1px solid var(--site-border);
}

.fw-canvas-title {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fw-canvas-title i {
    width: 16px;
    height: 16px;
    color: var(--site-e);
}

.fw-canvas-stats {
    font-family: var(--site-mono);
    font-size: 0.75rem;
    color: var(--site-e);
    font-weight: 600;
}

.fw-canvas-stage {
    position: relative;
    height: 340px;
    background: #010103;
}

.fw-canvas-stage canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.fw-legend {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    display: flex;
    gap: 1.25rem;
    z-index: 10;
}

.fw-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--site-text-dim);
}

.fw-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* 8. Interactive Relay Topology Bus Canvas */
.relay-layout {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 3rem;
    align-items: center;
}

.relay-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.relay-metric-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.relay-metric-num {
    font-family: var(--site-mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--site-text);
}

.relay-metric-lbl {
    font-size: 0.75rem;
    color: var(--site-text-dim);
}

.relay-canvas-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border-strong);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.relay-canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #09090e;
    border-bottom: 1px solid var(--site-border);
}

.relay-canvas-title {
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--site-mono);
    color: var(--site-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.relay-canvas-title i {
    width: 14px;
    height: 14px;
    color: var(--site-b);
}

.relay-live-tag {
    font-family: var(--site-mono);
    font-size: 0.65rem;
    color: var(--site-b);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.relay-canvas-wrapper {
    position: relative;
    height: 280px;
    background: #010103;
}

.relay-canvas-wrapper canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Topology Interactive nodes overlay */
.relay-node-overlay {
    position: absolute;
    padding: 4px 10px;
    border: 1px solid var(--site-border-strong);
    border-radius: 6px;
    background: rgba(10, 10, 15, 0.95);
    font-family: var(--site-mono);
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 5;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate(-50%, -50%);
}

.relay-node-overlay:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.relay-node-overlay.center-node {
    background: var(--site-surface);
    border-color: var(--site-b);
    color: var(--site-b);
}

.relay-node-overlay.node-ioctl { color: var(--site-a); }
.relay-node-overlay.node-hive { color: var(--site-d); }
.relay-node-overlay.node-agent { color: var(--site-c); }
.relay-node-overlay.node-stack { color: var(--site-e); }

.relay-node-overlay i {
    width: 10px;
    height: 10px;
    margin-right: 4px;
}

/* Activity logger at bottom */
.relay-logger {
    border-top: 1px solid var(--site-border);
    height: 110px;
    padding: 0.6rem 1.25rem;
    background: rgba(5, 5, 8, 0.95);
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}

.relay-logger-header {
    font-family: var(--site-mono);
    font-size: 0.62rem;
    color: var(--site-text-faint);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 4px;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.relay-logger-lines {
    flex-grow: 1;
    overflow-y: hidden;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    font-family: var(--site-mono);
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--site-text-dim);
    gap: 2px;
}

.relay-canvas-footer {
    border-top: 1px solid var(--site-border);
    padding: 0.4rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #09090e;
}

.relay-latency-text {
    font-family: var(--site-mono);
    font-size: 0.65rem;
    color: var(--site-text-faint);
}

/* 9. Product Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.capability-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 16px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.3s, transform 0.3s;
}

.capability-card:hover {
    border-color: var(--site-border-strong);
    transform: translateY(-4px);
}

.capability-icon-box {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: var(--site-bg-alt);
    border: 1px solid var(--site-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--site-a);
}

.capability-card:nth-child(2) .capability-icon-box { color: var(--site-b); }
.capability-card:nth-child(3) .capability-icon-box { color: var(--site-c); }
.capability-card:nth-child(4) .capability-icon-box { color: var(--site-d); }
.capability-card:nth-child(5) .capability-icon-box { color: var(--site-e); }
.capability-card:nth-child(6) .capability-icon-box { color: var(--site-f); }

.capability-icon-box i {
    width: 1.35rem;
    height: 1.35rem;
}

.capability-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.capability-card p {
    font-size: 0.88rem;
    color: var(--site-text-dim);
    line-height: 1.5;
}

/* 10. Clean Pricing Matrix */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--site-b);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--site-b) 8%, transparent);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--site-b);
    background: color-mix(in srgb, var(--site-b) 10%, transparent);
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.pricing-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-head p {
    font-size: 0.85rem;
    color: var(--site-text-dim);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--site-text-dim);
}

.price-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--site-mono);
}

.price-period {
    font-size: 0.85rem;
    color: var(--site-text-dim);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--site-text-dim);
}

.pricing-features li i {
    width: 14px;
    height: 14px;
    color: var(--site-f);
    flex-shrink: 0;
}

.pricing-card .pres-btn {
    width: 100%;
}

/* 11. Premium Flattened Footer */
.pres-footer {
    border-top: 1px solid var(--site-border);
    background: var(--site-bg-alt);
    padding: 5rem 0 3rem 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--site-text-dim);
    line-height: 1.5;
    max-width: 260px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--site-text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-item a {
    font-size: 0.85rem;
    color: var(--site-text-dim);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-link-item a:hover {
    color: var(--site-text);
}

.footer-bottom {
    border-top: 1px solid var(--site-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--site-text-faint);
}

/* 12. RESPONSIVE MEDIA BREAKPOINTS */
@media (max-width: 1080px) {
    .pres-nav {
        display: none !important;
    }
    .pres-brand-status {
        display: none !important;
    }
    .pres-actions .pres-btn-outline {
        display: none;
    }
    .pres-menu-btn {
        display: inline-flex !important;
    }
    .fleet-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .relay-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .dials-sliders-grid {
        grid-template-columns: 1fr 1fr;
    }
    .capabilities-grid, .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .pres-header {
        top: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        height: 3.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .stat-border {
        display: none;
    }
    .contrast-grid {
        grid-template-columns: 1fr;
    }
    .dials-sliders-grid {
        grid-template-columns: 1fr;
    }
    .capabilities-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
}
