/* ==========================================================================
   DIGITECHZO THEME — CRYPTO WALLET DEVELOPMENT COMPANY
   High-End FinTech & Enterprise Blockchain Architecture Design System
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-solid: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  
  /* Digitechzo Signature Brand Green */
  --primary-green: #57B71B;
  --primary-green-hover: #469815;
  --primary-green-light: rgba(87, 183, 27, 0.1);
  --primary-green-glow: rgba(87, 183, 27, 0.28);
  
  --green-primary: #57B71B;
  --green-light: #67D424;
  --green-emerald: #57B71B;
  --green-dark: #469815;
  --green-glow: rgba(87, 183, 27, 0.18);
  --green-glow-strong: rgba(87, 183, 27, 0.35);
  --green-subtle: rgba(87, 183, 27, 0.08);
  
  /* Dark Theme Palette */
  --dark-bg: #16181b;
  --dark-surface: #202428;
  --dark-border: #2d3238;
  
  /* Typography & Neutrals */
  --text-white: #1e242b;
  --text-body: #4a5568;
  --text-muted: #556070;
  --text-dark: #1e242b;
  
  --border-color: #E2E8F0;
  --border-color-subtle: #F1F5F9;
  --border-green: rgba(87, 183, 27, 0.35);
  --border-green-light: rgba(87, 183, 27, 0.2);
  
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --box-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --box-shadow-hover: 0 14px 32px rgba(87, 183, 27, 0.18);
}

/* Base Reset & Smooth Rendering */
/* Global Typography Standard - Manrope Font Family System */
html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page-crypto-wallet {
  overflow-x: clip;
  background-color: var(--bg-dark);
  color: var(--text-body);
}

