/* ==========================================================================
   Digiv - Global Design System & Variables
   Modern Scandinavian Cyber-Tech Aesthetic with Dark/Light Support
   ========================================================================== */

:root,
[data-theme="dark"] {
  /* Color Palette - Dark Mode (Default) */
  --bg-primary: #070b14;
  --bg-secondary: #0c1322;
  --bg-tertiary: #131c31;
  --bg-card: rgba(13, 22, 38, 0.75);
  --bg-card-hover: rgba(19, 32, 56, 0.85);
  --bg-glass: rgba(11, 18, 32, 0.75);
  --bg-glass-strong: rgba(7, 12, 22, 0.92);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070b14;

  --accent-cyan: #54bad9;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --accent-blue: #2a6ed0;
  --accent-blue-glow: rgba(37, 99, 235, 0.35);
  --accent-cobalt: #2a6ed0;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.25);
  --border-active: rgba(0, 229, 255, 0.6);

  --gradient-neon: #2a6ed0;
  --gradient-mesh: none;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-neon: 0 0 25px rgba(0, 229, 255, 0.28);
  --shadow-neon-strong: 0 0 40px rgba(0, 229, 255, 0.45);

  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-strong: rgba(255, 255, 255, 0.96);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.25);
  --accent-blue: #2a6ed0;
  --accent-blue-glow: rgba(29, 78, 216, 0.25);
  --accent-cobalt: #0369a1;
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.2);

  --border-color: rgba(15, 23, 42, 0.1);
  --border-glow: rgba(2, 132, 199, 0.25);
  --border-active: rgba(2, 132, 199, 0.5);

  --gradient-neon: #2a6ed0;
  --gradient-mesh: none;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-neon: 0 0 20px rgba(2, 132, 199, 0.18);
  --shadow-neon-strong: 0 0 35px rgba(2, 132, 199, 0.28);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  padding-top: 78px;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  position: relative;
  min-height: 100vh;
}

[id],
.section,
.product-feature-card,
.contact-section {
  scroll-margin-top: 88px;
}

/* Background Atmosphere & Canvas */
.bg-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
}

.mesh-glow {
  display: none;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

.text-gradient {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--accent-blue);
}

[data-theme="light"] .text-gradient {
  color: var(--accent-blue);
}

.highlight-cyan {
  color: var(--accent-cyan);
}

.highlight-blue {
  color: var(--accent-blue);
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--accent-cyan-glow); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px transparent; }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 transparent; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  outline: none;
  box-shadow: 0 4px 14px var(--accent-blue-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--accent-cobalt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-blue-glow);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: none;
  outline: none;
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border: none;
  transform: translateY(-2px);
  color: var(--accent-cyan);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  padding: 10px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
}

/* Header & Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(10, 15, 26, 0.94);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(0, 229, 255, 0.2);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: clamp(12px, 2vw, 24px);
  max-width: 1320px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-img-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
}

.brand-logo:hover .logo-img-wrapper {
  transform: scale(1.08) rotate(5deg);
  box-shadow: var(--shadow-neon-strong);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-ext {
  color: var(--accent-cyan);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 22px);
  list-style: none;
  margin: 0 auto;
}

.nav-link {
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Control Switchers: Language & Theme */
.lang-switcher {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: border-color var(--transition-fast);
}

.theme-toggle {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.theme-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--accent-blue-glow);
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 72px;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  word-break: break-word;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.trust-ticker {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  width: 100%;
  flex-wrap: wrap;
}

.ticker-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticker-val {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
}

.ticker-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Hero Logo Orb Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.orb-container {
  position: relative;
  width: min(380px, 85vw);
  height: min(380px, 85vw);
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--border-glow);
  pointer-events: none;
}

.ring-1 {
  width: min(420px, 94vw);
  height: min(420px, 94vw);
  animation: spinSlow 35s linear infinite;
}

.ring-2 {
  width: min(340px, 78vw);
  height: min(340px, 78vw);
  border: 1px solid rgba(0, 229, 255, 0.2);
  animation: spinSlowReverse 28s linear infinite;
}

.ring-3 {
  width: min(270px, 62vw);
  height: min(270px, 62vw);
  border: 1.5px dotted rgba(37, 99, 235, 0.35);
  animation: spinSlow 18s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.logo-main-display {
  position: relative;
  width: min(250px, 56vw);
  height: min(250px, 56vw);
  border-radius: 50%;
  padding: 8px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--shadow-neon-strong), 0 0 100px rgba(0, 229, 255, 0.2);
  z-index: 5;
  transition: transform var(--transition-slow);
}

.logo-main-display:hover {
  transform: scale(1.05) rotate(3deg);
}

.logo-main-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.floating-pill {
  position: absolute;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 6;
  animation: floatBob 6s ease-in-out infinite alternate;
}

.pill-1 {
  top: 10px;
  right: -20px;
  animation-delay: 0s;
}

.pill-2 {
  bottom: 20px;
  left: -25px;
  animation-delay: 2s;
}

@keyframes floatBob {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* Sections Shared */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-title {
  font-size: 2.65rem;
  font-weight: 800;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Product Showcase Grid & Cards */


.products-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.product-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 42px 48px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.product-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-neon);
  opacity: 0.5;
  transition: opacity var(--transition-normal);
}

.product-feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 35px var(--accent-cyan-glow);
}

.product-feature-card:hover::before {
  opacity: 1;
}

.product-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.product-split.reverse {
  grid-template-columns: 1.4fr 1fr;
}

.product-split.reverse .product-info {
  order: 2;
}

.product-split.reverse .product-interactive {
  order: 1;
}

