/* ==========================================================================
   monkey.webcam - Cyber-Premium Stylesheet (2026 Architectural Standards)
   ========================================================================== */

:root {
  /* Color System */
  --bg-deep-night: #080216;
  --primary-purple: #644af1;    /* Monkey Purple */
  --primary-yellow: #FFD700;    /* Banana Yellow */
  --accent-iris: #8b5cf6;       /* Violet Orchid */
  --emerald-green: #10B981;
  --cyan-blue: #06B6D4;
  --rose-crimson: #ef4444;
  --danger-red: #ff3333;
  --slate-dimmed: #94a3b8;
  --slate-dark: #1e1b4b;
  --white-bright: #ffffff;

  /* Typography Pairing */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* UI Transitions */
  --t-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --t-smooth: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --t-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep-night);
}

body {
  font-family: var(--font-body);
  color: var(--white-bright);
  background-color: var(--bg-deep-night);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Font helpers */
.font-space { font-family: var(--font-display); }
.font-inter { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

/* Containers */
.header-container,
.primary-hero-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. Advanced Camera Viewfinder Standing Background & HUD Overlay
   ========================================================================== */
.viewfinder-lens-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0f082e 0%, var(--bg-deep-night) 100%);
}

#digital-webcam-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Subtle CRT scanlines */
.scanlines-feed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  background: linear-gradient(
    rgba(100, 74, 241, 0) 50%, 
    rgba(0, 0, 0, 0.28) 50%
  );
  background-size: 100% 4px;
  opacity: 0.35;
}

/* Ambient pulsing radial lens flare coordinate */
.lens-flare-pulse {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 74, 241, 0.12) 0%, rgba(255, 215, 0, 0.02) 50%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Target viewfinder corner crop marks */
.cam-boundary-brackets {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 18;
  opacity: 0.5;
}

.hud-bracket {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--primary-purple);
  border-style: solid;
}

.bracket-tl { top: 0; left: 0; border-width: 3px 0 0 3px; }
.bracket-tr { top: 0; right: 0; border-width: 3px 3px 0 0; }
.bracket-bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.bracket-br { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

/* Camera Viewfinder Telemetry Readout */
.camera-sensor-readout {
  position: absolute;
  top: 36px;
  left: 48px;
  right: 48px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 20;
  opacity: 0.65;
  font-size: 0.725rem;
  letter-spacing: 0.12em;
}

.telemetry-bar-top,
.telemetry-bar-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cam-rec-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.record-blip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--danger-red);
  box-shadow: 0 0 8px var(--danger-red);
  animation: blipRec 1s ease-in-out infinite alternate;
}

@keyframes blipRec {
  0% { opacity: 0.15; }
  100% { opacity: 1; }
}

/* ==========================================================================
   2. Header & Branding
   ========================================================================== */
.main-header {
  position: relative;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid rgba(100, 74, 241, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.monkey-logo-svg {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(100, 74, 241, 0.35));
}

.footer-logo .monkey-logo-svg {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: 'Outfit', var(--font-display);
  font-size: 1.45rem;
  font-weight: 800; /* Bold 'Outfit' font style */
  color: var(--white-bright);
  letter-spacing: -0.02em;
}

.sidebar-logo-text {
  font-family: 'Outfit', var(--font-display);
  font-weight: 800; /* Bold style */
}

.logo-dot {
  color: var(--primary-yellow);
}

/* Premium Floating Matches Counter Pill */
.live-status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(14, 5, 30, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 215, 0, 0.05);
}

.pulse-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-green);
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

.live-label {
  font-family: var(--font-mono);
  font-size: 0.785rem;
  font-weight: 500;
  color: var(--primary-yellow);
}

/* ==========================================================================
   3. Glassmorphism Design Elements
   ========================================================================== */
.glass-card-premium {
  background: rgba(10, 5, 26, 0.65);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  border: 1px solid rgba(100, 74, 241, 0.22);
  border-radius: 20px;
  box-shadow: 0 16px 45px -8px rgba(0, 0, 0, 0.65);
  transition: border-color var(--t-smooth), box-shadow var(--t-smooth), transform var(--t-smooth);
}

.glass-card-premium:hover {
  border-color: rgba(100, 74, 241, 0.45);
  box-shadow: 0 20px 50px -10px rgba(100, 74, 241, 0.25), 0 0 15px rgba(255, 215, 0, 0.05);
}

