/* ppvcard marketing — mainstream fintech tone */
:root {
  --bg: #f6f7f9;
  --bg-tint: #eef2f8;
  --ink: #0b1220;
  --muted: #5b6577;
  --line: rgba(11, 18, 32, 0.08);
  --brand: #1677ff;
  --brand-2: #0b5fff;
  --navy: #07111f;
  --navy-2: #0d1b33;
  --white: #fff;
  --shell: min(1160px, calc(100% - 48px));
  --display: 'Satoshi', 'Avenir Next', 'Segoe UI', sans-serif;
  --body: 'General Sans', 'PingFang SC', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(246, 247, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-header.is-solid .nav a:not(.nav-cta) {
  color: var(--muted);
}

.site-header.is-solid .brand {
  color: var(--ink);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--white);
}

.brand img {
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 560;
  color: rgba(255, 255, 255, 0.72);
}

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

.site-header.is-solid .nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--ink) !important;
  background: var(--white);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 650;
}

.site-header.is-solid .nav-cta {
  background: var(--ink);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle i {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
}

.site-header:not(.is-solid) .nav-toggle {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: #e8edf5;
}

.btn-line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 96px 0 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(22, 119, 255, 0.35), transparent 60%),
    radial-gradient(700px 420px at 10% 80%, rgba(11, 95, 255, 0.18), transparent 55%),
    linear-gradient(145deg, #050b16 0%, #0a162c 48%, #102447 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero.jpg');
  background-size: cover;
  background-position: 70% center;
  opacity: 0.28;
  mix-blend-mode: luminosity;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-brand,
.finale-brand {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-transform: lowercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 32rem;
  color: rgba(230, 236, 248, 0.78);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Phone mock */
.hero-stage {
  position: relative;
  justify-self: end;
  width: min(340px, 100%);
  animation: stage-in 1s ease both;
}

.phone {
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2336, #0b1220);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-notch {
  width: 34%;
  height: 18px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: #05080f;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f7fc, #e8eef8);
  color: var(--ink);
  min-height: 520px;
  padding: 18px 16px 20px;
}

.ui-top {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}

.ui-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--brand);
}