/* Sticky Navigation Header across all viewports */
header.sticky-top, header, .sticky-top {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  width: 100% !important;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

p, li, label, input, select, textarea {
  font-family: var(--font-main) !important;
  color: var(--text-body);
}

.text-accent {
  color: var(--green-primary) !important;
}

.bg-accent {
  background-color: var(--green-primary) !important;
}

/* Color Utilities & Badge Fixes */
.text-purple { color: #7C3AED !important; }
.bg-purple { background-color: #7C3AED !important; }
.bg-purple-subtle { background-color: rgba(124, 58, 237, 0.1) !important; }
.border-purple-subtle { border-color: rgba(124, 58, 237, 0.25) !important; }

.text-success { color: #57B71B !important; }
.bg-success { background-color: #57B71B !important; }
.bg-success-subtle { background-color: rgba(87, 183, 27, 0.1) !important; }
.border-success-subtle { border-color: rgba(87, 183, 27, 0.25) !important; }

.text-primary { color: #2563EB !important; }
.bg-primary { background-color: #2563EB !important; }
.bg-primary-subtle { background-color: rgba(37, 99, 235, 0.1) !important; }
.border-primary-subtle { border-color: rgba(37, 99, 235, 0.25) !important; }

.max-w-1150 { max-width: 1150px; }
.max-w-1050 { max-width: 1050px; }
.max-w-950 { max-width: 950px; }
.max-w-880 { max-width: 880px; }
.max-w-750 { max-width: 750px; }

.fs-7 { font-size: 0.875rem !important; }
.fs-8 { font-size: 0.775rem !important; }

.section {
  padding: 50px 0 45px;
  position: relative;
}

/* Section Smooth Anchor Offset */
section[id], div[id] {
  scroll-margin-top: 100px;
}

#what-we-build { padding-top: 45px; padding-bottom: 40px; }
#custody-models { padding-top: 45px; padding-bottom: 45px; }
#why-partner { padding-top: 45px; padding-bottom: 40px; }
#services { padding-top: 50px; padding-bottom: 45px; }
#hidden-complexity { padding-top: 45px; padding-bottom: 40px; }
#architecture-2027 { padding-top: 50px; padding-bottom: 45px; }
#methodology { padding-top: 45px; padding-bottom: 45px; }
#why-choose-digitechzo { padding-top: 50px; padding-bottom: 45px; }
#comparison { padding-top: 40px; padding-bottom: 40px; }
#faq { padding-top: 45px; padding-bottom: 40px; }
#ecosystem-directory { padding-top: 25px; padding-bottom: 30px; }

/* Section Title & Badges */
.section-tag, .section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(78, 176, 40, 0.1);
  color: var(--green-primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(78, 176, 40, 0.25);
  margin-bottom: 14px;
}

.section-title {
  text-transform: none;
}

.section-title h2 {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.section-title p,
.section-subtitle,
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-transform: none;
}

.gradient-text-shine {
  background: linear-gradient(135deg, #57B71B 0%, #469815 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #57B71B;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 38px 0 28px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 8%, rgba(78, 176, 40, 0.09) 0%, rgba(248, 250, 252, 0.5) 45%, #FFFFFF 80%);
  border-bottom: 1px solid var(--border-color);
}

.hero-status-badge {
  background: rgba(78, 176, 40, 0.08);
  border: 1px solid rgba(78, 176, 40, 0.25);
}

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

@keyframes pulseIndicator {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-main-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-white);
  max-width: 1080px;
}

/* 3D Crypto Wallet Vector Icon */
.inline-wallet-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  vertical-align: middle;
  margin: 0 10px;
  transform: translateY(-4px);
  line-height: 1;
}

.wallet-3d-visual-svg {
  width: clamp(105px, 9.5vw, 138px);
  height: auto;
  overflow: visible;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 8px 22px rgba(15, 23, 42, 0.25));
  animation: wallet3dFloat 4.5s ease-in-out infinite alternate;
}

@keyframes wallet3dFloat {
  0% { transform: translateY(0px) rotate(0deg) scale(0.98); }
  50% { transform: translateY(-3px) rotate(0.6deg) scale(1.01); }
  100% { transform: translateY(-6px) rotate(-0.5deg) scale(1.02); }
}

/* Enhanced Value Formula Trio Cluster */
.hero-formula-cluster {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.formula-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid rgba(78, 176, 40, 0.25);
  border-radius: 9999px;
  padding: 6px 16px 6px 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.formula-capsule:hover {
  transform: translateY(-2px);
  border-color: var(--green-primary);
  box-shadow: 0 8px 24px rgba(78, 176, 40, 0.18);
}

.formula-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-primary));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(78, 176, 40, 0.3);
  flex-shrink: 0;
}

.formula-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.formula-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.formula-chip {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-primary, #57B71B);
  background: rgba(87, 183, 27, 0.08);
  border: 1px solid rgba(87, 183, 27, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.formula-connector-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(78, 176, 40, 0.25);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .formula-connector-plus {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-formula-cluster {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 12px auto !important;
  }
  .formula-capsule {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px 8px 8px !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
  }
  .formula-text-group {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .formula-title {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }
  .formula-chip {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
    flex-shrink: 0 !important;
  }
}

.hero-subheading {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 880px;
}

/* Button Pills */
.btn-pill-primary {
  background: var(--primary-green);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill, 50px);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(87, 183, 27, 0.28);
  text-decoration: none;
  cursor: pointer;
}

.btn-pill-primary:hover,
.btn-pill-primary:focus {
  background: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(87, 183, 27, 0.42);
  color: #FFFFFF !important;
}

.btn-pill-outline {
  background: #FFFFFF;
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 26px;
  border-radius: var(--radius-pill, 50px);
  border: 1.5px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-pill-outline:hover,
.btn-pill-outline:focus {
  border-color: var(--primary-green);
  color: var(--primary-green) !important;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-sm);
}

/* Light Outline Button on Dark Surfaces */
.btn-pill-outline.btn-outline-light,
.btn-pill-outline.text-white {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.btn-pill-outline.btn-outline-light:hover,
.btn-pill-outline.text-white:hover {
  background: rgba(87, 183, 27, 0.2) !important;
  border-color: var(--primary-green) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(87, 183, 27, 0.3) !important;
}

/* ==========================================================================
   2. CRYPTO WALLET ARCHITECTURE & SECURITY COCKPIT (BESPOKE TERMINAL)
   ========================================================================== */
.mockup-frame {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), 0 0 30px rgba(87, 183, 27, 0.06);
  overflow: hidden;
  max-width: 1120px;
  margin: 35px auto 0;
  text-align: left;
}

.mockup-header-bar {
  background: #F8FAFC;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.header-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.mockup-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dots .dot.red { background: #EF4444; }
.mockup-dots .dot.yellow { background: #F59E0B; }
.mockup-dots .dot.green { background: #10B981; }

.mockup-title {
  color: var(--text-dark);
  font-size: 0.84rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin-bottom: 0;
  line-height: 1;
}

/* Cockpit Header Status Metric Capsules */
.cockpit-metrics-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cockpit-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.cockpit-metric-badge.badge-chains {
  background: rgba(78, 176, 40, 0.1);
  border: 1.5px solid var(--green-primary);
  color: var(--green-primary);
}

.cockpit-metric-badge.badge-hsm {
  background: rgba(14, 165, 233, 0.08);
  border: 1.5px solid rgba(14, 165, 233, 0.4);
  color: #0F172A;
}

.cockpit-metric-badge.badge-threat {
  background: rgba(245, 158, 11, 0.08);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  color: #0F172A;
}

.mockup-content {
  padding: 26px 30px;
  background: #FFFFFF;
}

@media (max-width: 768px) {
  .mockup-content {
    padding: 16px;
  }
}

.screen-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 24px;
  width: 100%;
}

.tab-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.tab-btn:hover {
  color: var(--text-dark);
  background: #F8FAFC;
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: #F0FDF4 !important;
  border: 1.5px solid var(--primary-green) !important;
  color: var(--primary-green) !important;
  box-shadow: 0 4px 12px rgba(87, 183, 27, 0.15) !important;
  font-weight: 800;
}

.screen-view {
  display: none;
}

.screen-view.active {
  display: block;
  animation: fadeInView 0.3s ease;
}

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

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

@media (max-width: 576px) {
  .mockup-frame {
    border-radius: 16px !important;
    margin-top: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .mockup-header-bar {
    padding: 10px 14px !important;
  }
  .mockup-title {
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .mockup-content {
    padding: 14px 12px !important;
  }
  .screen-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
  }
  .tab-btn {
    padding: 8px 6px !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  .tab-btn i {
    font-size: 0.76rem !important;
  }
  .cyber-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  .chain-tile {
    padding: 10px 10px !important;
    gap: 8px !important;
  }
  .chain-tile strong {
    font-size: 0.8rem !important;
  }
  .chain-tile small {
    font-size: 0.7rem !important;
  }
  .chain-tile .badge {
    font-size: 0.68rem !important;
    padding: 3px 6px !important;
    white-space: nowrap !important;
  }
  #derivedAddrText {
    font-size: 0.72rem !important;
    word-break: break-all !important;
  }
  #bip39SeedState {
    font-size: 0.74rem !important;
  }
}

/* Cyber Terminal Cards */
.cyber-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.cockpit-label {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.v-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(87, 183, 27, 0.12);
  border: 1px solid rgba(87, 183, 27, 0.35);
  color: var(--primary-green);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  font-family: 'JetBrains Mono', monospace;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary-green);
  animation: pulseDotGlow 1.8s infinite alternate;
}

@keyframes pulseDotGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Chain Selector Protocol Tiles */
.chain-tile {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 14px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.chain-tile:hover {
  background: #F1F5F9;
  border-color: var(--primary-green);
  transform: translateX(4px);
}

.chain-tile.active {
  background: #F0FDF4 !important;
  border: 1.5px solid var(--primary-green) !important;
  box-shadow: 0 4px 14px rgba(87, 183, 27, 0.12) !important;
  transform: translateX(4px);
}

.badge-chain-coin {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.badge-chain-coin.coin-btc {
  background: linear-gradient(135deg, #F59E0B, #B45309);
  color: #FFFFFF;
}

.badge-chain-coin.coin-eth {
  background: linear-gradient(135deg, #38BDF8, #0284C7);
  color: #FFFFFF;
}

.badge-chain-coin.coin-sol {
  background: linear-gradient(135deg, #C084FC, #7E22CE);
  color: #FFFFFF;
}

/* Data Display Box on Right Column */
.cyber-data-box {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
}

.telemetry-val-glow {
  color: var(--primary-green);
}

.telemetry-val-amber-glow {
  color: #D97706;
}

.cyber-terminal-log {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  line-height: 1.6;
}

/* MPC Shard Nodes & Tab 2 Styles (Image 3 Mobile Layout) */
.mpc-shard-node {
  transition: all 0.25s ease;
}

.mpc-shard-node.signed {
  border-color: rgba(87, 183, 27, 0.35);
  background: rgba(87, 183, 27, 0.04);
}

@media (max-width: 768px) {
  #view-mpc .d-flex.justify-content-between.align-items-center:last-child {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }
  #view-mpc #triggerMpcBtn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    display: inline-flex !important;
  }
  #view-mpc #mpcShardStatus {
    width: 100% !important;
    text-align: center !important;
  }
  #view-mpc #mpcShardStatus .badge {
    width: 100% !important;
    display: block !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  #view-mpc .row.g-2 > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .mpc-shard-node {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    padding: 10px 14px !important;
    gap: 10px !important;
  }
  .mpc-shard-node i {
    margin-bottom: 0 !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
  }
  .mpc-shard-node strong {
    margin: 0 !important;
    font-size: 0.82rem !important;
    flex: 1 1 auto !important;
    text-align: left !important;
  }
  .mpc-shard-node .badge {
    font-size: 0.74rem !important;
    padding: 4px 8px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}

/* Multi-Chain Marquee Ticker */
.chains-marquee-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(-90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.chain-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: chainMarqueeScroll 36s linear infinite;
}

.chain-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes chainMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.chain-badge-card {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 14px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.chain-badge-card:hover {
  background: #1E293B;
  border-color: var(--green-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 176, 40, 0.2);
}

.chain-icon-shield {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chain-icon-shield.btc { 
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.32), rgba(251, 191, 36, 0.15)); 
  color: #FF9800; 
  border: 1.5px solid rgba(247, 147, 26, 0.6); 
  box-shadow: 0 0 14px rgba(247, 147, 26, 0.4); 
}
.chain-icon-shield.eth { 
  background: linear-gradient(135deg, rgba(98, 126, 234, 0.32), rgba(147, 197, 253, 0.15)); 
  color: #818CF8; 
  border: 1.5px solid rgba(98, 126, 234, 0.6); 
  box-shadow: 0 0 14px rgba(98, 126, 234, 0.4); 
}
.chain-icon-shield.sol { 
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.32), rgba(153, 69, 255, 0.2)); 
  color: #14F195; 
  border: 1.5px solid rgba(20, 241, 149, 0.6); 
  box-shadow: 0 0 14px rgba(20, 241, 149, 0.4); 
}
.chain-icon-shield.pol { 
  background: linear-gradient(135deg, rgba(130, 71, 229, 0.32), rgba(192, 132, 252, 0.15)); 
  color: #C084FC; 
  border: 1.5px solid rgba(130, 71, 229, 0.6); 
  box-shadow: 0 0 14px rgba(130, 71, 229, 0.4); 
}
.chain-icon-shield.arb { 
  background: linear-gradient(135deg, rgba(40, 160, 240, 0.32), rgba(56, 189, 248, 0.15)); 
  color: #38BDF8; 
  border: 1.5px solid rgba(40, 160, 240, 0.6); 
  box-shadow: 0 0 14px rgba(40, 160, 240, 0.4); 
}
.chain-icon-shield.bnb { 
  background: linear-gradient(135deg, rgba(243, 186, 47, 0.32), rgba(253, 224, 71, 0.15)); 
  color: #FBBF24; 
  border: 1.5px solid rgba(243, 186, 47, 0.6); 
  box-shadow: 0 0 14px rgba(243, 186, 47, 0.4); 
}
.chain-icon-shield.op { 
  background: linear-gradient(135deg, rgba(255, 4, 32, 0.32), rgba(244, 63, 94, 0.15)); 
  color: #FB7185; 
  border: 1.5px solid rgba(255, 4, 32, 0.6); 
  box-shadow: 0 0 14px rgba(255, 4, 32, 0.4); 
}
.chain-icon-shield.avax { 
  background: linear-gradient(135deg, rgba(232, 65, 66, 0.32), rgba(239, 68, 68, 0.15)); 
  color: #F87171; 
  border: 1.5px solid rgba(232, 65, 66, 0.6); 
  box-shadow: 0 0 14px rgba(232, 65, 66, 0.4); 
}
.chain-icon-shield.base { 
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.32), rgba(96, 165, 250, 0.15)); 
  color: #60A5FA; 
  border: 1.5px solid rgba(0, 82, 255, 0.6); 
  box-shadow: 0 0 14px rgba(0, 82, 255, 0.4); 
}
.chain-icon-shield.atom { 
  background: linear-gradient(135deg, rgba(46, 49, 72, 0.32), rgba(129, 140, 248, 0.2)); 
  color: #818CF8; 
  border: 1.5px solid rgba(129, 140, 248, 0.6); 
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.4); 
}

.chain-info-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.chain-name-text {
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.chain-feature-chip {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

/* ==========================================================================
   3. FAST-JUMP ECOSYSTEM DIRECTORY BAR
   ========================================================================== */
.ecosystem-nav-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  position: sticky;
  top: 72px;
  z-index: 90;
  backdrop-filter: blur(12px);
}

.directory-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.directory-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.directory-nav-pill {
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: var(--transition);
}

.directory-nav-pill:hover,
.directory-nav-pill.active {
  background: #0F172A;
  color: #FFFFFF !important;
  border-color: #0F172A;
}

/* ==========================================================================
   4. CONTENT SECTIONS: CARDS & GRIDS
   ========================================================================== */
.spec-card,
.strategy-pillar-card,
.custody-model-card,
.service-card,
.complexity-card,
.future-card,
.diff-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.spec-card:hover,
.strategy-pillar-card:hover,
.custody-model-card:hover,
.service-card:hover,
.complexity-card:hover,
.future-card:hover,
.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary) !important;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.08);
}

.pillar-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-subtle);
  color: var(--green-primary);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  border: 1px solid var(--border-green-light);
  flex-shrink: 0;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-green-light);
  font-size: 1.1rem;
  color: var(--green-primary);
  flex-shrink: 0;
}