.product-interactive {
  min-width: 0;
  width: 100%;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-header-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.product-name {
  font-size: 2.1rem;
  font-weight: 800;
}

.product-tagline {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   INTERACTIVE COMPONENT 1: CrewPING Live Telemetry & Console Mockup
   ========================================================================== */
/* ==========================================================================
   INTERACTIVE COMPONENT 1: CrewPING Live Workspace & Team App Mockup
   ========================================================================== */
.crewping-app-window,
.crewpings-console {
  background: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .crewping-app-window,
[data-theme="light"] .crewpings-console {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

/* App Topbar */
.app-topbar {
  background: #050810;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

[data-theme="light"] .app-topbar {
  background: #f8fafc;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

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

.ctrl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.app-window-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 6px;
  letter-spacing: -0.01em;
}

.app-global-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #64748b;
  min-width: 170px;
}

[data-theme="light"] .app-global-search {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #64748b;
}

.app-global-search kbd {
  margin-left: auto;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: #94a3b8;
}

[data-theme="light"] .app-global-search kbd {
  background: #f1f5f9;
  color: #475569;
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-app-invite {
  background: linear-gradient(135deg, #2a6ed0, #2563eb);
  color: #ffffff;
  border: none;
  outline: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
  transition: all var(--transition-fast);
}

.btn-app-invite:hover {
  background: linear-gradient(135deg, #1e40af, #2a6ed0);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.app-profile-avatar {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a6ed0, #2563eb);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.app-status-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #050810;
}

[data-theme="light"] .app-status-badge {
  border-color: #ffffff;
}

/* App Body Layout (3 columns) */
.app-body-layout {
  display: flex;
  height: 400px;
}

/* 1. Left Icon Rail */
.app-icon-rail {
  width: 46px;
  background: #060913;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  flex-shrink: 0;
}

[data-theme="light"] .app-icon-rail {
  background: #f1f5f9;
  border-right-color: rgba(0, 0, 0, 0.08);
}

.rail-logo {
  font-weight: 900;
  font-size: 0.75rem;
  color: #2563eb;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.rail-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.rail-item-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: none;
  outline: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rail-item-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

[data-theme="light"] .rail-item-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.rail-item-btn.active {
  background: rgba(37, 99, 235, 0.16);
  color: #2563eb;
}

[data-theme="light"] .rail-item-btn.active {
  background: rgba(37, 99, 235, 0.12);
  color: #2a6ed0;
}

.rail-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #2563eb;
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rail-bottom-group {
  margin-top: auto;
}

/* 2. Teams Sidebar */
.app-teams-sidebar {
  width: 160px;
  background: #080c17;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

[data-theme="light"] .app-teams-sidebar {
  background: #f8fafc;
  border-right-color: rgba(0, 0, 0, 0.08);
}

.teams-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.teams-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-new-team {
  background: rgba(37, 99, 235, 0.14);
  color: #2563eb;
  border: none;
  outline: none;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="light"] .btn-new-team {
  background: rgba(37, 99, 235, 0.1);
  color: #2a6ed0;
}

.btn-new-team:hover {
  background: rgba(37, 99, 235, 0.25);
  color: #1e40af;
}

.teams-tabs-pill {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
  border-radius: var(--radius-sm);
  gap: 2px;
}

[data-theme="light"] .teams-tabs-pill {
  background: #e2e8f0;
}

.tab-pill {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.tab-pill.active {
  background: linear-gradient(135deg, #2a6ed0, #2563eb);
  color: #ffffff;
  font-weight: 700;
}

.teams-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

[data-theme="light"] .teams-search-box {
  background: #ffffff;
  border-color: #cbd5e1;
}

.teams-search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.72rem;
  color: var(--text-primary);
  width: 100%;
}

.team-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.team-meta-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-avatar-sq {
  font-size: 0.85rem;
}

.team-text-col {
  display: flex;
  flex-direction: column;
}

.team-title-txt {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-you-pill {
  font-size: 0.58rem;
  background: rgba(37, 99, 235, 0.18);
  color: #2563eb;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}

[data-theme="light"] .badge-you-pill {
  background: rgba(37, 99, 235, 0.12);
  color: #2a6ed0;
}

.team-count-txt {
  font-size: 0.62rem;
  color: #64748b;
}

.chevron-arrow {
  font-size: 0.72rem;
  color: #64748b;
}

.team-member-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 6px;
}

.member-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all var(--transition-fast);
}

.member-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .member-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.member-item.active {
  background: rgba(37, 99, 235, 0.14);
}

[data-theme="light"] .member-item.active {
  background: rgba(37, 99, 235, 0.1);
}

.member-av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.av-user1 {
  background: linear-gradient(135deg, #2a6ed0, #2563eb) !important;
  color: #ffffff !important;
}

.av-user2 {
  background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
  color: #ffffff !important;
}

.av-bot {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  color: #ffffff !important;
}

.member-name-txt {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.chat-bubble-ico {
  font-size: 0.65rem;
  opacity: 0.6;
}

/* 3. Main Chat Stream Column */
.app-chat-stream-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #090e1a;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .app-chat-stream-col {
  background: #ffffff;
}

/* Chat Header */
.chat-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 16, 0.3);
}

[data-theme="light"] .chat-header-bar {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.chat-target-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.target-avatar-wrap {
  position: relative;
}

.target-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.target-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #090e1a;
}

[data-theme="light"] .target-online-dot {
  border-color: #ffffff;
}

.target-name-txt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.target-status-txt {
  font-size: 0.65rem;
  color: #64748b;
}

.chat-header-btn-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.act-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  outline: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="light"] .act-btn {
  background: #f1f5f9;
  color: #334155;
}

.act-btn:hover {
  background: rgba(37, 99, 235, 0.16);
  color: #2563eb;
}

[data-theme="light"] .act-btn:hover {
  background: rgba(37, 99, 235, 0.12);
  color: #2a6ed0;
}

.act-btn.icon-only {
  padding: 4px 6px;
}

/* Chat Messages Scroll */
.crew-messages-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crew-messages-scroll::-webkit-scrollbar {
  width: 4px;
}

.crew-messages-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.crew-msg-row {
  display: flex;
  width: 100%;
  animation: fadeInMsg 0.2s ease;
}

.crew-msg-row.outgoing {
  justify-content: flex-end;
}

.crew-msg-row.incoming {
  justify-content: flex-start;
  gap: 8px;
}

.crew-avatar-col {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.crew-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.crew-msg-row.outgoing .crew-bubble-wrap {
  align-items: flex-end;
}

.crew-bubble {
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 0.79rem;
  line-height: 1.4;
}

.crew-bubble.outgoing {
  background: linear-gradient(135deg, #2a6ed0, #2563eb);
  color: #ffffff;
  border-bottom-right-radius: 2px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

.crew-bubble.incoming {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .crew-bubble.incoming {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.06);
  color: #1e293b;
}

.crew-file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-bottom: 4px;
  min-width: 190px;
}

[data-theme="light"] .crew-file-card {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
}

.file-download-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 0.82rem;
}

.crew-msg-meta {
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 2px;
  display: flex;
  gap: 5px;
}

.edited-tag {
  font-style: italic;
  opacity: 0.8;
}

/* Composer Bottom */
.crew-composer-bottom {
  padding: 6px 12px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 16, 0.4);
}

[data-theme="light"] .crew-composer-bottom {
  background: #ffffff;
  border-top-color: rgba(0, 0, 0, 0.06);
}

.composer-form {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 3px 6px;
  transition: border-color var(--transition-fast);
}

[data-theme="light"] .composer-form {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.composer-form:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.composer-tools-left {
  display: flex;
  gap: 2px;
}

.c-tool-btn {
  background: transparent;
  border: none;
  outline: none;
  color: #64748b;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-tool-btn:hover {
  color: var(--text-primary);
}

.composer-text-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 5px 6px;
  font-size: 0.79rem;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.composer-send-icon-btn {
  background: linear-gradient(135deg, #2a6ed0, #2563eb);
  color: white;
  border: none;
  outline: none;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: all var(--transition-fast);
}

.composer-send-icon-btn:hover {
  background: linear-gradient(135deg, #1e40af, #2a6ed0);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.composer-keyboard-hint {
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 3px;
  padding-left: 2px;
}

@media (max-width: 640px) {
  .app-icon-rail,
  .app-teams-sidebar {
    display: none;
  }
}

/* ==========================================================================
   INTERACTIVE COMPONENT 2: S.H.E Ecosystem Suite (Evaluator, Packages, Comparison, Poster)
   ========================================================================== */
.she-portal-window {
  background: var(--bg-tertiary, #0d131f);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(168, 85, 247, 0.1);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .she-portal-window {
  background: #ffffff;
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.she-window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0c0f1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .she-window-topbar {
  background: #f8fafc;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

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

.she-window-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.02em;
  margin-left: 4px;
}

[data-theme="light"] .she-window-title {
  color: #334155;
}

.she-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.she-screen-view {
  display: none;
}

.she-screen-view.active {
  display: block;
}

/* S.H.E View 1: Evaluator Showcase */
.she-showcase {
  background: transparent;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.she-candidate-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

[data-theme="light"] .she-candidate-tabs {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.candidate-tab {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: none;
  outline: none;
  color: #94a3b8;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.candidate-tab:hover {
  background: rgba(139, 92, 246, 0.12);
  color: #c084fc;
}

.candidate-tab.active {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.4);
}

[data-theme="light"] .candidate-tab {
  background: rgba(139, 92, 246, 0.06);
  color: #475569;
}

[data-theme="light"] .candidate-tab:hover {
  background: rgba(139, 92, 246, 0.14);
  color: #7c3aed;
}

[data-theme="light"] .candidate-tab.active {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  color: #ffffff !important;
}

/* S.H.E Profile Header & Score */
.she-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.candidate-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cand-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

.cand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

[data-theme="light"] .cand-name {
  color: #0f172a;
}

.cand-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

[data-theme="light"] .cand-role {
  color: #64748b;
}

.ai-match-score {
  text-align: right;
}

.she-score-purple {
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  background: rgba(139, 92, 246, 0.08) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.15) !important;
}

[data-theme="light"] .she-score-purple {
  background: rgba(139, 92, 246, 0.05) !important;
  border-color: rgba(139, 92, 246, 0.22) !important;
}

.she-score-purple .score-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.she-score-purple .score-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8b5cf6;
}

[data-theme="light"] .she-score-purple .score-label {
  color: #7c3aed;
}

/* S.H.E Radar Skill Bars */
.she-radar-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(12, 16, 29, 0.7);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

[data-theme="light"] .she-radar-bars {
  background: #f8fafc;
  border-color: rgba(139, 92, 246, 0.15);
}

.skill-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

[data-theme="light"] .skill-info {
  color: #334155;
}

.skill-pct {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="light"] .skill-pct {
  color: #0f172a;
}

.skill-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

[data-theme="light"] .skill-bar-bg {
  background: rgba(139, 92, 246, 0.1);
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s ease-in-out;
}

.she-bar-purple {
  background: linear-gradient(90deg, #7c3aed, #a855f7) !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
}

/* S.H.E AI Recruiter Speech Insight Box */
.ai-interview-box {
  border-radius: var(--radius-md);
  padding: 14px;
}

.she-interview-purple {
  border: 1px dashed rgba(139, 92, 246, 0.35) !important;
  background: rgba(139, 92, 246, 0.06) !important;
}

[data-theme="light"] .she-interview-purple {
  background: rgba(139, 92, 246, 0.04) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}

.she-interview-purple .ai-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #8b5cf6 !important;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

[data-theme="light"] .she-interview-purple .ai-box-title {
  color: #7c3aed !important;
}

.she-interview-purple .ai-box-title svg {
  stroke: #8b5cf6 !important;
}

[data-theme="light"] .she-interview-purple .ai-box-title svg {
  stroke: #7c3aed !important;
}

.she-interview-purple .ai-speech-text {
  color: #cbd5e1;
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  min-height: 42px;
}

[data-theme="light"] .she-interview-purple .ai-speech-text {
  color: #334155;
}

.she-live-chip {
  font-size: 0.65rem;
  font-weight: 700;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: auto;
}

[data-theme="light"] .she-live-chip {
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.12);
}

/* S.H.E Action Button */
.she-action-btn.she-btn-purple {
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  border-radius: var(--radius-md);
  font-weight: 700 !important;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35) !important;
  transition: all var(--transition-fast);
}

.she-action-btn.she-btn-purple svg {
  stroke: #ffffff !important;
  fill: none !important;
}

.she-action-btn.she-btn-purple span {
  color: #ffffff !important;
}

.she-action-btn.she-btn-purple:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5) !important;
}

.chip-pulse-dot.dot-purple {
  background: #8b5cf6;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.7);
}

.chip-pulse-dot.dot-purple::after {
  border-color: #8b5cf6;
}

.chip-pulse-dot.dot-blue {
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.7);
}

.chip-pulse-dot.dot-blue::after {
  border-color: #2563eb;
}

/* ==========================================================================
   PRODUCT CARDS DEDICATED BRAND COLORING (S.H.E, Supporting Circle, CrewPING)
   ========================================================================== */

/* 1. S.H.E (Smart Hiring Ecosystem) - Signature Royal Purple */
#she.product-feature-card {
  border-color: rgba(139, 92, 246, 0.25);
}

#she.product-feature-card::before {
  background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc) !important;
}

#she.product-feature-card:hover {
  border-color: rgba(139, 92, 246, 0.45) !important;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(139, 92, 246, 0.2) !important;
}

[data-theme="light"] #she.product-feature-card {
  border-color: rgba(139, 92, 246, 0.22);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

[data-theme="light"] #she.product-feature-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.15);
}

#she .product-icon-wrap,
#she .she-icon-theme {
  background: rgba(139, 92, 246, 0.12) !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  color: #8b5cf6 !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25) !important;
}

[data-theme="light"] #she .product-icon-wrap,
[data-theme="light"] #she .she-icon-theme {
  background: rgba(139, 92, 246, 0.08) !important;
  color: #7c3aed !important;
}

#she .badge {
  color: #8b5cf6 !important;
  background: rgba(139, 92, 246, 0.08) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
}

