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

/* ─── LIGHT THEME VARIABLES ─── */
:root {
  --bg:       #F8F9FC;
  --bg2:      #EEF2FA;
  --white:    #FFFFFF;
  --ink:      #080D1A;
  --ink2:     #1B2340;
  --blue:     #1560F4;
  --blue2:    #4D8EF8;
  --teal:     #00A891;
  --teal2:    #00C4AB;
  --muted:    #6B7280;
  --slate:    #4B5563;
  --border:   #E2E8F0;
  --card:     #FFFFFF;
  --navy:     #F8F9FC;
  --navy2:    #EEF2FA;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SUBTLE GRID TEXTURE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,96,244,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,96,244,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black 30%, transparent 100%);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248,249,252,0.90);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: fadeDown 0.6s ease both;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon { width: 32px; height: 32px; }

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
}

.nav-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--teal);
  border: 1px solid rgba(0,168,145,0.3);
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.nav-cta {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.nav-cta:hover {
  background: var(--blue2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(21,96,244,.3);
}

/* ─── BG GLOWS ─── */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-blue {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(21,96,244,.1) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.glow-teal {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,168,145,.07) 0%, transparent 70%);
  top: 100px; right: -100px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--teal);
  text-transform: uppercase;
  border: 1px solid rgba(0,168,145,.25);
  background: rgba(0,168,145,.06);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: rise 0.7s 0.1s ease both;
  opacity: 0;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 24px;
  animation: rise 0.7s 0.2s ease both;
  opacity: 0;
  max-width: 820px;
}

.hero-headline .accent {
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 48px;
  animation: rise 0.7s 0.3s ease both;
  opacity: 0;
}

/* ─── SIGNUP FORM ─── */
.signup-wrap {
  animation: rise 0.7s 0.4s ease both;
  opacity: 0;
  width: 100%;
  max-width: 480px;
  margin-bottom: 20px;
}

.signup-form {
  display: flex;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21,96,244,.1), 0 2px 12px rgba(0,0,0,.07);
}

.signup-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.signup-input::placeholder { color: #b0b7c3; }

.signup-btn {
  background: linear-gradient(135deg, var(--blue) 0%, #0047D1 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.signup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(21,96,244,.35);
}

.signup-note {
  font-size: 12px;
  color: #9CA3AF;
  animation: rise 0.7s 0.5s ease both;
  opacity: 0;
  letter-spacing: 0.1px;
}

/* ─── TRUST ROW ─── */
.trust-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 64px;
  flex-wrap: wrap;
  justify-content: center;
  animation: rise 0.7s 0.6s ease both;
  opacity: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
}

.trust-icon {
  width: 16px; height: 16px;
  color: var(--teal);
}

/* ─── FLOW LINES ─── */
.hero-lines {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  pointer-events: none;
  opacity: 0.2;
}

/* ─── SECTION BASE ─── */
section {
  position: relative;
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 500px;
}

/* ─── HOW IT WORKS ─── */
.hiw-section {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  max-width: 100%;
  padding: 100px 0;
}
.hiw-section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 64px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 60px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(21,96,244,.3), transparent);
}

.step-num {
  width: 40px; height: 40px;
  background: rgba(21,96,244,.1);
  border: 1px solid rgba(21,96,244,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  flex-shrink: 0;
}

.step-content { padding-top: 8px; }

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── MOCK CARD ─── */
.mock-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.04);
  position: sticky;
  top: 100px;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mock-logo-sm {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--ink);
}

.mock-status {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--teal);
  background: rgba(0,168,145,.1);
  border: 1px solid rgba(0,168,145,.2);
  padding: 4px 10px;
  border-radius: 20px;
}

.mock-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 4px;
}

.mock-from {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.mock-from span { color: var(--ink); font-weight: 600; }

.mock-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.mock-method {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}
.mock-method:hover, .mock-method.active {
  border-color: var(--blue);
  background: rgba(21,96,244,.04);
}

.method-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.method-note {
  font-size: 11px;
  color: var(--muted);
}

.mock-pay-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), #0047D1);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.3px;
  transition: all 0.2s;
}
.mock-pay-btn:hover {
  box-shadow: 0 8px 24px rgba(21,96,244,.35);
  transform: translateY(-1px);
}

