/* ==========================================================================
   ProSocial — Design tokens
   Subject: SMM growth panel for Ghanaian creators, resellers & small brands.
   Signature: the "signal pulse" line — a live heartbeat/growth trace that
   runs through the hero and divides sections, standing in for the platform's
   core promise: visible, steady momentum.
   ========================================================================== */

:root {
  /* Color */
  --ink:        #0E2A2B;   /* deep teal-ink — text & dark surfaces */
  --ink-soft:   #234142;
  --paper:      #F7F5EF;   /* warm off-white page background */
  --paper-dim:  #EFEBE1;
  --amber:      #F5A623;   /* primary CTA / accent */
  --amber-deep: #D6870C;
  --mint:       #B9F5D8;   /* secondary highlight, success */
  --mint-deep:  #1E9C6B;
  --coral:      #FF6B57;   /* alerts / danger */
  --line:       rgba(14,42,43,0.12);

  /* Type */
  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Scale */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 8px 30px rgba(14,42,43,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-deep); box-shadow: 0 6px 20px rgba(245,166,35,0.35); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* Badges ----------------------------------------------------------------*/
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-success    { background: var(--mint); color: var(--mint-deep); }
.badge-pending    { background: #FFF0D6; color: var(--amber-deep); }
.badge-processing { background: #E4EFFF; color: #2657C7; }
.badge-danger     { background: #FFE1DC; color: #C23A26; }
.badge-warning    { background: #FFF3C4; color: #8A6D00; }

/* Forms ------------------------------------------------------------------*/
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber);
}
.field .hint { font-size: 12px; color: var(--ink-soft); opacity: 0.7; margin-top: 4px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.alert-success { background: var(--mint); color: var(--mint-deep); }
.alert-error   { background: #FFE1DC; color: #C23A26; }

/* Card ---------------------------------------------------------------- */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

/* Utility ---------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

/* Focus visibility for accessibility ------------------------------------*/
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
