:root {
  /* Design system: ZSettle - Enterprise Gateway / Dark OLED */
  --bg: #0b1120;
  --surface: #111a2e;
  --surface-2: #162137;
  --surface-3: #1b2946;
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #f59e0b;        /* Gold trust */
  --primary-dark: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.2);
  --cta: #8b5cf6;            /* Purple tech */
  --cta-dark: #7c3aed;
  --accent: #3b82f6;
  --accent-2: #6366f1;
  --accent-glow: rgba(139, 92, 246, 0.18);
  --border: #1f2d47;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max-width: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* z-index scale */
  --z-background: -2;
  --z-grid: -1;
  --z-base: 1;
  --z-header: 100;
  --z-mobile-nav: 99;
  --z-modal-backdrop: 200;
  --z-modal: 210;

  /* Status Badges & Transaction Lifecycle Colors */
  --badge-settled: #10b981;
  --badge-settled-bg: rgba(16, 185, 129, 0.12);
  --badge-settled-border: rgba(16, 185, 129, 0.28);
  --badge-captured: #3b82f6;
  --badge-captured-bg: rgba(59, 130, 246, 0.12);
  --badge-captured-border: rgba(59, 130, 246, 0.28);
  --badge-authorized: #06b6d4;
  --badge-authorized-bg: rgba(6, 182, 212, 0.12);
  --badge-authorized-border: rgba(6, 182, 212, 0.28);
  --badge-chargeback: #ef4444;
  --badge-chargeback-bg: rgba(239, 68, 68, 0.14);
  --badge-chargeback-border: rgba(239, 68, 68, 0.32);
  --badge-retrieval: #a855f7;
  --badge-retrieval-bg: rgba(168, 85, 247, 0.14);
  --badge-retrieval-border: rgba(168, 85, 247, 0.32);
  --badge-refund: #f59e0b;
  --badge-refund-bg: rgba(245, 158, 11, 0.14);
  --badge-refund-border: rgba(245, 158, 11, 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Backgrounds */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: var(--z-background);
  background:
    radial-gradient(circle at 15% 15%, var(--primary-glow), transparent 35%),
    radial-gradient(circle at 85% 25%, var(--accent-glow), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.08), transparent 40%);
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: var(--z-grid);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  pointer-events: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

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

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.25s var(--ease);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

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

.nav-link-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s, width 0.25s;
}

.menu-toggle span:nth-child(1) { width: 24px; }
.menu-toggle span:nth-child(2) { width: 18px; }
.menu-toggle span:nth-child(3) { width: 12px; }

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 24px;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  color: #fff;
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Typography */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--cta), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reveal animation (with reduced-motion support) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-media::before,
  .badge-dot {
    animation: none;
  }
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.badge-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #cbd5e1;
  font-size: 1.02rem;
}

.icon-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
  filter: blur(40px);
  border-radius: 50%;
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
  animation: float 6s ease-in-out infinite;
}

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

/* Trust bar */
.trust {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 26, 46, 0.5);
}

.trust-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: #cbd5e1;
  transition: border-color 0.2s, transform 0.2s;
}

.trust-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Platform */
.platform {
  padding: 6rem 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.platform-card {
  position: relative;
  background: linear-gradient(145deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.35);
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  opacity: 0.8;
}

.platform-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.platform-icon.gateway {
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary);
}

.platform-icon.backoffice {
  background: rgba(139, 92, 246, 0.12);
  color: var(--cta);
}

.platform-icon svg {
  width: 26px;
  height: 26px;
}

.platform-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.platform-card p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.mini-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.mini-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.mini-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

/* Use cases */
.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.usecase {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, transform 0.2s;
}

.usecase:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-3px);
}

.usecase strong {
  color: var(--text);
  font-weight: 900;
  font-size: 1.05rem;
}

.usecase span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Modules */
.modules {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.module-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.module-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.module-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(139, 92, 246, 0.12));
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
}

.module-icon svg {
  width: 22px;
  height: 22px;
}

.module-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.55rem;
}

.module-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Architecture */
.architecture {
  padding: 6rem 0;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.arch-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}

.arch-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-4px);
}