/* Clean Custody Model Cards */
.transition-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.transition-hover:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary) !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08) !important;
}

.custody-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-subtle);
  color: var(--green-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--border-green-light);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover .custody-card-icon,
.custody-card-icon:hover {
  background: var(--green-primary) !important;
  color: #FFFFFF !important;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 20px rgba(78, 176, 40, 0.32);
}

.badge-purple-subtle {
  background-color: rgba(168, 85, 247, 0.12) !important;
  color: #7E22CE !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
}

/* ==========================================================================
   5. 2D VECTOR CARD SLIDER (Ultra-Crisp Text Quality Matching Site)
   ========================================================================== */
.rot-slider-stage {
  position: relative;
  width: 100%;
  padding: 30px 0 10px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.rot-slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.rot-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rot-slide-card {
  position: absolute;
  width: 100%;
  max-width: 480px;
  height: 350px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.rot-card-inner {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 22px;
  padding: 30px 28px;
  height: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rot-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--green-primary), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.rot-slide-card.active .rot-card-inner::before {
  opacity: 1;
}

.rot-slide-card.active .rot-card-inner {
  border-color: var(--green-primary);
  box-shadow: 0 24px 60px rgba(78, 176, 40, 0.16), 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Category Badges */
.rot-category-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}
.rot-category-badge.badge-red    { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.rot-category-badge.badge-amber  { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.rot-category-badge.badge-cyan   { background: rgba(6, 182, 212, 0.1); color: #0891B2; }
.rot-category-badge.badge-blue   { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.rot-category-badge.badge-green  { background: rgba(87, 183, 27, 0.1); color: var(--green-primary, #57B71B); }
.rot-category-badge.badge-purple { background: rgba(168, 85, 247, 0.1); color: #7E22CE; }

.text-purple {
  color: #9333EA !important;
}

.rot-number-pill {
  font-size: 0.85rem;
  font-weight: 800;
  color: #94A3B8;
  font-family: monospace;
}

.rot-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.rot-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Navigation Buttons */
.rot-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--border-color);
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 50 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rot-slider-btn:hover {
  background: var(--green-primary);
  color: #FFFFFF;
  border-color: var(--green-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 14px 34px rgba(78, 176, 40, 0.4);
}

.rot-slider-btn.prev-btn { left: -24px; }
.rot-slider-btn.next-btn { right: -24px; }

@media (max-width: 1199.98px) {
  .rot-slider-btn.prev-btn { left: -10px; }
  .rot-slider-btn.next-btn { right: -10px; }
}

@media (max-width: 991.98px) {
  .rot-slider-btn.prev-btn { left: 4px; }
  .rot-slider-btn.next-btn { right: 4px; }
  .rot-slide-card { max-width: 400px; height: 360px; }
  .rot-slider-container { height: 390px; }
}

@media (max-width: 575.98px) {
  .rot-slide-card { max-width: 92%; height: 360px; }
  .rot-slider-btn { width: 42px; height: 42px; font-size: 0.95rem; }
}

/* Pagination Dots */
.rot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.rot-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: var(--green-primary);
  box-shadow: 0 0 12px rgba(78, 176, 40, 0.4);
}

/* ==========================================================================
   6. COMPARISON MATRIX TABLE & ACCORDION
   ========================================================================== */
.comparison-matrix-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  box-shadow: var(--box-shadow);
}

.table-custom-matrix {
  margin-bottom: 0;
}

.table-custom-matrix th {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 0.95rem;
  background: #F8FAFC;
  border-bottom: 1.5px solid var(--border-color);
}

.table-custom-matrix th.highlight-col,
.table-custom-matrix td.highlight-col {
  background: rgba(78, 176, 40, 0.04);
  border-left: 1.5px solid rgba(78, 176, 40, 0.3);
  border-right: 1.5px solid rgba(78, 176, 40, 0.3);
}

.table-custom-matrix td {
  padding: 16px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.check-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-primary);
  font-weight: 700;
  background: rgba(78, 176, 40, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
}

.check-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #DC2626;
  font-weight: 600;
  background: #FEF2F2;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
}

/* FAQ Accordion Styling */
.faq-accordion-item {
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #FFFFFF;
  transition: var(--transition);
}

.faq-accordion-item:hover {
  border-color: var(--green-primary);
  box-shadow: 0 6px 20px rgba(78, 176, 40, 0.08);
}

.faq-accordion-button {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-accordion-button:focus {
  outline: none;
}

.faq-accordion-collapse {
  padding: 0 24px 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CUSTODY ARCHITECTURE COMPARISON SPEC CARDS (SECTION 9)
   ========================================================================== */
.custody-spec-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.custody-spec-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-green);
  box-shadow: 0 16px 36px rgba(87, 183, 27, 0.14);
}

.custody-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(87, 183, 27, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.custody-spec-card:hover .custody-icon-box {
  transform: scale(1.08) rotate(4deg);
  background: var(--primary-green);
  color: #FFFFFF;
}

.custody-spec-card .btn-pill-outline {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custody-spec-card:hover .btn-pill-outline,
.custody-spec-card .btn-pill-outline:hover {
  background: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(87, 183, 27, 0.32);
}

.spec-matrix-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-matrix-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F8FAFC;
  font-size: 0.84rem;
  border: 1px solid #F1F5F9;
}

.spec-matrix-item .spec-key {
  color: #64748B;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.spec-matrix-item .spec-val {
  font-weight: 700;
  font-size: 0.82rem;
  text-align: right;
}

.use-case-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.use-case-chip {
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  color: #166534;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.use-case-chip:hover {
  background: #DCFCE7;
  border-color: var(--primary-green);
  color: #14532D;
  transform: translateY(-1px);
}

/* ==========================================================================
   7. STICKY CONSULTATION BAR & CTA BANNER
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 50%, #F4FBF0 100%);
  border-top: 1px solid #DCFCE7;
  border-bottom: 1px solid #E2E8F0;
}

.sticky-bottom-consult-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 2.5px solid #57B71B !important;
  padding: 12px 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.sticky-bottom-consult-bar.visible {
  transform: translateY(0);
}

#stickyConsultBtn {
  background: #57B71B !important;
  border: 1.5px solid #57B71B !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(87, 183, 27, 0.35) !important;
}

@media (max-width: 767.98px) {
  .sticky-bottom-consult-bar {
    padding: 10px 0;
  }
}

/* ==========================================================================
   8. ANIMATED QUANTUM CONSENSUS FLOW REACTOR & TELEMETRY MATRIX STYLES
   ========================================================================== */

/* Subtle Neon Circuit Mesh Grid Background */
.quantum-circuit-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(59, 137, 31, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

/* Intro Differentiator Callout Pill */
.diff-intro-callout {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  line-height: 1.5;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid rgba(59, 137, 31, 0.25) !important;
  box-shadow: 0 2px 12px rgba(59, 137, 31, 0.06);
}

/* Desktop HUD Conduit Scrubber */
.quantum-hud-conduit-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.quantum-hud-chips-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.quantum-laser-line {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #E2E8F0 0%, rgba(59, 137, 31, 0.4) 50%, #E2E8F0 100%);
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
}

/* Continuous Moving Laser Photons */
.laser-photon {
  position: absolute;
  top: 0;
  height: 100%;
  width: 90px;
  background: linear-gradient(90deg, transparent, #3B891F, #10B981, transparent);
  border-radius: 4px;
  box-shadow: 0 0 12px #3B891F, 0 0 20px #10B981;
  animation: laserPulseFlow 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.laser-photon.photon-2 {
  animation-delay: 1.75s;
}

@keyframes laserPulseFlow {
  0% {
    left: -100px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Quantum Stage Chips */
.quantum-stage-chip {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  flex: 1;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quantum-stage-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
  flex-shrink: 0;
  transition: var(--transition);
}

.quantum-stage-chip .chip-hex {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.725rem;
  color: var(--green-primary);
  background: rgba(59, 137, 31, 0.1);
  padding: 2px 5px;
  border-radius: 5px;
  flex-shrink: 0;
}

.quantum-stage-chip .chip-title {
  font-size: 0.675rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.quantum-stage-chip:hover,
.quantum-stage-chip.active {
  border-color: var(--green-primary);
  background: #FFFFFF;
  box-shadow: 0 0 16px rgba(59, 137, 31, 0.25);
  transform: translateY(-2px);
}

.quantum-stage-chip.active .chip-dot {
  background: var(--green-primary);
  box-shadow: 0 0 8px var(--green-primary);
}

.quantum-stage-chip.active .chip-hex {
  background: var(--green-primary);
  color: #FFFFFF;
}

/* Quantum Enclave Pods */
.quantum-enclave-pod {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.quantum-enclave-pod:hover,
.quantum-enclave-pod.highlighted {
  border-color: var(--green-primary) !important;
  box-shadow: 0 18px 45px rgba(59, 137, 31, 0.15) !important;
  transform: translateY(-6px);
}

/* Holographic Glow Halo */
.pod-glow-halo {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 137, 31, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.quantum-enclave-pod:hover .pod-glow-halo,
.quantum-enclave-pod.highlighted .pod-glow-halo {
  opacity: 1;
}

/* Pulsing Radar Ring Emitter */
.pod-radar-emitter {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.radar-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--green-primary);
  opacity: 0;
  animation: radarPulseRing 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes radarPulseRing {
  0% {
    width: 6px;
    height: 6px;
    opacity: 0.8;
  }
  70% {
    width: 32px;
    height: 32px;
    opacity: 0.1;
  }
  100% {
    width: 44px;
    height: 44px;
    opacity: 0;
  }
}

.pod-hex-badge {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green-primary);
  background: rgba(59, 137, 31, 0.12);
  border: 1px solid rgba(59, 137, 31, 0.25);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.pod-icon-shield {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

/* Telemetry Status Pills & Live Blinking Indicators */
.pod-telemetry-tag {
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-blink-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
  box-shadow: 0 0 6px var(--green-primary);
  animation: liveBlink 1.4s ease-in-out infinite alternate;
}

.live-blink-dot.red { background: #DC2626; box-shadow: 0 0 6px #DC2626; }
.live-blink-dot.blue { background: #2563EB; box-shadow: 0 0 6px #2563EB; }
.live-blink-dot.cyan { background: #0284C7; box-shadow: 0 0 6px #0284C7; }
.live-blink-dot.orange { background: #D97706; box-shadow: 0 0 6px #D97706; }
.live-blink-dot.purple { background: #9333EA; box-shadow: 0 0 6px #9333EA; }
.live-blink-dot.green { background: #059669; box-shadow: 0 0 6px #059669; }

@keyframes liveBlink {
  0% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.15); }
}

.pod-telemetry-tag.verified { background: rgba(59, 137, 31, 0.1); color: #2E7D17; border: 1px solid rgba(59, 137, 31, 0.25); }
.pod-telemetry-tag.hardened { background: rgba(239, 68, 68, 0.1); color: #DC2626; border: 1px solid rgba(239, 68, 68, 0.25); }
.pod-telemetry-tag.institutional { background: rgba(37, 99, 235, 0.1); color: #2563EB; border: 1px solid rgba(37, 99, 235, 0.25); }
.pod-telemetry-tag.multichain { background: rgba(14, 165, 233, 0.1); color: #0284C7; border: 1px solid rgba(14, 165, 233, 0.25); }
.pod-telemetry-tag.secops { background: rgba(245, 158, 11, 0.1); color: #D97706; border: 1px solid rgba(245, 158, 11, 0.25); }
.pod-telemetry-tag.quantum { background: rgba(147, 51, 234, 0.1); color: #9333EA; border: 1px solid rgba(147, 51, 234, 0.25); }
.pod-telemetry-tag.honest { background: rgba(16, 185, 129, 0.12); color: #059669; border: 1px solid rgba(16, 185, 129, 0.3); }

/* Live Oscilloscope Telemetry Bars */
.pod-oscilloscope-bar {
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
  height: 32px;
}

.bar-pill {
  width: 4px;
  border-radius: 2px;
  background: rgba(59, 137, 31, 0.25);
  transition: all 0.3s ease;
}

.bar-pill.active {
  background: var(--green-primary);
  box-shadow: 0 0 4px rgba(59, 137, 31, 0.4);
}

.bar-pill.active.red { background: #EF4444; }
.bar-pill.active.blue { background: #3B82F6; }
.bar-pill.active.cyan { background: #06B6D4; }
.bar-pill.active.orange { background: #F59E0B; }
.bar-pill.active.purple { background: #A855F7; }

.h-40 { height: 8px; }
.h-50 { height: 10px; }
.h-60 { height: 12px; }
.h-65 { height: 13px; }
.h-70 { height: 14px; }
.h-75 { height: 15px; }
.h-80 { height: 16px; }
.h-85 { height: 17px; }
.h-90 { height: 18px; }
.h-95 { height: 19px; }
.h-100 { height: 20px; }

.bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green-primary);
}

/* Master Institutional Terminal Pod (07) */
.quantum-master-terminal-pod {
  background: linear-gradient(135deg, #FFFFFF 0%, #F3FAF3 100%);
  border: 1.5px solid rgba(59, 137, 31, 0.4);
  border-radius: 22px;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 10px 35px rgba(59, 137, 31, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.quantum-master-terminal-pod:hover,
.quantum-master-terminal-pod.highlighted {
  border-color: var(--green-primary);
  box-shadow: 0 20px 50px rgba(59, 137, 31, 0.18);
  transform: translateY(-4px);
}

.quantum-master-hex {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--green-primary);
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 22px rgba(59, 137, 31, 0.45);
}

.hex-orbit-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  animation: orbitRotate 12s linear infinite;
}

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

/* ==========================================================================
   7. SERVICES FLOW MAP PIPELINE LAYOUT & RICH ANIMATIONS
   ========================================================================== */
.flow-map-wrapper {
  position: relative;
  width: 100%;
}

.flow-track-bar {
  position: relative;
  padding: 0 40px;
}

.flow-track-line {
  position: absolute;
  top: 50%;
  left: 60px;
  right: 60px;
  height: 3.5px;
  background: linear-gradient(90deg, #4EB028 0%, #34D399 25%, #10B981 50%, #60A5FA 75%, #4EB028 100%);
  background-size: 250% 100%;
  animation: flowBeamLaser 4s linear infinite;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 9999px;
  box-shadow: 0 0 14px rgba(78, 176, 40, 0.45);
}

@keyframes flowBeamLaser {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

.flow-track-node {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--green-primary);
  font-size: 0.92rem;
  font-family: monospace;
  box-shadow: 0 4px 14px rgba(78, 176, 40, 0.22);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.flow-track-node::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(78, 176, 40, 0.5);
  animation: nodeBeaconPulse 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

.flow-track-node[data-step="1"]::after { animation-delay: 0s; }
.flow-track-node[data-step="2"]::after { animation-delay: 0.55s; }
.flow-track-node[data-step="3"]::after { animation-delay: 1.1s; }
.flow-track-node[data-step="4"]::after { animation-delay: 1.65s; }
.flow-track-node[data-step="5"]::after { animation-delay: 2.2s; }

@keyframes nodeBeaconPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.flow-track-arrow {
  position: relative;
  z-index: 2;
  color: var(--green-primary);
  font-size: 0.85rem;
  opacity: 0.9;
}

.flow-track-arrow i {
  display: inline-block;
  animation: arrowGlideWave 2s ease-in-out infinite alternate;
}

@keyframes arrowGlideWave {
  0% {
    transform: translateX(-3px);
    opacity: 0.55;
  }
  100% {
    transform: translateX(4px);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(78, 176, 40, 0.6));
  }
}

.flow-map-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

.flow-node-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.flow-node-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, transparent, var(--green-primary), #34D399, transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flow-node-card:hover {
  transform: translateY(-8px);
  border-color: var(--green-primary);
  box-shadow: 0 20px 42px rgba(78, 176, 40, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.flow-node-card:hover::before {
  opacity: 1;
  animation: laserShimmerSweep 1.8s linear infinite;
}

@keyframes laserShimmerSweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.flow-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(78, 176, 40, 0.1);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(78, 176, 40, 0.2);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.flow-node-card:hover .flow-icon-circle {
  transform: scale(1.12) rotate(6deg);
  background: var(--green-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(78, 176, 40, 0.35);
}

.flow-badge-step {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green-primary);
  background: rgba(78, 176, 40, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  font-family: monospace;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.flow-node-card:hover .flow-badge-step {
  background: var(--green-primary);
  color: #FFFFFF;
}

.flow-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #266E13;
  line-height: 1.35;
  margin-bottom: 0;
  transition: color 0.25s ease;
}

.flow-card-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.58;
  margin-bottom: 0;
}

.flow-metric-chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.flow-node-card:hover .flow-metric-chip {
  transform: translateX(3px);
}

@media (max-width: 1199.98px) {
  .flow-map-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .flow-map-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
  }
  .flow-node-card {
    padding: 20px 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* ==========================================================================
   8. 2027 MULTI-CHAIN ARCHITECTURE 7-CARD BENTO GRID
   ========================================================================== */
.arch-bento-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.arch-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, transparent, var(--green-primary), #34D399, transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.arch-bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-primary);
  box-shadow: 0 16px 36px rgba(78, 176, 40, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.arch-bento-card:hover::before {
  opacity: 1;
  animation: laserShimmerSweep 1.8s linear infinite;
}

.arch-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  border: 1px solid rgba(78, 176, 40, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.arch-bento-card:hover .arch-icon-box {
  transform: scale(1.1) rotate(4deg);
  background: var(--green-primary);
  color: #FFFFFF;
}

.arch-code-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.arch-bento-card:hover .arch-code-badge {
  background: rgba(78, 176, 40, 0.12);
  color: var(--green-primary);
}

.featured-recovery-bento {
  border-color: rgba(78, 176, 40, 0.25);
  background: linear-gradient(135deg, #FFFFFF 0%, #F9FCF8 100%);
}

.featured-recovery-bento:hover {
  border-color: var(--green-primary);
  box-shadow: 0 20px 42px rgba(78, 176, 40, 0.16);
}

/* ==========================================================================
   9. 9-PHASE DEVELOPMENT PROCESS STEPPER GRID
   ========================================================================== */
.process-step-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, transparent, var(--green-primary), #34D399, transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-primary);
  box-shadow: 0 16px 36px rgba(78, 176, 40, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.process-step-card:hover::before {
  opacity: 1;
  animation: laserShimmerSweep 1.8s linear infinite;
}

.process-node-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--green-primary);
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 2px 8px rgba(78, 176, 40, 0.2);
  transition: all 0.3s ease;
}

.process-step-card:hover .process-node-num {
  background: var(--green-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(78, 176, 40, 0.35);
}

.process-time-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green-primary);
  background: rgba(78, 176, 40, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid rgba(78, 176, 40, 0.2);
}

.process-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid rgba(78, 176, 40, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.process-step-card:hover .process-icon-box {
  transform: scale(1.1) rotate(4deg);
  background: var(--green-primary);
  color: #FFFFFF;
}

.process-timeline-banner {
  border: 1.5px solid rgba(78, 176, 40, 0.3) !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5FBF2 100%) !important;
  box-shadow: 0 10px 30px rgba(78, 176, 40, 0.08);
}

/* ==========================================================================
   10. ACTION BUTTONS & WHATSAPP INTERACTION
   ========================================================================== */
.btn-whatsapp-outline-animated {
  transition: all 0.3s ease;
}

.btn-whatsapp-outline-animated:hover i {
  color: #25D366 !important;
}

/* ==========================================================================
   11. BOOKING CONSULTATION MODAL (Matching Image 3)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 28px 26px 22px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #6B7280;
  font-size: 1.25rem;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 5;
}

.modal-close:hover {
  background: #F3F4F6;
  color: #111827;
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: none;
  padding: 0;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(78, 176, 40, 0.12);
  color: var(--green-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 5px;
  line-height: 1.25;
}

.modal-desc {
  font-size: 0.84rem;
  color: #4B5563;
  line-height: 1.45;
  margin-bottom: 16px;
}

#lead-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1F2937;
}

.form-group input,
.form-group select {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 9px 13px;
  color: #111827;
  font-size: 0.88rem;
  height: 40px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(78, 176, 40, 0.15);
  background: #FFFFFF;
}

.btn-modal-submit {
  background: var(--green-primary);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 44px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  margin-top: 2px;
}

.btn-modal-submit:hover {
  background: #347a1b;
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.72rem;
  color: #6B7280;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 0;
}

.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  text-align: center;
}

.modal-success.active {
  display: flex;
}

.modal-success i {
  font-size: 2.6rem;
  color: var(--green-primary);
}

.modal-success h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.modal-success p {
  font-size: 0.82rem;
  color: #6B7280;
  margin: 0;
}

/* Compact Mobile Modal Layout (< 576px, e.g. 375x667 iPhone SE) */
@media (max-width: 575.98px) {
  .modal-overlay {
    padding: 8px;
  }
  .modal-card {
    max-width: 355px;
    width: 96%;
    padding: 16px 14px 12px;
    border-radius: 16px;
  }
  .modal-close {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 1.05rem;
  }
  .modal-badge {
    font-size: 0.7rem;
    padding: 3px 9px;
    margin-bottom: 5px;
  }
  .modal-title {
    font-size: 1.15rem;
    margin-bottom: 3px;
  }
  .modal-desc {
    font-size: 0.76rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  #lead-form {
    gap: 7px;
  }
  .form-group {
    gap: 2px;
  }
  .form-group label {
    font-size: 0.72rem;
  }
  .form-group input,
  .form-group select {
    padding: 7px 11px;
    font-size: 0.84rem;
    height: 36px;
    border-radius: 7px;
  }
  .btn-modal-submit {
    padding: 9px 14px;
    font-size: 0.86rem;
    height: 39px;
    border-radius: 7px;
  }
  .form-note {
    font-size: 0.675rem;
    margin-top: 4px;
  }
}

/* ==========================================================================
   12. UNIVERSAL MOBILE OVERFLOW SAFEGUARDS & BRAND GREEN BADGE ALIGNMENT
   ========================================================================== */
html, body, .page-crypto-wallet, main, .hero-section, .section, .container {
  overflow-x: clip !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* Universal DigiTechzo Brand Green Badge Alignment (#57B71B) */
.badge.bg-success-subtle.text-success,
.badge-green,
.v-live-badge,
.hero-status-badge,
.chain-feature-chip,
.flow-metric-chip {
  color: var(--green-primary, #57B71B) !important;
  background: rgba(87, 183, 27, 0.08) !important;
  border: 1px solid rgba(87, 183, 27, 0.25) !important;
}

.badge.bg-success-subtle.text-success,
.section-title .badge {
  white-space: normal !important;
  max-width: 100% !important;
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.4 !important;
  word-break: normal !important;
}

/* Universal Button Wrapping for Mobile Viewports */
@media (max-width: 768px) {
  :not(.navbar-custom) .btn,
  .btn-pill-primary,
  .btn-pill-outline {
    white-space: normal !important;
    text-align: center !important;
    word-break: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .rot-slider-stage,
  .rot-slider-container {
    overflow: hidden;
    max-width: 100%;
  }
}