[data-theme="light"] #she .badge {
  color: #7c3aed !important;
  background: rgba(139, 92, 246, 0.06) !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
}

#she .product-tagline {
  color: #8b5cf6 !important;
}

[data-theme="light"] #she .product-tagline {
  color: #7c3aed !important;
}

#she .check-icon {
  color: #8b5cf6 !important;
}

[data-theme="light"] #she .check-icon {
  color: #7c3aed !important;
}

#she .btn-primary {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35) !important;
}

#she .btn-primary:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5) !important;
  transform: translateY(-2px);
}

/* 2. Supporting Circle - Signature Pine Teal */
#supporting-circle.product-feature-card {
  border-color: rgba(61, 123, 117, 0.25);
}

#supporting-circle.product-feature-card::before {
  background: linear-gradient(90deg, #2d5e59, #3d7b75, #4e9992) !important;
}

#supporting-circle.product-feature-card:hover {
  border-color: rgba(61, 123, 117, 0.45) !important;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(61, 123, 117, 0.2) !important;
}

[data-theme="light"] #supporting-circle.product-feature-card {
  border-color: rgba(61, 123, 117, 0.22);
  box-shadow: 0 10px 30px rgba(61, 123, 117, 0.08);
}

[data-theme="light"] #supporting-circle.product-feature-card:hover {
  border-color: rgba(61, 123, 117, 0.45);
  box-shadow: 0 18px 40px rgba(61, 123, 117, 0.15);
}