/* ==========================================================================
   4. Landing Hero Core Layout & The Centerpiece Card
   ========================================================================== */
.primary-hero-container {
  padding-top: 60px;
  padding-bottom: 80px;
}

.gatekeeper-layout-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

@media (max-width: 991px) {
  .gatekeeper-layout-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.intro-headline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge-vibe-alternative {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(100, 74, 241, 0.15);
  border: 1px solid rgba(100, 74, 241, 0.35);
  color: var(--white-bright);
}

.main-heading-seo {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.glow-accent-iris {
  color: transparent;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(255, 215, 0, 0.2));
}

.hero-paragraph-sub {
  color: var(--slate-dimmed);
  font-size: 1.05rem;
  max-width: 580px;
}

/* --------------------------------------------------------------------------
   The Gatekeeper Card Module (Sleek Glassmorphism Container)
   -------------------------------------------------------------------------- */
.gatekeeper-card-glare {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 74, 241, 0.35);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}

/* Animated active border on type */
.gatekeeper-card-glare.typing-pulse {
  border-color: var(--primary-yellow);
  box-shadow: 0 24px 65px -8px rgba(100, 74, 241, 0.35), 0 0 24px rgba(255, 215, 0, 0.15);
}

.card-interior-wrapper {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-title-gate {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white-bright);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Manual Interest Text Box & Presets Rows
   -------------------------------------------------------------------------- */
.manual-interest-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag-label-lead {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-yellow);
  letter-spacing: 0.02em;
}

.interest-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.manual-interest-input {
  width: 100%;
  padding: 16px 54px 16px 18px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--white-bright);
  background: rgba(4, 2, 10, 0.72);
  border: 1px solid rgba(100, 74, 241, 0.25);
  border-radius: 12px;
  outline: none;
  transition: all var(--t-fast);
}

/* Glowing purple outline on focused */
.manual-interest-input:focus,
.manual-interest-input.active-glow {
  border-color: var(--primary-purple);
  background: rgba(4, 2, 10, 0.9);
  box-shadow: 0 0 16px rgba(100, 74, 241, 0.45), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Types active pulses faster */
.manual-interest-input.typing-pulse {
  animation: typingBoxGlow 1.2s infinite alternate ease-in-out;
}

@keyframes typingBoxGlow {
  0% { box-shadow: 0 0 8px rgba(100, 74, 241, 0.25); }
  100% { box-shadow: 0 0 20px rgba(100, 74, 241, 0.65); border-color: var(--primary-purple); }
}

.char-countdown {
  position: absolute;
  right: 18px;
  font-size: 0.75rem;
  color: var(--slate-dimmed);
  user-select: none;
}

.input-instruction-sub {
  font-size: 0.75rem;
  color: var(--slate-dimmed);
  margin-top: 4px;
}

.presets-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clickable-preset-pill {
  font-family: var(--font-mono);
  font-size: 0.785rem;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(100, 74, 241, 0.08);
  border: 1px solid rgba(100, 74, 241, 0.18);
  color: var(--slate-dimmed);
  cursor: pointer;
  user-select: none;
  transition: all var(--t-fast);
}

.clickable-preset-pill:hover {
  border-color: var(--primary-purple);
  color: var(--white-bright);
  background: rgba(100, 74, 241, 0.15);
}

.clickable-preset-pill.active-preset-pill {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-iris) 100%);
  border-color: var(--primary-yellow);
  color: var(--white-bright);
  box-shadow: 0 4px 12px rgba(100, 74, 241, 0.4);
}

/* --------------------------------------------------------------------------
   ToS Custom styled checkbox & Shakes Rules
   -------------------------------------------------------------------------- */
.checkbox-legal-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hybrid-custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.native-hidden-checkbox {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.styled-checkbox-frame {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(100, 74, 241, 0.45);
  background: rgba(4, 2, 10, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--t-fast);
}

.native-hidden-checkbox:checked + .styled-checkbox-frame {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
}

.native-hidden-checkbox:checked + .styled-checkbox-frame::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 9px;
  border: solid var(--white-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 3px;
  left: 6px;
}

.checkbox-legal-phrase {
  font-size: 0.825rem;
  color: var(--slate-dimmed);
  user-select: none;
}

.inline-agreement-anchor {
  color: var(--primary-purple);
  text-decoration: underline;
}

/* Advanced Error Warning balloon */
.dynamic-warn-feedback-bubble {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--rose-crimson);
  font-size: 0.785rem;
  transition: all var(--t-smooth);
}