/* ─── FEATURES ─── */
.features-section {
  border-top: 1px solid var(--border);
  background: var(--white);
  max-width: 100%;
  padding: 100px 0;
}
.features-section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s;
}
.feat-card:hover {
  border-color: rgba(21,96,244,.25);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(21,96,244,.08);
  transform: translateY(-3px);
}

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.feat-icon.blue   { background: rgba(21,96,244,.1); }
.feat-icon.teal   { background: rgba(0,168,145,.1); }
.feat-icon.purple { background: rgba(124,58,237,.1); }

.feat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.feat-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── PERSONAS ─── */
.personas-section {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  max-width: 100%;
  padding: 100px 0;
}
.personas-section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.personas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.persona-card {
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.persona-card.vendor {
  background: linear-gradient(135deg, rgba(21,96,244,.06), rgba(21,96,244,.02));
  border-color: rgba(21,96,244,.15);
}
.persona-card.buyer {
  background: linear-gradient(135deg, rgba(0,168,145,.07), rgba(0,168,145,.02));
  border-color: rgba(0,168,145,.18);
}

.persona-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.persona-tag.blue { color: var(--blue); }
.persona-tag.teal { color: var(--teal); }

.persona-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 8px;
}
.persona-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.persona-pain {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 20px;
}

.persona-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.4;
}
.benefit-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.benefit-dot.blue { background: var(--blue); }
.benefit-dot.teal { background: var(--teal); }

/* ─── INDUSTRIES ─── */
.industries-section {
  border-top: 1px solid var(--border);
  background: var(--white);
  max-width: 100%;
  padding: 100px 0;
}
.industries-section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.industries-marquee {
  overflow: hidden;
  margin-top: 40px;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.industries-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 4px 0;
  animation: marquee 28s linear infinite;
}

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

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

.industry-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  flex-shrink: 0;
}
.industry-emoji { font-size: 18px; }

/* ─── CTA ─── */
.cta-section {
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
  max-width: 100%;
  padding: 100px 24px;
}

.cta-inner {
  background: var(--ink);
  border-radius: 28px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.cta-inner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(21,96,244,.22) 0%, transparent 60%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2.5px;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,.45);
  margin-bottom: 40px;
  position: relative;
}

.cta-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 6px 6px 6px 20px;
  position: relative;
  transition: border-color 0.2s;
}
.cta-form:focus-within {
  border-color: rgba(21,96,244,.6);
  box-shadow: 0 0 0 3px rgba(21,96,244,.15);
}

.cta-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  min-width: 0;
}
.cta-input::placeholder { color: rgba(255,255,255,.3); }

.cta-btn {
  background: linear-gradient(135deg, var(--blue), #0047D1);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(21,96,244,.4);
}

.success-msg {
  display: none;
  font-size: 14px;
  color: var(--teal2);
  font-weight: 600;
  margin-top: 8px;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #9CA3AF;
}
.footer-copy {
  font-size: 12px;
  color: #9CA3AF;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.5px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

/* ─── ANIMATIONS ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── INNER PAGE (legal / doc pages) ─── */
.inner-page {
  padding-top: 120px;
  padding-bottom: 100px;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.inner-page-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.inner-page-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.1;
}

.inner-page-date {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 56px;
  display: block;
}

.inner-page-body h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 12px;
}

.inner-page-body h2:first-child { margin-top: 0; }

.inner-page-body p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 16px;
}

.inner-page-body ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.inner-page-body ul li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 6px;
}

.inner-page-body a {
  color: var(--blue);
  text-decoration: none;
}

.inner-page-body a:hover { text-decoration: underline; }

.inner-page-callout {
  background: rgba(0,168,145,.06);
  border: 1px solid rgba(0,168,145,.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.inner-page-callout p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .personas-grid { grid-template-columns: 1fr; }
  .mock-card { display: none; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}