/* ══════════════════════════════════════════════════════════
   Threenity AI — Marketing Site Stylesheet
   Design System: Dark theme matching the SOC dashboard
   ══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ───────────────────────────────────── */
:root {
    --bg-primary:    #0d1117;
    --bg-secondary:  #161b22;
    --bg-tertiary:   #1c2333;
    --border-color:  #21262d;
    --border-light:  #30363d;
    --text-primary:  #e6edf3;
    --text-secondary:#8b949e;
    --text-muted:    #6e7681;
    --brand:         #00BFFF;
    --brand-dim:     rgba(0,191,255,0.38);
    --accent:        #58a6ff;
    --danger:        #f85149;
    --warning:       #d29922;
    --success:       #3fb950;
    --info:          #58a6ff;
    --appfw-color:   #f0883e;
    --shadow:        0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg:     0 8px 32px rgba(0,0,0,0.5);
    --radius:        8px;
    --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono:     'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* ─── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: #1AD1FF; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ─── Utility ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--brand);
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.2rem; font-weight: 800; line-height: 1.2;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--text-secondary); max-width: 640px;
    line-height: 1.7;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-gradient {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Scroll Animations ──────────────────────────────── */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 64px;
    background: rgba(13,17,23,.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
    background: rgba(13,17,23,.96);
    box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; height: 100%;
}
.header-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0;
}
.header-brand .logo-text {
    font-size: 1.15rem; font-weight: 700; color: var(--text-primary);
    letter-spacing: .02em;
}
.header-brand .logo-ai {
    background: linear-gradient(135deg, #00BFFF, #58a6ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; font-weight: 800;
}
.threenity-logo {
    filter: drop-shadow(0 0 6px rgba(0,191,255,.3));
}

/* Nav */
.header-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-nav a {
    color: var(--text-secondary); font-size: .85rem; font-weight: 500;
    padding: 8px 14px; border-radius: 6px; transition: all .2s;
}
.header-nav a:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.header-lang {
    display: flex; gap: 3px; margin-left: 12px; padding-left: 12px;
    border-left: 1px solid var(--border-color);
}
.lang-btn {
    background: transparent; border: 1px solid var(--border-color);
    color: var(--text-muted); padding: 4px 10px; border-radius: 4px;
    font-size: .72rem; font-weight: 600; cursor: pointer; transition: all .15s;
    text-decoration: none; display: inline-block;
}
.lang-btn:hover, .lang-btn.active { background: var(--brand); color: #000; border-color: var(--brand); }
.btn-cta-header {
    background: var(--brand); color: #000 !important; padding: 8px 18px;
    border-radius: 8px; font-weight: 600; font-size: .85rem;
    margin-left: 12px; transition: all .2s; border: none; cursor: pointer;
    white-space: nowrap;
}
.btn-cta-header:hover { background: #1AD1FF; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,191,255,.3); }

/* Mobile menu */
.menu-toggle {
    display: none; background: none; border: none; color: var(--text-primary);
    font-size: 1.3rem; cursor: pointer; padding: 8px;
}
.mobile-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
    padding: 16px 24px; flex-direction: column; gap: 4px; z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: var(--text-secondary); padding: 12px 16px; border-radius: 8px;
    font-size: .95rem; transition: all .2s;
}
.mobile-nav a:hover { background: var(--bg-tertiary); color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    padding: 140px 0 100px;
    position: relative; overflow: hidden;
    min-height: 100vh; display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0,191,255,.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 30% 30%, rgba(88,166,255,.04) 0%, transparent 60%);
    pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,191,255,.08); border: 1px solid rgba(0,191,255,.2);
    border-radius: 20px; padding: 6px 16px; font-size: .78rem;
    color: var(--brand); font-weight: 600; margin-bottom: 24px;
}
.hero-badge i { font-size: .65rem; }
.hero h1 {
    font-size: 3.2rem; font-weight: 800; line-height: 1.1;
    margin-bottom: 20px; letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--brand); }
