/* ═══════════════════════════════════════════════════════════════════
   SOCturnal Website — Main Stylesheet
   Dark SOC theme: navy / midnight-blue + cyan accent
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #050b18;
  --bg-dark:    #080f1f;
  --bg-card:    #0d1528;
  --bg-card-2:  #101b30;
  --bg-border:  #1a2744;
  --cyan:       #0dcaf0;
  --cyan-dim:   #0aa3c2;
  --cyan-glow:  rgba(13,202,240,.15);
  --purple:     #8b5cf6;
  --purple-dim: #6d3fc8;
  --green:      #22c55e;
  --orange:     #f97316;
  --red:        #ef4444;
  --blue:       #3b82f6;
  --text-hi:    #f0f4ff;
  --text-mid:   #94a3b8;
  --text-lo:    #4a5a7a;
  --font:       'Inter', system-ui, sans-serif;
  --mono:       'JetBrains Mono', monospace;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 32px rgba(0,0,0,.4);
  --shadow-lg:  0 8px 64px rgba(0,0,0,.6);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-hi);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

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

/* ── Reveal Animations ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.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; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 24px var(--cyan-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-hi);
  border: 1px solid var(--bg-border);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── Section headers ───────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: var(--cyan-glow);
  color: var(--cyan);
  border: 1px solid rgba(13,202,240,.3);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 640px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-sub { margin: 0 auto; }

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

/* ══════════════════════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  backdrop-filter: blur(16px);
  background: rgba(5,11,24,.7);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--bg-border); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-hi);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.brand-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  flex: 1;
}
.nav-links li a {
  display: block;
  padding: 6px 14px;
  color: var(--text-mid);
  font-size: .9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links li a:hover { color: var(--text-hi); background: var(--bg-card); }

.nav-portal {
  color: var(--text-hi) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .85rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--transition);
}
.nav-portal:hover { border-color: var(--cyan); color: var(--cyan) !important; }

.nav-cta {
  background: var(--cyan);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.nav-cta:hover { background: #fff; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,202,240,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,202,240,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(13,202,240,.12) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 500px; height: 500px;
  top: 20%; right: -80px;
  background: radial-gradient(circle, rgba(139,92,246,.1) 0%, transparent 70%);
}

.hero-content { grid-column: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 1rem; font-weight: 600; color: var(--cyan); }
.stat-label { display: block; font-size: .75rem; color: var(--text-lo); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--bg-border); }

/* Dashboard mock */
.hero-dashboard { grid-column: 2; }

