/* ============================================================
   RCS Portal — Dark Tech Enterprise Landing Page
   agavechido.com
   ============================================================ */

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

:root {
  --bg:         #050508;
  --bg-2:       #08080f;
  --bg-card:    #0d0d1a;
  --bg-card-2:  #111125;
  --border:     rgba(99, 102, 241, 0.12);
  --border-mid: rgba(99, 102, 241, 0.22);
  --indigo:     #6366f1;
  --violet:     #a78bfa;
  --cyan:       #06b6d4;
  --indigo-glow:rgba(99, 102, 241, 0.35);
  --cyan-glow:  rgba(6, 182, 212, 0.2);
  --text:       #e2e8f0;
  --text-muted: #64748b;
  --text-dim:   #94a3b8;
  --font:       'Inter', system-ui, sans-serif;
  --mono:       'JetBrains Mono', monospace;
  --radius:     12px;
  --radius-lg:  20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 3px; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  border: 1px solid var(--border-mid);
  background: rgba(99, 102, 241, 0.06);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(99,102,241,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(99,102,241,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary.btn-large { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--indigo);
  color: var(--text);
  background: rgba(99,102,241,0.06);
}
.btn-outline.btn-large { padding: 14px 28px; font-size: 15px; border-radius: 10px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(5, 5, 8, 0.92); }

.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(99,102,241,0.5));
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.logo-accent { color: var(--indigo); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 0;
  overflow: hidden;
  min-height: 100vh;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
  top: -200px; left: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%);
  top: -100px; right: -50px;
  animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.12), transparent 70%);
  top: 200px; left: 40%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(0.95); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.badge-row { margin-bottom: 28px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--border-mid);
  background: rgba(99,102,241,0.06);
  padding: 6px 16px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--indigo);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--indigo);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--indigo); }
  50% { opacity: 0.7; box-shadow: 0 0 16px var(--indigo); }
}

.hero-title {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 32px;
  border: 1px solid var(--border);
  background: rgba(13,13,26,0.6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-unit {
  font-size: 18px;
  color: var(--indigo);
  font-weight: 700;
}
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); margin: 0 4px; }

/* ── DASHBOARD MOCKUP ─────────────────────────────────── */
.hero-dashboard {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  padding-bottom: 0;
}

.dashboard-frame {
  border: 1px solid var(--border-mid);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow:
    0 -20px 80px rgba(99,102,241,0.08),
    0 0 0 1px var(--border),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,15,0.8);
}
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-dots span:nth-child(3) { background: #28c941; }

.dashboard-url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 4px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
}
.status-live {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px #22c55e;
}

.dashboard-body { display: flex; min-height: 380px; }

.dash-sidebar {
  width: 160px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(8,8,15,0.5);
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-nav-item:hover, .dash-nav-item.active {
  background: rgba(99,102,241,0.1);
  color: var(--indigo);
}
.dash-nav-item.active { box-shadow: inset 2px 0 0 var(--indigo); border-radius: 0 6px 6px 0; margin-left: -12px; padding-left: 22px; }

.dash-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-metric {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-metric-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.dash-metric-value { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.dash-metric-change {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
}
.dash-metric-change.up { color: #22c55e; }
.dash-metric-change.down { color: #ef4444; }

.dash-chart {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  flex: 1;
}
.chart-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 16px; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.chart-bar {
  flex: 1;
  height: var(--h);
  background: rgba(99,102,241,0.2);
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(99,102,241,0.3);
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chart-bar:hover, .chart-bar.active {
  background: linear-gradient(to top, rgba(99,102,241,0.6), rgba(6,182,212,0.3));
  border-color: var(--indigo);
  box-shadow: 0 0 12px rgba(99,102,241,0.3);
}
.chart-bar span {
  position: absolute;
  bottom: -18px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-feed {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
.feed-item:hover { background: rgba(255,255,255,0.03); }
.feed-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feed-dot.success { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.feed-dot.warning { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.feed-msg { flex: 1; }
.feed-msg strong { color: var(--text); font-weight: 600; }
.feed-time { color: var(--text-muted); font-size: 11px; font-family: var(--mono); flex-shrink: 0; }

/* ── LOGOS ───────────────────────────────────────────── */
.logos-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, var(--bg-2), var(--bg));
}
.logos-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.logos-track { overflow: hidden; position: relative; }
.logos-track::before, .logos-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.logos-track::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logos-track::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.logos-inner {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}
.logo-item {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s;
}
.logo-item:hover { color: var(--indigo); }

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── FEATURES ─────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--bg-2); }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(99,102,241,0.06), transparent 60%);
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(99,102,241,0.08);
}
.feature-card:hover::before {
  background: radial-gradient(ellipse at top left, rgba(99,102,241,0.1), transparent 60%);
}

.feature-card-large {
  grid-column: span 2;
  grid-row: span 1;
}

.feature-icon-wrap { margin-bottom: 18px; }
.feature-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.08);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--indigo);
  background: rgba(99,102,241,0.08);
  border: 1px solid var(--border-mid);
  padding: 3px 10px;
  border-radius: 100px;
}

/* AI Visual inside large card */
.feature-visual { margin-top: 24px; }
.feature-visual-ai {
  height: 120px;
  position: relative;
}
.ai-nodes {
  position: relative;
  width: 100%;
  height: 100%;
}
.ai-node {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-mid);
  background: var(--bg-card-2);
  color: var(--indigo);
  transform: translate(-50%, -50%);
}
.node-center {
  top: 50%; left: 50%;
  font-size: 12px;
  background: rgba(99,102,241,0.15);
  border-color: var(--indigo);
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
  z-index: 2;
}
.node-1 { top: 25%; left: 15%; }
.node-2 { top: 20%; left: 85%; }
.node-3 { top: 80%; left: 85%; }
.node-4 { top: 80%; left: 15%; }
.ai-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* CTA feature card */
.feature-card-cta {
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(6,182,212,0.03) 100%);
  border-color: var(--border-mid);
}
.feature-card-cta-inner { display: flex; flex-direction: column; gap: 12px; }
.feature-card-cta h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.feature-card-cta p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}
.code-preview {
  background: rgba(5,5,8,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  overflow: hidden;
}
.code-preview pre { margin: 0; }
.code-preview code {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
}
.c-kw { color: var(--violet); }
.c-fn { color: var(--cyan); }
.c-str { color: #86efac; }

/* ── INTELLIGENCE ─────────────────────────────────────── */
.intelligence {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.intelligence::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.04), transparent 60%);
  pointer-events: none;
}

