/* Premium Design System and Style Variables for SNDR */
:root {
  /* Font Family definitions */
  --font-h: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Light Theme Variables */
  --bg: #f5f7fb;
  --tx: #0b1320;
  --tx-muted: #526075;
  --primary: #005ac2;
  --primary-hover: #004595;
  --primary-glow: rgba(0, 90, 194, 0.15);
  --secondary: #4648d4;
  --tertiary: #008376;
  
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(0, 90, 194, 0.08);
  --card-shadow: 0 8px 30px rgba(0, 88, 190, 0.04), 0 2px 8px rgba(0, 88, 190, 0.02);
  
  --nav-bg: rgba(245, 247, 251, 0.75);
  --nav-border: rgba(0, 90, 194, 0.06);
  
  --bg-dots: rgba(0, 90, 194, 0.03);
  --input-bg: #ffffff;
  --input-border: rgba(0, 90, 194, 0.12);
  --input-focus: #005ac2;

  --pfp-bg: #e5f1ff;
  --pfp-tx: #005ac2;
}

/* Dark Theme Overrides */
html[data-theme="dark"] {
  --bg: #070a13;
  --tx: #f3f5f9;
  --tx-muted: #919fb5;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-glow: rgba(59, 130, 246, 0.25);
  --secondary: #818cf8;
  --tertiary: #2dd4bf;
  
  --card-bg: rgba(13, 17, 30, 0.75);
  --card-border: rgba(59, 130, 246, 0.15);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(59, 130, 246, 0.05);
  
  --nav-bg: rgba(7, 10, 19, 0.8);
  --nav-border: rgba(59, 130, 246, 0.1);
  
  --bg-dots: rgba(255, 255, 255, 0.02);
  --input-bg: #0d1220;
  --input-border: rgba(59, 130, 246, 0.2);
  --input-focus: #3b82f6;

  --pfp-bg: #1e293b;
  --pfp-tx: #3b82f6;
}

/* Base resets & Document defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg);
  color: var(--tx);
  font-family: var(--font-b);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Background Canvas Particles */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Custom Cursor */
.custom-cursor {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s ease, height 0.2s ease;
}

.custom-cursor-follower {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
  transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.2s ease, width 0.2s ease, height 0.2s ease;
}

/* Custom Cursor Hover scaling */
body.cursor-active .custom-cursor {
  width: 12px;
  height: 12px;
  background-color: var(--secondary);
}

body.cursor-active .custom-cursor-follower {
  width: 44px;
  height: 44px;
  border-color: var(--secondary);
}

/* Navigation layout & styles */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2005;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Logo designs */
.logo-wrapper {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.pixel-logo {
  overflow: visible !important;
}

.pixel-logo .pixel {
  fill: var(--tx);
  transition: fill 0.3s ease, transform 0.2s ease;
}

.pixel-logo .pixel.dot {
  fill: var(--primary) !important;
}

.pixel-logo:hover .pixel {
  fill: var(--primary);
  transform: scale(1.08) translate(0.5px, 0.5px);
}

.pixel-logo:hover .pixel.dot {
  fill: var(--secondary) !important;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--tx-muted);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--tx);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Premium Buttons styling */
.primary-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  border: none;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--primary-glow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 90, 194, 0.25);
}

.primary-btn:active {
  transform: translateY(0);
}

.primary-btn.size-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

.primary-btn.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 6px;
}

/* Glare highlight effect */
.hover-glare::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.hover-glare:hover::before {
  animation: glare 0.75s forwards;
}

@keyframes glare {
  100% {
    left: 125%;
  }
}