.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(13,202,240,.08);
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--bg-border);
}
.mock-dot {
  width: 10px; height: 10px; border-radius: 50%;
  &.red { background: #ff5f57; }
  &.yellow { background: #febc2e; }
  &.green { background: #28c840; }
}
.mock-url {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-lo);
}
.mock-body {
  display: flex;
  height: 340px;
}
.mock-sidebar {
  width: 160px;
  padding: 12px 8px;
  border-right: 1px solid var(--bg-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: .75rem;
  color: var(--text-lo);
  cursor: default;
}
.mock-nav-item.active {
  background: rgba(13,202,240,.08);
  color: var(--cyan);
}
.mock-nav-item.active-hint { color: var(--text-mid); }
.mock-icon { font-size: .9rem; }

.mock-main {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}
.mock-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock-title { font-size: .9rem; font-weight: 600; }
.mock-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.mock-badge.danger { background: rgba(239,68,68,.15); color: #ef4444; }

.mock-table { display: flex; flex-direction: column; gap: 4px; }
.mock-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr .8fr;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 5px;
  font-size: .72rem;
  align-items: center;
}
.mock-row-head {
  color: var(--text-lo);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 4px;
}
.mock-row-alert { background: rgba(239,68,68,.06); border-left: 2px solid #ef4444; }
.mock-user { color: var(--text-mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-status { font-weight: 600; }
.mock-status.ok { color: var(--green); }
.mock-status.fail { color: var(--red); }
.mock-loc { color: var(--text-lo); }
.mock-time { color: var(--text-lo); text-align: right; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--text-lo);
  opacity: .6;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-lo);
  border-bottom: 2px solid var(--text-lo);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

/* ══════════════════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  padding: 28px 24px;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: .75rem;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-mid);
  white-space: nowrap;
}
.trust-icon { font-size: 1rem; }

/* ══════════════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════════════ */
.features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(13,202,240,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.feature-card-wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-card-wide:first-child { grid-row: 1; }
.feature-card-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  &.cyan    { background: rgba(13,202,240,.1); color: var(--cyan); }
  &.purple  { background: rgba(139,92,246,.1); color: var(--purple); }
  &.green   { background: rgba(34,197,94,.1);  color: var(--green); }
  &.blue    { background: rgba(59,130,246,.1); color: var(--blue); }
  &.orange  { background: rgba(249,115,22,.1); color: var(--orange); }
  &.red     { background: rgba(239,68,68,.1);  color: var(--red); }
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 12px;
}
.feature-card-inner + .feature-text h3 { margin-top: 0; }
.feature-card p {
  color: var(--text-mid);
  font-size: .9rem;
  line-height: 1.6;
}

/* Mini bar chart in feature card */
.feature-visual { padding-top: 4px; }
.mini-chart { }
.bar-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-bottom: 8px;
}
.bar {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  transition: height .5s ease;
}
.bar span { font-size: .55rem; color: var(--text-lo); margin-top: 4px; }
.bar-ok     { background: linear-gradient(to top, rgba(34,197,94,.6), rgba(34,197,94,.2)); }
.bar-warn   { background: linear-gradient(to top, rgba(249,115,22,.6), rgba(249,115,22,.2)); }
.bar-danger { background: linear-gradient(to top, rgba(239,68,68,.7), rgba(239,68,68,.2)); }
.chart-label { font-size: .7rem; color: var(--text-lo); }
.text-danger { color: var(--red); }

/* Audit feed in feature card */
.audit-feed { display: flex; flex-direction: column; gap: 8px; }
.audit-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-card-2);
  border-radius: 6px;
  font-size: .75rem;
}
.audit-action {
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  &.create { background: rgba(34,197,94,.15);  color: var(--green); }
  &.sync   { background: rgba(13,202,240,.15); color: var(--cyan); }
  &.update { background: rgba(249,115,22,.15); color: var(--orange); }
  &.auth   { background: rgba(139,92,246,.15); color: var(--purple); }
}
.audit-detail { flex: 1; color: var(--text-mid); font-family: var(--mono); }
.audit-time   { color: var(--text-lo); }

/* ══════════════════════════════════════════════════════════════════════
   SECURITY
   ══════════════════════════════════════════════════════════════════════ */
.security {
  padding: 100px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.security-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

/* Stack diagram */
.security-stack { position: sticky; top: 100px; }
.stack-layer {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: border-color var(--transition);
}
.stack-layer:hover { border-color: var(--cyan-dim); }
.layer-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  margin-bottom: 10px;
}
.layer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.layer-item {
  background: var(--bg-card-2);
  border: 1px solid var(--bg-border);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .72rem;
  color: var(--text-mid);
}
.stack-arrow {
  text-align: center;
  color: var(--text-lo);
  font-size: 1.1rem;
  padding: 6px 0;
}

/* Sec cards */
.security-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sec-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all var(--transition);
}
.sec-card:hover {
  border-color: rgba(13,202,240,.25);
  transform: translateY(-2px);
}
.sec-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  &.argon   { background: rgba(13,202,240,.1);  color: var(--cyan); font-family: var(--mono); font-size: .85rem; }
  &.xchacha { background: rgba(139,92,246,.1);  color: var(--purple); }
  &.totp    { background: rgba(249,115,22,.1);  color: var(--orange); }
  &.csrf    { background: rgba(34,197,94,.1);   color: var(--green); }
  &.rate    { background: rgba(239,68,68,.1);   color: var(--red); }
  &.sql     { background: rgba(59,130,246,.1);  color: var(--blue); }
}
.sec-card-body h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sec-card-body p {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.sec-card-body strong { color: var(--text-hi); }
.sec-card-body code {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--cyan);
  background: var(--bg-deep);
  padding: 1px 5px;
  border-radius: 3px;
}