#supporting-circle .product-icon-wrap,
#supporting-circle .sc-icon-theme {
  background: rgba(61, 123, 117, 0.12) !important;
  border: 1px solid rgba(61, 123, 117, 0.35) !important;
  color: #3d7b75 !important;
  box-shadow: 0 0 20px rgba(61, 123, 117, 0.25) !important;
}

[data-theme="light"] #supporting-circle .product-icon-wrap,
[data-theme="light"] #supporting-circle .sc-icon-theme {
  background: rgba(61, 123, 117, 0.08) !important;
  color: #2d5e59 !important;
}

#supporting-circle .badge {
  color: #3d7b75 !important;
  background: rgba(61, 123, 117, 0.08) !important;
  border: 1px solid rgba(61, 123, 117, 0.25) !important;
}

[data-theme="light"] #supporting-circle .badge {
  color: #2d5e59 !important;
  background: rgba(61, 123, 117, 0.06) !important;
  border-color: rgba(61, 123, 117, 0.25) !important;
}

#supporting-circle .product-tagline {
  color: #3d7b75 !important;
}

[data-theme="light"] #supporting-circle .product-tagline {
  color: #2d5e59 !important;
}

#supporting-circle .check-icon {
  color: #3d7b75 !important;
}

[data-theme="light"] #supporting-circle .check-icon {
  color: #2d5e59 !important;
}

#supporting-circle .btn-primary {
  background: linear-gradient(135deg, #3d7b75, #4e9992) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 16px rgba(61, 123, 117, 0.35) !important;
}

#supporting-circle .btn-primary:hover {
  background: linear-gradient(135deg, #2d5e59, #3d7b75) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(61, 123, 117, 0.5) !important;
  transform: translateY(-2px);
}

/* 3. CrewPING - Signature Electric / Cobalt Blue */
#crewpings.product-feature-card {
  border-color: rgba(37, 99, 235, 0.25);
}

#crewpings.product-feature-card::before {
  background: linear-gradient(90deg, #2a6ed0, #2563eb, #38bdf8) !important;
}

#crewpings.product-feature-card:hover {
  border-color: rgba(37, 99, 235, 0.45) !important;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] #crewpings.product-feature-card {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

[data-theme="light"] #crewpings.product-feature-card:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.15);
}

#crewpings .product-icon-wrap {
  background: rgba(37, 99, 235, 0.12) !important;
  border: 1px solid rgba(37, 99, 235, 0.35) !important;
  color: #2563eb !important;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] #crewpings .product-icon-wrap {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #2a6ed0 !important;
}

#crewpings .badge {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] #crewpings .badge {
  color: #2a6ed0 !important;
  background: rgba(37, 99, 235, 0.06) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
}

#crewpings .product-tagline {
  color: #2563eb !important;
}

[data-theme="light"] #crewpings .product-tagline {
  color: #2a6ed0 !important;
}

#crewpings .check-icon {
  color: #2563eb !important;
}

[data-theme="light"] #crewpings .check-icon {
  color: #2a6ed0 !important;
}

#crewpings .btn-primary {
  background: linear-gradient(135deg, #2a6ed0, #2563eb) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35) !important;
}

#crewpings .btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #2a6ed0) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   INTERACTIVE COMPONENT 3: Supporting Circle (Screen 1: Register & Screen 2: Marketplace)
   ========================================================================== */
.sc-icon-theme {
  color: #3d7b75;
}

