/* ==========================================================================
   DEALPLACE ($DEAL) — Modern Web3/AI Design System
   Color Palette: Deep Midnight Void (#07070a), Neon Coral Pink (#ff3366),
   Electric Salmon (#ff5277), Cyan Accent (#00f2fe), Pure Glass & Cyber Glows
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-deep: #060609;
  --bg-surface: #0c0d14;
  --bg-card: rgba(18, 19, 29, 0.72);
  --bg-card-hover: rgba(26, 28, 44, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --bg-glass-active: rgba(255, 51, 102, 0.08);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-neon: rgba(255, 51, 102, 0.45);
  --border-neon-strong: #ff3366;

  /* Primary Neon Brand (Matching Dealplace Logo Coral/Pink Glow) */
  --neon-coral: #ff3366;
  --neon-coral-bright: #ff4a79;
  --neon-coral-light: #ff7597;
  --neon-coral-dim: rgba(255, 51, 102, 0.16);
  --neon-coral-glow: rgba(255, 51, 102, 0.35);

  /* Secondary Accents */
  --neon-cyan: #00f2fe;
  --neon-purple: #9d4edd;
  --neon-green: #00f59b;
  --neon-yellow: #ffb703;

  /* Typography */
  --text-main: #f5f5f7;
  --text-secondary: #9ea3b5;
  --text-muted: #62677b;
  --text-bright: #ffffff;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-neon: 0 0 30px rgba(255, 51, 102, 0.25);
  --shadow-neon-sm: 0 0 15px rgba(255, 51, 102, 0.2);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  line-height: 1.6;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
}

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

.text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #ff5c8a 50%, #ff2056 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-accent {
  color: var(--neon-coral-bright);
}

.text-green {
  color: var(--neon-green);
}

.text-yellow {
  color: var(--neon-yellow);
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   Ambient Background Effects
   ========================================================================== */
.ambient-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
}

.glow-top {
  width: 650px;
  height: 550px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, #ff2a6d 0%, rgba(255, 42, 109, 0) 70%);
  animation: pulse-slow 9s ease-in-out infinite alternate;
}

.glow-center {
  width: 700px;
  height: 600px;
  top: 40%;
  left: -200px;
  background: radial-gradient(circle, #9d4edd 0%, rgba(157, 78, 221, 0) 70%);
  opacity: 0.15;
  animation: pulse-slow 12s ease-in-out infinite alternate-reverse;
}

.glow-bottom {
  width: 800px;
  height: 700px;
  bottom: -200px;
  right: 15%;
  background: radial-gradient(circle, #ff3366 0%, rgba(255, 51, 102, 0) 70%);
  opacity: 0.2;
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
}

@keyframes pulse-slow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.22; }
  100% { transform: scale(1.15) translate(30px, -20px); opacity: 0.32; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-coral-bright) 0%, #d81b4f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff5e87 0%, #e82458 100%);
  box-shadow: 0 6px 28px rgba(255, 51, 102, 0.55);
  transform: translateY(-1px);
}

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

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-light);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(255, 51, 102, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 51, 102, 0.3);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 51, 102, 0.16);
  border-color: var(--neon-coral-bright);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.2);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-xs {
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: 1.1rem 2.2rem;
  font-size: 1.08rem;
  border-radius: var(--radius-lg);
}

.btn-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-align: left;
  padding: 0;
  display: inline-block;
  cursor: pointer;
}

.btn-link:hover {
  color: var(--neon-coral-bright);
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(6, 6, 9, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 6, 9, 0.92);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
  border: 1px solid rgba(255, 51, 102, 0.4);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-ticker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-coral-bright);
  background: var(--neon-coral-dim);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 51, 102, 0.25);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.network-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-normal);
}