/* Theme Toggle Button */
.icon-btn {
  background: none;
  border: 1px solid var(--input-border);
  color: var(--tx);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn:hover {
  background-color: var(--pfp-bg);
  border-color: var(--primary);
}

html[data-theme="light"] .dark-icon { display: block; }
html[data-theme="light"] .light-icon { display: none; }
html[data-theme="dark"] .dark-icon { display: none; }
html[data-theme="dark"] .light-icon { display: block; }

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

.text-center {
  text-align: center;
}

/* Hero Section styles */
.hero {
  padding: 150px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--tx-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

/* Premium Simulator Window Styling */
.hero-simulator {
  perspective: 1000px;
}

.glass-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.simulator-window {
  width: 100%;
  height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.window-header {
  height: 44px;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.window-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.w-dot.red { background-color: #ef4444; }
.w-dot.yellow { background-color: #f59e0b; }
.w-dot.green { background-color: #10b981; }

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--tx-muted);
  font-family: var(--font-h);
  white-space: nowrap;
}

.window-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--pfp-bg);
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: auto;
}

.window-body {
  flex: 1;
  display: flex;
}

.sim-sidebar {
  width: 120px;
  border-right: 1px solid var(--card-border);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-nav-item {
  font-size: 11px;
  font-weight: 600;
  color: var(--tx-muted);
  padding: 8px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.sim-nav-item.active, .sim-nav-item:hover {
  background-color: var(--pfp-bg);
  color: var(--primary);
}

.sim-nav-item span {
  font-size: 16px;
}

.sim-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.input-group input, .input-group textarea {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--tx);
  font-family: var(--font-b);
  font-size: 12.5px;
  outline: none;
  transition: var(--transition);
}

.input-group input:focus, .input-group textarea:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.run-sim-btn {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-h);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13.5px;
}

.run-sim-btn:hover {
  background-color: var(--primary-hover);
}

.run-sim-btn.secondary {
  background-color: transparent;
  border: 1px solid var(--input-border);
  color: var(--tx);
}

.run-sim-btn.secondary:hover {
  background-color: var(--pfp-bg);
}

.hidden {
  display: none !important;
}

/* Simulation Stream phases styles */
.sim-stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: space-between;
  position: relative;
}

.stream-header {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
}

.stream-header .counter {
  color: var(--primary);
}

.stream-cards {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.sim-lead-card {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUpIn 0.3s ease forwards;
}

@keyframes slideUpIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lead-pfp {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--pfp-bg);
  color: var(--pfp-tx);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.lead-body {
  flex: 1;
}

.lead-body h5 {
  font-size: 12px;
  font-weight: 600;
}

.lead-body p {
  font-size: 10px;
  color: var(--tx-muted);
}

.lead-status {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  background-color: #fef3c7;
  color: #d97706;
}

.lead-status.success {
  background-color: #d1fae5;
  color: #059669;
}

/* Mail tube network pathway */
.mail-tube {
  height: 8px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.tube-line {
  position: absolute;
  height: 100%;
  width: 50px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  animation: tubeFly 1.5s infinite linear;
}

@keyframes tubeFly {
  0% { left: -50px; }
  100% { left: 100%; }
}

/* Success Analytics components */
.sim-analytics {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.analytics-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.circle-progress-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
}

.circle-progress {
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.05);
  stroke-width: 3;
}

.circle-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}

.circle-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15px;
  font-weight: 800;
}

.analytics-text h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.analytics-text p {
  font-size: 12px;
  color: var(--tx-muted);
  max-width: 200px;
}

/* Section Introductory header formatting */
.section-intro {
  margin-bottom: 60px;
}

.section-title {
  font-size: 38px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--tx-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Interactive Sandbox sections */
.playground-section {
  padding: 100px 0;
  position: relative;
}

.sandbox-container {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 30px;
  align-items: stretch;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--card-shadow);
}

.leads-shelf {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px dashed var(--card-border);
}

.shelf-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tx-muted);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.drag-lead {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: grab;
  user-select: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.drag-lead:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 90, 194, 0.06);
}

.drag-lead:active {
  cursor: grabbing;
}

.lead-info {
  flex: 1;
  text-align: left;
}

.lead-info .name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.lead-info .role {
  display: block;
  font-size: 11px;
  color: var(--tx-muted);
}

.drag-handle {
  color: var(--tx-muted);
  cursor: grab;
}

