/* ==========================================
   Monkey.Live — Static Style Sheet (2026-era)
   Theme: Jungle Digital / Neon Aurora
   ========================================== */

:root {
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Color Palette */
  --bg-color: #0b021a;
  --bg-gradient-start: #0e0524;
  --bg-gradient-end: #070114;
  --primary-purple: #644af1;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --accent-green: #00ff66; /* Neon brand color */
  --error-rose: #f43f5e;
  
  --text-primary: #f1f1f6;
  --text-secondary: #9aa0b9;
  --text-muted: #5e6481;

  /* Glassmorphism Defaults - Refined to deep purple 0.08 transparency + 25px blur */
  --glass-bg: rgba(11, 2, 26, 0.08);
  --glass-bg-hover: rgba(11, 2, 26, 0.18);
  --glass-border: rgba(255, 255, 255, 0.15); /* 1px solid frosted border requirement */
  --glass-border-hover: rgba(0, 255, 102, 0.4); /* Glow on focus hover */
  --glass-blur: 25px;
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Reset and Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 50% 10%, #1c0b3c 0%, var(--bg-color) 70%),
    radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Immersive Monitor Broadcast Glow vignette (subtle cyan/purple peripheral light edges) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.04) 0%, transparent 35%);
  border: 1px solid rgba(100, 74, 241, 0.04);
  pointer-events: none;
  z-index: 9999;
}

/* Digital Jungle Canopy Subtle Leaf Pattern Overlay on the system fold backgrounds */
#landing-view::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: 
    radial-gradient(circle at 15% -20%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% -20%, rgba(52, 211, 153, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.features-section, .article-section, .comparison-section {
  position: relative;
}

.features-section::before {
  content: "🌴 🌿 🍌 🐒 🌿";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  letter-spacing: 1.5rem;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.comparison-section::before {
  content: "🌾 🌴 🍂 🌿 🍁";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  letter-spacing: 1.5rem;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* Scrollbar customizations */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-gradient-end);
}
::-webkit-scrollbar-thumb {
  background: #170d35;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-purple);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Specifics */
h1, h2, h3, .brand-text {
  font-family: var(--font-display);
}

h1 {
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 24px;
}

h2 {
  font-weight: 850;
  font-size: clamp(1.8rem, 3vw + 0.8rem, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

h3 {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.010em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Neon Gradient Styling */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-purple) 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 20px rgba(100, 74, 241, 0.4);
}

/* Floating Backdrop Decoration */
#floating-decor {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

/* Broadcast scanlines overlay */
.scanlines-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.18) 50%
  );
  background-size: 100% 4px;
  z-index: 3;
  opacity: 0.03;
}

/* Atmospheric Glowing Auras */
.bioluminescent-aura {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.035) 0%, rgba(100, 74, 241, 0.02) 60%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  animation: auraFloat 25s infinite alternate ease-in-out;
}

.bioluminescent-aura-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.045) 0%, rgba(236, 72, 153, 0.02) 70%, transparent 100%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  animation: auraFloat2 20s infinite alternate-reverse ease-in-out;
}

@keyframes auraFloat {
  0% { transform: translate(-5%, -10%) scale(1); }
  50% { transform: translate(12%, 8%) scale(1.15); }
  100% { transform: translate(-3%, 12%) scale(0.95); }
}

@keyframes auraFloat2 {
  0% { transform: translate(15%, 20%) scale(0.9); }
  50% { transform: translate(-12%, 10%) scale(1.1); }
  100% { transform: translate(8%, -15%) scale(1); }
}

/* Faint digital glitch silhouette */
.broadcast-glitch-silhouette {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.broadcast-glitch-silhouette.glitch-active {
  animation: glitchOpacityPulse 4.5s infinite alternate;
}

.glitch-svg {
  width: 100%;
  height: 100%;
  opacity: 0.05; /* Faint 5% digital silhouettes flickering in background */
  filter: drop-shadow(0 0 10px currentColor);
}

@keyframes glitchOpacityPulse {
  0% { opacity: 0; transform: skew(0deg) scale(1); }
  4% { opacity: 0.16; transform: skew(3deg) scale(1.02); }
  6% { opacity: 0.06; transform: skew(-5deg) scale(0.98); }
  8% { opacity: 0.20; transform: skew(0deg) scale(1.01); }
  45% { opacity: 0.14; transform: skew(1deg) scale(1); }
  47% { opacity: 0.24; transform: skew(-8deg) scale(1.04); }
  49% { opacity: 0.08; transform: skew(0deg) scale(0.99); }
  85% { opacity: 0.16; transform: skew(0deg) scale(1); }
  92% { opacity: 0.14; transform: skew(2deg) scale(1.01); }
  100% { opacity: 0; transform: skew(0deg) scale(0.97); }
}

@keyframes auraPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
  50% { transform: scale(1.15) translate(40px, 30px); opacity: 0.18; }
  100% { transform: scale(0.9) translate(-10px, -40px); opacity: 0.10; }
}