.ui-bal-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.ui-bal {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.ui-card {
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(145deg, #1a4fb8, #0d5fd6 50%, #071f55);
  color: #fff;
  box-shadow: 0 16px 32px rgba(13, 95, 214, 0.35);
}

.ui-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.ui-card-row.muted {
  opacity: 0.75;
  margin-top: 18px;
}

.ui-card-no {
  margin-top: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.ui-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.ui-actions span {
  padding: 10px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.ui-list {
  display: grid;
  gap: 8px;
}

.ui-list div {
  display: flex;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.ui-list b {
  font-weight: 650;
}

.ui-list em {
  font-style: normal;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.ui-list .plus {
  color: #0f9d58;
}

.float-card {
  position: absolute;
  right: -18%;
  bottom: 18%;
  width: 170px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(150deg, #1c2433, #121820);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 10px;
  animation: float-y 6s ease-in-out infinite;
}

.float-card span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.float-card b {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.85rem;
}

.float-card i {
  font-style: normal;
  font-size: 0.7rem;
  color: #6dffa8;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Trust rail */
.rail {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.rail-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 620;
  letter-spacing: 0.02em;
}

/* Content blocks */
.block {
  padding: 108px 0;
}

.block.tint {
  background: linear-gradient(180deg, var(--bg-tint), var(--bg));
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse .split-copy {
  order: 2;
}

.split-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34em;
}

.ticks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 550;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* Issue / scenarios */
.issue {
  display: grid;
  gap: 40px;
}

.issue-head {
  max-width: 40rem;
}

.issue-head .lead {
  margin-top: 14px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scene {
  padding: 22px 22px 20px;
  border-top: 2px solid var(--ink);
  background: transparent;
}

.scene-phys {
  border-top-color: var(--brand);
}

.scene-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.scene h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.scene > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.merchants {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.merchants li {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.05);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.scene-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 550;
}

.prod-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prod-strip-item {
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}

.prod-strip-item:last-child {
  border-right: 0;
}

.prod-strip-item b {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.prod-strip-item span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Product panels (interaction-like UI, not marketing cards) */
.panel {
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.06);
}

.panel.dark {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}

.panel-hd {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 12px;
}

.panel.dark .panel-hd {
  color: rgba(255, 255, 255, 0.55);
}

.prod,
.chain,
.tds {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.prod:last-child,
.chain:last-of-type,
.tds:last-child {
  margin-bottom: 0;
}

.prod.on,
.chain.on {
  border-color: rgba(22, 119, 255, 0.35);
  background: rgba(22, 119, 255, 0.06);
}

.prod b,
.chain b,
.tds b {
  display: block;
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.prod span,
.chain span,
.tds span {
  color: var(--muted);
  font-size: 0.82rem;
}

.prod em,
.tds strong {
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.panel.dark .chain {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.panel.dark .chain.on {
  background: rgba(22, 119, 255, 0.18);
  border-color: rgba(22, 119, 255, 0.45);
}

.panel.dark .chain span {
  color: rgba(255, 255, 255, 0.55);
}

.addr {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 6px;
}

.addr span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.addr code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.95rem;
}

.tds {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
}

.tds strong {
  grid-column: 1;
}

.tds code {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
}

/* Earn */
.earn {
  display: grid;
  gap: 36px;
}

.lead {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 36em;
  font-size: 1.05rem;
}

.earn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.earn-grid > div {
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}

.earn-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.earn-grid b {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.earn-grid em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Steps */
.center-head {
  text-align: center;
  margin-bottom: 40px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps li {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.steps span {
  font-family: var(--display);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.steps h3 {
  margin: 10px 0 6px;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Finale */
.finale {
  background:
    radial-gradient(700px 360px at 70% 0%, rgba(22, 119, 255, 0.28), transparent 60%),
    linear-gradient(160deg, #050b16, #0d1b33 55%, #102447);
  color: var(--white);
  padding: 100px 0 110px;
}

.finale-inner {
  max-width: 40rem;
}

.finale h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.finale p {
  margin: 14px 0 26px;
  color: rgba(230, 236, 248, 0.75);
}

.finale-brand {
  background: linear-gradient(120deg, #fff 10%, #9ec4ff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Footer */
.site-footer {
  background: #050b16;
  color: rgba(230, 236, 248, 0.65);
  padding: 48px 0 36px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}

.footer-grid .brand {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-grid p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 560;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-stage,
  .float-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-layout,
  .split,
  .earn-grid,
  .steps,
  .scene-grid {
    grid-template-columns: 1fr;
  }

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

  .prod-strip {
    grid-template-columns: 1fr 1fr;
  }

  .prod-strip-item:nth-child(2) {
    border-right: 0;
  }

  .prod-strip-item:nth-child(1),
  .prod-strip-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .hero-stage {
    justify-self: center;
    margin-top: 12px;
  }

  .float-card {
    right: -8%;
    bottom: 12%;
  }

  .block {
    padding: 80px 0;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    color: var(--ink);
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(11, 18, 32, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
    border-radius: 10px;
    color: var(--ink) !important;
  }

  .nav-cta {
    text-align: center;
    background: var(--ink) !important;
    color: #fff !important;
    margin-top: 4px;
  }

  .hero {
    padding: 88px 0 56px;
    align-items: start;
  }

  .hero-bg::after {
    opacity: 0.18;
    background-position: 80% center;
  }

  .phone-screen {
    min-height: 460px;
  }

  .float-card {
    display: none;
  }

  .rail-inner {
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .scene-grid,
  .prod-strip {
    grid-template-columns: 1fr;
  }

  .prod-strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .prod-strip-item:last-child {
    border-bottom: 0;
  }

  .prod-strip-item:nth-child(1),
  .prod-strip-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}