/* Droppable engine core - REDESIGNED PREMIUM HIGH-TECH */
.sandbox-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed var(--input-border);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  min-height: 320px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 90, 194, 0.02);
}

html[data-theme="dark"] .sandbox-dropzone {
  background: rgba(13, 17, 30, 0.3);
  box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.03);
}

/* Glowing background core pulse */
.core-glow-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  animation: corePulseCentered 3s infinite ease-in-out;
  z-index: 1;
}

@keyframes corePulseCentered {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
}

/* Scanner scanning line */
.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.sandbox-dropzone.dragover .scanner-line {
  opacity: 0.8;
  animation: scan 2s infinite linear;
}

@keyframes scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* concentric tech rings */
.engine-core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1.5px dashed var(--primary);
  border-radius: 50%;
  opacity: 0.25;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.ring-1 { 
  width: 220px; 
  height: 220px; 
  border-color: var(--secondary);
  border-style: dotted;
  animation: rotateClockwiseCentered 15s infinite linear; 
}

.ring-2 { 
  width: 160px; 
  height: 160px; 
  border-color: var(--primary);
  border-style: dashed;
  animation: rotateCounterClockwiseCentered 10s infinite linear; 
}

.ring-3 { 
  width: 110px; 
  height: 110px; 
  border-color: var(--tertiary);
  border-style: dashed;
  animation: rotateClockwiseCentered 6s infinite linear; 
}

/* High-tech central core */
.engine-core-center {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 5;
  box-shadow: 0 0 25px var(--primary-glow);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.engine-core-center::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  opacity: 0.4;
  animation: corePulseBorder 2s infinite ease-in-out;
}

