/*
Theme Name: RedNodez
*/

:root {
  --rn-bg: #ffffff;
  --rn-surface: #f8fafc;
  --rn-surface-2: #f1f5f9;
  --rn-border: #e2e8f0;
  --rn-ink: #0f172a;
  --rn-muted: #475569;
  --rn-subtle: #64748b;
  --rn-obsidian: #0b0f19;
  --rn-obsidian-card: #131926;
  --rn-obsidian-border: #232c40;
  --rn-accent: #991b1b;
  --rn-accent-dark: #7f1d1d;
  --rn-emerald: #059669;
  --rn-amber: #d97706;
  --rn-sky: #0284c7;
  --rn-violet: #7c3aed;
  --rn-font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rn-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rn-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rn-font-body);
  background: var(--rn-bg);
  color: var(--rn-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--rn-font-display);
  letter-spacing: -0.025em;
  color: var(--rn-ink);
  margin: 0;
}
a { color: var(--rn-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.rn-mono { font-family: var(--rn-font-mono); font-variant-numeric: tabular-nums; }
.rn-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.rn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rn-border);
}
.rn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.rn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rn-font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--rn-ink);
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.rn-brand:hover { text-decoration: none; }
.rn-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 55%, #450a0a 100%);
  border: 1px solid rgba(185, 28, 28, 0.55);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.rn-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.rn-nav a {
  color: var(--rn-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.rn-nav a:hover { color: var(--rn-ink); text-decoration: underline; text-underline-offset: 6px; }

.rn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--rn-font-display);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.rn-btn:hover { text-decoration: none; }
.rn-btn-primary { background: var(--rn-accent); color: #ffffff; }
.rn-btn-primary:hover { background: var(--rn-accent-dark); color: #ffffff; }
.rn-btn-dark { background: var(--rn-obsidian); color: #ffffff; }
.rn-btn-dark:hover { background: #1e293b; color: #ffffff; }
.rn-btn-outline { background: #ffffff; color: var(--rn-ink); border-color: #cbd5e1; }
.rn-btn-outline:hover { background: var(--rn-surface); border-color: #94a3b8; }
.rn-btn-ghost { background: transparent; color: var(--rn-muted); border-color: var(--rn-border); }
.rn-btn-ghost:hover { color: var(--rn-ink); background: var(--rn-surface); }

.rn-soft-opening-bar {
  background: linear-gradient(90deg, #450a0a 0%, #991b1b 50%, #450a0a 100%);
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(248, 113, 113, 0.35);
  font-size: 13.5px;
}
.rn-soft-opening-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rn-soft-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--rn-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #fde68a;
  text-transform: uppercase;
}

.rn-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 68px 0 54px;
}
.rn-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 44px;
  align-items: stretch;
}
.rn-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rn-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--rn-accent);
  margin-bottom: 12px;
}
.rn-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 18px;
}
.rn-hero-lead {
  font-size: 16.5px;
  color: var(--rn-muted);
  margin: 0 0 26px;
  max-width: 58ch;
  line-height: 1.65;
}
.rn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.rn-hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--rn-subtle);
}

