/* =========================================================
   ProSocial — Design Tokens
   Color:  Ink #17181A / Paper #FAF9F6 / Red #D71E28 / Red Deep #7F0F16 / Gold #E8B23D
   Type:   Display = Archivo Black · Body = Inter · Data = JetBrains Mono
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --ink: #17181A;
  --ink-soft: #4B4D51;
  --paper: #FAF9F6;
  --paper-dim: #F0EEE8;
  --red: #D71E28;
  --red-deep: #7F0F16;
  --gold: #E8B23D;
  --line: rgba(23,24,26,0.12);
  --line-on-dark: rgba(255,255,255,0.14);
  --radius: 14px;
  --shadow: 0 12px 30px rgba(23,24,26,0.10);
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: #fff;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(215,30,40,0.28); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: var(--line-on-dark); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,246,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.15rem; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 0.95rem; }
.nav-links a { color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; background: none; border: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.5;
  animation: blobFloat 14s ease-in-out infinite;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(215,30,40,0.30), transparent 70%);
  top: -140px; left: -120px;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232,178,61,0.28), transparent 70%);
  bottom: -160px; right: -100px;
  animation-delay: -7s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }

.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 span {
  background: linear-gradient(100deg, var(--red), var(--red-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero-trust { display: flex; gap: 22px; margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); flex-wrap: wrap; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before { content: '✓'; color: var(--red); font-weight: 800; }

/* Value pill badges: Affordable / Reliable / Quality */
.value-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.value-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(23,24,26,0.06);
}
.value-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* Proof stat row */
.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.stat-row .stat b {
  display: block;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
}
.stat-row .stat span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Hero panel mockup (signature-adjacent) ---------- */
.panel-mock {
  background: var(--ink);
  border-radius: 22px;
  padding: 26px;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.panel-mock:hover { transform: translateY(-4px); }
.panel-mock::before {
  content: '';
  position: absolute; inset: -40% -10% auto auto;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(215,30,40,0.35), transparent 70%);
}
.floating-badge {
  position: absolute;
  top: -16px; right: 22px;
  background: #fff;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 10px 22px rgba(23,24,26,0.18);
  animation: badgeBob 3.2s ease-in-out infinite;
  z-index: 2;
}
.floating-badge.two { top: auto; bottom: -14px; right: auto; left: 20px; background: var(--gold); color: var(--ink); animation-delay: -1.6s; }
@keyframes badgeBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .floating-badge { animation: none; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-dot-row { display: flex; gap: 6px; }
.panel-dot-row span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.panel-title { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); text-transform: uppercase; }

.mock-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.mock-field label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); font-family: var(--mono); }
.mock-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: #fff;
  font-family: var(--mono);
}
.mock-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,0.16); }
.mock-price { font-family: var(--mono); font-size: 1.6rem; font-weight: 600; }
.mock-price small { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.5); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Ticker (signature element) ---------- */
.ticker-wrap {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 32s linear infinite;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker-track span::before { content: '▲'; font-size: 0.65em; color: var(--gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Section shell ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 46px; max-width: 640px; }
.section-dark { background: var(--ink); color: #fff; }
.section-dim { background: var(--paper-dim); }

/* ---------- Platform / service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--red);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 0.92rem; }
.card-from { margin-top: 14px; font-family: var(--mono); font-size: 0.85rem; color: var(--red); font-weight: 600; }

/* ---------- Value proposition cards (Affordable / Reliable / Quality) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(23,24,26,0.12); }
.value-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(215,30,40,0.05), transparent 55%);
  opacity: 0; transition: opacity 0.25s ease;
}
.value-card:hover::after { opacity: 1; }
.value-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 10px 20px rgba(215,30,40,0.25);
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 14px; }
.value-stat { font-family: var(--mono); font-size: 0.85rem; font-weight: 700; color: var(--red); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--line);
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
  margin-bottom: 10px;
  display: block;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Wallet / pricing split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pill-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pill-list li:last-child { border-bottom: none; }
.pill-num {
  font-family: var(--mono); font-weight: 700; color: var(--red);
  flex-shrink: 0; width: 26px;
}

/* ---------- Auth / dashboard shared cards ---------- */
.auth-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  padding: 24px;
}
.auth-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 40px;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow);
}
.auth-card .brand { justify-content: center; margin-bottom: 22px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--body);
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 0.88rem; margin-bottom: 16px; }
.alert-error { background: #FDEBEC; color: var(--red-deep); border: 1px solid rgba(215,30,40,0.25); }
.alert-success { background: #EAF7EE; color: #1F7A3D; border: 1px solid rgba(31,122,61,0.25); }
.muted { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-family: var(--body); font-size: 0.95rem; margin-bottom: 14px; }
.footer ul li { padding: 6px 0; font-size: 0.9rem; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-on-dark); padding-top: 22px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