.mobile-drawer {
  display: none;
  background: rgba(8, 8, 12, 0.98);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 1.5rem 2rem;
  animation: slide-down 0.3s ease;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-icon {
  font-size: 0.85rem;
}

.badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--neon-coral-bright);
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.badge-subtle {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

/* Contract Quick Box */
.contract-box {
  background: rgba(18, 19, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  max-width: 540px;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-normal);
}

.contract-box:hover {
  border-color: rgba(255, 51, 102, 0.35);
}

.contract-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.ca-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.network-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.contract-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.ca-address {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-ca-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.copy-ca-btn:hover {
  background: var(--neon-coral-bright);
  color: #ffffff;
  border-color: var(--neon-coral-bright);
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.4);
}

/* Hero Mascot Stage (Right Column) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-stage {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-outer {
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(255, 51, 102, 0.18);
  animation: rotate-orbit 45s linear infinite;
}

.orbit-mid {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.orbit-inner {
  width: 240px;
  height: 240px;
  border: 1px dashed rgba(255, 51, 102, 0.28);
  animation: rotate-orbit 30s linear infinite reverse;
}

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

.mascot-core {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.mascot-glow-aura {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.6) 0%, rgba(255, 51, 102, 0) 70%);
  filter: blur(25px);
  border-radius: 50%;
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.95; }
}

.mascot-img {
  position: relative;
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 38px;
  border: 2px solid rgba(255, 75, 120, 0.6);
  box-shadow: 
    0 0 35px rgba(255, 51, 102, 0.5),
    inset 0 0 20px rgba(255, 51, 102, 0.2);
  z-index: 2;
  transition: transform var(--transition-smooth);
}

.mascot-core:hover .mascot-img {
  transform: scale(1.05);
}

.mascot-live-indicator {
  position: absolute;
  bottom: -24px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(8, 9, 14, 0.9);
  border: 1px solid rgba(255, 51, 102, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 6;
  white-space: nowrap;
}

.mascot-pulse-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-coral-bright);
  box-shadow: 0 0 8px var(--neon-coral-bright);
}

/* Floating Specialist Badges around Mascot */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.95rem;
  background: rgba(14, 15, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 6;
  max-width: 220px;
  pointer-events: auto;
  transition: all var(--transition-normal);
}

.floating-chip:hover {
  transform: scale(1.05) !important;
  border-color: var(--neon-coral-bright);
  box-shadow: 0 10px 30px rgba(255, 51, 102, 0.25);
}

.chip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.chip-info {
  display: flex;
  flex-direction: column;
}

.chip-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.chip-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.2;
}

.chip-risk {
  top: 15px;
  left: -20px;
}

.chip-alpha {
  bottom: 25px;
  right: -30px;
}

.chip-nlp {
  top: 45px;
  right: -25px;
}

.animate-float-slow {
  animation: float-chip 6s ease-in-out infinite alternate;
}

.animate-float-medium {
  animation: float-chip 5s ease-in-out infinite alternate-reverse;
}

.animate-float-fast {
  animation: float-chip 4.2s ease-in-out infinite alternate;
}

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

/* ==========================================================================
   Telemetry Strip
   ========================================================================== */
.telemetry-bar {
  margin-top: 4rem;
  background: rgba(13, 14, 22, 0.8);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 1.4rem 0;
}

.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.telemetry-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.telemetry-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* ==========================================================================
   Marquee Strip
   ========================================================================== */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 51, 102, 0.04);
  border-bottom: 1px solid rgba(255, 51, 102, 0.12);
  padding: 0.75rem 0;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-symbol {
  font-weight: 700;
  color: #ffffff;
}

.trend-up {
  color: var(--neon-green);
}

.agent-tag {
  color: var(--neon-coral-bright);
  font-weight: 600;
}

.marquee-separator {
  color: var(--text-muted);
  opacity: 0.5;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-coral-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.filter-tab {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.filter-tab.active {
  background: var(--neon-coral-bright);
  color: #ffffff;
  border-color: var(--neon-coral-bright);
  box-shadow: 0 0 16px rgba(255, 51, 102, 0.4);
}

/* ==========================================================================
   Agent Marketplace Grid & Cards
   ========================================================================== */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.6rem;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-coral-bright), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 102, 0.35);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 51, 102, 0.15);
}