@keyframes corePulseBorder {
  0%, 100% { transform: scale(0.98); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

.core-icon {
  font-size: 28px;
  transition: transform 0.3s ease;
}

.core-label {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 5px;
  line-height: 1.2;
  text-align: center;
  display: block;
}

.drop-hint {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-muted);
  z-index: 5;
}

.sandbox-dropzone.dragover {
  border-color: var(--primary);
  background-color: var(--primary-glow);
  box-shadow: inset 0 0 50px rgba(0, 90, 194, 0.15), 0 0 35px var(--primary-glow);
}

.sandbox-dropzone.dragover .ring-1 {
  border-color: var(--secondary);
  animation-duration: 4s;
  opacity: 0.6;
}

.sandbox-dropzone.dragover .ring-2 {
  border-color: var(--primary);
  animation-duration: 3s;
  opacity: 0.6;
}

.sandbox-dropzone.dragover .ring-3 {
  border-color: var(--tertiary);
  animation-duration: 1.5s;
  opacity: 0.8;
}

.sandbox-dropzone.dragover .engine-core-center {
  transform: scale(1.15) rotate(180deg);
  box-shadow: 0 0 40px rgba(0, 90, 194, 0.6), 0 0 15px var(--secondary);
}

@keyframes rotateClockwiseCentered {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounterClockwiseCentered {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Sandbox Output Details */
.sandbox-output {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  padding: 16px;
  border: 1px dashed var(--card-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.output-placeholder {
  text-align: center;
  color: var(--tx-muted);
  padding: 40px 10px;
}

.output-placeholder span {
  font-size: 40px;
  margin-bottom: 8px;
  opacity: 0.4;
}

.output-placeholder p {
  font-size: 13px;
  font-weight: 500;
}

.output-card {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 16px;
  animation: slideUpIn 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: left;
}

.output-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--input-border);
  padding-bottom: 12px;
}

.output-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--pfp-bg);
  color: var(--pfp-tx);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.output-meta {
  flex: 1;
}

.output-meta h4 {
  font-size: 14px;
}

.output-meta p {
  font-size: 11px;
  color: var(--tx-muted);
}

.verified-badge {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background-color: #d1fae5;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.verified-badge span {
  font-size: 12px;
}

.email-row {
  margin-bottom: 12px;
  font-size: 12px;
}

.email-row .label {
  font-weight: 700;
  color: var(--tx-muted);
  margin-right: 6px;
}

.email-row .value {
  font-family: monospace;
  background-color: var(--pfp-bg);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
}

.hook-box {
  background-color: var(--bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 12px;
}

.hook-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--tx-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.hook-header span {
  font-size: 14px;
}

.hook-text {
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
}

/* Bento Grid layout */
.features-section {
  padding: 100px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-item {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
}

.bento-item:hover {
  box-shadow: 0 12px 40px rgba(0, 88, 190, 0.12);
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-7 { grid-column: span 7; }

.bento-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-tag {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background-color: var(--primary-glow);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.bento-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 13.5px;
  color: var(--tx-muted);
  margin-bottom: 24px;
}

/* Dynamic limits slider inside cards */
.mini-control-panel {
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  margin-top: auto;
}

.control-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.premium-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--input-border);
  border-radius: 3px;
  outline: none;
  margin-bottom: 16px;
}

.premium-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: transform 0.1s ease;
}

.premium-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.speedometer-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.speed-bar {
  flex: 1;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.speed-bar.active {
  background-color: var(--tertiary);
}

.speed-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--tx-muted);
}

/* Insights Line / Bar charts */
.chart-container {
  padding: 14px;
  margin-top: auto;
}

.chart-toggles {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.chart-toggle-btn {
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--input-border);
  padding: 4px 10px;
  border-radius: 20px;
  background: none;
  cursor: pointer;
  color: var(--tx-muted);
  transition: var(--transition);
}

.chart-toggle-btn.active, .chart-toggle-btn:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.bar-chart {
  display: flex;
  justify-content: space-around;
  height: 100px;
  align-items: flex-end;
  border-bottom: 1.5px solid var(--input-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
}

.bar-fill {
  width: 100%;
  height: var(--val);
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--tx-muted);
  margin-top: 6px;
}

.metric-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.summary-text {
  font-size: 10px;
  color: var(--tx-muted);
}

/* Scraper elements mock overlay */
.linkedin-mock {
  padding: 16px;
  margin-top: auto;
}

.profile-header-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mock-pfp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.mock-meta {
  flex: 1;
}

.mock-line-lg {
  font-size: 13px;
  font-weight: 700;
}

.mock-line-sm {
  font-size: 10.5px;
  color: var(--tx-muted);
}

.sndr-scrape-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.sndr-scrape-btn span {
  font-size: 14px;
}

.mock-details {
  border-top: 1px solid var(--input-border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.mock-detail-row .label {
  font-weight: 700;
  color: var(--tx-muted);
}

.placeholder-pulse {
  width: 100px;
  height: 14px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  display: inline-block;
}

.placeholder-pulse.active {
  animation: pulseLight 1.5s infinite ease-in-out;
}

@keyframes pulseLight {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Reference updates bento styles */
.ai-hook-generator {
  padding: 16px;
  margin-top: auto;
}

.social-post-mock {
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 10px;
}

.social-post-mock .post-user {
  font-size: 11px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.social-post-mock .post-text {
  font-size: 11.5px;
  line-height: 1.4;
}

.arrow-down-divider {
  text-align: center;
  margin: 6px 0;
  color: var(--primary);
  opacity: 0.7;
}

.arrow-down-divider span {
  font-size: 16px;
}

.ai-hook-result {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 12px;
}

.hook-badge {
  font-size: 9px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hook-badge span {
  font-size: 12px;
}

.ai-hook-result p {
  font-size: 12.5px;
  font-style: italic;
  min-height: 38px;
  margin-bottom: 8px;
}

.action-text-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}

.action-text-btn:hover {
  text-decoration: underline;
}

/* CV Matcher Grid workspace styling */
.cv-matcher-section {
  padding: 100px 0;
  position: relative;
}

.cv-matcher-section .section-intro {
  margin-bottom: 60px; /* Generous spacing */
}

.cv-matcher-section .section-title {
  font-family: var(--font-h);
  font-size: 38px; /* Consistent standard size */
  font-weight: 800;
  color: var(--tx); /* Plain color, no gradient */
  margin-bottom: 16px;
}

.cv-matcher-section .section-subtitle {
  color: var(--tx-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* Upgrade selector wrapper & tabs */
.cv-selector-wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 35px;
}

.cv-select-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-h);
  border: 1.5px solid var(--input-border);
  padding: 14px 28px;
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
  color: var(--tx-muted);
  transition: all 0.3s ease;
  text-align: left;
  min-width: 260px;
}

.cv-select-tab:hover:not(.active) {
  border-color: var(--primary);
  color: var(--tx);
  background: var(--pfp-bg);
}

.cv-select-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 90, 194, 0.2);
}

.cv-select-tab .tab-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--input-border);
  transition: border-color 0.3s, transform 0.3s;
}

