@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..800;1,9..40,400..800&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --cream: #fffbee;
  --paper: #fffefa;
  --ink: #10264a;
  --muted: #61718c;
  --blue: #1086ed;
  --blue-hover: #0c74d1;
  --blue-glow: rgba(16, 134, 237, 0.22);
  --line: #e8e6da;
  --line-subtle: #f0eee2;
  --soft: #eef6ff;
  --emerald: #37bf97;
  --emerald-bg: #dff6eb;
  --emerald-text: #168b60;
  --amber: #f59e0b;
  --amber-bg: #fef3c7;
  --amber-text: #b45309;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-shadow: 0 16px 40px rgba(16, 38, 74, 0.07);
  --font: 'DM Sans', sans-serif;
  --display: 'Manrope', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 134, 237, 0.08) 0%, transparent 60%),
    linear-gradient(var(--line-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-subtle) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

/* --- Sticky Glassmorphic Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.nav-scrolled {
  background: rgba(255, 251, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 230, 218, 0.8);
  box-shadow: 0 6px 20px rgba(16, 38, 74, 0.05);
  height: 70px;
}

.brand {
  font: 800 24px var(--display);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -1px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: white;
  font: 800 17px var(--display);
  box-shadow: 0 4px 12px rgba(16, 38, 74, 0.2);
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #52627c;
  font-weight: 600;
  font-size: 14px;
}

nav.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

nav.nav-links a:hover {
  color: var(--blue);
}

.nav-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--emerald-bg);
  color: var(--emerald-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid rgba(55, 191, 151, 0.3);
}

.radar-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.radar-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald);
  animation: pulseRadar 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes pulseRadar {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* --- Buttons & Shimmer (21st.dev Style) --- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 13px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 20px rgba(16, 38, 74, 0.2);
}

.button-dark:hover {
  box-shadow: 0 12px 28px rgba(16, 38, 74, 0.3);
}

.button-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 9px 24px var(--blue-glow);
}

.button-blue:hover {
  background: var(--blue-hover);
  box-shadow: 0 14px 30px rgba(16, 134, 237, 0.4);
}

.button-blue::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: buttonShine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes buttonShine {
  0% { left: -100%; }
  25% { left: 200%; }
  100% { left: 200%; }
}

.button-light {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(16, 38, 74, 0.06);
}

.nav-cta {
  padding: 11px 18px;
  font-size: 13px;
}

/* --- Hero Section --- */
.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 36px;
  padding-bottom: 60px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 800;
  color: #536987;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(55, 191, 151, 0.2);
}

.hero h1 {
  font: 800 clamp(44px, 5.8vw, 68px)/1.08 var(--display);
  letter-spacing: -3.5px;
  margin: 20px 0 18px;
}

.hero h1 em, .section-heading h2 em, .preview h2 em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue) 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p, .about-copy p, .section-heading > p, .preview-copy > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--blue);
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  font-size: 12px;
  color: #71809a;
}

.hero-metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--soft);
  border: 1px solid rgba(16, 134, 237, 0.2);
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
  font-size: 11px;
}

/* --- Hero Art: Interactive Device Simulator --- */
.hero-art-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.walkthrough-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
}
.walkthrough-trigger:hover { transform: translateY(-2px); }
.walkthrough-trigger:disabled { cursor: progress; opacity: .72; }
.phone-copy-change { animation: phoneCopyIn .38s ease both; }
@keyframes phoneCopyIn {
  from { opacity: .25; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll, .phone-copy-change, .walkthrough-trigger { animation: none !important; transition: none !important; transform: none !important; }
}

/* Simulator Top Controller Bar */
.sim-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(16, 38, 74, 0.05);
}

