/* ==============================================================================
   DOTFY ENTERPRISE DESIGN SYSTEM (MULTI-PAGE SUITE)
   Linear Precision • Mercury Layout • React Bits Micro-Interactions
   Dynamic Black-to-White Scroll Navbar • Zero Emojis • Custom SVG System
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-base: #060709;
  --bg-island: #0b0e15;
  --bg-island-inner: #11151f;
  --bg-card: rgba(15, 20, 28, 0.65);
  --bg-card-hover: rgba(22, 29, 41, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-active: rgba(255, 255, 255, 0.22);
  --border-cyan: rgba(0, 240, 255, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.16);
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-full: 8px;

  /* Open Props Physics Easings & Motion Tokens */
  --ease-spring-1: cubic-bezier(0.5, 1.25, 0.75, 1.25);
  --ease-spring-2: cubic-bezier(0.3, 1.4, 0.5, 1);
  --ease-spring-3: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-squish: cubic-bezier(0.5, -0.5, 0.1, 1.5);

  /* Open Props Multi-Layer Optical Shadows */
  --shadow-surface-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-surface-2: 0 4px 14px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-surface-3: 0 12px 30px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.35);
  --shadow-surface-4: 0 25px 60px rgba(0, 0, 0, 0.75), 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-cyan: 0 0 24px rgba(0, 212, 255, 0.18), 0 0 48px rgba(0, 212, 255, 0.08);
  --shadow-glow-emerald: 0 0 18px rgba(16, 185, 129, 0.22);

  /* DesignSystems.one / Stripe Dark Surfaces */
  --surface-ground: #060709;
  --surface-card: rgba(14, 18, 27, 0.75);
  --surface-card-hover: rgba(20, 26, 38, 0.9);
  --surface-elevated: #0f1420;
  --surface-overlay: #151b2b;

  --transition: all 0.28s var(--ease-spring-3);
  --transition-fast: all 0.16s var(--ease-spring-3);
  --transition-tactual: transform 0.12s var(--ease-spring-1), background 0.2s ease, border-color 0.2s ease;
}

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

/* Design System Checklist: Accessible Focus-Visible Ring */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

button:active, .btn-primary-beam:active, .btn-secondary-link:active, .btn-create-account:active, .suite-tab-btn:active {
  transform: scale(0.98);
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

/* Cross-Document Seamless Page Transitions (Chrome / Edge / Modern Browsers) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.18s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting (Linear Dark Atmosphere) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 50% -20%, rgba(0, 212, 255, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 85% 45%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* SVG Icon Base */
.svg-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* ==============================================================================
   DYNAMIC NAVBAR: BLACK-TO-WHITE ON SCROLL
   ============================================================================== */

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 7, 9, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  view-transition-name: main-navbar;
}

/* Scrolled State: Stays 100% dark obsidian fintech, adds subtle depth elevation */
.header-nav.nav-scrolled {
  background: rgba(6, 7, 9, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  height: 72px;
}

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

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 120px;
  flex-shrink: 0;
}

.brand-link img {
  height: 26px;
  width: auto;
  display: block;
}

/* Morphing Logo System: Collapses Wordmark into Pure Icon & Expands */
.brand-logo-anim {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.brand-symbol {
  height: 26px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.brand-wordmark-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 90px;
  opacity: 1;
  margin-left: 7px;
  transform: translateX(0);
  transition: max-width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              margin-left 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-wordmark {
  height: 24px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Collapsed State: Wordmark vanishes, Icon stands proud */
.brand-logo-anim.is-collapsed .brand-wordmark-wrap {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transform: translateX(-8px);
}

.brand-logo-anim.is-collapsed .brand-symbol {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.55));
}

/* Zero-flicker pre-render state when loading page mid-cycle in collapsed mode */
html.logo-init-collapsed .brand-logo-anim .brand-wordmark-wrap {
  max-width: 0 !important;
  opacity: 0 !important;
  margin-left: 0 !important;
  transform: translateX(-8px) !important;
  transition: none !important;
}

html.logo-init-collapsed .brand-logo-anim .brand-symbol {
  transform: scale(1.08) !important;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.55)) !important;
  transition: none !important;
}

/* Hover: always reveal full brand immediately */
.brand-logo-anim:hover .brand-wordmark-wrap {
  max-width: 90px !important;
  opacity: 1 !important;
  margin-left: 7px !important;
  transform: translateX(0) !important;
}

.brand-logo-anim:hover .brand-symbol {
  transform: scale(1) !important;
  filter: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.mobile-only-nav-item,
.mobile-nav-section-title,
.nav-item-icon,
.nav-item-desc,
.nav-item-arrow,
.mobile-nav-status {
  display: none !important;
}

.nav-item-content,
.nav-item-title {
  display: inline;
}

.nav-item-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-item-link:hover {
  color: #fff;
}

.nav-item-link.active-page {
  color: var(--accent-cyan);
}

.nav-item-link.active-page::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

.btn-login-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-login-link:hover {
  color: #fff;
}

.btn-create-account {
  background: #ffffff;
  color: #060709;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-create-account:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */

.hero-wrap {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-wrap > .container {
  position: relative;
  z-index: 2;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.shiny-text {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4) 0%, #fff 50%, rgba(255, 255, 255, 0.4) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}

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

/* ==============================================================================
   PAGE TITLE ENTRANCE ANIMATION (Cinematic blur-to-sharp fade in)
   ============================================================================== */
@keyframes heroTitleEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
    filter: blur(12px);
    letter-spacing: -0.045em;
  }
  60% {
    opacity: 0.9;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    letter-spacing: -0.035em;
  }
}

.hero-main-title {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
  max-width: 980px;
  margin: 0 auto 22px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 70%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroTitleEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity, filter;
}

.hero-title-prefix {
  display: block;
}

/* Dedicated Locked Slot for Rotating Phrase (Rock-Solid Zero Layout Shift) */
.hero-rotating-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35em;
  height: 1.35em;
  max-height: 1.35em;
  line-height: 1.25;
  margin-top: 4px;
  overflow: hidden;
  text-align: center;
}

.hero-rotating-phrase {
  background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 45%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  text-align: center;
  width: 100%;
  will-change: opacity, transform;
}

.typing-cursor {
  display: none !important;
}

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

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.border-beam-wrap {
  position: relative;
  display: inline-flex;
  border-radius: var(--radius-md);
  padding: 1px;
  overflow: hidden;
}

.border-beam-ray {
  position: absolute;
  inset: -150%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, var(--accent-cyan) 60deg, var(--accent-blue) 120deg, transparent 180deg);
  animation: rotate-beam 4s linear infinite;
}

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

.btn-primary-beam {
  position: relative;
  background: #090c13;
  color: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  transition: var(--transition);
}

.btn-primary-beam:hover {
  background: #121824;
}

.btn-secondary-link {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}

/* ==============================================================================
   STRIPE LIVE TELEMETRY BAR
   ============================================================================== */

