:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #18232d;
  --muted: #566673;
  --line: rgba(24, 35, 45, 0.1);
  --brand: #128c7e;
  --brand-deep: #075e54;
  --accent: #25d366;
  --accent-light: rgba(37, 211, 102, 0.12);
  --mint: #dcf8c6;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(58, 40, 18, 0.08);
  --shadow-strong: 0 20px 50px rgba(31, 18, 8, 0.12);
}

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

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-logo { height: 36px; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 180ms;
}

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

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff !important;
  font-weight: 600;
  transition: transform 160ms, box-shadow 160ms;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.2);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.3);
}

/* ─── HERO ─── */
.hero {
  padding: 100px 40px 80px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(18, 140, 126, 0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(37, 211, 102, 0.06), transparent 35%);
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.08;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 160ms, box-shadow 160ms;
  box-shadow: 0 10px 30px rgba(18, 140, 126, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(18, 140, 126, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 160ms, border-color 160ms;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  transform: translateY(-30px);
}

.stat {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.stat:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.stat:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  color: var(--brand-deep);
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ─── SECTIONS ─── */
.section {
  padding: 80px 40px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 200ms, box-shadow 200ms;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18, 140, 126, 0.12), rgba(37, 211, 102, 0.1));
  color: var(--brand-deep);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

/* ─── HOW IT WORKS ─── */
.how-section {
  background:
    radial-gradient(circle at 10% 50%, rgba(18, 140, 126, 0.06), transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(37, 211, 102, 0.04), transparent 35%),
    #f4f3f0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ─── PERSPECTIVES ─── */
.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.perspective-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 200ms, box-shadow 200ms;
}

.perspective-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.perspective-card.merchant-card {
  background: linear-gradient(135deg, #f0faf7, #fff);
}

.perspective-card.fintech-card {
  background: linear-gradient(135deg, #f0f4fa, #fff);
}

.perspective-card.supplier-card {
  background: linear-gradient(135deg, #faf5f0, #fff);
}

.perspective-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.merchant-card .perspective-tag { background: rgba(18, 140, 126, 0.12); color: var(--brand-deep); }
.fintech-card .perspective-tag { background: rgba(59, 130, 246, 0.12); color: #1e40af; }
.supplier-card .perspective-tag { background: rgba(217, 119, 6, 0.12); color: #92400e; }

.perspective-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.perspective-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.perspective-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  transition: gap 180ms;
}

.perspective-link:hover { gap: 10px; }

/* ─── CTA ─── */
.cta-section {
  padding: 80px 40px;
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 48px;
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(37, 211, 102, 0.14), transparent 30%),
    radial-gradient(circle at 70% 60%, rgba(18, 140, 126, 0.18), transparent 30%),
    linear-gradient(135deg, #075e54, #0d2a22);
  color: #f4f7f6;
  box-shadow: 0 30px 80px rgba(7, 94, 84, 0.3);
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.cta-card p {
  max-width: 500px;
  margin: 0 auto 30px;
  color: rgba(244, 247, 246, 0.75);
  font-size: 1.05rem;
  line-height: 1.6;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 160ms, box-shadow 160ms;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

/* ─── FOOTER ─── */
.footer {
  padding: 40px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-logo {
  height: 28px;
  margin: 0 auto 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 12px;
  list-style: none;
  padding: 0;
}

.footer-links a { color: var(--muted); transition: color 180ms; }
.footer-links a:hover { color: var(--ink); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .features-grid,
  .perspectives-grid { grid-template-columns: 1fr; max-width: 500px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .stat:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .stat:nth-child(3) { border-radius: 0; }
  .stat:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .hero { padding: 60px 20px 50px; }
  .section { padding: 50px 20px; }
  .cta-card { padding: 40px 24px; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; transform: translateY(-16px); }
  .stat { border-radius: 0 !important; }
  .stat:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
  .stat:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
}