.sc-portal-window {
  background: #090e15;
  border: 1px solid rgba(61, 123, 117, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .sc-portal-window {
  background: #f8fafc;
  border-color: rgba(61, 123, 117, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

/* macOS Window Header */
.sc-window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #06090e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .sc-window-topbar {
  background: #f8fafc;
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

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

.sc-window-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.02em;
  margin-left: 4px;
}

[data-theme="light"] .sc-window-title {
  color: #334155;
}

.sc-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Screen Switcher Header */
.sc-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #080d13;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 10px;
}

[data-theme="light"] .sc-screen-header {
  background: #f1f5f9;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.sc-screen-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 3px;
}

[data-theme="light"] .sc-screen-tabs {
  background: #e2e8f0;
}

.sc-view-tab {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sc-view-tab:hover {
  color: var(--text-primary);
}

.sc-view-tab.active {
  background: #3d7b75;
  color: #ffffff;
}

.sc-privacy-shield-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(61, 123, 117, 0.12);
  border: 1px solid rgba(61, 123, 117, 0.25);
  color: #489b94;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

[data-theme="light"] .sc-privacy-shield-chip {
  background: rgba(61, 123, 117, 0.08);
  border-color: rgba(61, 123, 117, 0.2);
  color: #2d5e59;
}

.sc-shield-icon {
  font-size: 0.72rem;
  line-height: 1;
}

.sc-lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: none;
  outline: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sc-lang-toggle-btn:hover {
  background: rgba(61, 123, 117, 0.25);
  color: #489b94;
}

[data-theme="light"] .sc-lang-toggle-btn {
  background: #ffffff;
  color: #1e293b;
}

/* Views Container */
.sc-screen-view {
  display: none;
}

.sc-screen-view.active {
  display: block;
}

/* ==========================================================================
   SCREEN 1: Register & Privacy Onboarding Styles
   ========================================================================== */
#scScreen1View {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.sc-portal-split {
  display: flex;
  gap: 24px;
  padding: 20px 22px;
  width: 760px;
  flex-shrink: 0;
  transform-origin: top left;
  transform: scale(var(--sc-scale-1, 0.78));
  transition: transform 0.15s ease-out;
}

.sc-portal-hero {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-emblem img,
.sc-rail-logo img {
  display: block;
  object-fit: contain;
}

.sc-brand-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.sc-hero-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.sc-hero-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.sc-circle-illustration {
  width: 100%;
  max-width: 320px;
  margin: 2px 0;
  animation: scCircleBreathe 5s ease-in-out infinite;
}

@keyframes scCircleBreathe {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.sc-scene-svg {
  width: 100%;
  height: auto;
  display: block;
}

.sc-scene-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.sc-circle-illustration:hover .sc-scene-img {
  transform: scale(1.02);
}

.sc-feature-cards-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-val-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: rgba(61, 123, 117, 0.07);
  border: 1px solid rgba(61, 123, 117, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .sc-val-card {
  background: #ffffff;
  border-color: rgba(61, 123, 117, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sc-val-card:hover {
  border-color: rgba(61, 123, 117, 0.35);
  transform: translateY(-1px);
}

.sc-val-card.highlight {
  border-color: #3d7b75;
  background: rgba(61, 123, 117, 0.18);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(61, 123, 117, 0.22);
}

[data-theme="light"] .sc-val-card.highlight {
  background: rgba(61, 123, 117, 0.1);
  border-color: #3d7b75;
  box-shadow: 0 4px 14px rgba(61, 123, 117, 0.15);
}

.sc-val-card .sc-live-indicator-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3d7b75;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sc-val-card.highlight .sc-live-indicator-dot {
  opacity: 1;
  box-shadow: 0 0 8px #3d7b75;
}

.sc-val-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(61, 123, 117, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sc-val-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-val-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sc-val-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.sc-portal-auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sc-auth-card {
  background: #0e1620;
  border: 1px solid rgba(61, 123, 117, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .sc-auth-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.sc-auth-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sc-auth-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.sc-auth-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

.sc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sc-form-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.sc-pseudonym-gen-btn {
  background: rgba(61, 123, 117, 0.12);
  border: none;
  outline: none;
  color: #3d7b75;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.sc-pseudonym-gen-btn:hover {
  background: #3d7b75;
  color: #ffffff;
}

[data-theme="light"] .sc-pseudonym-gen-btn {
  background: rgba(61, 123, 117, 0.1);
  color: #2d5e59;
}

[data-theme="light"] .sc-pseudonym-gen-btn:hover {
  background: #3d7b75;
  color: #ffffff;
}

.sc-form-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.79rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

[data-theme="light"] .sc-form-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.sc-form-input:focus {
  border-color: #3d7b75;
}

/* Dynamic Live Password Requirements */
.sc-password-reqs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  margin-top: 4px;
}

.sc-req-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.63rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

[data-theme="light"] .sc-req-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

.sc-req-pill.active {
  background: rgba(61, 123, 117, 0.18);
  border-color: rgba(61, 123, 117, 0.35);
  color: #489b94;
}

[data-theme="light"] .sc-req-pill.active {
  background: rgba(61, 123, 117, 0.12);
  border-color: rgba(61, 123, 117, 0.3);
  color: #2d5e59;
}

.sc-req-check {
  font-size: 0.6rem;
  font-weight: 800;
}

.sc-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.sc-eye-icon {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-size: 0.75rem;
  opacity: 0.6;
}

.sc-terms-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 2px;
}

.sc-terms-txt {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.sc-terms-txt a {
  color: #3d7b75;
  text-decoration: underline;
}

.sc-btn-primary {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #3d7b75;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-btn-primary:hover {
  background: #2d5e59;
  transform: translateY(-1px);
}

.sc-btn-primary.pulse-btn {
  transform: scale(0.98);
  box-shadow: 0 0 18px rgba(61, 123, 117, 0.65);
}

.sc-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sc-btn-secondary {
  background: transparent;
  border: none;
  outline: none;
  color: #3d7b75;
  font-weight: 700;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.sc-btn-secondary:hover {
  color: #489b94;
}

#scScreen2View {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.sc-market-layout {
  display: flex;
  min-height: 520px;
  width: 810px;
  flex-shrink: 0;
  transform-origin: top left;
  transform: scale(var(--sc-scale, 0.74));
  transition: transform 0.15s ease-out;
}

/* Left Sub-Rail */
.sc-market-rail {
  width: 150px;
  background: #06090e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

[data-theme="light"] .sc-market-rail {
  background: #f1f5f9;
  border-right-color: rgba(0, 0, 0, 0.08);
}

.sc-rail-header {
  padding: 2px 4px;
}

.sc-rail-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sc-rail-nav-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sc-rail-nav-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.04em;
  padding: 0 4px;
}

.sc-rail-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-rail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sc-rail-item.active {
  background: rgba(61, 123, 117, 0.16);
  color: #489b94;
}

.sc-rail-arrow {
  margin-left: auto;
  font-size: 0.65rem;
}

.sc-rail-sub-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 18px;
}

.sc-sub-btn {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.68rem;
  color: #94a3b8;
  padding: 3px 6px;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
}

.sc-sub-btn.active {
  color: #3d7b75;
  font-weight: 700;
}

.sc-rail-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sc-rail-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

[data-theme="light"] .sc-rail-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Main Content */
.sc-market-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #090e16;
  overflow: hidden;
}

[data-theme="light"] .sc-market-main {
  background: #ffffff;
}

.sc-market-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 14, 0.4);
}

[data-theme="light"] .sc-market-topbar {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.sc-breadcrumb {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sc-breadcrumb .bc-current {
  color: var(--text-primary);
  font-weight: 700;
}

.sc-active-circle-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
}

.sc-market-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-notif-bell {
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.8;
}

.sc-profile-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

[data-theme="light"] .sc-profile-badge {
  background: #f1f5f9;
}

.sc-prof-initial {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3d7b75;
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-prof-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sc-prof-arrow {
  font-size: 0.65rem;
  color: #64748b;
}

/* Circle Hero Banner */
.sc-circle-hero-banner {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(61, 123, 117, 0.05);
}

[data-theme="light"] .sc-circle-hero-banner {
  background: #f8fafc;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.sc-back-link-btn {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.68rem;
  font-weight: 700;
  color: #3d7b75;
  cursor: pointer;
  padding: 0;
  margin-bottom: 3px;
}

.sc-circle-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sc-head-title-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-circle-glyph {
  font-size: 1.1rem;
}

.sc-circle-h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.sc-stars-rate {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
}

.sc-rate-num {
  font-weight: 700;
  color: #f59e0b;
}

.sc-reviews-count {
  color: #64748b;
}

.sc-circle-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sc-tag-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(61, 123, 117, 0.18);
  color: #489b94;
}

[data-theme="light"] .sc-tag-pill {
  background: #e2e8f0;
  color: #334155;
}

.sc-circle-desc-txt {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin: 2px 0 0 0;
}

.sc-btn-follow {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(61, 123, 117, 0.2);
  color: #489b94;
  border: none;
  outline: none;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* 2-Col Body Split */
.sc-market-body-split {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  flex: 1;
  min-width: 0;
}

.sc-sessions-column {
  flex: 1.35;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-sessions-tabs-row {
  display: flex;
}

.sc-subtabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

[data-theme="light"] .sc-subtabs {
  background: #e2e8f0;
}

.sc-subtab {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.sc-subtab.active {
  background: #3d7b75;
  color: white;
  font-weight: 700;
}

.sc-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sc-filter-pills {
  display: flex;
  gap: 4px;
}

.sc-filter-btn {
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  outline: none;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.sc-filter-btn.active {
  background: #3d7b75;
  color: white;
}

.sc-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
}

[data-theme="light"] .sc-search-input-wrap {
  background: #ffffff;
  border-color: #cbd5e1;
}

.sc-search-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.68rem;
  color: var(--text-primary);
  width: 110px;
}

.sc-search-glass {
  font-size: 0.65rem;
  opacity: 0.6;
}

/* Cards Grid */
.sc-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 680px) {
  .sc-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sc-session-card {
  background: #0f1622;
  border: 1px solid rgba(61, 123, 117, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-fast);
}

[data-theme="light"] .sc-session-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.sc-session-card:hover {
  border-color: #3d7b75;
  transform: translateY(-1px);
}

.sc-scard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc-scard-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sc-badge-type {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.sc-badge-type.workshop {
  background: rgba(147, 51, 234, 0.2);
  color: #c084fc;
}

.sc-badge-type.ongoing {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.sc-scard-prov {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
}

.sc-prov-av {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3d7b75;
  color: white;
  font-size: 0.52rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-prov-name {
  font-weight: 700;
  color: var(--text-primary);
}

.sc-prov-star {
  font-size: 0.6rem;
  color: #94a3b8;
}

.sc-scard-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #3d7b75;
}

.sc-scard-desc {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

.sc-price-pill-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.sc-price-pill {
  font-size: 0.65rem;
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.sc-sub-price-pill {
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.sc-meta-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  color: #94a3b8;
  margin-top: 1px;
}

.sc-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.sc-btn-join-session {
  flex: 1;
  background: #3d7b75;
  color: white;
  border: none;
  outline: none;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sc-btn-join-session:hover {
  background: #2d5e59;
}

.sc-btn-view-session {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: none;
  outline: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

[data-theme="light"] .sc-btn-view-session {
  background: #f1f5f9;
}

/* Facilitator & Reviews Column */
.sc-facilitator-column {
  flex: 0.95;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-facilitator-card {
  background: #0f1622;
  border: 1px solid rgba(61, 123, 117, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

[data-theme="light"] .sc-facilitator-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.sc-facil-top {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sc-facil-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3d7b75;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-facil-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-facil-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sc-facil-rating {
  font-size: 0.68rem;
  color: #f59e0b;
}

.sc-facil-rating span {
  color: #64748b;
}

.sc-coach-pill {
  font-size: 0.58rem;
  font-weight: 800;
  background: rgba(61, 123, 117, 0.2);
  color: #489b94;
  padding: 1px 5px;
  border-radius: 3px;
  width: fit-content;
}

.sc-facil-bio {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

.sc-facil-stats {
  display: flex;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sc-fstat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
}

.sc-fstat-ico {
  font-size: 0.85rem;
}

.sc-fstat-num {
  font-weight: 700;
  color: var(--text-primary);
}

.sc-fstat-lbl {
  font-size: 0.55rem;
  color: #64748b;
}

/* Circle Reviews */
.sc-reviews-card {
  background: #0f1622;
  border: 1px solid rgba(61, 123, 117, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

[data-theme="light"] .sc-reviews-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.sc-rev-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc-rev-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sc-rev-count {
  font-size: 0.65rem;
  color: #64748b;
}

.sc-rev-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-rev-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sc-rev-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sc-rev-user {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sc-rev-av {
  font-size: 0.75rem;
  opacity: 0.7;
}

.sc-rev-user-meta {
  display: flex;
  flex-direction: column;
}

.sc-rev-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sc-rev-stars {
  font-size: 0.58rem;
  color: #f59e0b;
}

.sc-rev-stars span {
  color: #64748b;
}

.sc-rev-time {
  margin-left: auto;
  font-size: 0.6rem;
  color: #64748b;
}

.sc-rev-body {
  font-size: 0.67rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
  font-style: italic;
}

.sc-btn-load-more {
  width: 100%;
  padding: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: #3d7b75;
  border: none;
  outline: none;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 4px;
}

.sc-btn-load-more:hover {
  background: rgba(61, 123, 117, 0.15);
}

/* Architecture & Technology Section */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 25px var(--accent-cyan-glow);
}

.arch-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.4rem;
}

.arch-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.arch-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Company Verification & Contact Section */
.contact-section {
  padding: 100px 0 120px;
  background: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.company-meta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* .company-meta-box::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent-cyan-glow);
  filter: blur(40px);
  pointer-events: none;
} */

.company-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.company-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.registry-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.registry-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

.reg-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reg-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.copy-btn:hover {
  background: rgba(0, 229, 255, 0.15);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.925rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-glow);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer (Matching user reference) */
.site-footer {
  background: var(--bg-primary);
  padding: 36px 0 32px;
  position: relative;
  z-index: 10;
  transition: background-color var(--transition-normal);
}

[data-theme="light"] .site-footer {
  background: #f8fafc;
}

.footer-minimal-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-left-data {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-left-data .footer-copy {
  color: var(--text-primary);
}

.footer-right-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-right-links .f-link,
.footer-right-links .f-link-btn {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition-fast);
}

.footer-right-links .f-link:hover,
.footer-right-links .f-link-btn:hover {
  color: var(--accent-cyan);
}

[data-theme="light"] .footer-right-links .f-link:hover,
[data-theme="light"] .footer-right-links .f-link-btn:hover {
  color: #0284c7;
}

/* ==========================================================================
   Cookie Consent Banner & Modal (GDPR & ePrivacy Compliant)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

[data-theme="light"] .cookie-banner {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.cookie-banner.cookie-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  visibility: hidden;
}

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

.cookie-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookie-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Cookie Settings Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  width: 90%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleInModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleInModal {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

[data-theme="light"] .cookie-modal-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

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

.cookie-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition-fast);
}

.cookie-modal-close:hover {
  color: var(--text-primary);
}

.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-pref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="light"] .cookie-pref-item {
  background: #f8fafc;
}

.pref-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.pref-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pref-switch input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-cyan);
}



/* ==========================================================================
   Comprehensive Responsive Media Queries
   ========================================================================== */

/* 1. Large Tablets & Narrow Desktops (max-width: 1120px) */
@media (max-width: 1120px) {
  body {
    padding-top: 70px;
  }

  [id],
  .section,
  .product-feature-card,
  .contact-section {
    scroll-margin-top: 76px;
  }

  .nav-container {
    height: 70px;
  }

  .nav-contact-btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex !important;
    animation: slideDown 0.25s ease forwards;
  }

  .nav-menu .nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: block;
    width: 100%;
  }

  .nav-menu .nav-link::after {
    display: none;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. Tablets & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .trust-ticker {
    justify-content: center;
    gap: 20px;
  }

  .product-split,
  .product-split.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-split.reverse .product-info {
    order: 1;
  }

  .product-split.reverse .product-interactive {
    order: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* 3. Small Tablets & Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding: 36px 0 54px;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .product-feature-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .crewpings-console {
    border-radius: var(--radius-md);
  }

  .console-body {
    grid-template-columns: 1fr;
    height: 320px;
  }

  .console-sidebar {
    display: none;
  }

  .console-telemetry-strip {
    font-size: 0.7rem;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 12px;
  }

  .she-showcase {
    padding: 14px 12px;
    gap: 12px;
  }

  .she-candidate-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 6px;
  }

  .candidate-tab {
    padding: 5px 10px;
    font-size: 0.74rem;
    flex-shrink: 0;
  }

  .candidate-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .cand-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .cand-name {
    font-size: 0.95rem;
    margin: 0;
  }

  .cand-role {
    font-size: 0.74rem;
  }

  .she-profile-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .she-score-purple {
    padding: 6px 12px !important;
  }

  .she-score-purple .score-num {
    font-size: 1.35rem;
  }

  .she-score-purple .score-label {
    font-size: 0.6rem;
  }

  .she-radar-bars {
    padding: 12px;
    gap: 10px;
  }

  .compliance-shields {
    gap: 6px;
  }

  .shield-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .booking-slots {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .slot-btn {
    width: 100%;
    text-align: center;
  }

  .arch-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sc-window-topbar,
  .she-window-topbar,
  .app-topbar {
    padding: 8px 12px;
  }

  .sc-window-title,
  .she-window-title {
    font-size: 0.68rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sc-screen-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 4px;
  }

  .sc-view-tab {
    padding: 4px 8px;
    font-size: 0.68rem;
    flex-shrink: 0;
  }

  .app-global-search {
    display: none;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .cookie-text-wrap {
    width: 100%;
  }

  .cookie-title {
    font-size: 0.92rem;
  }

  .cookie-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .cookie-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .cookie-actions .btn {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
  }
}

/* 4. Ultra-Small Screens (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .product-feature-card {
    padding: 16px 12px;
    border-radius: var(--radius-md);
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .logo-img-wrapper {
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .ticker-item {
    min-width: 130px;
  }

  .ticker-val {
    font-size: 1.4rem;
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
  }

  .cookie-title {
    font-size: 0.88rem;
  }

  .cookie-desc {
    font-size: 0.74rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ==========================================================================
   LIVE MICRO-ANIMATIONS (CREWPING, SHE, SUPPORTING CIRCLE)
   ========================================================================== */

/* Universal Live Radar Dot */
.chip-pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
}

.chip-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 1.5px solid #22c55e;
  animation: liveDotRadar 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0.8;
}

.chip-pulse-dot.dot-cyan {
  background: #06b6d4;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.7);
}

.chip-pulse-dot.dot-cyan::after {
  border-color: #06b6d4;
}

.chip-pulse-dot.dot-green {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.chip-pulse-dot.dot-green::after {
  border-color: #10b981;
}

.chip-pulse-dot.dot-teal {
  background: #3d7b75;
  box-shadow: 0 0 8px rgba(61, 123, 117, 0.8);
}

.chip-pulse-dot.dot-teal::after {
  border-color: #3d7b75;
}

@keyframes liveDotRadar {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Interactive Simulation Pill Buttons */
.crew-autodemo-toggle-btn,
.she-autodemo-toggle-btn,
.sc-autodemo-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
  transition: all 0.2s ease;
  user-select: none;
}

.crew-autodemo-toggle-btn {
  background: rgba(37, 99, 235, 0.14);
  color: #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.18);
}

[data-theme="light"] .crew-autodemo-toggle-btn {
  background: rgba(37, 99, 235, 0.1);
  color: #2a6ed0;
}

.she-autodemo-toggle-btn {
  background: rgba(139, 92, 246, 0.14);
  color: #8b5cf6;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.18);
  border-radius: 6px;
}

[data-theme="light"] .she-autodemo-toggle-btn {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.sc-autodemo-toggle-btn {
  background: rgba(61, 123, 117, 0.16);
  color: #3d7b75;
  box-shadow: 0 0 10px rgba(61, 123, 117, 0.18);
}

[data-theme="light"] .sc-autodemo-toggle-btn {
  background: rgba(61, 123, 117, 0.1);
  color: #2d5e59;
}

.crew-autodemo-toggle-btn:hover,
.she-autodemo-toggle-btn:hover,
.sc-autodemo-toggle-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.2);
}

.crew-autodemo-toggle-btn.paused,
.she-autodemo-toggle-btn.paused,
.sc-autodemo-toggle-btn.paused {
  background: rgba(100, 116, 139, 0.16);
  color: #94a3b8;
  box-shadow: none;
}

.crew-autodemo-toggle-btn.paused .chip-pulse-dot,
.she-autodemo-toggle-btn.paused .chip-pulse-dot,
.sc-autodemo-toggle-btn.paused .chip-pulse-dot {
  background: #64748b;
  box-shadow: none;
}

.crew-autodemo-toggle-btn.paused .chip-pulse-dot::after,
.she-autodemo-toggle-btn.paused .chip-pulse-dot::after,
.sc-autodemo-toggle-btn.paused .chip-pulse-dot::after {
  animation: none;
  opacity: 0;
}

/* 1. CrewPING Live Elements */
.live-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: none;
}

.app-status-badge {
  position: relative;
}

.app-status-badge::before {
  animation: liveDotRadar 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.crew-typing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 8px;
  animation: fadeInTyping 0.25s ease-out;
}

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

.crew-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #151d2a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

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

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

.typing-dot:nth-child(3) {
  animation-delay: 0s;
}

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

.typing-txt {
  font-size: 0.74rem;
  color: #64748b;
  font-style: italic;
}

/* 2. SHE (Smart Hiring Ecosystem) Live AI Evaluation Elements */
.ai-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: none;
}

.skill-bar-fill {
  position: relative;
  overflow: hidden;
}

.skill-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: skillBarScan 3.2s infinite ease-in-out;
}

@keyframes skillBarScan {
  0% {
    left: -100%;
  }
  60%, 100% {
    left: 100%;
  }
}

.ai-match-score {
  animation: aiScorePulse 4s ease-in-out infinite;
}

@keyframes aiScorePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.12);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(6, 182, 212, 0.28);
  }
}

/* 3. Supporting Circle Live Micro-Animations */
.sc-live-stream-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: none;
}

.sc-badge-type.ongoing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sc-scene-svg,
.sc-scene-img {
  animation: scSceneBreathing 6s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes scSceneBreathing {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.012);
  }
}

.sc-ambient-glow {
  animation: scAmbientPulse 5s ease-in-out infinite;
}

@keyframes scAmbientPulse {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* 4. Ambient Floating across All Project Cards */
#crewpings .product-icon-wrap {
  animation: ambientFloat 6s ease-in-out infinite 0s;
}

#she .product-icon-wrap {
  animation: ambientFloat 6s ease-in-out infinite 2s;
}

#supporting-circle .product-icon-wrap {
  animation: ambientFloat 6s ease-in-out infinite 4s;
}

@keyframes ambientFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Supporting Circle Full Artwork Poster View */
.sc-poster-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  background: #090e15;
  min-height: 480px;
}

[data-theme="light"] .sc-poster-container {
  background: #f1f5f9;
}

.sc-poster-card {
  max-width: 480px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0e1620;
  border: 1px solid rgba(61, 123, 117, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(61, 123, 117, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .sc-poster-card {
  background: #ffffff;
  border-color: rgba(61, 123, 117, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.sc-poster-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(61, 123, 117, 0.2);
}

.sc-poster-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #111a24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .sc-poster-top-bar {
  background: #f8fafc;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.sc-poster-traffic {
  display: flex;
  gap: 5px;
}

.sc-poster-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.sc-poster-dot:nth-child(1) { background: #ef4444; }
.sc-poster-dot:nth-child(2) { background: #f59e0b; }
.sc-poster-dot:nth-child(3) { background: #10b981; }

.sc-poster-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

[data-theme="light"] .sc-poster-title {
  color: #475569;
}

.sc-poster-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #3d7b75;
  background: rgba(61, 123, 117, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.sc-poster-download-btn:hover {
  background: #3d7b75;
  color: #ffffff;
}

.sc-poster-img-wrap {
  padding: 12px;
  display: flex;
  justify-content: center;
  background: #090e15;
}

[data-theme="light"] .sc-poster-img-wrap {
  background: #f8fafc;
}

.sc-poster-full-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .chip-pulse-dot::after,
  .app-status-badge::before,
  .typing-dot,
  .skill-bar-fill::after,
  .ai-match-score,
  .sc-scene-svg,
  .sc-scene-img,
  .sc-ambient-glow,
  #crewpings .product-icon-wrap,
  #she .product-icon-wrap,
  #supporting-circle .product-icon-wrap {
    animation: none !important;
  }
}