.arch-card:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.arch-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.arch-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.arch-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.arch-card code {
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.85em;
  background: rgba(245, 158, 11, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Services */
.services {
  padding: 5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s var(--ease), border-color 0.25s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
}

.service-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Why */
.why {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid,
.expand-grid,
.pci-grid,
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.feature-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.feature-list strong {
  color: var(--text);
  font-weight: 900;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.97rem;
}

.why-media img,
.expand-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

/* PCI */
.pci {
  padding: 5rem 0;
}

.pci-media {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--surface-2), var(--surface-3));
  border-radius: var(--radius);
  padding: 3rem;
  border: 1px solid var(--border);
}

.pci-logo {
  max-height: 240px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.pci-content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Developer */
.developer {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dev-content p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.dev-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.dev-feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #cbd5e1;
}

.dev-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.dev-window {
  background: #070c19;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.window-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-header span:nth-child(1) { background: #ef4444; }
.window-header span:nth-child(2) { background: #eab308; }
.window-header span:nth-child(3) { background: #22c55e; }

.window-title {
  margin-left: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.dev-window pre {
  padding: 1.25rem;
  overflow-x: auto;
}

.dev-window code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.code-key {
  color: var(--primary);
}

.code-header {
  color: var(--cta);
}

.code-string {
  color: #a5b4fc;
}

/* Expand */
.expand {
  padding: 5rem 0;
}

.expand-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-inner {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.25);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item code {
  color: var(--primary);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  background: rgba(245, 158, 11, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* CTA */
.cta {
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12), transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 680px;
  padding: 3rem;
  background: linear-gradient(145deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta .section-title {
  margin-bottom: 0.75rem;
}

.cta .btn {
  margin-top: 1.5rem;
}

.cta-email {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-email a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-email a:hover {
  color: var(--cta);
}

/* Footer */
.footer {
  padding: 4rem 0 1.5rem;
  background: #070c19;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s;
  padding: 0.15rem 0;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--muted);
  transition: color 0.2s;
}

/* ==========================================================================
   Status Badges & Transaction Lifecycle Utilities
   ========================================================================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1.25;
}

.status-pill::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  flex-shrink: 0;
}

/* Status variants */
.badge-settled,
.status-settled,
.status-pill.badge-settled,
.status-pill.status-settled {
  background: var(--badge-settled-bg);
  color: var(--badge-settled);
  border-color: var(--badge-settled-border);
}

.badge-captured,
.status-captured,
.status-pill.badge-captured,
.status-pill.status-captured {
  background: var(--badge-captured-bg);
  color: var(--badge-captured);
  border-color: var(--badge-captured-border);
}

.badge-authorized,
.status-authorized,
.status-pill.badge-authorized,
.status-pill.status-authorized {
  background: var(--badge-authorized-bg);
  color: var(--badge-authorized);
  border-color: var(--badge-authorized-border);
}

.badge-chargeback,
.badge-dispute,
.status-chargeback,
.status-dispute,
.status-pill.badge-chargeback,
.status-pill.badge-dispute,
.status-pill.status-chargeback,
.status-pill.status-dispute {
  background: var(--badge-chargeback-bg);
  color: var(--badge-chargeback);
  border-color: var(--badge-chargeback-border);
}

.badge-retrieval,
.badge-retrieval-requested,
.status-retrieval,
.status-retrieval-requested,
.status-pill.badge-retrieval,
.status-pill.badge-retrieval-requested,
.status-pill.status-retrieval,
.status-pill.status-retrieval-requested {
  background: var(--badge-retrieval-bg);
  color: var(--badge-retrieval);
  border-color: var(--badge-retrieval-border);
}

.badge-refund,
.status-refund,
.status-refunded,
.status-pill.badge-refund,
.status-pill.status-refund,
.status-pill.status-refunded {
  background: var(--badge-refund-bg);
  color: var(--badge-refund);
  border-color: var(--badge-refund-border);
}

/* ==========================================================================
   Delivery Models (SaaS vs White-Label)
   ========================================================================== */
.models {
  padding: 6rem 0;
  position: relative;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.model-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 33, 55, 0.72), rgba(17, 26, 46, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.model-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  opacity: 0.8;
}

.model-card.saas::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.model-card.whitelabel::before {
  background: linear-gradient(90deg, var(--primary), var(--cta));
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.model-card.saas:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 24px 50px rgba(59, 130, 246, 0.14);
}

.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.model-card.saas .model-badge {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
}

.model-title {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.model-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.model-spec-pill {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.model-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.model-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.model-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}

.model-card.saas .model-features li svg {
  color: #60a5fa;
}

.model-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Pricing Section & 25-Merchant Bundle Spotlight
   ========================================================================== */
.pricing {
  padding: 6rem 0;
  position: relative;
}

.pricing-switcher-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3.5rem;
}

.model-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(17, 26, 46, 0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.model-toggle-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.model-toggle-btn:hover {
  color: var(--text);
}

.model-toggle-btn.active {
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  position: relative;
}

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
}

/* Featured spotlight glow for 25-merchant $2,000/mo bundle */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(27, 41, 70, 0.95), rgba(17, 26, 46, 0.98));
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.16), 0 25px 60px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--primary), var(--cta), #38bdf8);
  z-index: -1;
  pointer-events: none;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 55px rgba(245, 158, 11, 0.26), 0 30px 70px rgba(0, 0, 0, 0.55);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0b1120;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-tier-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.pricing-tier-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  min-height: 2.6em;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.25rem 0 0.5rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--muted);
}

.pricing-amount {
  font-size: 2.85rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.pricing-merchant-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.pricing-card.featured .pricing-merchant-badge {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pricing-included-pool {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
  border-left: 3px solid var(--primary);
  line-height: 1.45;
}

.pricing-included-pool strong {
  color: #ffffff;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 1.75rem 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pricing-features li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.pricing-card.featured .pricing-features li svg {
  color: #fbbf24;
}

.pricing-cta-wrap {
  margin-top: auto;
}

.pricing-cta-wrap .btn {
  width: 100%;
}

/* ==========================================================================
   Interactive Fee & Volume Estimator Component
   ========================================================================== */
.calculator-box {
  margin-top: 4.5rem;
  background: linear-gradient(145deg, rgba(22, 33, 55, 0.8), rgba(17, 26, 46, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.calculator-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cta), var(--primary), var(--accent));
}

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

.calc-header {
  margin-bottom: 2rem;
}

.calc-title {
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.calc-desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.calc-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.calc-bubble {
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 900;
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

/* Custom Range Slider Controls */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--surface-3);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--cta) 100%);
  border-radius: 999px;
}

.calc-range::-moz-range-track {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--cta) 100%);
  border-radius: 999px;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
  cursor: pointer;
  margin-top: -8px;
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
}

.calc-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
}

.calc-range:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.65);
}