@keyframes auraDrift {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.1; }
  50% { transform: scale(1.1) translate(-60px, 40px); opacity: 0.18; }
  100% { transform: scale(1) translate(20px, -20px); opacity: 0.12; }
}

/* Floating Animation Keyframes */
@keyframes floatY1 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(15deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatY2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(35px) rotate(-10deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.f-anim-1 { animation: floatY1 8s ease-in-out infinite; }
.f-anim-2 { animation: floatY2 10s ease-in-out infinite; }
.f-anim-3 { animation: floatY1 12s ease-in-out infinite; }
.f-anim-4 { animation: floatY2 9s ease-in-out infinite; }

/* Landing Layout elements */
#landing-view {
  position: relative;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Header Area */
header {
  border-b: 1px solid var(--glass-border);
  background: rgba(11, 2, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-wrap span {
  font-size: 1.5rem;
  font-weight: 850;
  color: #fff;
  font-family: var(--font-display), "Outfit", sans-serif;
}

.logo-wrap .live-dot {
  color: #00ff88;
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.65);
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
}

.brand-icon svg {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 850;
  color: #fff;
}

.brand-accent {
  color: #00ff88;
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.65);
}

.header-right-widgets {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* REC LIVE indicator badge styling */
.rec-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: 50px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--error-rose);
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
  letter-spacing: 0.05em;
  user-select: none;
}

.pulse-dot-red {
  width: 8px;
  height: 8px;
  background-color: var(--error-rose);
  border-radius: 50%;
  position: relative;
}

.pulse-dot-red::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: var(--error-rose);
  opacity: 0.4;
  animation: pulseGradual 1.5s infinite;
}

/* Live Online Status widget */
.status-pill {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
  letter-spacing: 0.05em;
  user-select: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: var(--accent-green);
  opacity: 0.4;
  animation: pulseGradual 2s infinite;
}

@keyframes pulseGradual {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3); opacity: 0; }
}

/* Hero & Gatekeeper Area */
.hero-section {
  padding: 80px 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.hero-sub-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-pink);
  border-radius: 50%;
  animation: blinkFast 1.5s infinite;
}

@keyframes blinkFast {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hero-desc {
  font-size: clamp(1rem, 1.25vw + 0.8rem, 1.25rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 850px;
  margin: 0 auto 48px auto;
  line-height: 1.5;
  text-wrap: balance;
}

.hero-desc span {
  color: var(--accent-pink);
  font-weight: 600;
}

/* Glassmorphism Gatekeeper Box */
.gatekeeper-card {
  width: 100%;
  max-width: 480px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gatekeeper-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.gatekeeper-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 60%, rgba(100,74,241,0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.shaking {
  animation: shakeCard 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shakeCard {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Gatekeeper Checklist and Action Elements */
.gatekeeper-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.terms-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.terms-checkbox:checked {
  border-color: var(--primary-purple);
  background-color: var(--primary-purple);
}

.terms-checkbox:checked::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}

.terms-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.terms-text a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.terms-text a:hover {
  color: var(--primary-purple);
}

/* Start Matching Button */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-purple) 100%);
  border: none;
  border-radius: 16px;
  padding: 18px 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 30px rgba(100, 74, 241, 0.6);
  position: relative;
  overflow: hidden;
  animation: btnPulse 2s infinite ease-in-out;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
  transition: 0.8s;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 0 45px rgba(100, 74, 241, 0.95);
  animation-play-state: paused; /* Pause pulse during manual interaction */
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 25px rgba(100, 74, 241, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(100, 74, 241, 0.8), 0 0 20px rgba(6, 182, 212, 0.4);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 25px rgba(100, 74, 241, 0.5);
    transform: scale(1);
  }
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Error banner widget */
.error-msg {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid var(--error-rose);
  border-radius: 12px;
  padding: 12px 16px;
  color: #ff4a6b;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.25);
}

.error-msg svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--error-rose);
  stroke-width: 2.5;
  fill: none;
}

/* Secure indicator banner */
.shield-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shield-info svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-green);
  stroke-width: 2.5;
  fill: none;
}

/* Grid & Features Section */
.section-header {
  margin-bottom: 50px;
}