.sim-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-action-btn {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.sim-action-btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.sim-action-btn.secondary {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.sim-action-btn.secondary:hover {
  background: #dfeeff;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.signal-pill.pill-online {
  background: var(--emerald-bg);
  color: var(--emerald-text);
  border: 1px solid rgba(55, 191, 151, 0.3);
}

.signal-pill.pill-offline {
  background: var(--amber-bg);
  color: var(--amber-text);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-art {
  height: 480px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  perspective: 1000px;
}

.glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, #bce1ff 0%, #e5f3ff 45%, rgba(255, 251, 238, 0) 70%);
  z-index: -1;
  animation: glowBreathe 6s ease-in-out infinite alternate;
}

@keyframes glowBreathe {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* Phone Mockup Styling */
.phone {
  position: absolute;
  width: 220px;
  height: 410px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 38, 74, 0.16);
  border: 7px solid var(--ink);
  padding: 20px 14px;
  color: var(--ink);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.phone:hover {
  transform: rotate(0deg) scale(1.02) !important;
  box-shadow: 0 30px 75px rgba(16, 38, 74, 0.22);
}

.phone-front {
  left: 14%;
  top: 40px;
  z-index: 2;
  transform: rotate(-6deg);
}

.phone-back {
  right: 8%;
  top: 70px;
  transform: rotate(7deg);
  background: #eff6ff;
  text-align: center;
  padding-top: 32px;
}

.speaker {
  position: absolute;
  top: 8px;
  left: calc(50% - 25px);
  width: 50px;
  height: 5px;
  border-radius: 9px;
  background: var(--ink);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.2px;
  font-weight: 800;
  margin: 4px 0 24px;
}

.phone-top-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Signal Bars on Phone */
.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 9px;
}

.signal-bars span {
  width: 2.5px;
  background: var(--ink);
  border-radius: 1px;
}

.signal-bars span:nth-child(1) { height: 3px; }
.signal-bars span:nth-child(2) { height: 5px; }
.signal-bars span:nth-child(3) { height: 7px; }
.signal-bars span:nth-child(4) { height: 9px; }

.signal-bars.signal-none span {
  background: #cbd5e1;
}

.signal-bars.signal-none i {
  font-style: normal;
  color: #ef4444;
  font-size: 9px;
  font-weight: 900;
  margin-left: 2px;
}

.brand-mark.small {
  height: 20px;
  width: 20px;
  border-radius: 6px;
  font-size: 11px;
}

.soft {
  font-size: 8px;
  letter-spacing: 0.8px;
  color: #7b8da6;
  font-weight: 700;
  text-transform: uppercase;
}

.phone-amount {
  font: 800 36px var(--display);
  margin: 6px 0 10px;
  letter-spacing: -1px;
}

.phone-meter {
  height: 6px;
  background: #dfe8f3;
  border-radius: 6px;
  overflow: hidden;
}

.phone-meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  border-radius: 6px;
  transition: width 0.4s ease;
}

.phone-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f3f8fd;
  border-radius: 12px;
  padding: 10px 8px;
  margin-top: 22px;
  border: 1px solid rgba(232, 230, 218, 0.8);
  transition: all 0.3s ease;
}

.phone-card > span:nth-child(2) {
  font-size: 9px;
  text-align: left;
  flex: 1;
}

.phone-card small {
  display: block;
  color: #8593a8;
  font-size: 8px;
  margin-top: 3px;
}

.pay-icon, .check-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #d8edff;
  color: #087ddd;
  font-size: 11px;
  flex-shrink: 0;
}

.check-icon {
  background: var(--emerald-bg);
  color: var(--emerald-text);
}

.check-pill {
  font-size: 8px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--emerald-bg);
  color: var(--emerald-text);
}

.phone-button {
  margin-top: 20px;
  background: var(--blue);
  color: white;
  text-align: center;
  border-radius: 10px;
  padding: 11px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.phone-button:hover {
  background: var(--blue-hover);
}

.phone-button.btn-paid {
  background: var(--emerald);
  color: white;
}

.phone-caption {
  text-align: center;
  color: #8392a7;
  font-size: 8px;
  margin-top: 12px;
  font-weight: 600;
}

/* Merchant Terminal Side */
.mini-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #8291a7;
}

.merchant-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ddf7ec;
  color: #168b60;
  font-size: 22px;
  margin: 22px auto 14px;
  transition: all 0.3s ease;
}

.merchant-icon.merchant-icon-success {
  background: #168b60;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(22, 139, 96, 0.2);
}

.phone-back strong {
  font: 700 15px var(--display);
  display: block;
}

.phone-back > small {
  display: block;
  color: #66809f;
  font-size: 10px;
  margin-top: 6px;
}

.phone-line {
  height: 1px;
  background: #d8e3ef;
  margin: 26px 0 12px;
}