.calc-range:hover::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.65);
}

.calc-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* Calculator Summary Box */
.calc-summary {
  background: #090e1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-summary-title {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-tier-badge {
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.14);
  color: var(--primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.calc-row strong {
  color: var(--text);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.calc-total-box {
  margin-top: 0.5rem;
  padding: 1.25rem;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 8px;
  text-align: center;
}

.calc-total-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.calc-total-val {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.calc-total-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.calc-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   Backoffice Console & Live Transaction Stream Simulation
   ========================================================================== */
.backoffice {
  padding: 6rem 0;
  position: relative;
}

.backoffice-card {
  background: #090e1a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.backoffice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

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

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

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

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

.backoffice-console-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.backoffice-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Status Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(245, 158, 11, 0.3);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
}

/* Transaction Table */
.tx-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tx-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 820px;
}

.tx-table th {
  background: rgba(11, 17, 32, 0.8);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.tx-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(31, 45, 71, 0.5);
  vertical-align: middle;
  color: #cbd5e1;
}

.tx-table tbody tr {
  transition: background 0.15s;
  cursor: pointer;
}

.tx-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.tx-id {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.tx-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.tx-merchant {
  font-weight: 700;
  color: #f1f5f9;
}

.tx-acquirer {
  font-size: 0.78rem;
  color: var(--muted);
}

.tx-amount {
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
}

.tx-method {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.tx-status-cell {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
}

.tx-status-sub {
  font-size: 0.74rem;
  color: var(--muted);
  max-width: 200px;
  line-height: 1.3;
}

.tx-inspect-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.tx-inspect-btn:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--primary);
}

/* ==========================================================================
   Audit Detail Modal / Drawer
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  display: flex;
  justify-content: flex-end;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.record-drawer,
.record-modal {
  width: 100%;
  max-width: 540px;
  height: 100%;
  background: #0d1527;
  border-left: 1px solid var(--border);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.drawer-overlay.open .record-drawer,
.drawer-overlay.open .record-modal {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
}

.drawer-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.drawer-close:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(245, 158, 11, 0.4);
}

.drawer-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  flex-grow: 1;
}

.audit-section-title {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.audit-item {
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.audit-label {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.audit-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #f1f5f9;
  word-break: break-all;
}

.audit-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding-left: 1.5rem;
}

.audit-timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 2px;
  background: var(--border);
}

.audit-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.audit-step::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.audit-step-time {
  font-size: 0.75rem;
  color: var(--muted);
}

.audit-step-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 700;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
/* Responsive */
@media (max-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .why-grid,
  .expand-grid,
  .pci-grid,
  .dev-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .platform-grid,
  .service-grid,
  .models-grid,
  .pricing-grid,
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card.featured {
    transform: none;
  }

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

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

  .hero-media,
  .why-media,
  .expand-media,
  .pci-media {
    order: -1;
  }

  .dev-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    z-index: var(--z-mobile-nav);
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }

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

  .nav-link-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }

  .modules-grid,
  .arch-grid {
    grid-template-columns: 1fr;
  }

  .mini-list {
    grid-template-columns: 1fr;
  }

  .model-card,
  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .calculator-box {
    padding: 2rem 1.25rem;
  }

  .calc-grid {
    gap: 2rem;
  }

  .backoffice-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-tabs {
    padding: 0.85rem 1.25rem;
  }

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

  .record-drawer {
    max-width: 100%;
  }

  .drawer-header {
    padding: 1.25rem 1.5rem;
  }

  .drawer-body {
    padding: 1.5rem;
  }

  .drawer-actions {
    padding: 1.25rem 1.5rem;
  }

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

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

  .dev-window code {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .model-toggle {
    width: 100%;
    justify-content: center;
  }

  .model-toggle-btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }

  .pricing-amount {
    font-size: 2.35rem;
  }

  .calc-total-val {
    font-size: 2rem;
  }

  .popular-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.85rem;
  }
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

a, button, .module-card, .service-card, .arch-card, .platform-card, .faq-item summary, .trust-item {
  cursor: pointer;
}