.agent-card:hover::before {
  opacity: 1;
}

.agent-card.hired {
  border-color: var(--neon-coral-bright);
  background: rgba(255, 51, 102, 0.06);
}

.agent-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.agent-avatar-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.agent-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.research-avatar {
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  border-color: rgba(0, 242, 254, 0.25);
}

.risk-avatar {
  background: rgba(255, 51, 102, 0.12);
  color: var(--neon-coral-bright);
  border-color: rgba(255, 51, 102, 0.3);
}

.news-avatar {
  background: rgba(255, 183, 3, 0.12);
  color: var(--neon-yellow);
  border-color: rgba(255, 183, 3, 0.3);
}

.execution-avatar {
  background: rgba(0, 245, 155, 0.12);
  color: var(--neon-green);
  border-color: rgba(0, 245, 155, 0.3);
}

.portfolio-avatar {
  background: rgba(157, 78, 221, 0.12);
  color: var(--neon-purple);
  border-color: rgba(157, 78, 221, 0.3);
}

.audit-avatar {
  background: rgba(255, 51, 102, 0.15);
  color: var(--neon-coral-bright);
  border-color: rgba(255, 51, 102, 0.35);
}

.agent-title-box {
  display: flex;
  flex-direction: column;
}

.agent-name-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.agent-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.agent-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

.agent-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.category-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-pill.research {
  background: rgba(0, 242, 254, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.category-pill.risk {
  background: rgba(255, 51, 102, 0.08);
  color: var(--neon-coral-bright);
  border: 1px solid rgba(255, 51, 102, 0.25);
}

.category-pill.news {
  background: rgba(255, 183, 3, 0.08);
  color: var(--neon-yellow);
  border: 1px solid rgba(255, 183, 3, 0.25);
}

.category-pill.execution {
  background: rgba(0, 245, 155, 0.08);
  color: var(--neon-green);
  border: 1px solid rgba(0, 245, 155, 0.25);
}

.category-pill.portfolio {
  background: rgba(157, 78, 221, 0.08);
  color: var(--neon-purple);
  border: 1px solid rgba(157, 78, 221, 0.25);
}

.agent-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  min-height: 48px;
}

/* Metric Boxes */
.agent-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  background: rgba(8, 8, 14, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 1.1rem;
}

.metric-box {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.15rem;
}

/* Live Action Bar */
.agent-live-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--neon-coral-bright);
  padding: 0.45rem 0.65rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.2rem;
}

.live-action-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-coral-bright);
  box-shadow: 0 0 6px var(--neon-coral-bright);
  flex-shrink: 0;
}

.live-action-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Agent Footer */
.agent-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.agent-cost {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.cost-amount {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.cost-period {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.agent-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Interactive Team Builder Section
   ========================================================================== */
.team-builder-section {
  background: linear-gradient(180deg, rgba(8, 8, 12, 0) 0%, rgba(13, 14, 22, 0.6) 100%);
}

.builder-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
}

.builder-roster-card,
.builder-telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(16px);
  position: relative;
}

.roster-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.roster-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon-coral-bright);
  letter-spacing: 0.08em;
}

.roster-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.15rem;
}

/* Slots Grid */
.roster-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.roster-slot {
  background: rgba(8, 8, 14, 0.6);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  transition: all var(--transition-fast);
}

.roster-slot.occupied {
  border-style: solid;
  border-color: rgba(255, 51, 102, 0.4);
  background: rgba(255, 51, 102, 0.04);
}

.slot-empty-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.slot-filled-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.slot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.slot-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slot-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.slot-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-remove-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.slot-remove-btn:hover {
  background: rgba(255, 51, 102, 0.2);
  color: var(--neon-coral-bright);
}

/* Quick Add Talent */
.builder-quick-add {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
}