.hero-sub {
    font-size: 1.15rem; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
    background: var(--brand); color: #000; padding: 14px 32px;
    border-radius: 10px; font-weight: 700; font-size: .95rem;
    border: none; cursor: pointer; transition: all .25s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
    background: #1AD1FF; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,191,255,.35); color: #000;
}
.btn-secondary {
    background: transparent; color: var(--text-primary);
    padding: 14px 32px; border-radius: 10px; font-weight: 600;
    font-size: .95rem; border: 1px solid var(--border-light);
    cursor: pointer; transition: all .25s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
    border-color: var(--brand); color: var(--brand);
    background: rgba(0,191,255,.05);
}

/* ═══ Server Rack Cabinet ═══ */
.rack-container {
    display: flex; justify-content: center; align-items: center;
    position: relative; perspective: 900px;
}
.server-rack {
    width: 380px; max-width: 100%; position: relative;
    transform: rotateY(-3deg) rotateX(2deg);
    transform-style: preserve-3d;
}
.rack-cabinet {
    background: linear-gradient(180deg, #1a1d22 0%, #141720 100%);
    border: 2px solid #2a2e35;
    border-radius: 6px;
    padding: 10px 8px;
    display: flex; flex-direction: column; gap: 4px;
    position: relative;
    box-shadow:
        0 24px 70px rgba(0,0,0,.6),
        0 0 100px rgba(0,191,255,.04),
        inset 0 1px 0 rgba(255,255,255,.04);
}
.rack-unit {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 10px 14px;
    gap: 12px;
    border-radius: 3px;
    position: relative;
    border: 1px solid #2a2e35;
}
.rack-unit-generic {
    background: linear-gradient(180deg, #22252b 0%, #1c1f25 100%);
    opacity: .55;
}
.rack-unit-generic .ru-brand {
    font-family: var(--font-mono);
    font-size: .6rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: #5a5e66;
}
.rack-unit-generic .ru-sub {
    font-family: var(--font-mono);
    font-size: .42rem; letter-spacing: 1px; text-transform: uppercase;
    color: #3e4248;
    margin-top: 2px;
}
.rack-unit-generic .ru-led {
    width: 4px; height: 4px; border-radius: 50%;
    background: #3a6;
    box-shadow: 0 0 3px #3a6;
    opacity: .6;
}
.rack-unit-generic .ru-ports { display: flex; gap: 3px; }
.rack-unit-generic .ru-port {
    width: 8px; height: 6px; border-radius: 1px;
    background: #0e1015;
    border: 1px solid #2a2e35;
}
.rack-unit-generic .ru-vents { display: flex; gap: 2px; }
.rack-unit-generic .ru-vent {
    width: 2px; height: 16px; border-radius: 1px;
    background: #0e1015;
}
.rack-unit-blank {
    background: linear-gradient(180deg, #1e2127 0%, #1a1d22 100%);
    min-height: 18px;
    display: block;
    border: 1px solid #22262d;
    border-radius: 3px;
    opacity: .35;
}
.rack-unit-threenity {
    background: linear-gradient(180deg, #1a2332 0%, #141c28 100%);
    border-color: rgba(0,191,255,.3);
    padding: 14px 16px;
    box-shadow:
        0 0 20px rgba(0,191,255,.08),
        inset 0 0 30px rgba(0,191,255,.03);
}
.rack-unit-threenity::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(0,191,255,.06), transparent 40%, transparent 60%, rgba(0,191,255,.06));
    pointer-events: none;
}
.rt-io { display: flex; align-items: flex-start; gap: 8px; }
.rt-console {
    width: 20px; height: 18px;
    background: #070b10;
    border: 1.5px solid #2a2e35;
    border-radius: 2px;
    position: relative;
}
.rt-console::before {
    content: '';
    position: absolute;
    inset: 3px 4px;
    background: #141820;
    border-radius: 1px;
}
.rt-console-label {
    font-family: var(--font-mono);
    font-size: .32rem;
    color: rgba(0,191,255,.35);
    text-align: center;
    margin-top: 2px;
    letter-spacing: .5px;
}
.rt-usb-group { display: flex; flex-direction: column; gap: 3px; }
.rt-usb {
    width: 14px; height: 8px;
    background: #070b10;
    border: 1px solid #2a2e35;
    border-radius: 1px;
    position: relative;
}
.rt-usb::before {
    content: '';
    position: absolute;
    top: 50%; left: 3px; transform: translateY(-50%);
    width: 4px; height: 3px;
    background: #1a1e25;
    border-radius: .5px;
}
.rt-brand { text-align: center; padding: 0 8px; }
.rt-brand-logo {
    font-family: var(--font-main);
    font-size: 1.15rem; font-weight: 800;
    letter-spacing: 3px; text-transform: uppercase;
    background: linear-gradient(135deg, #00BFFF, #009FD4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.rt-brand-sub {
    font-family: var(--font-mono);
    font-size: .42rem; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(0,191,255,.5);
    margin-top: 4px;
}
.rt-status { display: flex; align-items: center; gap: 10px; }
.rt-leds { display: flex; gap: 4px; align-items: center; }
.rt-led { width: 5px; height: 5px; border-radius: 50%; }
.rt-led-g {
    background: #00BFFF;
    box-shadow: 0 0 6px #00BFFF;
    animation: ledBlink 2s ease-in-out infinite;
}
.rt-led-a {
    background: #f0883e;
    box-shadow: 0 0 4px #f0883e;
    animation: ledBlink 1.5s ease-in-out infinite .3s;
}
.rt-led-b {
    background: #58a6ff;
    box-shadow: 0 0 4px #58a6ff;
}
@keyframes ledBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}
.rt-power {
    width: 9px; height: 9px; border-radius: 50%;
    border: 1.5px solid rgba(0,191,255,.3);
    position: relative;
}
.rt-power::after {
    content: '';
    position: absolute;
    top: -1px; left: 50%; transform: translateX(-50%);
    width: 1.5px; height: 4px;
    background: rgba(0,191,255,.3);
    border-radius: 1px;
}
.rack-ears {
    position: absolute; top: 0; left: -16px; right: -16px; bottom: 0;
    pointer-events: none;
}
.rack-ear {
    position: absolute;
    width: 14px;
    top: 0; bottom: 0;
    background: linear-gradient(180deg, #2a2e35, #1e2127, #2a2e35);
    border: 1px solid #333;
    border-radius: 2px;
}
.rack-ear-left { left: 0; }
.rack-ear-right { right: 0; }
.rack-ear::before, .rack-ear::after {
    content: '';
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 6px; height: 6px; border-radius: 50%;
    background: #181b20; border: 1px solid #444;
}
.rack-ear::before { top: 10px; }
.rack-ear::after { bottom: 10px; }
.rack-ear-left::after { bottom: auto; top: 50%; transform: translate(-50%, -50%); }
.server-rack::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 5%; right: 5%; height: 40px;
    background: linear-gradient(180deg, rgba(26,29,34,.4), transparent);
    filter: blur(2px);
    transform: scaleY(-1);
    opacity: .3;
}

/* ═══ Real-Time Visibility Section ═══ */
.visibility-section { padding: 80px 0; background: var(--bg-secondary); }
.visibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.visibility-content .section-label { margin-bottom: 16px; }
.visibility-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.visibility-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.visibility-features { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.visibility-feature {
    display: flex; align-items: center; gap: 10px;
    font-size: .88rem; color: var(--text-secondary);
}
.visibility-feature i { color: var(--brand); font-size: .75rem; width: 20px; text-align: center; }
.visibility-map .attack-map { width: 100%; max-width: 560px; }

/* ═══ Attack Map ═══ */
.attack-map-container { display: flex; justify-content: center; align-items: center; position: relative; }
.attack-map {
    width: 480px; max-width: 100%; position: relative;
    background: linear-gradient(180deg, #0f1520 0%, #0d1117 100%);
    border: 1px solid #21262d;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 0 80px rgba(0,191,255,.06), 0 20px 60px rgba(0,0,0,.4);
    overflow: hidden;
}
.attack-map::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,191,255,.03), transparent);
    pointer-events: none;
}
.attack-map-bg {
    width: 100%; aspect-ratio: 500/260;
    background: url('../img/world-map.svg') center/contain no-repeat;
    opacity: .85;
}
.map-overlay { position: absolute; inset: 24px; pointer-events: none; }
.attack-dot {
    position: absolute; width: 8px; height: 8px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.attack-dot::before {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%;
    animation: attackPing 2s ease-out infinite;
}
.attack-dot.dot-red { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.attack-dot.dot-red::before { background: var(--danger); }
.attack-dot.dot-amber { background: var(--warning); box-shadow: 0 0 6px var(--warning); }
.attack-dot.dot-amber::before { background: var(--warning); }
.attack-dot.dot-blocked { background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.attack-dot.dot-blocked::before { background: var(--brand); }
@keyframes attackPing {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(4); opacity: 0; }
}
.map-shield {
    position: absolute; top: 19%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
}
.map-shield svg { filter: drop-shadow(0 0 16px rgba(0,191,255,.6)); }
.map-shield::before {
    content: ''; position: absolute;
    width: 56px; height: 56px; border-radius: 50%;
    border: 2px solid rgba(0,191,255,.2);
    animation: shieldPulse 2s ease-in-out infinite;
}
.map-shield::after {
    content: ''; position: absolute;
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(0,191,255,.25);
    animation: shieldPulse 2.5s ease-in-out infinite .5s;
}
@keyframes shieldPulse {
    0%, 100% { transform: scale(1); opacity: .6; }
    50% { transform: scale(1.3); opacity: 0; }
}
.attack-arc { position: absolute; inset: 24px; pointer-events: none; }
.attack-arc path { fill: none; stroke-dasharray: 8 4; stroke-linecap: round; }
.attack-arc .arc-red   { stroke: var(--danger); opacity: .7; }
.attack-arc .arc-amber { stroke: var(--warning); opacity: .6; }
.attack-arc .arc-teal  { stroke: var(--brand); opacity: .5; }
.arc-animate-1 { animation: arcDash 2.5s linear infinite; }
.arc-animate-2 { animation: arcDash 3s linear infinite .5s; }
.arc-animate-3 { animation: arcDash 2.8s linear infinite 1s; }
.arc-animate-4 { animation: arcDash 3.2s linear infinite 1.5s; }
.arc-animate-5 { animation: arcDash 2.6s linear infinite .3s; }
.arc-animate-6 { animation: arcDash 3.5s linear infinite 2s; }
@keyframes arcDash { to { stroke-dashoffset: -40; } }
.map-status {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid #21262d;
    font-size: .65rem; font-family: var(--font-mono);
    color: var(--text-muted);
}
.map-status-live { display: flex; align-items: center; gap: 6px; }
.map-status-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
    animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.map-counter { font-family: var(--font-mono); color: var(--danger); font-weight: 600; }
.map-counter-blocked { color: var(--brand); }
.map-events { margin-top: 8px; max-height: 60px; overflow: hidden; position: relative; }
.map-events::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 20px;
    background: linear-gradient(transparent, #0f1520);
}
.map-event-line {
    font-size: .58rem; font-family: var(--font-mono);
    color: var(--text-muted);
    padding: 2px 0;
    white-space: nowrap; overflow: hidden;
    animation: eventSlide .5s ease-out;
}
.map-event-line .ev-time { color: var(--text-muted); }
.map-event-line .ev-blocked { color: var(--brand); font-weight: 600; }
.map-event-line .ev-attack  { color: var(--danger); }
.map-event-line .ev-country { color: var(--accent); }
@keyframes eventSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════ */
.stats-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    text-align: center;
}
.stat-value {
    font-size: 2.4rem; font-weight: 800; font-family: var(--font-mono);
    color: var(--brand); margin-bottom: 4px;
}
.stat-label { font-size: .85rem; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════ */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 48px;
}
.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 28px;
    transition: all .3s;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent));
    opacity: 0; transition: opacity .3s;
}
.feature-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 20px;
}
.feature-icon.icon-teal   { background: rgba(0,191,255,.12); color: var(--brand); }
.feature-icon.icon-blue   { background: rgba(88,166,255,.12); color: var(--accent); }
.feature-icon.icon-orange { background: rgba(240,136,62,.12); color: var(--appfw-color); }
.feature-icon.icon-green  { background: rgba(63,185,80,.12);  color: var(--success); }
.feature-icon.icon-red    { background: rgba(248,81,73,.12);  color: var(--danger); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   DEPLOYMENT MODELS
   ═══════════════════════════════════════════════════════ */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.deploy-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 40px 36px;
    position: relative; overflow: hidden;
    transition: all .3s;
}
.deploy-card:hover { border-color: var(--brand); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.deploy-card::after {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 140px; height: 140px; border-radius: 50%;
    opacity: .06;
}
.deploy-card.on-premise::after { background: var(--brand); }
.deploy-card.saas::after { background: var(--accent); }
.deploy-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; padding: 5px 14px; border-radius: 20px;
    margin-bottom: 20px;
}
.deploy-badge.badge-onprem { background: rgba(0,191,255,.12); color: var(--brand); }
.deploy-badge.badge-saas   { background: rgba(88,166,255,.12); color: var(--accent); }
.deploy-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.deploy-card .deploy-desc { font-size: .92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.deploy-features { display: flex; flex-direction: column; gap: 10px; }
.deploy-feature { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-primary); }
.deploy-feature i { color: var(--brand); margin-top: 3px; flex-shrink: 0; font-size: .8rem; }
.deploy-card.saas .deploy-feature i { color: var(--accent); }
.deploy-diagram {
    margin-top: 28px; padding: 20px;
    background: var(--bg-primary); border-radius: 10px;
    border: 1px solid var(--border-color);
}
.diagram-flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.diagram-node {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: .72rem; font-weight: 600;
    font-family: var(--font-mono);
    text-align: center; white-space: nowrap;
}
.diagram-node.node-brand { border-color: rgba(0,191,255,.4); background: rgba(0,191,255,.08); color: var(--brand); }
.diagram-node.node-accent { border-color: rgba(88,166,255,.4); background: rgba(88,166,255,.08); color: var(--accent); }
.diagram-arrow { color: var(--text-muted); font-size: .7rem; }

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════ */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 48px; position: relative;
}
.steps-grid::before {
    content: ''; position: absolute;
    top: 44px; left: 16%; right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent), var(--appfw-color));
    opacity: .3;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--bg-secondary); border: 2px solid var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 800; font-family: var(--font-mono);
    color: var(--brand);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(0,191,255,.15);
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════════════ */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.benefit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex; gap: 20px; align-items: flex-start;
    transition: all .3s;
}
.benefit-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.benefit-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.benefit-card p  { font-size: .86rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   TARGET AUDIENCE
   ═══════════════════════════════════════════════════════ */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.audience-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: all .3s;
}
.audience-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.audience-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 20px;
    background: rgba(0,191,255,.08); color: var(--brand);
    border: 2px solid rgba(0,191,255,.2);
}
.audience-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.audience-card p  { font-size: .86rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   ARCHITECTURE
   ═══════════════════════════════════════════════════════ */
.arch-flow {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 48px; flex-wrap: nowrap;
    padding: 32px 20px; background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}
.arch-node {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 14px 10px; text-align: center;
    min-width: 80px; flex: 1; max-width: 120px;
    transition: all .3s;
}
.arch-node:hover { border-color: var(--brand); transform: translateY(-2px); }
.arch-node i { display: block; font-size: 1.2rem; margin-bottom: 6px; }
.arch-node span { display: block; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; line-height: 1.3; }
.arch-node.node-teal   { border-color: rgba(0,191,255,.3); }
.arch-node.node-teal i { color: var(--brand); }
.arch-node.node-blue   { border-color: rgba(88,166,255,.3); }
.arch-node.node-blue i { color: var(--accent); }
.arch-node.node-orange { border-color: rgba(240,136,62,.3); }
.arch-node.node-orange i { color: var(--appfw-color); }
.arch-node.node-green  { border-color: rgba(63,185,80,.3); }
.arch-node.node-green i { color: var(--success); }
.arch-node.node-external { border: 1.5px dashed rgba(139,148,158,.4); background: transparent; opacity: .7; position: relative; }
.arch-node.node-external i { color: #8b949e; }
.arch-node.node-external .node-label { display: block; font-size: .5rem; font-weight: 400; color: #8b949e; letter-spacing: 0; text-transform: none; margin-top: 4px; font-style: italic; }
.arch-arrow { font-size: .9rem; color: var(--text-muted); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 16px; }
.contact-info p  { font-size: .92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.contact-highlights { display: flex; flex-direction: column; gap: 14px; }
.contact-highlight { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.contact-highlight i { color: var(--brand); font-size: 1.1rem; width: 20px; text-align: center; }
.contact-form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 36px 32px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 11px 14px;
    color: var(--text-primary);
    font-size: .9rem;
    font-family: var(--font-sans);
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-dim);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e7681' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.checkbox-group {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px 16px; background: rgba(0,191,255,.05);
    border: 1px solid rgba(0,191,255,.15);
    border-radius: 10px; grid-column: 1 / -1;
}
.checkbox-group input[type="checkbox"] { accent-color: var(--brand); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.checkbox-group label { font-size: .88rem; color: var(--text-primary); cursor: pointer; }
.btn-submit {
    width: 100%; padding: 14px;
    background: var(--brand); color: #000;
    border: none; border-radius: 10px;
    font-size: .95rem; font-weight: 700;
    cursor: pointer; transition: all .25s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 8px; grid-column: 1 / -1;
}
.btn-submit:hover { background: #1AD1FF; box-shadow: 0 6px 20px rgba(0,191,255,.3); }
.form-status {
    display: none; text-align: center; padding: 16px;
    border-radius: 10px; margin-top: 12px; font-size: .9rem;
    grid-column: 1 / -1;
}
.form-status.success { display: block; background: rgba(0,191,255,.1); border: 1px solid rgba(0,191,255,.25); color: var(--brand); }
.form-status.error   { display: block; background: rgba(248,81,73,.1); border: 1px solid rgba(248,81,73,.25); color: var(--danger); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .logo-text { font-size: 1.15rem; font-weight: 700; }
.footer-desc { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: .88rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: .78rem; color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .rack-container { margin-top: 48px; }
    .visibility-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .deploy-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
    .header-nav { display: none; }
    .menu-toggle { display: block; margin-left: auto; }
    .btn-cta-header { display: none; }
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .section { padding: 64px 0; }
    .section-title { font-size: 1.7rem; }
    .features-grid, .audience-grid, .steps-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .arch-flow { flex-direction: column; }
    .arch-arrow { transform: rotate(90deg); }
    .form-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .attack-map { max-width: 340px; margin: 0 auto; }
    .server-rack { max-width: 320px; }
    .rt-console { width: 16px; height: 14px; }
    .rt-usb { width: 11px; height: 6px; }
    .rt-brand-logo { font-size: .9rem; }
    .rack-unit { padding: 8px 10px; gap: 8px; }
    .rack-unit-threenity { padding: 10px 12px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .attack-map { max-width: 280px; }
    .server-rack { max-width: 260px; }
    .rt-console { width: 14px; height: 12px; }
    .rt-usb { width: 10px; height: 5px; }
    .rt-io { gap: 5px; }
    .rt-brand-logo { font-size: .8rem; }
    .rt-brand-sub { font-size: .35rem; }
    .rack-cabinet { padding: 6px 6px; gap: 3px; }
    .rack-unit { padding: 6px 8px; gap: 6px; }
    .rack-unit-threenity { padding: 8px 10px; }
    .ru-brand { font-size: .5rem; }
    .visibility-content h2 { font-size: 1.5rem; }
    .hero h1 { font-size: 1.8rem; }
}

/* ── Logo image overrides ── */
.header-brand { gap: 0; }
.header-logo-img {
    height: 44px;
    width: auto;
    display: block;
}
.footer-brand { align-items: center; }
.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.cookie-notice__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10, 16, 30, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.cookie-notice__inner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #c9d2e3;
}

.cookie-notice__inner a {
  text-decoration: underline;
}

.cookie-notice__inner button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cookie-notice__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