.cv-select-tab.active .tab-avatar {
  border-color: #fff;
  transform: scale(1.05);
}

.cv-select-tab:hover:not(.active) .tab-avatar {
  border-color: var(--primary);
}

.cv-select-tab .tab-meta {
  display: flex;
  flex-direction: column;
}

.cv-select-tab .tab-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--tx);
  line-height: 1.2;
  transition: color 0.3s;
}

.cv-select-tab.active .tab-name {
  color: #fff;
}

.cv-select-tab .tab-sub {
  font-size: 11px;
  color: var(--tx-muted);
  font-weight: 500;
  margin-top: 2px;
  transition: color 0.3s;
}

.cv-select-tab.active .tab-sub {
  color: rgba(255, 255, 255, 0.8);
}

.cv-matcher-container {
  margin-top: 40px;
  padding: 24px;
  border-radius: 28px;
}

.cv-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

/* 1. CV Document Preview (Left Column) */
.cv-document-preview {
  background-color: var(--bg);
  border: 1px solid var(--input-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.cv-document-preview:hover {
  box-shadow: 0 8px 30px rgba(0, 90, 194, 0.04);
  border-color: rgba(0, 90, 194, 0.2);
}

.document-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--tx-muted);
  border-bottom: 1px solid var(--input-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  position: relative;
}

.document-header .header-icon {
  font-size: 18px;
  color: var(--primary);
}

.document-header .doc-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 900;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.document-sheet {
  flex: 1;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.document-sheet h4 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--tx);
}