.dynamic-warn-feedback-bubble.active-error {
  max-height: 48px;
  opacity: 1;
  padding: 10px 14px;
}

.warn-svg-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Haptic structure shaking animation keyframe */
.gatekeeper-shake {
  animation: gateShake 0.45s ease-in-out;
}

@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  15%, 45%, 75% { transform: translateX(-8px); }
  30%, 60%, 90% { transform: translateX(8px); }
}

/* --------------------------------------------------------------------------
   START VIDEO CHAT Portal gradient Button
   -------------------------------------------------------------------------- */
.primary-portal-power-button {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 18px 24px;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white-bright);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-iris) 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(100, 74, 241, 0.25);
  transition: all var(--t-fast);
}

.primary-portal-power-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(100, 74, 241, 0.4), 0 0 12px rgba(255, 215, 0, 0.1);
}

.primary-portal-power-button:active {
  transform: translateY(1px);
}

.accent-border-pulse {
  border-color: var(--primary-yellow) !important;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shinySlide 4s infinite linear;
}

@keyframes shinySlide {
  0% { left: -100%; }
  30%, 100% { left: 150%; }
}

.chevron-right-svg {
  width: 18px;
  height: 18px;
}

.encryption-subtext {
  font-size: 0.725rem;
  color: var(--slate-dimmed);
  text-align: center;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* ==========================================================================
   5. Semantic Layout Sections (Feature, Grid comparisons, Blogs, FAQ)
   ========================================================================== */
.block-centering-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.sub-lead-caps {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-yellow);
  letter-spacing: 0.15em;
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(255, 215, 0, 0.35);
}

.section-title-premium {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white-bright);
}

.section-description-text {
  color: var(--slate-dimmed);
  max-width: 680px;
  font-size: 0.95rem;
}

/* Capabilities features grid */
.capabilities-grid-section {
  margin-bottom: 112px;
}

.cards-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.feature-lens-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon-wrapper-amber, .feature-icon-wrapper-purple,
.feature-icon-wrapper-cyan, .feature-icon-wrapper-danger,
.feature-icon-wrapper-gold, .feature-icon-wrapper-emerald {
  align-self: flex-start;
  padding: 12px;
  border-radius: 12px;
  background: rgba(100, 74, 241, 0.15);
  color: var(--white-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(100, 74, 241, 0.1);
}

.feature-icon-wrapper-amber svg { color: var(--primary-yellow); width: 22px; height: 22px; }
.feature-icon-wrapper-purple svg { color: var(--accent-iris); width: 22px; height: 22px; }
.feature-icon-wrapper-cyan svg { color: var(--cyan-blue); width: 22px; height: 22px; }
.feature-icon-wrapper-danger svg { color: var(--danger-red); width: 22px; height: 22px; }
.feature-icon-wrapper-gold svg { color: var(--primary-yellow); width: 22px; height: 22px; }
.feature-icon-wrapper-emerald svg { color: var(--emerald-green); width: 22px; height: 22px; }

.feature-title-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white-bright);
}

.feature-paragraph-body {
  color: var(--slate-dimmed);
  font-size: 0.875rem;
}

/* Authority Sidebar & Bento layouts */
.authority-bento-flexible {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 32px;
  margin-bottom: 112px;
}

@media (max-width: 991px) {
  .authority-bento-flexible {
    grid-template-columns: 1fr;
  }
}

.authority-article-wrapper {
  padding: 40px;
}

.seo-lead-category {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: #ff8c00;
  letter-spacing: 0.12em;
}

.article-broad-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 24px;
}

.rich-typography-field {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--slate-dimmed);
  font-size: 0.95rem;
}

.rich-typography-field p {
  line-height: 1.7;
}

.rich-typography-field h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white-bright);
  font-size: 1.2rem;
  margin-top: 12px;
}

