/* ==========================================================================
   RAMREAPER UNIFIED SITE STYLESHEET (site.css)
   Canonical typography, colors, layout, cards, navbar, buttons, and animations
   Shared across: The Crew (index.html), Features & Pricing, Case Studies, Blog
   ========================================================================== */

:root {
  --bg: #030508;
  --bg-dark: #030508;
  --bg-card: rgba(8, 11, 18, 0.55);
  --card-border: rgba(255, 255, 255, 0.08);
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(0, 240, 255, 0.35);

  /* Neon Brand Palettes */
  --cyan: #00F0FF;
  --cyan-dim: rgba(0, 240, 255, 0.12);
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --emerald: #10B981;
  --emerald-dim: rgba(16, 185, 129, 0.12);
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --crimson: #EF4444;
  --crimson-dim: rgba(239, 68, 68, 0.12);
  --violet: #8B5CF6;
  --violet-dim: rgba(139, 92, 246, 0.12);
  --gold: #EAB308;

  /* Typography */
  --text-main: #FFFFFF;
  --text-primary: #FFFFFF;
  --text-sub: #94A3B8;
  --text-muted: #64748B;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Fluid cursor colors */
  --reaper-cursor-hue: #00F0FF;
  --reaper-cursor-core: #70FFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Noise Texture */
.bg-noise {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

/* WebGL Fluid Cursor Canvas (Floats behind glass cards, visible through translucent surfaces) */
.site-fluid {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
  opacity: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   NAVBAR (Canonical across all pages)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 5, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
  padding: 6px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand-logo-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0, 240, 255, 0.8));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}
.brand:hover .brand-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 38px rgba(0, 240, 255, 1));
}
.brand-text {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #fff;
  display: flex;
  align-items: center;
  line-height: 1;
}
.brand-text span {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.75);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.btn-nav {
  background: var(--cyan);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-nav:hover {
  background: #38f8ff;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.55);
  transform: translateY(-1px);
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADINGS (Matches The Crew homepage)
   ========================================================================= */
.section-eyebrow,
.tag-dash,
.worker-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 4px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 999px;
  margin-bottom: 16px;
}

.page-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}

.page-desc {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

.section-head {
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-body {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.65;
  max-width: 760px;
}

/* ==========================================================================
   REAL TRANSLUCENT GLASS CARDS (Cursor glow shines through)
   ========================================================================== */
.glass-card {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%), rgba(8, 11, 18, 0.55);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--border-hairline);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  z-index: 10;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.glass-card:hover {
  border-color: var(--border-card-hover);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   PERK / CHECKLIST FORMATTING (Clean, no flex gaps)
   ========================================================================== */
.perk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.perk-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-sub);
}
.perk-list li .check {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--cyan);
  font-weight: 800;
  font-size: 15px;
}
.perk-list li strong {
  color: #fff;
  font-weight: 700;
}
.perk-list li code {
  font-family: var(--font-mono);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cyan);
  color: #000;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  background: #38f8ff;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.65);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 10px;
  border: 1px solid var(--border-hairline);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-wrap {
  margin-top: 32px;
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  background: rgba(8, 11, 18, 0.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  overflow-x: auto;
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
table.data-table th,
table.data-table td {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
table.data-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.02);
}
table.data-table td:first-child {
  color: #fff;
  font-weight: 600;
}
table.data-table td.highlight-rr {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.03);
  font-weight: 700;
}

/* ==========================================================================
   FOOTER (Unified)
   ========================================================================== */
footer {
  padding: 44px 0;
  border-top: 1px solid var(--border-hairline);
  font-size: 13.5px;
  color: var(--text-muted);
  background: rgba(3, 5, 8, 0.95);
  position: relative;
  z-index: 10;
}
.footer-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
  .brand-logo-img { width: 52px; height: 52px; }
  .brand-text { font-size: 26px; }
  .nav-links { display: none; }
  .glass-card { padding: 24px 20px; border-radius: 18px; }
}


    /* PRICING CORNER ART (Art Handoff Item 25) */
    .pricing-card {
      position: relative;
      overflow: hidden;
    }
    .pricing-corner-art {
      position: absolute;
      top: 18px;
      right: 20px;
      width: 140px;
      height: 135px;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
    }
    .pricing-corner-art img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: right top;
      filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.95));
      transition: transform 0.3s ease;
    }
    .pricing-card:hover .pricing-corner-art img {
      transform: scale(1.06);
    }
    .pricing-corner-sentinel .corner-glow {
      position: absolute;
      inset: -15px;
      background: radial-gradient(circle at 65% 35%, rgba(0, 240, 255, 0.28) 0%, transparent 70%);
      pointer-events: none;
      z-index: -1;
    }
    .pricing-corner-crew .corner-glow {
      position: absolute;
      inset: -15px;
      background: radial-gradient(circle at 65% 35%, rgba(0, 240, 255, 0.3) 0%, rgba(245, 158, 11, 0.22) 45%, transparent 75%);
      pointer-events: none;
      z-index: -1;
    }


/* ==========================================================================
   PAGE HEADER & TYPOGRAPHY SYSTEM (Shared across all pages)
   ========================================================================== */
.page-header {
  padding: 72px 0 36px;
  text-align: center;
  position: relative;
  z-index: 5;
}
.tag-dash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 999px;
}
.page-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.page-desc {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================================
   WATCHDOGS EDGE-TO-EDGE AVATARS (No frames, pure rounded cards)
   ========================================================================== */
.glance-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  background: #020306;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glance-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Hamburger & Overlay Menu (Ted Review Item 12) */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: #fff;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: background 0.15s, border-color 0.15s;
}
.mobile-menu-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.4);
}
@media (max-width: 800px) {
  .mobile-menu-btn {
    display: flex;
  }
  .btn-nav {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #090d16;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    z-index: 1000;
  }
  .nav-links.mobile-open a {
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }
}