.quick-add-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.quick-add-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-chip {
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.quick-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border-light);
}

.quick-chip.added {
  border-color: var(--neon-coral-bright);
  color: var(--neon-coral-bright);
  background: rgba(255, 51, 102, 0.08);
}

/* Telemetry Card Right */
.telemetry-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.telemetry-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.live-ping {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--neon-green);
  font-family: var(--font-mono);
}

.ping-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: pulse-dot 1.5s infinite;
}

/* Synergy Meter */
.synergy-score-box {
  background: rgba(8, 8, 14, 0.7);
  border: 1px solid rgba(255, 51, 102, 0.25);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 25px rgba(255, 51, 102, 0.05);
}

.synergy-left {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.7rem;
}

.synergy-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.synergy-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.synergy-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.synergy-grade {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.synergy-meter-wrapper {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.synergy-meter-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff3366, #ff7597, #00f2fe);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

/* Coverage Matrix */
.coverage-matrix {
  margin-bottom: 1.5rem;
}

.coverage-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.coverage-bars {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.coverage-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coverage-name {
  font-size: 0.78rem;
  color: var(--text-secondary);
  width: 120px;
  flex-shrink: 0;
}

.coverage-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.coverage-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.fill-research { background: var(--neon-cyan); }
.fill-risk { background: var(--neon-coral-bright); }
.fill-news { background: var(--neon-yellow); }
.fill-execution { background: var(--neon-green); }

.coverage-pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ffffff;
  width: 35px;
  text-align: right;
  flex-shrink: 0;
}

/* Projections */
.builder-projections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.proj-box {
  background: rgba(8, 8, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.proj-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.proj-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.2rem;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 102, 0.35);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

.step-num-pill {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 51, 102, 0.1);
  color: var(--neon-coral-bright);
  border: 1px solid rgba(255, 51, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Live Terminal Telemetry Section
   ========================================================================== */
.terminal-wrapper {
  background: #090a10;
  border: 1px solid rgba(255, 51, 102, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 51, 102, 0.12);
}

.terminal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  background: rgba(18, 19, 29, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

.terminal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.terminal-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.terminal-body {
  padding: 1.2rem 1.4rem;
  height: 280px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  word-break: break-all;
}

.term-time {
  color: var(--text-muted);
  font-size: 0.74rem;
  flex-shrink: 0;
}

.term-agent {
  font-weight: 700;
  color: var(--neon-coral-bright);
  flex-shrink: 0;
}

.term-msg {
  color: var(--text-secondary);
}

.term-msg .highlight {
  color: #ffffff;
  font-weight: 600;
}

.term-msg .gain {
  color: var(--neon-green);
}

.term-msg .warning {
  color: var(--neon-yellow);
}

.terminal-footer {
  padding: 0.65rem 1.2rem;
  background: rgba(14, 15, 23, 0.9);
  border-top: 1px solid var(--border-subtle);
}

.terminal-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--neon-green);
}

/* ==========================================================================
   Tokenomics Section
   ========================================================================== */
.token-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.spec-card:hover {
  border-color: rgba(255, 51, 102, 0.35);
  transform: translateY(-2px);
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.35rem 0 0.15rem;
}

.spec-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Token CA Banner */
.token-ca-banner {
  background: rgba(15, 16, 26, 0.85);
  border: 1px solid rgba(255, 51, 102, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ca-banner-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.ca-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 51, 102, 0.4);
  flex-shrink: 0;
}

.ca-banner-details {
  display: flex;
  flex-direction: column;
}

.ca-banner-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ca-full-code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ca-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* Utilities Grid */
.utilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.utility-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.utility-card:hover {
  border-color: rgba(255, 51, 102, 0.35);
  transform: translateY(-3px);
}

.utility-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.utility-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.utility-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.cta-section {
  padding-bottom: 7rem;
}

.cta-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(255, 51, 102, 0.25) 0%, rgba(14, 15, 25, 0.9) 70%);
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 51, 102, 0.2);
}