.authority-aside-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.aside-widget-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.widget-heading-lead {
  font-size: 1.15rem;
  color: var(--white-bright);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.policy-list-aside {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-list-aside li {
  display: flex;
  gap: 14px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary-yellow);
  background: rgba(255, 215, 0, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  height: max-content;
}

.rule-lbl {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-bright);
  margin-bottom: 4px;
}

.rule-desc {
  font-size: 0.8rem;
  color: var(--slate-dimmed);
}

.metrics-highlight {
  border-color: rgba(255, 215, 0, 0.35);
}

.metric-block-flex {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.single-indicator-point {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.border-top-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.metric-num {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-yellow);
}

.metric-label {
  font-size: 0.725rem;
  color: var(--slate-dimmed);
}

/* --------------------------------------------------------------------------
   Specs comparison sheets
   -------------------------------------------------------------------------- */
.comparison-table-section {
  margin-bottom: 112px;
}

.table-outer-wrapper {
  overflow-x: auto;
}

.premium-comparison-sheet {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.premium-comparison-sheet th,
.premium-comparison-sheet td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-comparison-sheet th {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--slate-dimmed);
  background: rgba(4, 2, 10, 0.3);
}

.premium-comparison-sheet tbody tr:hover {
  background: rgba(100, 74, 241, 0.04);
}

.category-col {
  font-weight: 500;
  color: var(--slate-dimmed);
  width: 30%;
}

.legacy-col {
  color: var(--slate-dimmed);
  font-size: 0.85rem;
}

.premium-col {
  color: var(--white-bright);
  font-size: 0.875rem;
}

.text-glow-emerald { color: var(--emerald-green); text-shadow: 0 0 4px rgba(16, 185, 129, 0.15); }
.text-glow-cyan { color: var(--cyan-blue); text-shadow: 0 0 4px rgba(6, 182, 212, 0.15); }
.text-glow-gold { color: var(--primary-yellow); text-shadow: 0 0 4px rgba(255, 215, 0, 0.15); }
.text-glow-rose { color: var(--rose-crimson); text-shadow: 0 0 4px rgba(239, 68, 68, 0.15); }
.text-glow-purple { color: var(--accent-iris); text-shadow: 0 0 4px rgba(139, 92, 246, 0.15); }

/* FAQs lists */
.frequently-asked-accordion-section {
  margin-bottom: 96px;
}

.faq-container-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-details-bubble {
  border: 1px solid rgba(100, 74, 241, 0.16);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--t-fast);
}

.faq-trigger-summary {
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  user-select: none;
}

.summary-phrase {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white-bright);
}

.accordion-chevron-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-dimmed);
  transition: transform var(--t-fast);
}

.faq-plus-svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5px;
}

.faq-details-bubble[open] .accordion-chevron-icon {
  transform: rotate(45deg);
  color: var(--primary-yellow);
}

.faq-expanded-content {
  padding: 0 24px 20px 24px;
}

.faq-para {
  font-size: 0.875rem;
  color: var(--slate-dimmed);
  line-height: 1.6;
}

/* ==========================================================================
   6. Footers
   ========================================================================== */
.footer-block-layout {
  border-top: 1px solid rgba(100, 74, 241, 0.08);
  padding: 72px 0 36px 0;
  background: rgba(4, 2, 10, 0.9);
  backdrop-filter: blur(12px);
}

.footer-column-grid-flex {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 48px 24px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 991px) {
  .footer-column-grid-flex {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .footer-column-grid-flex {
    grid-template-columns: 1fr;
  }
}

.footer-identity-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-statement {
  font-size: 0.85rem;
  color: var(--slate-dimmed);
  max-width: 320px;
}

.p_18_indicator {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--danger-red);
  border: 1px solid rgba(255, 51, 51, 0.45);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-links-column-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-col-heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white-bright);
}

.nav-links-flex-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-anchor {
  font-size: 0.8rem;
  color: var(--slate-dimmed);
  text-decoration: none;
  transition: color var(--t-fast);
}

.foot-anchor:hover {
  color: var(--primary-yellow);
}

.footer-bottom-statement {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--slate-dimmed);
  text-align: center;
}

/* ==========================================================================
   7. Beautiful Cyber PC App Shell (Frame and Side Grid)
   ========================================================================== */
#chat-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: var(--bg-deep-night);
  transition: opacity var(--t-smooth);
}

.concealed-view {
  display: none !important;
  opacity: 0;
}