.code-snippet {
  margin-top: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--bg-border);
  border-radius: 6px;
  padding: 10px 14px;
}
.code-snippet code {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--cyan);
  white-space: pre;
  background: none;
  padding: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   INTEGRATIONS
   ══════════════════════════════════════════════════════════════════════ */
.integrations { padding: 100px 0; }

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

.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.integration-card:hover {
  border-color: rgba(13,202,240,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

.int-logo {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.ms-logo   { background: #f3f3f3; }
.pc-logo   { background: var(--cyan); color: #000; font-weight: 900; font-size: 1rem; }
.slack-logo { background: #fff; }
.tg-logo   { background: #2aabee; color: #fff; font-size: 1.5rem; }
.smtp-logo { background: rgba(13,202,240,.1); color: var(--cyan); }
.entra-logo { background: rgba(13,202,240,.1); font-size: 1.4rem; }

.integration-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.integration-card p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}
.int-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.int-features li {
  font-size: .78rem;
  color: var(--text-lo);
  display: flex;
  align-items: center;
  gap: 6px;
}
.int-features li::before {
  content: '✓';
  color: var(--cyan);
  font-size: .75rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   MSP SECTION
   ══════════════════════════════════════════════════════════════════════ */
.msp-section {
  padding: 100px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.msp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.msp-text .section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 20px; }
.msp-text p { color: var(--text-mid); font-size: .95rem; line-height: 1.7; margin-bottom: 28px; }

.msp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.msp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-mid);
}
.check {
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Hierarchy diagram */
.hierarchy-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hier-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--bg-border);
}
.hier-node.system {
  background: rgba(13,202,240,.1);
  border-color: rgba(13,202,240,.4);
  color: var(--cyan);
}
.hier-node.msp {
  background: rgba(139,92,246,.08);
  border-color: rgba(139,92,246,.3);
  color: #c4b5fd;
  font-size: .8rem;
}
.hier-node.customer {
  background: var(--bg-card);
  color: var(--text-mid);
  font-size: .78rem;
}
.hier-icon { font-size: 1rem; }
.hier-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

.hier-connectors, .hier-connectors-2 {
  display: flex;
  gap: 80px;
  justify-content: center;
  padding: 8px 0;
  height: 32px;
}
.hier-line {
  width: 1px;
  height: 100%;
  background: var(--bg-border);
}
.hier-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.hier-connectors-2 { gap: 50px; }

/* ══════════════════════════════════════════════════════════════════════
   GET STARTED
   ══════════════════════════════════════════════════════════════════════ */
.get-started { padding: 100px 0; }

.get-started-inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 24px;
  padding: 80px;
  text-align: center;
  overflow: hidden;
}
.gs-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(13,202,240,.07) 0%, transparent 70%);
  pointer-events: none;
}
.get-started-inner .section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.get-started-inner p { color: var(--text-mid); font-size: 1rem; max-width: 560px; margin: 0 auto 48px; }

.install-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.install-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-2);
  border: 1px solid var(--bg-border);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--cyan);
  color: #000;
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text { font-size: .85rem; color: var(--text-mid); white-space: nowrap; }
.step-arrow { color: var(--text-lo); font-size: 1.2rem; }

.gs-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--bg-border);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-tagline {
  color: var(--text-lo);
  font-size: .82rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-lo);
  margin-bottom: 4px;
}
.footer-col a { font-size: .85rem; color: var(--text-mid); }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--bg-border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--text-lo); }
.footer-stack { font-family: var(--mono); font-size: .72rem; }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 24px 60px;
  }
  .hero-dashboard { grid-column: 1; }
  .hero-content { grid-column: 1; }
  .hero-scroll-hint { display: none; }

  .security-layout { grid-template-columns: 1fr; }
  .security-stack { position: static; }

  .msp-inner { grid-template-columns: 1fr; }
  .hierarchy-diagram { display: none; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links, .nav-portal, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { justify-content: space-between; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }

  .integrations-grid { grid-template-columns: 1fr 1fr; }

  .security-details { grid-template-columns: 1fr; }

  .get-started-inner { padding: 48px 24px; }
  .install-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .integrations-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .trust-logos { gap: 16px; }
}