.cta-glow-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 300px;
  background: radial-gradient(circle, var(--neon-coral-bright) 0%, transparent 70%);
  filter: blur(70px);
  opacity: 0.4;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-logo-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(255, 51, 102, 0.5);
  border: 2px solid rgba(255, 51, 102, 0.5);
}

.cta-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #040407;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1.1rem 0 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--neon-coral-bright);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.footer-link {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-top: 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.copyright {
  font-family: var(--font-mono);
}

.disclaimer {
  line-height: 1.6;
}

/* ==========================================================================
   Modals & Overlays
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-box {
  background: #0d0e17;
  border: 1px solid rgba(255, 51, 102, 0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 51, 102, 0.2);
  transform: scale(0.96) translateY(10px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-box-large {
  max-width: 620px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.6rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.modal-close-btn {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.6rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 8, 14, 0.5);
}

/* Wallet Options */
.wallet-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--transition-fast);
}

.wallet-option:hover {
  background: rgba(255, 51, 102, 0.08);
  border-color: var(--neon-coral-bright);
  transform: translateX(3px);
}

.wallet-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.wallet-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wallet-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.wallet-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.wallet-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Agent Detail Modal Elements */
.modal-agent-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.modal-agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.agent-modal-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.agent-modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.agent-modal-details-block {
  margin-bottom: 1.4rem;
}

.modal-block-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-coral-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.spec-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(8, 8, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.spec-key {
  color: var(--text-muted);
}

.spec-val {
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 500;
}

.modal-activity-log {
  background: rgba(8, 8, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-cost-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.modal-cost-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-cost-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Deploy Syndicate Progress */
.deploy-summary-card {
  background: rgba(8, 8, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.deploy-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.deploy-agents-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.deploy-chip {
  padding: 0.25rem 0.65rem;
  background: rgba(255, 51, 102, 0.12);
  border: 1px solid rgba(255, 51, 102, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  color: #ffffff;
}

.deploy-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.deploy-spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.4rem;
}

.deploy-progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}

.deploy-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 51, 102, 0.2);
  border-top-color: var(--neon-coral-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.deploy-progress-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neon-coral-bright);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Toasts
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(14, 15, 24, 0.95);
  border: 1px solid rgba(255, 51, 102, 0.4);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 51, 102, 0.2);
  backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
  font-size: 1.1rem;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(15px) scale(0.95); }
}

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */
.animate-fade-in {
  animation: fade-in 0.8s ease forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

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

  .contract-box {
    margin: 0 auto;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .token-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .desktop-nav,
  .network-badge,
  .nav-actions .btn-outline,
  .nav-launch-btn {
    display: none;
  }

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

  .hero-section {
    padding-top: 7rem;
  }

  .mascot-stage {
    width: 320px;
    height: 320px;
  }

  .orbit-outer { width: 310px; height: 310px; }
  .orbit-mid { width: 240px; height: 240px; }
  .orbit-inner { width: 180px; height: 180px; }

  .mascot-core {
    width: 150px;
    height: 150px;
  }

  .mascot-img {
    width: 135px;
    height: 135px;
    border-radius: 28px;
  }

  .floating-chip {
    padding: 0.4rem 0.65rem;
    max-width: 160px;
  }

  .chip-name { font-size: 0.7rem; }
  .chip-status { font-size: 0.6rem; }
  .chip-icon { font-size: 1rem; }

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .roster-slots-grid {
    grid-template-columns: 1fr;
  }

  .token-ca-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
  }

  .ca-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .ca-banner-actions .btn {
    width: 100%;
  }

  .ca-full-code {
    word-break: break-all;
    font-size: 0.82rem;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .terminal-body {
    height: 220px;
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .token-specs-grid {
    grid-template-columns: 1fr;
  }

  .builder-projections {
    grid-template-columns: 1fr;
  }

  .ca-address {
    font-size: 0.75rem;
  }
}