.rn-arch-panel {
  background: var(--rn-obsidian);
  color: #f8fafc;
  border-radius: 16px;
  padding: 26px;
  border: 1px solid var(--rn-obsidian-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.rn-arch-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--rn-obsidian-border);
  padding-bottom: 12px;
}
.rn-arch-head h3 { color: #ffffff; font-size: 15.5px; font-weight: 700; }
.rn-arch-meta { font-size: 11.5px; color: #fca5a5; white-space: nowrap; flex-shrink: 0; }
.rn-flow-diagram { display: grid; grid-template-columns: 1fr; gap: 10px; }
.rn-flow-node {
  background: var(--rn-obsidian-card);
  border: 1px solid var(--rn-obsidian-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rn-flow-node strong { display: block; font-size: 13px; color: #ffffff; font-family: var(--rn-font-display); }
.rn-flow-node span { display: block; font-size: 12px; color: #94a3b8; }
.rn-flow-spec { font-size: 11.5px; color: #6ee7b7; white-space: nowrap; font-weight: 600; }
.rn-metric-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rn-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rn-obsidian-border);
  border-radius: 10px;
  padding: 12px 14px;
}
.rn-metric-box strong { display: block; font-size: 19px; color: #ffffff; font-family: var(--rn-font-mono); }
.rn-metric-box span { font-size: 12px; color: #94a3b8; }

.rn-proof-band {
  border-top: 1px solid var(--rn-border);
  border-bottom: 1px solid var(--rn-border);
  background: #ffffff;
  padding: 24px 0;
}
.rn-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.rn-proof-item strong {
  display: block;
  font-family: var(--rn-font-mono);
  font-size: 21px;
  color: var(--rn-ink);
  line-height: 1.2;
}
.rn-proof-item span { font-size: 13px; color: var(--rn-muted); }

.rn-section { padding: 72px 0; }
.rn-section-alt {
  background: var(--rn-surface);
  border-top: 1px solid var(--rn-border);
  border-bottom: 1px solid var(--rn-border);
}
.rn-section-head { max-width: 760px; margin-bottom: 36px; }
.rn-section-head h2 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 10px;
}
.rn-section-head p { margin: 0; color: var(--rn-muted); font-size: 15.5px; }

/* Infographic Banner inside Pure Results */
.rn-infographic-banner {
  background: var(--rn-obsidian);
  border: 1px solid var(--rn-obsidian-border);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 28px;
  color: #f8fafc;
}
.rn-infographic-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}
.rn-infographic-banner h3 { color: #ffffff; font-size: 20px; margin-bottom: 8px; }
.rn-infographic-banner p { color: #cbd5e1; font-size: 14px; margin: 0; line-height: 1.6; }

/* Pure Results Bento with Vector Infographics */
.rn-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.rn-bento-wide { grid-column: span 2; }
.rn-cap-card {
  background: #ffffff;
  border: 1px solid var(--rn-border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.rn-cap-graphic {
  width: 100%;
  background: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.rn-cap-graphic svg { width: 100%; height: auto; display: block; max-height: 112px; }
.rn-cap-num {
  font-family: var(--rn-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--rn-accent);
  margin-bottom: 6px;
}
.rn-cap-card h3 { font-size: 18.5px; line-height: 1.25; margin-bottom: 8px; }
.rn-cap-card p { margin: 0; font-size: 14.5px; color: var(--rn-muted); line-height: 1.6; }
.rn-cap-detail {
  padding-top: 12px;
  border-top: 1px solid var(--rn-surface-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rn-emerald);
}

/* Additional Modules Showcase */
.rn-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rn-module-card {
  background: #ffffff;
  border: 1px solid var(--rn-border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.rn-module-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.rn-module-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rn-module-price {
  font-family: var(--rn-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--rn-accent);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}
.rn-module-price-inc {
  color: var(--rn-emerald);
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.rn-module-card h3 { font-size: 17px; margin: 8px 0 6px; }
.rn-module-card p { margin: 0; font-size: 13.5px; color: var(--rn-muted); line-height: 1.6; }
.rn-module-foot {
  font-family: var(--rn-font-mono);
  font-size: 11.5px;
  color: var(--rn-subtle);
  padding-top: 10px;
  border-top: 1px solid var(--rn-surface-2);
}

/* Compatible Hardware Devices Grid */
.rn-devices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rn-device-card {
  background: #ffffff;
  border: 1px solid var(--rn-border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rn-device-visual {
  background: #0b0f19;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
}
.rn-device-visual svg { width: 100%; height: 68px; display: block; }
.rn-device-card h3 { font-size: 16.5px; }
.rn-device-card p { margin: 0; font-size: 13.5px; color: var(--rn-muted); line-height: 1.55; }
.rn-device-models {
  font-family: var(--rn-font-mono);
  font-size: 11.5px;
  color: var(--rn-ink);
  background: var(--rn-surface);
  border: 1px solid var(--rn-border);
  border-radius: 6px;
  padding: 7px 10px;
}

/* Honest Pros & Cons */
.rn-proscons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.rn-pc-panel {
  background: #ffffff;
  border: 1px solid var(--rn-border);
  border-radius: 14px;
  padding: 28px;
}
.rn-pc-head {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rn-border);
}
.rn-pc-label { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.rn-pc-label-pro { color: var(--rn-emerald); }
.rn-pc-label-con { color: var(--rn-amber); }
.rn-pc-head h3 { font-size: 20px; }
.rn-pc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rn-pc-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.rn-pc-mark { font-family: var(--rn-font-mono); font-weight: 700; font-size: 15px; line-height: 1.45; }
.rn-pc-mark-pro { color: var(--rn-emerald); }
.rn-pc-mark-con { color: var(--rn-amber); }
.rn-pc-list strong { display: block; font-size: 14.5px; color: var(--rn-ink); margin-bottom: 2px; }
.rn-pc-list span { display: block; font-size: 13.5px; color: var(--rn-muted); line-height: 1.55; }

/* 6-Tier Pricing Grid */
.rn-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rn-price-card {
  background: #ffffff;
  border: 1px solid var(--rn-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.rn-price-featured { border: 2px solid var(--rn-accent); background: #fffdfd; }
.rn-price-meta { font-size: 12.5px; font-weight: 600; color: var(--rn-subtle); }
.rn-price-featured .rn-price-meta { color: var(--rn-accent); }
.rn-price-card h3 { font-size: 20px; margin: 6px 0 8px; }
.rn-price-figure {
  font-family: var(--rn-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 700;
  color: var(--rn-ink);
  line-height: 1.05;
}
.rn-price-figure span { font-size: 14px; font-weight: 500; color: var(--rn-muted); font-family: var(--rn-font-body); }
.rn-price-sub { font-size: 13.5px; color: var(--rn-muted); margin: 8px 0 0; }

/* Operator Portal Showcase */
.rn-portal-showcase {
  background: var(--rn-obsidian);
  border-radius: 16px;
  border: 1px solid var(--rn-obsidian-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
}
.rn-portal-side {
  background: #080b13;
  border-right: 1px solid var(--rn-obsidian-border);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.rn-portal-side-brand { font-family: var(--rn-font-display); font-weight: 800; font-size: 15px; color: #ffffff; }
.rn-portal-side-sub { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.rn-portal-menu { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
.rn-portal-menu li { padding: 9px 12px; border-radius: 8px; font-size: 13px; color: #94a3b8; }
.rn-portal-menu li.active { background: rgba(153, 27, 27, 0.28); color: #ffffff; font-weight: 600; }
.rn-portal-main { padding: 28px; color: #e2e8f0; display: flex; flex-direction: column; gap: 18px; }
.rn-portal-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rn-portal-kpi { background: var(--rn-obsidian-card); border: 1px solid var(--rn-obsidian-border); border-radius: 10px; padding: 16px; }
.rn-portal-kpi span { display: block; font-size: 12px; color: #94a3b8; }
.rn-portal-kpi strong { display: block; font-family: var(--rn-font-mono); font-size: 21px; color: #ffffff; margin-top: 6px; }
.rn-portal-caption { font-size: 13px; color: #94a3b8; border-top: 1px solid var(--rn-obsidian-border); padding-top: 14px; }

/* Soft Opening Card */
.rn-soft-card {
  background: linear-gradient(135deg, #0b0f19 0%, #1e1b2e 55%, #3b0d11 100%);
  border: 2px solid #991b1b;
  border-radius: 16px;
  padding: 32px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: center;
}
.rn-soft-card h2 { color: #ffffff; font-size: clamp(24px, 2.8vw, 33px); margin: 10px 0 12px; }
.rn-soft-card p { color: #cbd5e1; margin: 0 0 18px; font-size: 15px; line-height: 1.65; }
.rn-soft-date-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}
.rn-soft-date-lbl { font-family: var(--rn-font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #fca5a5; }
.rn-soft-date-val { font-family: var(--rn-font-display); font-size: 28px; font-weight: 800; color: #ffffff; margin: 6px 0 4px; }
.rn-soft-date-sub { font-size: 12.5px; color: #6ee7b7; font-weight: 600; margin-bottom: 14px; }

/* Dashboard Peek Dedicated Page Styles */
.rn-peek-shell {
  background: #0b0f19;
  color: #f1f5f9;
  border-radius: 16px;
  border: 1px solid #232c40;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.rn-peek-topbar {
  background: #111726;
  border-bottom: 1px solid #232c40;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rn-peek-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
  background: #0d121f;
  border-bottom: 1px solid #232c40;
}
.rn-peek-tab {
  background: #131926;
  color: #94a3b8;
  border: 1px solid #263046;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.rn-peek-tab.active {
  background: #991b1b;
  color: #ffffff;
  border-color: #ef4444;
}
.rn-peek-body { padding: 24px; }
.rn-peek-panel { display: none; }
.rn-peek-panel.active { display: block; }
.rn-peek-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.rn-peek-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rn-peek-card {
  background: #131926;
  border: 1px solid #232c40;
  border-radius: 10px;
  padding: 16px;
}
.rn-peek-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 12px; }
.rn-peek-table th { text-align: left; padding: 9px 10px; border-bottom: 1px solid #263046; color: #fca5a5; font-family: var(--rn-font-mono); font-size: 11px; text-transform: uppercase; }
.rn-peek-table td { padding: 9px 10px; border-bottom: 1px solid #1c2436; color: #e2e8f0; }

.rn-page-main { padding: 48px 0 72px; min-height: 62vh; }
.rn-page-title { font-size: 30px; margin: 0 0 18px; }
.rn-app-shell { min-height: 100vh; background: var(--rn-surface); padding: 28px 0 56px; }

.rn-footer {
  background: var(--rn-obsidian);
  color: #94a3b8;
  padding: 44px 0;
  font-size: 13.5px;
}
.rn-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.rn-footer-brand { font-family: var(--rn-font-display); font-weight: 700; color: #ffffff; font-size: 16px; }
.rn-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.rn-footer a { color: #e2e8f0; }

.rn-privacy-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 15, 25, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rn-privacy-modal-backdrop.open { display: flex; }
.rn-privacy-modal-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  color: var(--rn-ink);
  border: 1px solid var(--rn-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}
.rn-privacy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rn-border);
}
.rn-privacy-modal-head h3 { font-size: 20px; color: var(--rn-ink); }
.rn-privacy-modal-body { font-size: 14px; color: var(--rn-muted); line-height: 1.65; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 960px) {
  .rn-hero-grid, .rn-bento, .rn-modules-grid, .rn-devices-grid, .rn-proscons-grid, .rn-pricing-grid, .rn-proof-grid, .rn-portal-showcase, .rn-portal-kpis, .rn-soft-card, .rn-infographic-grid, .rn-peek-grid-4, .rn-peek-grid-2 {
    grid-template-columns: 1fr;
  }
  .rn-bento-wide { grid-column: span 1; }
  .rn-nav { display: none; }
}