/* BLE Radar Ripple Animation */
.hero-ripple-wave {
  position: absolute;
  top: 50%;
  left: 45%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.hero-ripple-wave.active {
  animation: rippleTransmit 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rippleTransmit {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(4.5); opacity: 0; }
}

/* Floating Tags */
.float-tag {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 30px rgba(16, 38, 74, 0.12);
  border: 1px solid rgba(232, 230, 218, 0.8);
  font-size: 11px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.tag-one {
  right: -5px;
  top: 35px;
  color: #2c866c;
}

.tag-two {
  left: 5%;
  bottom: 45px;
  color: #167aca;
}

.float-tag.tag-success {
  background: #f0fdf4;
  color: #168b60;
  border-color: #bbf7d0;
}

.float-tag.tag-warning {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

/* --- Infinite Marquee / Trust Strip (21st.dev Component) --- */
.marquee-section {
  position: relative;
  background: #f5f1e4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marqueeScroll 28s linear infinite;
}

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #55667e;
  text-transform: uppercase;
}

.marquee-item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa8bc;
}

.marquee-item span.highlight {
  color: var(--blue);
}

/* --- Sections Common --- */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-heading h2 {
  font: 800 clamp(32px, 4.4vw, 48px)/1.15 var(--display);
  letter-spacing: -2px;
  margin: 16px 0;
}

/* --- Section 01: About Paron --- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.about-copy {
  padding-top: 12px;
}

.about-copy p {
  font-size: 16px;
  margin: 0 0 18px;
}

/* --- Section 02: Interactive Payment Flow Stepper --- */
.how-section {
  background: #f4f7fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.centered {
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered > p {
  margin: 0 auto;
  max-width: 560px;
}

.stepper-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.flow-step-item {
  position: relative;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-step-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(16, 38, 74, 0.05);
}

.flow-step-item.active {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(16, 134, 237, 0.12);
  background: #fcfdff;
}

.flow-step-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--blue);
  border-radius: 0 0 4px 4px;
}

.step-no {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #9aa7b9;
}

.flow-step-item.active .step-no {
  color: var(--blue);
}

.step-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #eaf5ff;
  color: var(--blue);
  font-size: 20px;
  border-radius: 12px;
  margin: 14px 0 12px;
}

.flow-step-item.active .step-icon {
  background: var(--blue);
  color: white;
}

.flow-step-item h3 {
  font: 700 17px var(--display);
  margin: 0 0 6px;
}

.flow-step-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* Step Live Inspector Box */
.step-preview-box {
  background: var(--ink);
  color: white;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(16, 38, 74, 0.25);
  border: 1px solid #1c355a;
}

.step-box-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.step-box-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #79a8e8;
  text-transform: uppercase;
}

.step-box-title {
  margin: 4px 0 0;
  font: 700 18px var(--display);
}

.step-box-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: #193156;
  color: #93c5fd;
  border: 1px solid #2b4c7e;
  white-space: nowrap;
}

.step-box-desc {
  font-size: 14px;
  color: #cbdcf2;
  line-height: 1.6;
  margin: 0 0 20px;
}

.step-box-code {
  background: #09172c;
  border: 1px solid #1e3557;
  border-radius: 12px;
  padding: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: #a5f3fc;
  line-height: 1.6;
  margin: 0;
  overflow-x: auto;
}

/* --- Section 03: Bento Grid Architecture & Advantages (21st.dev Style) --- */
.bento-section {
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.bento-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(16, 38, 74, 0.1);
}

/* 21st.dev Spotlight Glow Effect */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 134, 237, 0.12), transparent 80%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.bento-span-7 {
  grid-column: span 7;
}

.bento-span-5 {
  grid-column: span 5;
}

.bento-card-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #7b8da6;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.bento-card h3 {
  font: 800 22px var(--display);
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}

.bento-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
}

/* Bento Card 1: Interactive Allowance Slider */
.slider-interactive-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  margin-top: 14px;
}

.slider-values-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.slider-val-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  flex: 1;
}

.slider-val-box:first-child {
  margin-right: 10px;
}

.slider-val-box small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #64748b;
  text-transform: uppercase;
}

.slider-val-box strong {
  font: 800 18px var(--display);
  color: var(--ink);
}

.slider-bar-visual {
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  display: flex;
  overflow: hidden;
  margin: 14px 0 12px;
}

.slider-meter-locked {
  background: var(--blue);
  height: 100%;
  transition: width 0.15s ease;
}

.slider-meter-online {
  background: var(--emerald);
  height: 100%;
  transition: width 0.15s ease;
}

.allowance-range-slider {
  width: 100%;
  accent-color: var(--blue);
  cursor: pointer;
  margin: 8px 0;
}

.slider-caption {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-top: 6px;
}

/* Bento Card 2: Cryptographic Receipt Code Block */
.code-inspector-box {
  background: #09172c;
  border: 1px solid #1e3557;
  border-radius: 14px;
  padding: 16px;
  position: relative;
}

.code-inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.code-lang-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: #79a8e8;
  font-weight: 600;
}

.btn-copy-code {
  background: #193156;
  color: #bcd5f5;
  border: 1px solid #2b4c7e;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: #234375;
}

