/* ==========================================================================
   AutoMFS — Core Design System & Layout Styles
   ========================================================================== */

:root {
  /* Brand & Surface Palette */
  --bg-deep: #080D1A;
  --bg-dark: #0B1020;
  --bg-elevated: rgba(15, 22, 42, 0.72);
  --bg-card: rgba(16, 23, 44, 0.65);
  --bg-card-hover: rgba(22, 32, 60, 0.85);

  /* Accent Colors */
  --purple: #7657FF;
  --blue: #438BFF;
  --cyan: #39D5E8;
  --emerald: #10B981;
  --amber: #F59E0B;
  --rose: #F43F5E;
  --bkash: #E2136E;
  --nagad: #F6921E;

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #9AA5B8;

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(57, 213, 232, 0.35);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7657FF 0%, #438BFF 52%, #39D5E8 100%);
  --grad-text: linear-gradient(120deg, #FFFFFF 0%, #9BB8FF 48%, #39D5E8 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Spacing & Radii */
  --container-max: 1220px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 12px 36px rgba(118, 87, 255, 0.28);
}

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

html {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100dvh;
  position: relative;
  overflow-x: clip;
}

.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

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

button, input, select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--purple);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-padding {
  padding-block: 6.5rem;
}

/* Ambient Background */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  contain: strict;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  will-change: transform;
}

.orb-purple {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(118, 87, 255, 0.55) 0%, transparent 70%);
  top: -160px;
  left: -120px;
}

.orb-blue {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(67, 139, 255, 0.45) 0%, transparent 70%);
  top: 28%;
  right: -180px;
}

.orb-cyan {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(57, 213, 232, 0.3) 0%, transparent 70%);
  bottom: -140px;
  left: 25%;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 35%, transparent 100%);
}

/* Typography Helpers */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.75rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.875rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.25rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 0.975rem;
}

.btn-block {
  width: 100%;
  padding: 0.95rem 1.5rem;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--text-primary);
  box-shadow: 0 8px 26px rgba(118, 87, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(67, 139, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-highlight);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

/* ==========================================================================
   A. NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: padding 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  padding-block: 0.75rem;
  background: rgba(8, 13, 26, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(118, 87, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(118, 87, 255, 0.45);
}

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

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

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Mobile Fullscreen Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-menu-overlay[hidden] {
  display: none;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 26, 0.94);
  backdrop-filter: blur(22px);
}

.mobile-menu-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  height: 100dvh;
  overflow-y: auto;
}

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

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-block: 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  color: var(--text-secondary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.mobile-menu-footer {
  display: grid;
  gap: 0.75rem;
}

/* ==========================================================================
   B. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 1.08fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(118, 87, 255, 0.14);
  border: 1px solid rgba(118, 87, 255, 0.38);
  color: #D8CEFF;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.2vw, 4.35rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 530px;
  line-height: 1.68;
  margin-bottom: 2.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

/* Hero Dashboard Mockup */
.dashboard-wrapper {
  position: relative;
  padding: 1.25rem;
}

.floating-mfs-card {
  position: absolute;
  z-index: 4;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(11, 16, 32, 0.88);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  min-width: 175px;
}

.card-bkash {
  top: -12px;
  right: -6px;
  border-color: rgba(226, 19, 110, 0.45);
}

.card-nagad {
  bottom: -14px;
  left: -10px;
  border-color: rgba(246, 146, 30, 0.45);
}

.mfs-pill-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

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

.bkash-dot {
  background: var(--bkash);
  box-shadow: 0 0 10px rgba(226, 19, 110, 0.75);
}

.nagad-dot {
  background: var(--nagad);
  box-shadow: 0 0 10px rgba(246, 146, 30, 0.75);
}

.mfs-pill-amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mfs-pill-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dashboard-window {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(19, 27, 52, 0.92) 0%, rgba(11, 16, 32, 0.96) 100%);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(118, 87, 255, 0.18);
  overflow: hidden;
}

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

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

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

.dash-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.dash-title svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.dash-pause-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
}

.dash-pause-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.dash-pause-btn svg {
  width: 13px;
  height: 13px;
}

.dash-body {
  padding: 1.35rem;
  display: grid;
  gap: 1rem;
}

.dash-panel {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(8, 13, 26, 0.7);
  border: 1px solid var(--border-subtle);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.panel-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.order-id {
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
}

.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.order-method-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
}

.method-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.order-amount {
  font-size: 1.25rem;
  font-weight: 700;
}

.order-sender-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.order-sender-row strong {
  color: var(--text-secondary);
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  font-style: normal;
}

.status-pending {
  background: rgba(245, 158, 11, 0.14);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.status-checking {
  background: rgba(67, 139, 255, 0.16);
  color: #93C5FD;
  border: 1px solid rgba(67, 139, 255, 0.4);
}

.status-verified {
  background: rgba(16, 185, 129, 0.16);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.42);
}