.telemetry-card {
  max-width: 1020px;
  margin: 0 auto;
  background: rgba(12, 15, 22, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.telemetry-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.telemetry-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.telemetry-unit {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

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

/* ==============================================================================
   MERCURY CONTENT CHAPTERS & ISLAND ARCHITECTURE
   ============================================================================== */

.chapter-spacer {
  padding: 120px 0;
}

.chapter-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.chapter-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: inline-block;
  font-family: var(--font-mono);
}

.chapter-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 16px;
}

/* Dedicated Chapter Title Entrance on Scroll */
.chapter-title.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.chapter-title.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

.chapter-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mercury-island {
  background: var(--bg-island);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Mercury Suite Tabs */
.suite-segmented-control {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.suite-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.suite-tab-btn:hover {
  color: #fff;
}

.suite-tab-btn.active {
  background: #ffffff;
  color: #07080a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.suite-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.suite-panel.active {
  display: block;
}

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

.suite-2col-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.suite-info h3 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.suite-info p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.suite-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.suite-point-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Node Stream Pipeline */
.node-stream-container {
  background: var(--bg-island-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
}

.node-stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.node-stream-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
}

.node-source-box {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.node-branches-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.node-branch {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.node-branch:hover {
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
}

.node-branch-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

/* Benchmark Box & Interactive Real-Time Loop */
.benchmark-box {
  background: var(--bg-island-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 26px;
}

.benchmark-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.benchmark-title {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.benchmark-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: dotfyLivePulse 1.4s infinite ease-in-out;
}

@keyframes dotfyLivePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.benchmark-bar-row {
  margin-bottom: 16px;
}

.benchmark-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.benchmark-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.legacy-label {
  color: #f87171;
}

.label-dot-cyan {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

.label-dot-red {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #ef4444;
}

.benchmark-value-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.bench-time-dotfy {
  color: var(--accent-cyan);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  text-align: right;
}

.bench-badge-dotfy {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 7px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(0.9);
}

.bench-badge-dotfy.is-ready {
  opacity: 1;
  transform: scale(1);
}

.bench-time-legacy {
  color: #f87171;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 60px;
  text-align: right;
}

.bench-badge-legacy {
  font-size: 0.68rem;
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.benchmark-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xs);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.benchmark-fill {
  height: 100%;
  border-radius: var(--radius-xs);
  width: 0%;
  position: relative;
  will-change: width, opacity;
}

.fill-dotfy {
  background: linear-gradient(90deg, #00f0ff, #2563eb);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.fill-dotfy::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #ffffff;
  border-radius: var(--radius-xs);
  box-shadow: 0 0 8px #ffffff, 0 0 12px var(--accent-cyan);
}

.fill-legacy {
  background: linear-gradient(90deg, #f87171, #ef4444);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.fill-legacy::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #fca5a5;
  border-radius: var(--radius-xs);
  box-shadow: 0 0 6px #ef4444;
}

.benchmark-summary-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.benchmark-summary-label {
  color: var(--text-secondary);
}

.benchmark-summary-value {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Phone Mockup */
.phone-device {
  width: 330px;
  margin: 0 auto;
  background: #090c12;
  border: 4px solid #1a202d;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 212, 255, 0.08);
}

.phone-notch {
  width: 100px;
  height: 16px;
  background: #1a202d;
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
}

.phone-screen {
  background: #0e121a;
  border-radius: 24px;
  padding: 18px 14px;
  border: 1px solid var(--border-subtle);
}

.phone-qr-display {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-medium);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-phone-copy {
  width: 100%;
  background: var(--accent-cyan);
  color: #060709;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-phone-copy:hover {
  background: #38e1ff;
}

/* Split Calculator */
.split-calc-island {
  background: var(--bg-island-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.calc-group {
  margin-bottom: 20px;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #1c2433;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.calc-results-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}

.calc-res-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-res-line:last-child {
  border-bottom: none;
}

/* ReUI Multi-Account Split Ledger Distribution Bar */
.ledger-distribution-wrap {
  margin: 18px 0 6px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.ledger-distribution-bar {
  display: flex;
  height: 10px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  gap: 2px;
}

.ledger-segment {
  height: 100%;
  transition: width 0.35s var(--ease-spring-3);
}

.seg-producer {
  background: linear-gradient(90deg, #00f0ff, #2563eb);
}

.seg-coprod {
  background: #10b981;
}

.ledger-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.dot-cyan { background: #00f0ff; }
.dot-emerald { background: #10b981; }

/* Rolling Number Ticker & Kinetic Digits */
.num-ticker {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transform-origin: center right;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s ease;
  will-change: transform, filter;
}

.num-ticker.is-rolling {
  transform: scale(1.04) translateY(-1px);
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
}

.num-ticker.is-rolling.emerald,
.num-ticker.emerald.is-rolling {
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

.num-ticker.is-settled {
  animation: numTickerSettle 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes numTickerSettle {
  0% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

/* ==============================================================================
   ARCHITECTURE COMPARISON
   ============================================================================== */

.comparison-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.arch-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.arch-card.legacy {
  background: rgba(239, 68, 68, 0.02);
  border-color: rgba(239, 68, 68, 0.15);
}

.arch-card.dotfy {
  background: rgba(0, 212, 255, 0.02);
  border-color: rgba(0, 212, 255, 0.25);
}

.arch-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: inline-block;
  font-family: var(--font-mono);
}

.arch-tag.red { color: #f87171; }
.arch-tag.cyan { color: var(--accent-cyan); }

.arch-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.arch-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.arch-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==============================================================================
   ECOSYSTEM & PARTNERS SECTION
   ============================================================================== */

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.eco-card {
  background: var(--bg-island-inner);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.eco-card:hover {
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.03);
}

.eco-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.eco-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==============================================================================
   ONBOARDING 3 PASSOS (DEVELOPERS QUICKSTART)
   ============================================================================== */

/* Stepper Visual Timeline Bar */
.onboarding-stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 820px;
  margin: 0 auto 38px;
  padding: 0 16px;
  position: relative;
}

.stepper-track-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 20, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  transition: all 0.3s ease;
}

.stepper-track-step:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.1);
}

.stepper-track-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stepper-track-step.step-1 .stepper-track-node {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.stepper-track-step.step-2 .stepper-track-node {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.stepper-track-step.step-3 .stepper-track-node {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.12);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.stepper-track-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: -0.01em;
}

.stepper-track-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.4) 0%, rgba(16, 185, 129, 0.4) 50%, rgba(168, 85, 247, 0.4) 100%);
  margin: 0 8px;
  position: relative;
  border-radius: 2px;
  opacity: 0.7;
}

/* 3-Step Cards Grid */
.onboarding-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  position: relative;
  align-items: stretch;
}

.onboarding-step-card {
  background: linear-gradient(175deg, rgba(16, 23, 36, 0.85) 0%, rgba(9, 13, 21, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.6), transparent);
  border-radius: 999px;
  opacity: 0.6;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.onboarding-step-card[data-step="02"]::before {
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.7), transparent);
}

.onboarding-step-card[data-step="03"]::before {
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.7), transparent);
}

.onboarding-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.08);
}

.onboarding-step-card[data-step="02"]:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.08);
}

.onboarding-step-card[data-step="03"]:hover {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(168, 85, 247, 0.08);
}

.onboarding-step-card:hover::before {
  opacity: 1;
  height: 3px;
}

/* Header Inside Step Card */
.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

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

.step-dot-cyan {
  background: var(--accent-cyan, #00f0ff);
  box-shadow: 0 0 8px #00f0ff;
}

.step-dot-emerald {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.step-dot-purple {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.step-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.step-tag-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 9px;
  border-radius: 6px;
}

/* Body Inside Step Card */
.step-card-body {
  flex: 1;
  margin-bottom: 24px;
}

.step-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.step-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

/* Technical Badges inside Text */
.tech-code-badge {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  vertical-align: baseline;
  word-break: break-word;
}

.tech-code-badge.cyan {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.08);
}

.tech-code-badge.emerald {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.08);
}

.tech-code-badge.blue {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.08);
}

.tech-code-badge.purple {
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.25);
  background: rgba(192, 132, 252, 0.08);
}

/* Step Code Preview Snippet Box */
.step-code-preview {
  background: rgba(5, 8, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono, monospace);
}

.code-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.code-preview-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.code-preview-status {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
}

.code-preview-status.status-emerald {
  color: #10b981;
}

.code-preview-status.status-cyan {
  color: #00f0ff;
}

.code-preview-snippet {
  font-size: 0.78rem;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-token-keyword {
  color: #94a3b8;
}

.code-token-accent {
  color: #00f0ff;
}

.code-token-method {
  color: #10b981;
  font-weight: 700;
}

.code-token-muted {
  color: #64748b;
  font-size: 0.72rem;
}

.code-token-event {
  color: #cbd5e1;
}

.code-token-hash {
  color: #c084fc;
}

/* General fallback for .feature-card */
.feature-card {
  background: var(--bg-island-inner, rgba(16, 22, 34, 0.6));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 14px);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition, all 0.3s ease);
}

.feature-card:hover {
  border-color: var(--border-medium, rgba(255, 255, 255, 0.16));
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 960px) {
  .onboarding-stepper-track {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .stepper-track-line {
    display: none;
  }
  .onboarding-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==============================================================================
   DEVELOPER TERMINAL
   ============================================================================== */

.dev-terminal-wrapper {
  background: #080b11;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.dev-terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.mac-window-dots {
  display: flex;
  gap: 8px;
}

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

.dot-close { background: #ff5f56; }
.dot-min { background: #ffbd2e; }
.dot-max { background: #27c93f; }

.lang-selector-tabs {
  display: flex;
  gap: 6px;
}

.lang-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

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

.dev-env-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 2px;
}

.env-toggle-btn {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.env-toggle-btn.active {
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn-terminal-action {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-fast);
}

.btn-terminal-action:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border-medium);
}

.btn-terminal-action.copied {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

.code-display-block {
  padding: 26px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.75;
  color: #e2e8f0;
  overflow-x: auto;
}

.ck-kw { color: #f43f5e; font-weight: 600; }
.ck-str { color: #10b981; }
.ck-var { color: #38bdf8; }
.ck-comm { color: #64748b; font-style: italic; }

.terminal-foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
}

.btn-trigger-api {
  background: var(--accent-cyan);
  color: #060709;
  border: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-trigger-api:hover {
  background: #4de0ff;
}

.terminal-live-res {
  display: none;
  padding: 18px 22px;
  background: #040608;
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-emerald);
}

/* ==============================================================================
   FAQ ACCORDION & KNOWLEDGE BASE
   ============================================================================== */

.faq-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto 28px;
}

.faq-filter-btn {
  background: rgba(14, 18, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-filter-btn:hover {
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--text-primary);
  background: rgba(0, 240, 255, 0.05);
}

.faq-filter-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

.faq-island {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 18, 27, 0.75) 0%, rgba(8, 11, 17, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease, background 0.3s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-emerald));
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.faq-item.open {
  border-color: rgba(0, 240, 255, 0.4);
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.92) 0%, rgba(10, 14, 22, 0.95) 100%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 240, 255, 0.08);
}

.faq-item.open::before {
  opacity: 1;
  transform: scaleY(1);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: -2px;
}

.faq-question-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.faq-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.faq-cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.faq-title {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}

.faq-item:hover .faq-title,
.faq-item.open .faq-title {
  color: #ffffff;
}

.faq-toggle-pill {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover .faq-toggle-pill {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.35);
  color: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.faq-item.open .faq-toggle-pill {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #00f0ff;
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

.faq-toggle-icon {
  display: block;
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-item.open .faq-answer-wrapper {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 24px 24px;
}

.faq-answer-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 16px;
}

.faq-answer-text strong {
  color: #f1f5f9;
  font-weight: 600;
}

.faq-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.16);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.faq-pill svg {
  color: var(--accent-emerald);
}

.faq-footer-support {
  max-width: 880px;
  margin: 28px auto 0;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: rgba(14, 18, 27, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.faq-footer-support-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.faq-footer-support-text strong {
  color: var(--text-primary);
}

.faq-footer-support-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  transition: all 0.25s ease;
}

.faq-footer-support-action:hover {
  background: rgba(0, 240, 255, 0.16);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .faq-filters {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    width: 100%;
  }
  .faq-filter-btn {
    white-space: nowrap;
    font-size: 0.74rem;
    padding: 6px 12px;
  }
  .faq-question {
    padding: 16px 18px;
    gap: 12px;
  }
  .faq-title {
    font-size: 0.96rem;
  }
  .faq-answer-inner {
    padding: 0 18px 20px;
  }
  .faq-pill-list {
    gap: 6px;
  }
  .faq-pill {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  .faq-footer-support {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================================================================
   FINAL CTA & FOOTER
   ============================================================================== */

.cta-wrap {
  text-align: center;
  padding: 90px 30px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 65%), var(--bg-island);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 100px;
}

.cta-wrap h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 18px;
}

.cta-wrap p {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

.main-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  background: #040507;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top-grid, .footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  margin-top: 18px;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.footer-nav-block h6 {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  margin-bottom: 20px;
}

.footer-nav-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-block a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-nav-block a:hover {
  color: var(--accent-cyan);
}

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

.footer-compliance-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.compliance-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==============================================================================
   ENTERPRISE COMPARISON MATRIX (Traditional vs Dotfy Engine)
   ============================================================================== */
.matrix-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.matrix-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.matrix-table th {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.matrix-table th.col-highlight {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.04);
}

.matrix-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table td.col-highlight {
  color: #fff;
  font-weight: 500;
  background: rgba(0, 212, 255, 0.02);
}

.matrix-pill-positive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.matrix-pill-negative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ==============================================================================
   SEGMENT / USE CASE CARDS
   ============================================================================== */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.segment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.segment-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.segment-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-glow);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  align-self: flex-start;
  margin-bottom: 16px;
}

.segment-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.segment-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.segment-specs {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.segment-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.segment-specs li svg {
  color: var(--accent-cyan);
}

/* ==============================================================================
   DEVELOPER PORTAL & API DOCS LAYOUT
   ============================================================================== */
.api-docs-hero {
  text-align: left;
  padding-top: 160px;
  padding-bottom: 40px;
}

.api-docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  margin-top: 30px;
  margin-bottom: 80px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.api-sidebar-nav {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
  width: 240px;
  flex-shrink: 0;
}

.api-main-content {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.api-nav-group-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.api-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.api-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.api-nav-link:hover, .api-nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.api-nav-link.active {
  color: var(--accent-cyan);
  background: var(--accent-cyan-glow);
  font-weight: 600;
}

.method-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.method-post { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.method-get { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.method-delete { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.api-endpoint-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.endpoint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.endpoint-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #fff;
}

.param-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.param-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.param-table th {
  padding: 10px 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

.param-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.param-name {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 600;
}

.param-type {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.param-req {
  font-size: 0.75rem;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.param-opt {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

/* ==============================================================================
   MANIFESTO & INSTITUTIONAL ABOUT
   ============================================================================== */
.manifesto-hero-quote {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  border-left: 3px solid var(--accent-cyan);
  padding-left: 28px;
  margin: 40px 0;
}

.manifesto-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.manifesto-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.manifesto-year {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ==============================================================================
   SEAMLESS ZERO-TILT VIEW TRANSITIONS
   ============================================================================== */
.page-view {
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.page-view.page-switching {
  opacity: 0;
  transform: translateY(6px);
}

/* ==============================================================================
   RESPONSIVE DESIGN (MOBILE PERFECTION)
   ============================================================================== */

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

  .suite-2col-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comparison-grid-2col {
    grid-template-columns: 1fr;
  }

  .mercury-island {
    padding: 32px 20px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    height: 68px;
  }

  .header-nav.nav-scrolled {
    height: 64px;
  }

  .header-nav .container {
    padding: 0 16px;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 68px);
    background: rgba(6, 8, 12, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    padding: 24px 20px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 1.2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-menu:not(.mobile-open) {
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .nav-item-link {
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: block;
    width: 100%;
  }

  .mobile-only-nav-item {
    display: block !important;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.1);
  }

  .mobile-nav-login-btn:hover {
    background: rgba(0, 240, 255, 0.16);
    border-color: var(--accent-cyan);
    color: #fff;
  }

  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-toggle-btn.is-active svg {
    transform: rotate(90deg);
    color: var(--accent-cyan);
  }

  .btn-login-link {
    display: none;
  }

  .nav-right-actions {
    gap: 8px;
  }

  .btn-create-account {
    padding: 6px 13px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    height: 33px;
    gap: 5px;
    white-space: nowrap;
  }

  .btn-create-account svg {
    width: 12px;
    height: 12px;
  }

  .hero-wrap {
    padding-top: 110px;
    padding-bottom: 36px;
  }

  .hero-main-title {
    font-size: clamp(1.85rem, 6.2vw, 2.5rem);
    line-height: 1.22;
    letter-spacing: -0.03em;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 36px;
  }

  .hero-actions .border-beam-wrap,
  .hero-actions .btn-primary-beam,
  .hero-actions .btn-secondary-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 48px;
  }

  .fintech-console-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .fintech-console-col {
    padding: 18px 20px;
  }

  .fintech-console-header {
    padding: 12px 16px;
  }

  .fintech-console-cmd-bar {
    padding: 10px 14px;
    overflow-x: auto;
    font-size: 0.72rem;
  }

  .telemetry-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 14px;
  }

  .telemetry-sep {
    width: 100%;
    height: 1px;
  }

  .suite-segmented-control {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 6px;
    padding: 5px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
  }

  .suite-segmented-control::-webkit-scrollbar {
    display: none;
  }

  .suite-tab-btn {
    flex: 0 0 auto;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
    gap: 6px;
  }

  .suite-tab-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .suite-tab-btn.active {
    background: #ffffff;
    color: #060709;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }

  .phone-device {
    width: 100%;
    max-width: 310px;
  }

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

  .manifesto-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

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

  .api-sidebar-nav {
    position: static;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .footer-col-nav {
    gap: 36px;
  }

  .footer-top-grid, .footer-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }

  .dev-terminal-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .lang-selector-tabs {
    overflow-x: auto;
    width: 100%;
    order: 3;
    padding-bottom: 4px;
  }

  /* BaaS Ledger Mobile Horizontal Containment & Smooth Swipe */
  .ledger-grid-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ledger-grid-header,
  .ledger-row {
    min-width: 580px;
  }

  .ledger-stream-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .ledger-stream-track {
    min-width: 580px;
  }
}

@media (max-width: 480px) {
  .btn-create-account {
    padding: 5px 11px;
    font-size: 0.75rem;
    height: 31px;
    gap: 4px;
  }

  .btn-create-account svg {
    width: 11px;
    height: 11px;
  }

  .brand-link {
    width: 110px;
  }

  .brand-symbol {
    height: 24px;
  }

  .brand-wordmark {
    height: 22px;
  }

  .footer-top-grid, .footer-top-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ==============================================================================
   TEXT ENTRANCE ANIMATIONS (SCROLL REVEALS & STAGGERED MOTION)
   ============================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-28px);
}

.reveal.reveal-right {
  transform: translateX(28px);
}

.reveal.reveal-scale {
  transform: scale(0.96);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Subtle typewriter tag */
.typing-tag {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--accent-cyan);
  animation: typing-blink 0.9s infinite;
}

@keyframes typing-blink {
  0%, 100% { border-color: var(--accent-cyan); }
  50% { border-color: transparent; }
}

/* ==============================================================================
   SHOWCASE IMAGE FRAMES & VISUAL PLACEHOLDER SLOTS
   ============================================================================== */
.showcase-image-frame {
  position: relative;
  background: var(--bg-island-inner);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 212, 255, 0.05);
  transition: var(--transition);
}

.showcase-image-frame:hover {
  border-color: var(--border-cyan);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 45px rgba(0, 212, 255, 0.12);
  transform: translateY(-3px);
}

.showcase-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.showcase-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(10, 14, 22, 0.92);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-dots {
  display: flex;
  gap: 6px;
}

.showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.showcase-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.floating-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(6, 7, 9, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ==============================================================================
   WORLD-CLASS FINTECH UI COMPONENTS (Human Crafted • Linear & Mercury Precision)
   ============================================================================== */

/* 1. Infrastructure Telemetry & Console */
.fintech-console {
  background: #0b0e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1);
  text-align: left;
  margin: 0 auto;
  max-width: 1040px;
  position: relative;
}

.fintech-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(13, 17, 27, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fintech-console-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.fintech-console-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.fintech-console-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Dynamic Live Typing Command Bar in Hero Console */
.fintech-console-cmd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  background: rgba(6, 9, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.console-cmd-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-prompt-sign {
  color: var(--accent-emerald);
  font-weight: 700;
}

.console-prompt-host {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.console-typing-cmd {
  color: #f1f5f9;
  font-weight: 500;
}

.typing-cursor-small {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--accent-cyan);
  vertical-align: middle;
  animation: cursorBlink 0.75s step-end infinite;
  margin-left: 2px;
}

.console-cmd-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
  letter-spacing: 0.06em;
  font-weight: 700;
  flex-shrink: 0;
}

.fintech-console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.fintech-console-col {
  background: #0b0e17;
  padding: 22px 24px;
}

.console-col-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.console-col-val {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.console-col-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.fintech-stream-header {
  padding: 12px 20px 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
}

.fintech-stream-rows {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fintech-stream-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 23, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  transition: var(--transition);
}

.fintech-stream-row:hover {
  background: rgba(24, 31, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

/* 2. Authentic Mobile Payment Sheet UI */
.fintech-phone-mockup {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.8);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.phone-speaker-notch {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  margin: 0 auto 18px;
}

.phone-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.phone-badge-secure {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-order-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-order-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.phone-order-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
}

.phone-tab-bar {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.phone-tab {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
}

.phone-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-qr-frame {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  width: 130px;
  height: 130px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-btn-copy {
  width: 100%;
  background: #10b981;
  color: #041f14;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

/* ==============================================================================
   AUTHENTIC DOTFY PRODUCTION CHECKOUT UI (Faithful to Real Dotfy SaaS App)
   ============================================================================== */
#panel-checkout .suite-2col-layout,
#checkout .suite-2col-layout {
  grid-template-columns: 0.92fr 1.28fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  #panel-checkout .suite-2col-layout,
  #checkout .suite-2col-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }
}

.suite-2col-layout > div:has(.dotfy-checkout-wrapper),
#panel-checkout .suite-2col-layout > div:last-child,
#checkout .suite-2col-layout > div:last-child {
  display: flex;
  justify-content: center;
  width: 100%;
}

.dotfy-checkout-wrapper {
  width: 100%;
  max-width: 630px;
  margin: 0 auto;
  align-self: start;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dotfy-checkout-wrapper.is-mobile-view,
.dotfy-checkout-wrapper:has(.mode-mobile) {
  max-width: 430px;
}

.dotfy-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.dotfy-preview-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dotfy-device-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.dotfy-dev-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.dotfy-dev-btn.active {
  background: rgba(0, 168, 168, 0.22);
  color: #00d4d4;
  border: 1px solid rgba(0, 212, 212, 0.3);
}

.dotfy-checkout-canvas {
  background: #090c13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 168, 168, 0.04);
  padding: 22px;
  text-align: left;
  width: 100%;
  max-width: 610px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.dotfy-chk-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dotfy-chk-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dotfy-chk-brand-img {
  height: 22px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.dotfy-chk-brand-badge {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.dotfy-chk-secure-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Stepper at Top Center */
.dotfy-chk-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.dotfy-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
}

.dotfy-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.dotfy-step-item.active .dotfy-step-num {
  background: #00b4b4;
  color: #061114;
}

.dotfy-step-text {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.dotfy-step-item.active .dotfy-step-text {
  color: #fff;
}

.dotfy-step-text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 400;
  color: var(--text-muted);
}

.dotfy-step-divider {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

/* 2-Column Body Layout */
.dotfy-chk-columns {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 18px;
  align-items: start;
}

/* Mobile Viewport Mockup Mode (Faithful to Dotfy Mobile App) */
.dotfy-checkout-canvas.mode-mobile {
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  border-radius: 26px;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 45px rgba(0, 168, 168, 0.08);
  display: flex;
  flex-direction: column;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-chk-top-bar {
  order: 1;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-chk-columns {
  display: contents;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-summary-col {
  order: 2;
  width: 100%;
  margin-bottom: 16px;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-summary-card {
  padding: 16px;
  border-radius: 14px;
  background: #0f131f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 6px;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-seller {
  font-size: 0.74rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-desc {
  display: block !important;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.45;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-prices {
  margin-top: 4px;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-row:not(.total) {
  display: none;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-row.total {
  border-top: none;
  padding-top: 2px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-row.total span:first-child {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-sans);
}

.dotfy-checkout-canvas.mode-mobile .dotfy-sum-row.total span:last-child {
  font-size: 1.30rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 800;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-trust-list {
  display: none;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-chk-stepper {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 4px 0;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-step-text {
  font-size: 0.82rem;
  white-space: nowrap;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-step-text small {
  display: block !important;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-step-divider {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-action-col {
  order: 4;
  width: 100%;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-form-card {
  padding: 16px;
  min-height: auto;
  border-radius: 14px;
}

.dotfy-checkout-canvas.mode-mobile #checkout-view-step1,
.dotfy-checkout-canvas.mode-mobile #checkout-view-step2 {
  min-height: auto;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-input-row {
  grid-template-columns: 1fr;
  gap: 8px;
}

.dotfy-checkout-canvas.mode-mobile .dotfy-watermark {
  order: 5;
  margin-top: 16px;
}

/* Left Action Column */
.dotfy-action-col {
  display: flex;
  flex-direction: column;
}

.dotfy-form-card {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 382px;
}

#checkout-view-step1,
#checkout-view-step2 {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dotfy-chk-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  text-align: left;
}

.dotfy-chk-form-subtitle {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-align: left;
}

/* Inputs */
.dotfy-input-wrap {
  margin-bottom: 10px;
  text-align: left;
}

.dotfy-input-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-align: left;
}

.dotfy-input-field {
  position: relative;
  display: flex;
  align-items: center;
}

.dotfy-input-field svg {
  position: absolute;
  left: 10px;
  color: var(--text-muted);
  pointer-events: none;
}

.dotfy-input-field input {
  width: 100%;
  background: #131722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 8px 10px 8px 32px;
  font-size: 0.78rem;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dotfy-input-field input:focus {
  border-color: #00b4b4;
  box-shadow: 0 0 0 2px rgba(0, 180, 180, 0.15);
}

.dotfy-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Primary Button */
.dotfy-btn-teal {
  width: 100%;
  background: linear-gradient(135deg, #008f8f 0%, #00b4b4 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 16px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 147, 147, 0.35);
  margin-top: 12px;
  box-sizing: border-box;
}

.dotfy-btn-teal:hover {
  opacity: 0.94;
  filter: brightness(1.05);
}

/* Pix Module inside Left Column */
.dotfy-pix-view {
  display: flex;
  flex-direction: column;
  animation: dotfyFadeIn 0.2s ease forwards;
}

.dotfy-pix-card {
  background: #0f131e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin-bottom: 8px;
}

.dotfy-pix-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.dotfy-pix-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.dotfy-qr-wrap {
  width: 108px;
  height: 108px;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  padding: 6px;
  box-sizing: border-box;
}

.dotfy-qr-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.dotfy-pix-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.dotfy-pix-status .pill-dot {
  animation: dotfyPulseGreen 2s infinite ease-in-out;
}

@keyframes dotfyPulseGreen {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    transform: scale(1.2);
    opacity: 0.85;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
}

.dotfy-btn-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  display: block;
  margin: 8px auto 0;
  padding: 3px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dotfy-btn-back:hover {
  color: #fff;
}

/* Right Summary Column */
.dotfy-summary-col {
  display: flex;
  flex-direction: column;
}

.dotfy-summary-card {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.dotfy-sum-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  text-align: left;
}

.dotfy-sum-seller {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-align: left;
}

.dotfy-sum-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.45;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.dotfy-sum-prices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dotfy-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.dotfy-sum-row.total {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
}

.dotfy-trust-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dotfy-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.70rem;
  color: #10b981;
  text-align: left;
}

.dotfy-watermark {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  #panel-checkout .suite-2col-layout,
  #checkout .suite-2col-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dotfy-checkout-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .dotfy-checkout-canvas {
    max-width: 100% !important;
    padding: 18px 14px;
    border-radius: 18px;
    display: flex !important;
    flex-direction: column !important;
  }

  .dotfy-chk-top-bar {
    order: 1 !important;
  }

  .dotfy-chk-columns {
    display: contents !important;
  }

  .dotfy-summary-col {
    order: 2 !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .dotfy-summary-card {
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }

  .dotfy-sum-desc {
    display: block !important;
    font-size: 0.72rem !important;
    padding-bottom: 8px !important;
  }

  .dotfy-sum-row:not(.total) {
    display: none !important;
  }

  .dotfy-sum-row.total {
    border-top: none !important;
    padding-top: 2px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
  }

  .dotfy-sum-row.total span:first-child {
    font-size: 0.75rem !important;
  }

  .dotfy-sum-row.total span:last-child {
    font-size: 1.25rem !important;
  }

  .dotfy-trust-list {
    display: none !important;
  }

  .dotfy-chk-stepper {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .dotfy-step-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .dotfy-step-text {
    font-size: 0.80rem !important;
    white-space: nowrap !important;
  }

  .dotfy-step-text small {
    display: block !important;
    font-size: 0.65rem !important;
    color: var(--text-muted) !important;
  }

  .dotfy-step-divider {
    width: 24px !important;
    flex-shrink: 0 !important;
  }

  .dotfy-action-col {
    order: 4 !important;
    width: 100% !important;
  }

  .dotfy-form-card {
    padding: 14px !important;
    min-height: auto !important;
  }

  #checkout-view-step1,
  #checkout-view-step2 {
    min-height: auto !important;
  }

  .dotfy-input-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .dotfy-watermark {
    order: 5 !important;
    margin-top: 14px !important;
  }
}

/* 3. Subaccount BaaS Ledger Panel (Executive Fintech Architecture) */
.fintech-ledger-card {
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.96) 0%, rgba(9, 13, 22, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 64px -16px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
  backdrop-filter: blur(24px);
}

.ledger-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: rgba(13, 17, 28, 0.85);
}

.ledger-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ledger-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.ledger-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ledger-tag-sub {
  font-size: 0.70rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.ledger-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748b;
  font-family: var(--font-mono);
  margin-top: 2px;
}

.meta-separator {
  color: #475569;
}

.ledger-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ledger-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ledger-settle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Zero Horizontal Scrollbar - High Precision Responsive Grid */
.ledger-grid-table {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.ledger-grid-header {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 10px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-items: center;
  box-sizing: border-box;
}

.ledger-grid-header > div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ledger-stream-viewport {
  height: 186px; /* Exactly 3 rows of 62px */
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.ledger-stream-track {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 10px;
  padding: 0 22px;
  height: 62px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  box-sizing: border-box;
  background: transparent;
  transition: background-color 0.8s ease;
  overflow: hidden;
}

.ledger-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ledger-row.row-highlight-new {
  background: rgba(16, 185, 129, 0.08);
}

.col-partner,
.col-cnpj,
.col-nominal,
.col-balance,
.col-split,
.col-status {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}

/* Partner Cell with Avatar Monogram */
.partner-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.partner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.partner-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-product {
  font-size: 0.70rem;
  color: #64748b;
  margin-top: 1px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cnpj-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #cbd5e1;
  letter-spacing: 0.01em;
}

.nominal-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.03em;
}

.split-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 7px;
  border-radius: 4px;
}

.kyc-badge-homologado {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.26);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.kyc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 5px var(--accent-emerald);
}

/* Dedicated Ledger Footer Bar */
.ledger-footer {
  padding: 15px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 13, 22, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.ledger-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}

.ledger-footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.footer-stats-label {
  color: #64748b;
}

.footer-stats-amount {
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.footer-stats-count {
  color: #64748b;
  font-size: 0.74rem;
}

@media (max-width: 768px) {
  .ledger-header {
    padding: 14px 16px;
  }
  .ledger-brand-wrap {
    width: 100%;
  }
  .ledger-badges-row {
    width: 100%;
    justify-content: flex-start;
  }
  .ledger-live-pill {
    max-width: 100%;
  }
  .ledger-footer {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 4. Cascading Multi-Acquirer Retry Flow (Cinematic Failover Loop) */
.cascading-retry-card {
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cascading-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 22px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cascading-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Dynamic Energy Beams on connecting lines */
.cascading-step.beam-active::after {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.cascading-step.beam-success::after {
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.cascading-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cascading-step.step-active .cascading-badge {
  transform: scale(1.04);
}

.step-fail.step-active .cascading-badge {
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.45);
  animation: badgeFailPulse 1.4s infinite alternate ease-in-out;
}

.step-failover.step-active .cascading-badge {
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
  animation: badgeFailoverPulse 1.4s infinite alternate ease-in-out;
}

.step-success.step-active .cascading-badge {
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  animation: badgeSuccessPulse 1.4s infinite alternate ease-in-out;
}

@keyframes badgeFailPulse {
  0% { transform: scale(1.02); box-shadow: 0 0 6px rgba(239, 68, 68, 0.3); }
  100% { transform: scale(1.04); box-shadow: 0 0 12px rgba(239, 68, 68, 0.55); }
}

@keyframes badgeFailoverPulse {
  0% { transform: scale(1.02); box-shadow: 0 0 6px rgba(56, 189, 248, 0.3); }
  100% { transform: scale(1.04); box-shadow: 0 0 12px rgba(56, 189, 248, 0.55); }
}

@keyframes badgeSuccessPulse {
  0% { transform: scale(1.02); box-shadow: 0 0 6px rgba(16, 185, 129, 0.3); }
  100% { transform: scale(1.05); box-shadow: 0 0 14px rgba(16, 185, 129, 0.6); }
}

.cascade-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-active .cascade-pill {
  opacity: 1;
  transform: scale(1.05);
}

.pill-fail {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.pill-failover {
  background: rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.pill-success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Victory Banner at the bottom of the card */
.cascade-victory-banner {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--accent-emerald);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cascade-victory-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.victory-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: dotfyLivePulse 1.2s infinite ease-in-out;
  flex-shrink: 0;
}

/* 5. Live Subaccounts Sales Feed & Ledger Rows (Subtle In-Place Crossfade) */
.baas-row {
  height: 60px;
  transition: opacity 0.5s ease-in-out, background-color 0.8s ease;
}

.baas-row.is-swapping {
  opacity: 0.12;
}

.baas-row.is-refreshed {
  background-color: rgba(16, 185, 129, 0.05);
}

.live-feed-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
}

#baas-live-event-text {
  transition: opacity 0.35s ease;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
  animation: dotfyLivePulse 1.8s infinite ease-in-out;
}

/* Fallback drop zone if user supplies cutouts later */
.design-drop-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}


/* ==============================================================================
   XGAP2HH RECOMMENDED ENHANCEMENTS:
   1. High-Tech Magnetic Cursor (Desktop Only)
   2. Vertical Scroll Progress Tracker
   3. Continuous Infinite Marquee of Payment Brands & Badges
   4. 3D Interactive Card Tilt with Specular Glare
   5. High-Tech Rotating Circular SVG Badge
   6. Micro-Interactions & Polished Scroll Reveals
   ============================================================================== */

/* 1. High-Tech Magnetic Cursor */
.dotfy-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.08s ease;
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 4px #ffffff;
  opacity: 0;
}

.dotfy-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(0, 240, 255, 0.45);
  background: rgba(0, 240, 255, 0.02);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
              height 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              background-color 0.25s ease,
              box-shadow 0.25s ease,
              opacity 0.25s ease;
  opacity: 0;
  box-sizing: border-box;
}

.dotfy-cursor-ring.cursor-visible,
.dotfy-cursor-dot.cursor-visible {
  opacity: 1;
}

.dotfy-cursor-ring.cursor-hover {
  width: 52px;
  height: 52px;
  border-color: rgba(0, 240, 255, 0.95);
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35), inset 0 0 10px rgba(0, 240, 255, 0.2);
}

.dotfy-cursor-ring.cursor-press {
  transform: translate(-50%, -50%) scale(0.85);
}

/* Strictly hide cursor on touch and tablet devices to preserve native touch experience */
@media (hover: none) or (pointer: coarse) or (max-width: 992px) {
  .dotfy-cursor-dot,
  .dotfy-cursor-ring {
    display: none !important;
  }
}

/* 2. Vertical Scroll Progress Tracker */
.dotfy-scroll-track {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  z-index: 9999;
  pointer-events: none;
  overflow: visible;
  backdrop-filter: blur(4px);
}

.dotfy-scroll-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #00f0ff 0%, #0086c7 100%);
  border-radius: 99px;
  transition: height 0.08s ease-out;
}

.dotfy-scroll-glow {
  position: absolute;
  bottom: -3px;
  left: -2px;
  width: 7px;
  height: 7px;
  background: #00f0ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f0ff, 0 0 4px #fff;
}

@media (max-width: 992px) {
  .dotfy-scroll-track {
    display: none !important;
  }
}

/* 3. Continuous Infinite Marquee */
.partners-marquee-wrap {
  width: 100%;
  padding: 38px 0 34px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.4) 0%, rgba(5, 8, 15, 0.7) 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
}

.partners-marquee-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 20px;
}

.partners-marquee-header span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.partners-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  padding: 8px 0;
}

.partners-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: dotfyMarqueeScroll 42s linear infinite;
  will-change: transform;
  padding: 4px 0;
}

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  white-space: nowrap;
  font-size: 0.84rem;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(6px);
  cursor: default;
}

.marquee-item:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.28);
}

.marquee-item .m-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  flex-shrink: 0;
}

.marquee-item strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.marquee-item .m-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-left: 2px;
}

/* 4. 3D Tilt Card Effects & Specular Glare */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.dotfy-tilt-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
}

/* 5. High-Tech Rotating Circular SVG Badge in Hero */
.dotfy-hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
}

.dotfy-circle-badge {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dotfy-circle-badge:hover {
  transform: scale(1.08);
}

.dotfy-circle-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: dotfyRotateSvg 22s linear infinite;
  transform-origin: center center;
}

.dotfy-circle-badge:hover .dotfy-circle-svg {
  animation-duration: 11s;
}

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

.dotfy-circle-svg text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3.2px;
  fill: var(--text-muted);
  text-transform: uppercase;
  transition: fill 0.3s ease;
}

.dotfy-circle-badge:hover .dotfy-circle-svg text {
  fill: var(--accent-cyan);
}

.dotfy-circle-center-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
}

.dotfy-circle-badge:hover .dotfy-circle-center-btn {
  background: var(--accent-cyan);
  color: #030812;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.65);
  transform: translateY(2px);
}

.dotfy-circle-center-btn svg {
  animation: dotfyBounceDown 2s infinite ease-in-out;
}

@keyframes dotfyBounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* 6. Polished Reveal Transitions & Micro-interactions */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .js-ready .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth color and focus transitions without layout shifting */
button, a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
input, select, textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* ==============================================================================
   INNOVAÇÕES INTERATIVAS: 5 ESPAÇOS FINTECH
   ============================================================================== */

/* ------------------------------------------------------------------------------
   ESPAÇO 1: GOVERNANÇA & DOSSIÊ CRIPTOGRÁFICO (sobre.html)
   ------------------------------------------------------------------------------ */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gov-card {
  background: linear-gradient(175deg, rgba(16, 23, 36, 0.85) 0%, rgba(9, 13, 21, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gov-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.6), transparent);
  border-radius: 999px;
  opacity: 0.6;
}

.gov-card.card-verlic::before {
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.7), transparent);
}

.gov-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 240, 255, 0.08);
}

.gov-card.card-verlic:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(16, 185, 129, 0.08);
}

.gov-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.gov-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.06em;
}

.gov-badge-pulse.green {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.gov-badge-pulse .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: pulseDotGlow 2s infinite ease-in-out;
}

.gov-badge-pulse.green .pulse-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

@keyframes pulseDotGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.gov-status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gov-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gov-cnpj-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

.gov-cnpj-row:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
}

.gov-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.gov-dossier-box {
  background: rgba(5, 8, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-mono);
}

.gov-dossier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gov-dossier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #e2e8f0;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.gov-dossier-row:last-child {
  border-bottom: none;
}

/* ------------------------------------------------------------------------------
   ESPAÇO 2: TELEMETRIA SPI & SPARKLINE DATACENTERS (sobre.html)
   ------------------------------------------------------------------------------ */
.telemetry-interactive-card {
  background: linear-gradient(175deg, rgba(14, 20, 32, 0.9) 0%, rgba(7, 10, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.telemetry-route-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.telemetry-route-tab {
  background: none;
  border: none;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.telemetry-route-tab.active {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.telemetry-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.telemetry-metric-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.telemetry-metric-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.telemetry-metric-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Wave Sparkline Container */
.spi-wave-container {
  background: rgba(5, 8, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 16px;
  position: relative;
}

.spi-wave-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748b;
}

.spi-wave-svg {
  width: 100%;
  height: 48px;
  display: block;
  overflow: visible;
}

.spi-wave-path {
  fill: none;
  stroke: url(#cyanEmeraldGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.4));
  transition: all 0.3s ease;
}

.spi-wave-area {
  fill: url(#waveAreaGrad);
  opacity: 0.15;
}

/* ------------------------------------------------------------------------------
   ESPAÇO 3: SIMULADOR DE CONTAMINAÇÃO DE REDE (seguranca.html)
   ------------------------------------------------------------------------------ */
.sim-contagion-terminal {
  background: linear-gradient(175deg, rgba(14, 20, 32, 0.92) 0%, rgba(7, 10, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: border-color 0.35s ease;
}

.sim-contagion-terminal.mode-threat {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.15), 0 0 30px rgba(239, 68, 68, 0.08);
}

.sim-contagion-terminal.mode-safe {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15), 0 0 30px rgba(16, 185, 129, 0.08);
}

.sim-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-mode-toggle {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-mode-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sim-mode-btn.active-threat {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.sim-mode-btn.active-safe {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.sim-banner-notice {
  padding: 12px 18px;
  font-size: 0.8rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.sim-banner-notice.threat {
  background: rgba(239, 68, 68, 0.1);
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.sim-banner-notice.safe {
  background: rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.sim-accounts-list {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-account-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  background: rgba(18, 23, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.sim-account-item.threat-blocked {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
}

.sim-account-item.safe-isolated {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

/* ------------------------------------------------------------------------------
   ESPAÇO 4: MODELOS DE NEGÓCIO ATENDIDOS COM FLUXO (baas.html)
   ------------------------------------------------------------------------------ */
.baas-models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.baas-model-card {
  background: linear-gradient(175deg, rgba(16, 23, 36, 0.85) 0%, rgba(9, 13, 21, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.baas-model-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.08);
}

.baas-model-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.baas-model-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  letter-spacing: 0.06em;
}

.baas-model-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.baas-model-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.baas-model-flow-box {
  background: rgba(5, 8, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.baas-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.baas-flow-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.baas-flow-status {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
}

.baas-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.baas-flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.baas-flow-step .step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.baas-model-card:nth-child(2) .baas-flow-step .step-num {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.baas-model-card:nth-child(3) .baas-flow-step .step-num {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.baas-model-card:nth-child(4) .baas-flow-step .step-num {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: #a855f7;
}

.baas-flow-step .step-text {
  font-weight: 500;
  white-space: normal;
  word-break: normal;
}

/* ------------------------------------------------------------------------------
   ESPAÇO 5: SIMULADOR DE SPLIT ATÔMICO COM PRESETS (solucoes.html)
   ------------------------------------------------------------------------------ */
.split-dynamic-card {
  background: linear-gradient(175deg, rgba(14, 20, 32, 0.92) 0%, rgba(7, 10, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.split-preset-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 18px 0;
}

.split-preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.split-preset-btn.active {
  background: rgba(0, 240, 255, 0.12);
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.split-amount-slider-box {
  padding: 16px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split-slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
}

.split-range-input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  accent-color: #00f0ff;
}

.split-participants-list {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split-part-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(18, 23, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xs);
  transition: all 0.25s ease;
}

.split-part-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.split-stamp-footer {
  padding: 12px 18px;
  background: rgba(16, 185, 129, 0.06);
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  font-size: 0.72rem;
  color: #6ee7b7;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsividade Geral */
@media (max-width: 960px) {
  .gov-grid {
    grid-template-columns: 1fr;
  }
  .baas-models-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .baas-models-grid {
    grid-template-columns: 1fr;
  }
  .split-preset-tabs {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   IMPROVEMENTS: HERO CONSOLE LIVE FEED, BAAS SUITE CARDS & KYC PILLARS
   ============================================================================== */

/* White-Label BaaS Suite Cards */
.baas-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.baas-panel-card {
  background: linear-gradient(175deg, rgba(16, 23, 36, 0.85) 0%, rgba(9, 13, 21, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

.baas-panel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 240, 255, 0.08);
}

.baas-proof-preview {
  background: rgba(5, 8, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.proof-app-badge {
  color: #64748b;
  text-transform: uppercase;
}

.proof-time {
  color: #00f0ff;
}

.proof-main-text {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.proof-highlight {
  color: #00f0ff;
  font-weight: 700;
  background: rgba(0, 240, 255, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
}

.proof-footer-tag {
  font-size: 0.68rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 6px;
}

.proof-spread-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 10px;
  border-radius: 6px;
}

.spread-item {
  display: flex;
  flex-direction: column;
}

.spread-lbl {
  font-size: 0.62rem;
  color: #64748b;
}

.spread-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.spread-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
}

.proof-isolation-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.isolation-node {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.isolation-node.warn {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.isolation-node.ok {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Security & KYC Pillars */
.sec-card-item {
  background: linear-gradient(175deg, rgba(16, 23, 36, 0.85) 0%, rgba(9, 13, 21, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.28s ease;
}

.sec-card-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateX(4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.sec-badge.green {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.sec-badge.cyan {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #00f0ff;
}

.sec-badge.purple {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #a855f7;
}

.pulse-dot.purple {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.sec-card-header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f0ff;
  flex-shrink: 0;
}

.sec-card-telemetry-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(5, 8, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 6px;
}

@media (max-width: 960px) {
  .baas-panel-grid {
    grid-template-columns: 1fr;
  }
}

/* Netlify Badge Removal Fallback */
#nl-badge-frame,
iframe[title*="Netlify"],
iframe[id*="netlify"],
netlify-hud {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* ==============================================================================
   DEFINITIVE MOBILE RESPONSIVE ENGINE (Strictly overrides all desktop rules)
   ============================================================================== */
@media (max-width: 768px) {
  /* 1. Header & Navigation Drawer */
  .header-nav {
    view-transition-name: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(6, 7, 9, 0.98) !important;
    height: 64px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
  }
  .header-nav.nav-scrolled {
    height: 64px !important;
    background: rgba(6, 7, 9, 0.98) !important;
  }
  .nav-container {
    padding: 0 16px !important;
    height: 100% !important;
  }
  html.logo-init-collapsed .brand-logo-anim .brand-wordmark-wrap,
  .brand-logo-anim.is-collapsed .brand-wordmark-wrap,
  .brand-logo-anim .brand-wordmark-wrap {
    max-width: 85px !important;
    opacity: 1 !important;
    margin-left: 7px !important;
    transform: none !important;
    display: flex !important;
    visibility: visible !important;
    transition: none !important;
  }
  .brand-wordmark {
    display: block !important;
    opacity: 1 !important;
    height: 22px !important;
  }
  .brand-symbol {
    height: 24px !important;
    transform: none !important;
    filter: none !important;
  }
  .nav-right-actions {
    gap: 8px !important;
  }
  .btn-login-link {
    display: none !important;
  }
  .btn-create-account {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    height: 32px !important;
    border-radius: 999px !important;
    gap: 4px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }
  .btn-create-account svg {
    width: 11px !important;
    height: 11px !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    color: #fff !important;
    z-index: 100000 !important;
    position: relative !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .mobile-toggle-btn.is-active {
    background: rgba(0, 212, 255, 0.15) !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
    color: var(--accent-cyan) !important;
  }
  .mobile-toggle-btn svg {
    pointer-events: none !important;
  }
  /* 1. Header & Navigation Drawer (Luxury Fintech Elevation) */
  .nav-menu {
    display: none !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100dvh - 64px) !important;
    background: rgba(6, 8, 14, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    flex-direction: column !important;
    padding: 16px 16px 36px !important;
    gap: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
  }
  .nav-menu.mobile-open {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    transform: none !important;
    animation: mobileMenuFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes mobileMenuFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mobile-nav-section-title {
    display: block !important;
    font-size: 0.65rem !important;
    font-family: var(--font-mono) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: var(--text-muted) !important;
    padding: 2px 6px 8px !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
  }
  .nav-menu li {
    width: 100% !important;
    list-style: none !important;
    margin-bottom: 6px !important;
  }
  .nav-menu .nav-item-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  .nav-menu .nav-item-link:active {
    background: rgba(255, 255, 255, 0.05) !important;
    transform: scale(0.99) !important;
  }
  .nav-menu .nav-item-link.active-page {
    background: rgba(0, 240, 255, 0.07) !important;
    border: 1px solid rgba(0, 240, 255, 0.28) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.06) !important;
  }
  .nav-menu .nav-item-link.active-page::after {
    display: none !important;
  }
  .nav-item-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
  }
  .nav-item-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .nav-menu .nav-item-link.active-page .nav-item-icon {
    background: rgba(0, 240, 255, 0.15) !important;
    color: var(--accent-cyan) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2) !important;
  }
  .nav-item-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
    gap: 2px !important;
  }
  .nav-item-title {
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    line-height: 1.25 !important;
  }
  .nav-menu .nav-item-link.active-page .nav-item-title {
    color: #00f0ff !important;
    font-weight: 700 !important;
  }
  .nav-item-desc {
    font-size: 0.72rem !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .nav-menu .nav-item-link.active-page .nav-item-desc {
    color: #94a3b8 !important;
  }
  .nav-item-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #475569 !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
  }
  .nav-menu .nav-item-link.active-page .nav-item-arrow svg {
    stroke: #00f0ff !important;
  }
  .mobile-only-nav-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
  }
  .mobile-nav-cta-primary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px 18px !important;
    background: linear-gradient(135deg, #00f0ff 0%, #0099ff 100%) !important;
    color: #060810 !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(0, 240, 255, 0.28) !important;
    box-sizing: border-box !important;
    letter-spacing: -0.01em !important;
  }
  .mobile-nav-cta-primary svg {
    stroke: #060810 !important;
    width: 15px !important;
    height: 15px !important;
  }
  .mobile-nav-cta-secondary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 18px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    font-weight: 600 !important;
    font-size: 0.90rem !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
  }
  .mobile-nav-cta-secondary svg {
    stroke: #94a3b8 !important;
    width: 15px !important;
    height: 15px !important;
  }
  .mobile-nav-status {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.64rem !important;
    color: #64748b !important;
    margin-top: 10px !important;
    text-align: center !important;
    letter-spacing: 0.02em !important;
  }
  .mobile-nav-status-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 8px #10b981 !important;
    animation: dotfyLivePulse 1.6s infinite ease-in-out !important;
  }
  .mobile-nav-login-btn {
    display: none !important;
  }

  /* 2. Global Section Spacing & Headings */
  section, [id] {
    scroll-margin-top: 76px !important;
  }
  .hero-wrap {
    padding-top: 96px !important;
    padding-bottom: 40px !important;
  }
  .hero-main-title {
    font-size: clamp(1.75rem, 6.8vw, 2.35rem) !important;
    line-height: 1.22 !important;
  }
  .hero-rotating-slot {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.6em !important;
    height: 2.6em !important;
    max-height: 2.6em !important;
    line-height: 1.25 !important;
    margin-top: 6px !important;
    overflow: hidden !important;
    text-align: center !important;
  }
  .hero-rotating-phrase {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    will-change: opacity, transform;
  }
  .hero-desc {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }
  .chapter-spacer {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .chapter-title {
    font-size: clamp(1.35rem, 5.6vw, 1.8rem) !important;
    line-height: 1.25 !important;
  }
  .chapter-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  .suite-info h3 {
    font-size: clamp(1.25rem, 5.2vw, 1.65rem) !important;
    line-height: 1.25 !important;
  }

  /* 3. Fintech Telemetry Console (Fixes media_1788978628846.png) */
  .fintech-console {
    margin-top: 20px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  .fintech-console-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 12px 14px !important;
  }
  .fintech-console-controls {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .fintech-console-title {
    font-size: 0.68rem !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .fintech-console-header > div:last-child {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .fintech-console-cmd-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .console-cmd-left {
    font-size: 0.68rem !important;
    word-break: break-all !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .console-cmd-tag {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    margin-left: auto !important;
  }
  .fintech-console-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 1px !important;
  }
  .fintech-console-col {
    width: 100% !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-sizing: border-box !important;
  }
  .console-col-val {
    font-size: 1.4rem !important;
    margin: 4px 0 2px !important;
  }
  .console-col-desc {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  .fintech-stream-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 10px 14px !important;
    font-size: 0.74rem !important;
  }
  .fintech-stream-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 10px 14px !important;
    font-size: 0.75rem !important;
  }
  .fintech-stream-row > span {
    width: 100% !important;
    word-break: break-word !important;
  }

  /* 4. Mercury Suite & Tabs (Fixes media_1788978634290.png) */
  .suite-segmented-control {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-subtle) !important;
    margin-bottom: 24px !important;
    scrollbar-width: none !important;
  }
  .suite-segmented-control::-webkit-scrollbar {
    display: none !important;
  }
  .suite-tab-btn {
    flex: 0 0 auto !important;
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }
  .suite-2col-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .suite-2col-layout > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .mercury-island {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .suite-panel-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .suite-panel-desc {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .suite-points {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
  }
  .suite-point-item {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    gap: 10px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  .suite-point-bullet {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin-top: 2px !important;
  }
  .suite-point-bullet svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* Benchmark Box Mobile Perfection (Fixes media_1788982520356.png) */
  .benchmark-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 14px !important;
    margin-top: 20px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .benchmark-header-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
  }
  .benchmark-title {
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
    line-height: 1.3 !important;
    flex: 1 !important;
    min-width: 0 !important;
    word-break: break-word !important;
  }
  .benchmark-live-badge {
    font-size: 0.62rem !important;
    padding: 2px 7px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .benchmark-bar-row {
    margin-bottom: 12px !important;
    width: 100% !important;
  }
  .benchmark-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    width: 100% !important;
    margin-bottom: 6px !important;
  }
  .benchmark-label {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    word-break: break-word !important;
  }
  .benchmark-value-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-left: 14px !important;
    font-size: 0.82rem !important;
    box-sizing: border-box !important;
  }
  .bench-time-dotfy,
  .bench-time-legacy {
    font-size: 0.82rem !important;
    min-width: unset !important;
    text-align: left !important;
  }
  .bench-badge-dotfy,
  .bench-badge-legacy {
    font-size: 0.66rem !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
  }
  .benchmark-track {
    height: 8px !important;
    width: 100% !important;
    border-radius: 4px !important;
  }
  .benchmark-summary-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-top: 12px !important;
    padding-top: 10px !important;
    font-size: 0.74rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .benchmark-summary-label {
    color: var(--text-muted) !important;
    font-size: 0.72rem !important;
  }
  .benchmark-summary-value {
    color: var(--accent-cyan) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  /* 5. Checkout Mobile Island (Fixes media_1788978639994.png) */
  .phone-device {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
  }
  .dotfy-checkout-wrapper {
    padding: 12px !important;
    border-radius: 16px !important;
  }
  .chk-editor-preview-bar {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* 6. Comparison Matrix (Fixes media_1788978646031.png) */
  .matrix-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
    margin-top: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .matrix-table {
    min-width: 520px !important;
    font-size: 0.8rem !important;
  }
  .matrix-table th, .matrix-table td {
    padding: 12px 14px !important;
  }

  /* 7. Developer Terminal Bottom Bar (Fixes media_1788978653572.png) */
  .dev-terminal-bar {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 10px 14px !important;
  }
  .code-display-block {
    padding: 14px !important;
    font-size: 0.72rem !important;
    overflow-x: auto !important;
  }
  .terminal-foot-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 16px !important;
  }
  .btn-trigger-api {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 8. BaaS Grid & Cards */
  .baas-panel-grid, .segment-grid, .ecosystem-grid, .api-docs-layout, .features-grid, .stats-grid, .calc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .sec-card-item {
    padding: 16px !important;
  }
  .baas-panel-card {
    padding: 18px 16px !important;
  }

  /* 9. BaaS Subaccount Ledger Panel ("SuaEmpresa Bank") (Fixes media_1788980714825.png) */
  .fintech-ledger-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  .ledger-header {
    padding: 14px 16px !important;
  }
  .ledger-brand-wrap {
    gap: 10px !important;
  }
  .ledger-meta-row {
    font-size: 0.65rem !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
  .ledger-badges-row {
    margin-top: 10px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .ledger-live-pill {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
  .ledger-grid-table {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    border-radius: 0 !important;
  }
  .ledger-grid-header {
    min-width: 660px !important;
    display: grid !important;
    grid-template-columns: 220px 140px 130px 120px 110px 110px !important;
    padding: 12px 18px !important;
  }
  /* STRICT LOCKED VIEWPORT HEIGHT (3 rows of 62px = 186px) - ZERO EXPANSION/REDUCTION */
  .ledger-stream-viewport {
    min-width: 660px !important;
    width: 660px !important;
    overflow: hidden !important;
    height: 186px !important;
    max-height: 186px !important;
    min-height: 186px !important;
    box-sizing: border-box !important;
  }
  .ledger-stream-track {
    min-width: 660px !important;
    width: 660px !important;
  }
  .ledger-row {
    min-width: 660px !important;
    display: grid !important;
    grid-template-columns: 220px 140px 130px 120px 110px 110px !important;
    padding: 0 18px !important;
    height: 62px !important;
    max-height: 62px !important;
    min-height: 62px !important;
    box-sizing: border-box !important;
  }
  .ledger-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px 18px !important;
  }
  .ledger-footer-left {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    color: #64748b !important;
  }
  .ledger-footer-right {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 8px !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .footer-stats-label {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
  }
  .footer-stats-amount {
    font-size: 1.15rem !important;
    color: var(--accent-emerald) !important;
  }
  .footer-stats-count {
    font-size: 0.75rem !important;
    color: #64748b !important;
  }

  /* 10. Multi-Column Feature Cards to Single Column (Fixes media_1788980726049.png & media_1788980737608.png) */
  .security-pillars-grid,
  .baas-pillars-grid,
  .baas-models-grid,
  div[style*="grid-template-columns: repeat"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .arch-card {
    width: 100% !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
  }
  .arch-card h4 {
    font-size: 1.18rem !important;
    margin: 8px 0 !important;
    line-height: 1.3 !important;
  }
  .arch-card p {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  /* 11. Mobile Breathing Margins (Respiro lateral das tabelas, terminais e textos) */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
  .chapter-header {
    padding: 0 4px !important;
    margin-bottom: 24px !important;
  }
  .chapter-spacer {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .dev-terminal-wrapper {
    margin: 22px 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .dev-terminal-bar {
    padding: 14px 18px !important;
  }
  .code-display-block {
    padding: 20px 18px 22px !important;
    font-size: 0.74rem !important;
    line-height: 1.65 !important;
    box-sizing: border-box !important;
  }
  .fintech-ledger-card {
    border-radius: 14px !important;
    margin: 22px 0 !important;
    box-sizing: border-box !important;
  }
  .fintech-console {
    margin: 22px 0 !important;
    box-sizing: border-box !important;
  }

  /* 12. Global Scroll Margin & Section Spacing */
  section, [id], h1, h2, h3, h4, .chapter-spacer {
    scroll-margin-top: 84px !important;
  }

  /* 13. Mobile Viewport & Document Overflow Protection (Prevents horizontal drift) */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative !important;
  }
  .page-view, main {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}