.section-tag {
  color: var(--primary-purple);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  text-align: center;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.features-section {
  padding: 80px 0;
  position: relative;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: 0 15px 30px rgba(100, 74, 241, 0.05);
}

.feat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feat-icon-wrapper svg {
  width: 22px;
  height: 22px;
  stroke-width: 2px;
  fill: none;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 755;
  color: #fff;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Authority Article Section */
.article-section {
  padding: 80px 0;
  position: relative;
}

.article-layout {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-content p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
}

.article-content h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-top: 12px;
  border-left: 3px solid var(--primary-purple);
  padding-left: 14px;
}

/* Comparison Table section */
.comparison-section {
  padding: 80px 0;
}

.table-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 24px;
  overflow-x: auto;
  box-shadow: var(--glass-shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: left;
}

th, td {
  padding: 20px 24px;
}

thead {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--glass-border);
}

th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

th.brand-col {
  color: var(--accent-pink);
  font-weight: 800;
}

tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s ease;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

td.feature-aspect {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

td.brand-v {
  background-color: rgba(100, 74, 241, 0.02);
  color: #e0d9ff;
  font-weight: 600;
}

td.check-text, td.x-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

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

.icon-x {
  width: 18px;
  height: 18px;
  stroke: var(--error-rose);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

.icon-check {
  width: 18px;
  height: 18px;
  stroke: var(--accent-green);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

td.check-text svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-green);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

td.x-text svg {
  width: 18px;
  height: 18px;
  stroke: var(--error-rose);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

td.legacy-v {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* FAQ Accordion Section using pure HTML details/summary elements */
.faq-section {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item[open] {
  border-color: rgba(100, 74, 241, 0.3);
}

summary {
  list-style: none; /* Hide standard arrow key */
  padding: 24px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none; /* Hide default safari marker */
}

/* Custom indicator icon */
.faq-arrow {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s;
}

.faq-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary-purple);
  stroke-width: 2.5;
  fill: none;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  background-color: rgba(100, 74, 241, 0.1);
  border-color: rgba(100, 74, 241, 0.25);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

/* Footer Section styling */
footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 1, 14, 0.95);
  padding: 80px 0 32px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 4px;
}

.badges {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.badge-18 {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #fca5a5;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.badge-p2p {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: #99f6e4;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

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

.footer-links li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-links li:nth-child(odd)::before {
  content: "🐒";
  margin-right: 4px;
  font-size: 0.95rem;
}

.footer-links li:nth-child(even)::before {
  content: "🍌";
  margin-right: 4px;
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-desc-static {
  line-height: 1.6;
}

/* Disclaimer text */
.footer-disclaimer {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-disclaimer svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 32px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================
   Chat View Modes & Iframe adaptations
   ========================================== */

#chat-view {
  display: none; /* Injected / Enabled by JS */
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh; /* dynamic height to account for mobile navigation bars */
  z-index: 1000;
  background-color: #000000;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
}

.chat-header-desktop {
  display: none; /* Visible with JS adaptation query on large computers */
  flex-shrink: 0;
}

#chat-iframe-container {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  background: #080213;
  position: relative;
}

/* Floating exit and status on Mobile Layout overlay (strictly 100vh app style overlay) */
.mobile-chat-controls {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: auto;
  pointer-events: none;
  z-index: 1010;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-badge {
  background: rgba(11, 2, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 6px 14px;
  pointer-events: auto;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
}

.btn-exit-chat {
  background: var(--error-rose);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 8px 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
  transition: transform 0.2s, background-color 0.2s;
}

.btn-exit-chat:hover {
  filter: brightness(1.1);
}

.btn-exit-chat:active {
  transform: scale(0.95);
}

.btn-exit-chat svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3px;
}

/* Loader Animation Backdrop */
#connection-overlay {
  display: none; /* Rendered dynamically by JS during launch sequence */
  position: fixed;
  inset: 0;
  background: rgba(11, 2, 26, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 1500;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.spinner-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.loading-spinner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.04);
  border-top-color: var(--primary-purple);
  border-right-color: var(--accent-pink);
  animation: spinOuter 1s linear infinite;
}

.spinner-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background-color: var(--primary-purple);
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.5;
  animation: coreGlow 1.5s ease-in-out infinite alternate;
}

@keyframes spinOuter {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes coreGlow {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

.loader-text-status {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.loader-title {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ==========================================
   Responsive Overrides
   ========================================== */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (min-width: 768px) {
  .chat-header-desktop {
    display: block;
  }

  .mobile-chat-controls {
    display: none;
  }

  /* Split layout on wider computers */
  #chat-view[data-adaptive="pc"] {
    background-color: var(--bg-gradient-end);
  }

  #chat-view[data-adaptive="pc"] #chat-iframe-container {
    width: 92%;
    max-width: 1200px;
    height: 85%;
    max-height: 800px;
    margin: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    overflow: hidden;
  }
}