.status-warn {
  background: rgba(244, 63, 94, 0.16);
  color: #FB7185;
  border: 1px solid rgba(244, 63, 94, 0.4);
}

/* Pipeline */
.dash-pipeline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 0.5rem;
}

.pipeline-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.pipeline-pulse {
  width: 45%;
  height: 100%;
  background: var(--grad-primary);
  border-radius: 999px;
  transform: translateX(-100%);
}

.pipeline-node {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(118, 87, 255, 0.15);
  border: 1px solid rgba(118, 87, 255, 0.4);
  display: grid;
  place-items: center;
  color: var(--cyan);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.pipeline-node.is-verifying {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(57, 213, 232, 0.5);
}

.pipeline-node.is-verified {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald);
  color: #34D399;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

.pipeline-node svg {
  width: 20px;
  height: 20px;
}

/* Verification Checks Grid */
.dash-checks-grid {
  display: grid;
  gap: 0.55rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.check-icon svg {
  width: 13px;
  height: 13px;
}

.check-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.check-state {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.check-item.is-passed {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.check-item.is-passed .check-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
}

.check-item.is-passed .check-state {
  color: #34D399;
}

/* Result Bar */
.dash-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.dash-result-bar.is-verified {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
}

.result-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.result-glow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.dash-result-bar.is-verified .result-glow-dot {
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

.result-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dash-result-bar.is-verified .result-badge {
  color: #34D399;
}

/* ==========================================================================
   C. TRUST / VALUE SECTION
   ========================================================================== */
.value-section {
  padding-block: 3rem 5rem;
}

.value-strip {
  padding: 2.75rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(17, 25, 48, 0.75) 0%, rgba(11, 16, 32, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  gap: 2.5rem;
  align-items: center;
}

.value-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

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

.value-pillar {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.value-pillar:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(118, 87, 255, 0.14);
  border: 1px solid rgba(118, 87, 255, 0.3);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.pillar-icon svg {
  width: 19px;
  height: 19px;
}

.value-pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.value-pillar p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   D. FEATURES SECTION (Asymmetric Bento Grid)
   ========================================================================== */
.features-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.feature-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 1.5rem;
}

.feature-tall {
  grid-row: span 2;
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(118, 87, 255, 0.14) 0%, rgba(16, 23, 44, 0.8) 100%);
  border-color: rgba(118, 87, 255, 0.28);
}

.feature-visual {
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: rgba(8, 13, 26, 0.65);
  border: 1px solid var(--border-subtle);
}

.feature-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 0.25rem;
}

.tag-bkash {
  background: rgba(226, 19, 110, 0.16);
  color: #FF6FA9;
  border: 1px solid rgba(226, 19, 110, 0.35);
}

.tag-nagad {
  background: rgba(246, 146, 30, 0.16);
  color: #FFB259;
  border: 1px solid rgba(246, 146, 30, 0.35);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(67, 139, 255, 0.12);
  border: 1px solid rgba(67, 139, 255, 0.28);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}

.feature-icon-wrap svg {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mini-status-flow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(8, 13, 26, 0.75);
  border: 1px solid var(--border-subtle);
  margin-top: 1rem;
}

.mini-pill {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mini-pill.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
}

.mini-pill.verified {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
}

.mini-status-flow svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

/* ==========================================================================
   E. HOW IT WORKS
   ========================================================================== */
.process-timeline {
  position: relative;
}

.timeline-track {
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  z-index: 0;
}

.timeline-progress {
  width: 0%;
  height: 100%;
  background: var(--grad-primary);
  border-radius: 999px;
}

.process-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.step-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--border-highlight);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.process-step.is-active .step-node {
  border-color: var(--cyan);
  color: var(--text-primary);
  box-shadow: 0 0 24px rgba(57, 213, 232, 0.38);
  background: linear-gradient(135deg, rgba(118, 87, 255, 0.35), rgba(57, 213, 232, 0.25));
}

.step-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.process-step.is-active .step-card {
  border-color: rgba(57, 213, 232, 0.35);
}

.step-icon {
  width: 40px;
  height: 40px;
  margin-inline: auto;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  background: rgba(118, 87, 255, 0.14);
  color: var(--cyan);
  display: grid;
  place-items: center;
}

.step-icon svg {
  width: 19px;
  height: 19px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   F. LIVE PRODUCT DEMONSTRATION
   ========================================================================== */
.demo-shell {
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(16, 24, 48, 0.85) 0%, rgba(10, 15, 30, 0.94) 100%);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

.demo-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(67, 139, 255, 0.1);
  border: 1px solid rgba(67, 139, 255, 0.28);
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.demo-disclaimer svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.demo-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.presets-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.preset-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.preset-btn.is-selected,
.preset-btn:hover {
  background: rgba(118, 87, 255, 0.2);
  border-color: rgba(118, 87, 255, 0.5);
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input,
.form-field select {
  padding: 0.72rem 0.95rem;
  border-radius: 10px;
  background: rgba(8, 13, 26, 0.85);
  border: 1px solid var(--border-highlight);
  font-size: 0.92rem;
  color: var(--text-primary);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(57, 213, 232, 0.18);
}

.demo-expected-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.demo-expected-note strong {
  color: var(--cyan);
}

.demo-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.demo-output {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(8, 13, 26, 0.78);
  border: 1px solid var(--border-subtle);
}

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

.output-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.output-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.summary-kv {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.15rem;
}

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

.kv-val {
  font-size: 0.88rem;
  font-weight: 600;
}

.output-steps {
  display: grid;
  gap: 0.6rem;
}

.log-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.log-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.log-step.is-running {
  color: var(--text-primary);
}

.log-step.is-running .log-dot {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.log-step.is-done {
  color: #34D399;
}

.log-step.is-done .log-dot {
  background: var(--emerald);
}

.log-step.is-error {
  color: #FB7185;
}

.log-step.is-error .log-dot {
  background: var(--rose);
}

/* ==========================================================================
   G. WHY AUTOMFS? (Split Layout)
   ========================================================================== */
.comparison-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.comparison-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel-manual {
  background: rgba(244, 63, 94, 0.04);
  border-color: rgba(244, 63, 94, 0.18);
}

.panel-automated {
  background: linear-gradient(155deg, rgba(16, 185, 129, 0.08) 0%, rgba(57, 213, 232, 0.06) 100%);
  border-color: rgba(57, 213, 232, 0.3);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  width: fit-content;
}

.panel-badge svg {
  width: 15px;
  height: 15px;
}

.badge-manual {
  background: rgba(244, 63, 94, 0.14);
  color: #FDA4AF;
}

.badge-auto {
  background: rgba(57, 213, 232, 0.14);
  color: var(--cyan);
}

.comparison-panel h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.comparison-panel p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.manual-chaos-visual,
.auto-clean-visual {
  margin-top: auto;
  padding-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.chaos-tab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
}

.chaos-row,
.auto-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(8, 13, 26, 0.75);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.auto-row-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.comparison-divider {
  display: grid;
  place-items: center;
}

.divider-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
}

.divider-badge svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   H. COMPATIBILITY SECTION
   ========================================================================== */
.compat-box {
  padding: 3rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.compat-header {
  margin-bottom: 2.25rem;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.compat-item {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(8, 13, 26, 0.6);
  border: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.compat-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.compat-logo svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

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

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

.compat-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-inline: auto;
}

/* ==========================================================================
   I. DOCUMENTATION SECTION
   ========================================================================== */
.docs-card {
  padding: 3rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(67, 139, 255, 0.12) 0%, rgba(16, 23, 44, 0.85) 55%, rgba(118, 87, 255, 0.14) 100%);
  border: 1px solid var(--border-highlight);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.docs-preview {
  display: grid;
  gap: 0.9rem;
}

.docs-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(8, 13, 26, 0.72);
  border: 1px solid var(--border-subtle);
}

.docs-step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  background: rgba(57, 213, 232, 0.12);
}

.docs-step-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.docs-step-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   J. FAQ SECTION (Semantic <details> Accordion)
   ========================================================================== */
.faq-container {
  max-width: 840px;
}

.accordion {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--border-accent);
  background: rgba(20, 29, 56, 0.85);
}

.faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
  font-weight: 600;
  font-size: 1.03rem;
  cursor: pointer;
}

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

.faq-item > summary::before {
  content: "";
  inline-size: 1.1em;
  block-size: 1.1em;
  flex-shrink: 0;
  background-color: var(--cyan);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.faq-item[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item > summary::before {
    transition: rotate 0.22s ease;
  }
}

.faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-item:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 1.4rem 1.35rem 3.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   K. FINAL CTA
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: 4.5rem 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(118, 87, 255, 0.25) 0%, rgba(11, 16, 32, 0.95) 50%, rgba(57, 213, 232, 0.2) 100%);
  border: 1px solid rgba(118, 87, 255, 0.4);
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 50%, rgba(118, 87, 255, 0.28), transparent 60%);
  pointer-events: none;
}

.cta-floating-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.shape-1 {
  width: 220px;
  height: 220px;
  top: -70px;
  left: -40px;
}

.shape-2 {
  width: 180px;
  height: 180px;
  bottom: -60px;
  right: -30px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin-inline: auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.075rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   L. FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 10, 20, 0.85);
  padding-block: 4.5rem 2.5rem;
}

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

.footer-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.65;
}

.footer-support-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cyan);
  transition: opacity 0.2s ease;
}

.footer-support-email:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.footer-support-email svg {
  width: 16px;
  height: 16px;
}

.inline-support-link {
  color: var(--cyan);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Native Info Dialog */
.info-dialog {
  margin: auto;
  max-width: 520px;
  width: calc(100% - 2rem);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  background: #0D1428;
  color: var(--text-primary);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  padding: 0;
}

.info-dialog::backdrop {
  background: rgba(4, 7, 15, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-inner {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

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

.dialog-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.dialog-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.dialog-body {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
}