.intel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intel-content .section-header { text-align: left; margin-bottom: 36px; }
.intel-content .section-title { font-size: clamp(28px, 3.5vw, 44px); }
.intel-content .section-sub { max-width: 100%; text-align: left; margin-left: 0; }
.intel-content .section-tag { display: inline-flex; }

.intel-features { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.intel-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.intel-feature-icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.08);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}
.intel-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.intel-feature p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* Intelligence Card */
.intel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px var(--border);
}
.intel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}
.intel-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #22c55e;
}
.intel-live span {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 1.5s ease-in-out infinite;
}

.intel-score-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.intel-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.score-ring {
  width: 80px; height: 80px;
  transform: rotate(-90deg);
}
.score-inner {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin-top: -76px;
  position: relative;
  z-index: 1;
  pointer-events: none;
  transform: rotate(0deg);
}
.score-num { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -0.04em; }
.score-max { font-size: 12px; color: var(--text-muted); }
.score-label { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 4px; }

.intel-metrics-col { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.intel-mini-metric { display: flex; flex-direction: column; gap: 4px; }
.imm-label { font-size: 11px; color: var(--text-muted); display: flex; justify-content: space-between; }
.imm-value { font-size: 13px; font-weight: 700; color: var(--text); font-family: var(--mono); }
.imm-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.imm-bar div {
  height: 100%;
  background: linear-gradient(to right, var(--indigo), var(--cyan));
  border-radius: 2px;
}

.intel-insights { display: flex; flex-direction: column; gap: 8px; }
.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.insight-icon {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-top: 1px;
}
.warning-icon { color: #f59e0b; }
.insight-item strong { color: var(--text); font-weight: 600; }

/* ── COMPLIANCE ───────────────────────────────────────── */
.compliance {
  padding: 100px 0;
  background: var(--bg-2);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s;
}
.compliance-card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 0 30px rgba(99,102,241,0.06);
  transform: translateY(-2px);
}
.compliance-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo);
  background: rgba(99,102,241,0.08);
  border: 1px solid var(--border-mid);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.compliance-card p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

.security-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(6,182,212,0.03));
}
.security-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.security-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

/* ── PRICING ──────────────────────────────────────────── */
.pricing { padding: 100px 0; background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}

.pricing-card-featured {
  border-color: var(--indigo);
  background: linear-gradient(145deg, rgba(99,102,241,0.07), rgba(13,13,26,1));
  box-shadow: 0 0 0 1px rgba(99,102,241,0.2), 0 20px 60px rgba(99,102,241,0.1);
  transform: scale(1.02);
}
.pricing-card-featured:hover { transform: scale(1.02) translateY(-2px); }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1;
}
.plan-price-custom {
  font-size: 36px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-currency { font-size: 24px; font-weight: 600; color: var(--text-muted); }
.plan-period { font-size: 16px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }

.plan-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-bottom: 20px; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 700;
  font-size: 12px;
}

.plan-btn { width: 100%; justify-content: center; }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonials { padding: 100px 0; background: var(--bg-2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}
.testimonial-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}
.testimonial-card-featured {
  border-color: var(--border-mid);
  background: linear-gradient(145deg, rgba(99,102,241,0.05), var(--bg-card));
  box-shadow: 0 0 40px rgba(99,102,241,0.06);
}
.quote-mark {
  font-size: 60px;
  line-height: 0.8;
  color: var(--indigo);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ── ENTERPRISE CTA ───────────────────────────────────── */
.enterprise-cta { padding: 80px 0; }

.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 24px;
  padding: 80px;
  overflow: hidden;
  text-align: center;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
  top: -100px; left: -100px;
}
.cta-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,0.12), transparent 70%);
  bottom: -80px; right: -80px;
}
.cta-content { position: relative; z-index: 2; }
.cta-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.cta-trust .dot { opacity: 0.4; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover {
  color: var(--text);
  border-color: var(--border-mid);
  background: rgba(99,102,241,0.08);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-domain {
  font-family: var(--mono);
  color: var(--indigo);
  opacity: 0.7;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-large { grid-column: span 2; }
  .intel-grid { grid-template-columns: 1fr; gap: 48px; }
  .intel-content .section-header { text-align: center; }
  .intel-content .section-sub { text-align: center; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .dash-sidebar { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { gap: 16px; }

  .hero { padding-top: 120px; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 16px;
  }
  .stat-divider { display: none; }
  .stat { padding: 12px; border-bottom: 1px solid var(--border); }

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

  .compliance-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }

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

  .cta-card { padding: 40px 24px; }
  .dashboard-frame { display: none; }
  .hero-dashboard { display: none; }

  .dash-metrics { grid-template-columns: 1fr 1fr; }
  .security-banner-inner { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { width: 100%; justify-content: center; }
}