.document-sheet .cv-subtitle {
  font-size: 11.5px;
  color: var(--tx-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.document-sheet .cv-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--input-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.document-sheet .cv-initials {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.document-sheet .cv-initials.finance {
  background: linear-gradient(135deg, #005ac2 0%, #10b981 100%);
}

.document-sheet .cv-initials.tech {
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
}

.document-sheet .cv-body-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.document-sheet .cv-section-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.document-sheet .cv-skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.document-sheet .cv-skill-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--tx);
}

.document-sheet .cv-projects-list {
  list-style: none;
  padding: 0;
}

.document-sheet .cv-projects-list li {
  font-size: 11px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 12px;
  color: var(--tx-muted);
}

.document-sheet .cv-projects-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* 2. Chatbot Workspace (Middle Column) */
.cv-chatbot-workspace {
  background-color: var(--bg);
  border: 1px solid var(--input-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 480px; /* Sized to match other columns and avoid congestion */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

/* Scrollbar styling for chatbot feed and composer draft text */
.chatbot-feed::-webkit-scrollbar,
.email-composer .draft-text::-webkit-scrollbar {
  width: 6px;
}

.chatbot-feed::-webkit-scrollbar-track,
.email-composer .draft-text::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-feed::-webkit-scrollbar-thumb,
.email-composer .draft-text::-webkit-scrollbar-thumb {
  background: var(--input-border);
  border-radius: 10px;
}

.chatbot-feed::-webkit-scrollbar-thumb:hover,
.email-composer .draft-text::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.cv-chatbot-workspace:hover {
  border-color: rgba(0, 90, 194, 0.2);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--input-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
}

.chatbot-actions {
  display: flex;
  gap: 8px;
  color: var(--tx-muted);
}

.chatbot-actions span {
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
}

.chatbot-actions span:hover {
  color: var(--tx);
}

.chatbot-feed {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  padding-right: 4px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.chat-bubble.bot {
  background-color: var(--input-bg);
  color: var(--tx);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  border: 1px solid var(--input-border);
}

.chat-bubble.user {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 90, 194, 0.2);
}

/* Typing Indicator bouncing dots */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px !important;
}

.typing-indicator .dot {
  width: 6px;
  height: 6px;
  background: var(--tx-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
  opacity: 0.6;
}

.typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Chatbot Input Mock */
.chatbot-input-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 12px;
}

.chatbot-input-mock .input-icon {
  font-size: 18px;
  color: var(--primary);
}

.chatbot-input-mock .input-placeholder {
  font-size: 11.5px;
  color: var(--tx-muted);
  flex: 1;
}

.chatbot-input-mock .input-actions {
  display: flex;
  gap: 8px;
  color: var(--tx-muted);
}

.chatbot-input-mock .input-actions span {
  font-size: 16px;
  cursor: pointer;
}

/* 3. Outbound Panel (Right Column) */
.cv-outbound-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.email-section {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.companies-section h5, .email-section h5 {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Match target cards */
.company-match-card {
  background-color: var(--bg);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.company-match-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 90, 194, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.company-match-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 90, 194, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 4px 15px rgba(0, 90, 194, 0.08);
}

.company-logo-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.company-match-info {
  text-align: left;
  flex: 1;
}

.company-match-info h6 {
  font-size: 13px;
  font-weight: 800;
  color: var(--tx);
  margin: 0;
}

.company-match-info p {
  font-size: 10.5px;
  color: var(--tx-muted);
  margin: 2px 0 0 0;
}

.match-score {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--primary);
  background-color: rgba(0, 90, 194, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 90, 194, 0.15);
}

/* Upgraded Email Composer Widget */
.email-composer {
  background-color: var(--bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: 20px !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  flex: 1;
}

.composer-header {
  background: var(--input-bg);
  border-bottom: 1px solid var(--input-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  position: relative;
}

.composer-header .window-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  left: 16px;
}

.window-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots .dot.red { background-color: #ff5f56; }
.window-dots .dot.yellow { background-color: #ffbd2e; }
.window-dots .dot.green { background-color: #27c93f; }

.composer-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--tx-muted);
  text-transform: uppercase;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

.composer-meta {
  padding: 10px 16px;
  border-bottom: 1px solid var(--input-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
}

.meta-row {
  display: flex;
  align-items: center;
  font-size: 11.5px;
  text-align: left;
}

.meta-label {
  color: var(--tx-muted);
  width: 55px;
}

.meta-val {
  color: var(--tx);
}

.composer-body {
  padding: 16px;
  background: var(--bg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.email-composer .draft-text {
  font-size: 11.5px;
  line-height: 1.6;
  text-align: left;
  flex: 1;
  overflow-y: auto;
  white-space: pre-wrap;
  color: var(--tx);
}

.composer-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--input-border);
  background: var(--input-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.composer-footer-actions {
  display: flex;
  gap: 12px;
  color: var(--tx-muted);
}

.composer-footer-actions span {
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
}

.composer-footer-actions span:hover {
  color: var(--tx);
}

/* Pricing cards styling */
.pricing-section {
  padding: 100px 0;
}

.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(0, 88, 190, 0.16);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.card-plan-header h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.card-plan-header .desc {
  font-size: 12.5px;
  color: var(--tx-muted);
}

.card-price {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.card-price .currency {
  font-size: 22px;
  font-weight: 700;
}

.card-price .price-val {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.card-price .duration {
  font-size: 14px;
  color: var(--tx-muted);
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  text-align: left;
}

.card-features li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li.disabled {
  color: var(--tx-muted);
  opacity: 0.5;
}

.card-features span {
  font-size: 16px;
}

.text-green { color: #10b981; }
.text-red { color: #ef4444; }

.pricing-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-h);
  font-weight: 700;
  cursor: pointer;
  background-color: transparent;
  border: 1.5px solid var(--input-border);
  color: var(--tx);
  transition: var(--transition);
}

.pricing-btn:hover {
  background-color: var(--pfp-bg);
  border-color: var(--primary);
}

.pricing-card.featured .pricing-btn {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pricing-card.featured .pricing-btn:hover {
  background-color: var(--primary-hover);
}

/* Founders Cards initial styles */
.founders-section {
  padding: 100px 0 150px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.founder-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.founder-avatar-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 20px;
  overflow: hidden;
  border: 2px solid var(--card-border);
  background-color: var(--pfp-bg);
}

.founder-avatar-canvas {
  width: 100%;
  height: 100%;
}

.founder-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.founder-card .founder-role {
  font-size: 13px;
  color: var(--tx-muted);
  font-weight: 600;
}

/* Modal Checkout overlay styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 10, 19, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  width: 90%;
  max-width: 440px;
  padding: 24px;
  position: relative;
  text-align: left;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 20px;
}

.close-modal-btn {
  background: none;
  border: none;
  color: var(--tx-muted);
  cursor: pointer;
}

.modal-body p {
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-progress-bar {
  width: 100%;
  height: 6px;
  background-color: var(--input-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.modal-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: width 0.1s linear;
}

.modal-status-text {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--tx-muted);
}

.w-full {
  width: 100%;
}

.mt-6 {
  margin-top: 24px;
}

/* Footer layout */
.footer {
  background-color: rgba(0, 0, 0, 0.02);
  border-top: 1px solid var(--card-border);
  padding: 80px 0 30px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.brand-pitch {
  color: var(--tx-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-links-group {
  display: flex;
  justify-content: space-between;
}

.links-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.links-column h4 {
  font-size: 13px;
  font-weight: 900;
  color: var(--tx);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.links-column a {
  color: var(--tx-muted);
  transition: var(--transition);
}

.links-column a:hover {
  color: var(--primary);
}

.linkedin-gateway-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #0077b5;
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12.5px;
}

.linkedin-gateway-btn:hover {
  background-color: #046294;
}

.linkedin-svg {
  fill: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 30px;
  color: var(--tx-muted);
  font-size: 12.5px;
}

/* Scroll reveal items */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* FULL SCREEN SCROLL-UNFOLD INTRO SYSTEM */
.intro-scroll-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: visible;
  z-index: 1002;
}

.logo-transform-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
  z-index: 1002;
  pointer-events: auto;
  transition: background-color 0.4s ease;
}

.logo-morph-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  width: 100%;
}

.intro-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.large-logo {
  width: 240px;
  max-width: 80%;
  height: auto;
  aspect-ratio: 28 / 8;
  transform: scale(1.6);
  transform-origin: center;
  overflow: visible !important;
}

.large-logo .pixel {
  fill: var(--tx);
  transform-box: fill-box;
  transform-origin: center;
}

.large-logo .pixel.dot {
  fill: var(--primary) !important;
}

.intro-tagline {
  margin-top: 20px;
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(135deg, var(--tx) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  z-index: 1003;
  pointer-events: none;
}



/* Scroll down hint at the bottom of full-screen loader */
.scroll-down-hint {
  position: absolute;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--tx-muted);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulseFade 2s infinite ease-in-out;
}

.scroll-icon {
  font-size: 24px !important;
}

@keyframes pulseFade {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

.intro-scroll-wrapper .hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Initial hidden states for Hero/Nav elements to enable smooth GSAP unfold reveal */
.js-active .glass-nav {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

.js-active .hero-text-content {
  opacity: 0;
  transform: translateY(50px);
}

.js-active .hero-simulator {
  opacity: 0;
  transform: translateY(50px);
}

/* Responsive breakdowns */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  .sandbox-container {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .col-span-8, .col-span-4, .col-span-5, .col-span-7 {
    grid-column: span 12;
  }
  .cv-split-grid {
    grid-template-columns: 1fr;
  }
  .pricing-cards-container {
    grid-template-columns: 1fr;
  }
  .founders-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}



/* Sparkle Effect highlight word */
.cold-mailing-sparkle {
  position: relative;
  display: inline-block;
  transition: text-shadow 0.3s ease;
}

/* Dynamic Sparkle Particles */
.sparkle-star {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 4px currentColor);
}

/* ==========================================
   Premium Upgrades: SFX Toggle, 3D Mockup, Sonar Radar & CV Match Gauge
   ========================================== */

/* SFX Toggle Button */
#sfx-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#sfx-toggle:hover span {
  transform: scale(1.1);
}

/* 3D Parallax Dashboard Mockup */
.hero-simulator {
  perspective: 1200px;
  transform-style: preserve-3d;
  position: relative;
  transition: transform 0.15s ease-out;
}
.simulator-window {
  transform-style: preserve-3d;
  transform: translateZ(0);
}
.layer-parallax {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 90, 194, 0.25);
  transition: transform 0.15s ease-out;
}
.floating-stats-card {
  display: none !important;
  bottom: -25px;
  left: -35px;
  padding: 10px 14px;
  background: rgba(10, 15, 30, 0.75);
  border: 1.5px solid rgba(0, 90, 194, 0.35);
  border-radius: 12px;
}
.card-mini-chart {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-mini-chart .stat-icon {
  font-size: 20px;
  color: var(--primary);
}
.card-mini-chart .stat-meta {
  display: flex;
  flex-direction: column;
}
.card-mini-chart .stat-number {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.card-mini-chart .stat-label {
  font-size: 9px;
  color: var(--tx-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.floating-ai-card {
  display: none !important;
  top: 30px;
  right: -45px;
  padding: 10px 14px;
  background: rgba(10, 15, 30, 0.85);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
.floating-ai-card .ai-sparkle-icon {
  font-size: 16px;
  color: #eab308;
  filter: drop-shadow(0 0 4px #eab308);
}

/* Scraper Sonar Radar Overlay */
.sonar-radar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sonar-radar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.radar-scan-circle {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 90, 194, 0.35);
  background: radial-gradient(circle, rgba(0, 90, 194, 0.05) 0%, rgba(10, 15, 30, 0.8) 100%);
  overflow: hidden;
  margin-bottom: 14px;
}
.radar-scan-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 90, 194, 0.25);
}
.radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, rgba(0, 90, 194, 0.38) 0deg, transparent 180deg);
  border-radius: 50%;
  animation: radar-sweep-rotate 2.5s linear infinite;
  transform-origin: center;
}
@keyframes radar-sweep-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.radar-blip {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--primary);
  opacity: 0;
}
.radar-blip.blip-1 {
  top: 30%;
  left: 25%;
}
.radar-blip.blip-2 {
  bottom: 25%;
  right: 30%;
}
.radar-blip.active {
  animation: blip-pulse-flash 1.2s ease-out infinite;
}
@keyframes blip-pulse-flash {
  0% { transform: scale(0.8); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}
.radar-status-text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: text-pulse-flash 1.5s ease-in-out infinite;
}
@keyframes text-pulse-flash {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* CV Matcher Score Gauge */
.companies-header-gauge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.companies-header-gauge h5 {
  margin-bottom: 0;
}
.score-gauge-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-glow);
  border: 1px solid rgba(0, 90, 194, 0.15);
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 90, 194, 0.04);
  transition: all 0.3s ease;
}
.gauge-svg-wrap {
  position: relative;
  width: 34px;
  height: 34px;
}
.gauge-arc {
  width: 100%;
  height: 100%;
  transform: rotate(135deg);
}
.gauge-bg-arc {
  fill: none;
  stroke: rgba(0, 90, 194, 0.08);
  stroke-width: 4.5;
  stroke-linecap: round;
}
.gauge-fill-arc {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 0, 100;
  stroke-dashoffset: 37.5;
  transition: stroke-dasharray 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.gauge-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  color: var(--tx);
}
.gauge-title {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--tx-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