.app-shell-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar commanding workspace panel (PC Shell) */
.app-shell-sidebar {
  background: #020108;
  border-right: 1px solid rgba(100, 74, 241, 0.22);
  display: flex;
  flex-direction: column;
  padding: 24px;
  height: 100%;
  overflow-y: auto;
  gap: 24px;
}

.sidebar-brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.monkey-header-svg {
  width: 28px;
  height: 28px;
}

.sidebar-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-bright);
}

.sidebar-status-group {
  background: rgba(14, 5, 30, 0.45);
  border: 1px solid rgba(100, 74, 241, 0.12);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amber-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-yellow);
}

.status-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-dimmed);
}

.sidebar-status-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  background-color: rgba(100, 74, 241, 0.15);
  color: var(--primary-yellow);
  padding: 2px 8px;
  border-radius: 6px;
}

.sidebar-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--slate-dimmed);
}

.sidebar-system-hud {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.725rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 14px;
  border-radius: 8px;
  border: 1.5px dashed rgba(100, 74, 241, 0.18);
}

.hud-stat-row {
  display: flex;
  justify-content: space-between;
}

.hud-stat-label {
  color: var(--slate-dimmed);
}

.hud-stat-val {
  font-weight: 500;
  color: var(--white-bright);
}

.text-green { color: var(--emerald-green); }
.text-purple { color: var(--accent-iris); }

/* Control Buttons sidebar and shell */
.sidebar-control-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shell-op-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all var(--t-fast);
}

.shell-op-btn .control-icon {
  width: 16px;
  height: 16px;
}

.shell-op-btn.primary-action {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-iris) 100%);
  color: var(--white-bright);
}

.shell-op-btn.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(100, 74, 241, 0.35);
}

.shell-op-btn.danger-action {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--rose-crimson);
}

.shell-op-btn.danger-action:hover {
  background: rgba(239, 68, 68, 0.25);
  color: var(--white-bright);
}

.sidebar-footer {
  margin-top: auto;
  font-size: 0.625rem;
  color: var(--slate-dimmed);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* Primary viewport framing */
.app-shell-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
}

.app-shell-topbar {
  height: 64px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  background: #04020a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
}

.shell-session-timer {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-yellow);
  letter-spacing: 0.05em;
}

.topbar-right-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-counter-shell {
  font-size: 0.725rem;
  color: var(--slate-dimmed);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Floating Exit key */
.exit-gate-danger-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--rose-crimson);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
}

.exit-gate-danger-control:hover {
  background: var(--rose-crimson);
  color: var(--white-bright);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.close-icon-svg {
  width: 14px;
  height: 14px;
}

/* Stream Wrapper elements */
.sandbox-embed-wrapper {
  flex: 1;
  position: relative;
  background-color: #000000;
  overflow: hidden;
}

/* Loading animations curtain inside embed */
.loader-preflight-curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: #050110;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-preflight-curtain.loaded-finish {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.curtain-interior {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.loading-infinity-rings {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.ring-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--primary-purple);
  opacity: 0.7;
  animation: ringScale 1.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.delayed-ring {
  animation-delay: 0.6s;
}

.monkey-mask-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes ringScale {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.loader-vibe-heading {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white-bright);
}

.loader-vibe-sub {
  font-size: 0.785rem;
  color: var(--primary-yellow);
}

/* ==========================================================================
   8. Fully Responsive Handling for Mobile & Devices
   ========================================================================== */
@media (max-width: 768px) {
  
  /* App elements hide/reveal matching viewport requested metrics */
  .app-shell-container {
    grid-template-columns: 1fr; /* sidebar collapses entirely */
  }

  .app-shell-sidebar {
    display: none !important; /* vanishes completely to stretch sandbox frame */
  }

  /* Main viewport is 100vh and 100vw, providing a native app-like experience */
  .app-shell-main {
    width: 100vw;
    height: 100vh;
  }

  .app-shell-topbar {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    width: auto;
    height: auto;
    border-bottom: none;
    background: transparent;
    z-index: 1000;
  }

  .topbar-left-meta,
  .live-counter-shell {
    display: none !important; /* hide header info bars on mobile to make screen clean */
  }

  .exit-gate-danger-control {
    background: rgba(4, 2, 10, 0.85); /* heavy dark frame background on mobile */
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white-bright);
    font-size: 0.7rem;
    padding: 8px 14px;
  }
}