.btn-copy-code.copied {
  background: var(--emerald);
  color: white;
  border-color: var(--emerald);
}

.code-inspector-body {
  font-family: var(--mono);
  font-size: 11px;
  color: #93c5fd;
  line-height: 1.55;
  margin: 0;
  word-break: break-all;
}

/* Bento Card 3: Anomaly & Conflict Adjudication */
.conflict-adjudication-box {
  background: #fdfaf6;
  border: 1px solid #f2e2d0;
  border-radius: 14px;
  padding: 16px;
}

.conflict-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px dashed #e7d3c0;
}

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

.conflict-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}

.conflict-pill.settled {
  background: var(--emerald-bg);
  color: var(--emerald-text);
}

.conflict-pill.rejected {
  background: #fee2e2;
  color: #b91c1c;
}

/* Bento Card 4: Transport & Latency */
.transport-meter-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f0f7ff;
  border: 1px solid #cfe2ff;
  border-radius: 14px;
  padding: 16px;
}

.latency-metric {
  font: 800 28px var(--display);
  color: var(--blue);
  line-height: 1;
}

.latency-caption {
  font-size: 12px;
  color: #526b8b;
  line-height: 1.4;
}

/* --- Section 04: Interactive Accordion FAQ --- */
.faq-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.open {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(16, 134, 237, 0.08);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font: 700 16px var(--display);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: white;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.faq-item.open .faq-content {
  max-height: 250px;
  padding-bottom: 20px;
}

/* --- Section 05: Phone Preview --- */
.preview {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.preview-copy .button {
  margin-top: 20px;
}

.screens {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.screen-placeholder {
  position: relative;
  width: 195px;
  height: 340px;
  border: 6px solid var(--ink);
  border-radius: 26px;
  background: white;
  padding: 20px 14px;
  box-shadow: 0 20px 40px rgba(16, 38, 74, 0.12);
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

.screen-placeholder.second {
  transform: rotate(5deg);
  margin-top: 30px;
}

.screen-placeholder:hover {
  transform: rotate(0) scale(1.03);
}

.screen-top {
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.screen-title {
  font: 700 16px var(--display);
  margin-top: 26px;
}

.screen-balance {
  font: 800 28px var(--display);
  margin: 12px 0 16px;
}

.screen-balance small {
  display: block;
  font: 10px var(--font);
  color: #8392a7;
  margin-top: 4px;
}

.screen-tile {
  padding: 12px 10px;
  background: #f0f7ff;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
}

.screen-tile small {
  display: block;
  margin: 8px 0;
  color: #6f8199;
  font-size: 8px;
}

.screen-tile i {
  display: block;
  height: 3px;
  background: var(--blue);
  border-radius: 4px;
}

.screen-nav {
  position: absolute;
  bottom: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: #8da0b7;
  font-size: 13px;
}

.screen-nav b:first-child {
  color: var(--blue);
}

.mock-label {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #8794a5;
}

/* --- Final Call To Action Card --- */
.final-cta {
  background: var(--ink);
  color: white;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 134, 237, 0.25) 0%, transparent 70%);
}

.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.final-inner .eyebrow {
  color: #a8c2e3;
}

.final-inner h2 {
  font: 800 38px var(--display);
  letter-spacing: -1.2px;
  margin: 12px 0 6px;
}

.final-inner p {
  color: #b3c3d9;
  margin: 0;
  font-size: 15px;
  max-width: 520px;
}

.final-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer .brand {
  font-size: 20px;
}

.footer .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.footer p, .footer > a:last-child {
  font-size: 12px;
  color: #77869a;
}

.footer > a:last-child {
  font-weight: 700;
  color: var(--ink);
}

/* --- Media Queries --- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 30px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy > .eyebrow, .hero-actions, .hero-badges-row {
    justify-content: center;
  }
  .hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }
  .stepper-container {
    grid-template-columns: 1fr;
  }
  .bento-span-7, .bento-span-5 {
    grid-column: span 12;
  }
  .about, .preview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .final-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  nav.nav-links {
    display: none;
  }
  .flow-steps-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }
  .hero-art {
    height: 380px;
  }
  .phone {
    width: 180px;
    height: 350px;
  }
  .phone-front {
    left: 8%;
    top: 20px;
  }
  .phone-back {
    right: 4%;
    top: 50px;
  }
  .float-tag {
    font-size: 9px;
    padding: 8px 10px;
  }
  .tag-one { top: 10px; }
  .tag-two { bottom: 20px; }
  .footer {
    flex-direction: column;
    height: auto;
    padding: 24px 0;
    gap: 12px;
  }
}
