/* ============================================================
   KudiCom Public Website — site.css
   Clean fintech style (Paystack/Flutterwave inspired)
   Brand: #0B1B3D  |  #FF6B00
   ============================================================ */

:root {
  --navy: #0B1B3D;
  --navy-soft: #132a5c;
  --orange: #FF6B00;
  --orange-soft: #FF8A33;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --surface: #FFFFFF;
  --text: #0B1B3D;
  --text-muted: #6675a0;
  --border: #E5E9F2;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(11,27,61,.06);
  --shadow-md: 0 8px 24px rgba(11,27,61,.08);
  --shadow-lg: 0 20px 48px rgba(11,27,61,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: transform .1s, box-shadow .15s, background .15s;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 12px rgba(255,107,0,.25);
}
.btn-primary:hover { background: var(--orange-soft); }
.btn-outline {
  background: transparent; color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  background: #FFF1E5; color: var(--orange);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.4px; }
.brand-name { color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--orange); }
.nav-auth { display: flex; align-items: center; gap: 10px; }
.nav-auth-mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-auth { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 24px; gap: 20px; align-items: stretch;
  }
  .nav-links.open .nav-auth-mobile {
    display: flex; gap: 10px; padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .nav-links.open .nav-auth-mobile .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; background: linear-gradient(180deg, #fff 0%, #F5F7FB 100%); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 56px; font-weight: 800; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 20px;
}
.hero-copy .accent { color: var(--orange); }
.hero-copy .lead {
  font-size: 19px; color: var(--text-muted); margin-bottom: 32px;
  max-width: 520px; line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.meta-item strong { display: block; font-size: 22px; font-weight: 800; color: var(--navy); }
.meta-item span   { font-size: 13px; color: var(--text-muted); }

@media (max-width: 980px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy h1 { font-size: 40px; letter-spacing: -1px; }
  .hero-copy .lead { font-size: 17px; }
}

/* ---------- Phone Mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 320px; background: var(--navy);
  border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.02);
  transform: rotate(-2deg);
}
.phone-screen {
  background: #F5F7FB; border-radius: 30px;
  padding: 20px 18px 24px;
  overflow: hidden;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.phone-greeting { display: flex; flex-direction: column; font-size: 11px; color: var(--text-muted); }
.phone-greeting strong { font-size: 14px; color: var(--navy); font-weight: 600; }
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.phone-balance {
  background: linear-gradient(135deg, #0B1B3D, #132a5c);
  color: #fff; padding: 18px; border-radius: 16px;
  margin-bottom: 12px; position: relative; overflow: hidden;
}
.phone-balance::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.35) 0%, transparent 70%);
}
.phone-balance span { font-size: 10.5px; opacity: .6; text-transform: uppercase; letter-spacing: .8px; }
.phone-balance strong { display: block; font-size: 22px; font-weight: 700; margin-top: 4px; }
.phone-actions { display: flex; gap: 8px; margin-bottom: 14px; }
.pa {
  flex: 1; background: #fff; padding: 10px;
  border-radius: 10px; font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--navy);
}
.pa-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.phone-tx { display: flex; flex-direction: column; gap: 6px; }
.ptx {
  background: #fff; padding: 10px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
}
.ptx-icon {
  width: 28px; height: 28px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.ptx-icon.green { background: var(--success); }
.ptx-icon.navy  { background: var(--navy); }
.ptx > div { flex: 1; min-width: 0; }
.ptx strong { display: block; font-size: 11.5px; color: var(--navy); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptx em { font-size: 10px; color: var(--text-muted); font-style: normal; }
.ptx-amt { font-size: 11.5px; font-weight: 700; color: var(--navy); }
.ptx-amt.green { color: var(--success); }

/* ---------- Trust Bar ---------- */
.trust-bar { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust-bar p { text-align: center; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: .45; }
.trust-logos span { font-weight: 700; font-size: 18px; color: var(--navy); letter-spacing: -.5px; }

/* ---------- Section Head ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.15; }
.section-head p { color: var(--text-muted); font-size: 17px; }
@media (max-width: 760px) {
  .section-head h2 { font-size: 30px; letter-spacing: -.8px; }
  .section-head p { font-size: 15px; }
}

/* ---------- Features ---------- */
.features { padding: 96px 0; background: var(--bg-soft); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  background: #fff; padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.feature-card p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

@media (max-width: 880px) {
  .features { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px 22px; }
}

/* ---------- How it works ---------- */
.how { padding: 96px 0; background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-muted); }

@media (max-width: 880px) {
  .how { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0B1B3D 0%, #132a5c 100%);
  color: #fff; padding: 64px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.25) 0%, transparent 70%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; }
.cta-inner h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.cta-inner p { opacity: .7; font-size: 16px; }

@media (max-width: 760px) {
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner h2 { font-size: 26px; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #fff 0%, #F5F7FB 100%);
  text-align: center;
}
.page-hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -1.8px; margin-bottom: 16px; line-height: 1.1; }
.page-hero .lead { font-size: 18px; color: var(--text-muted); max-width: 620px; margin: 0 auto; }
@media (max-width: 760px) {
  .page-hero { padding: 48px 0 32px; }
  .page-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .page-hero .lead { font-size: 16px; }
}

/* ---------- Prose (legal, about) ---------- */
.prose { padding: 64px 0 96px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--navy); }
.prose p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.prose ul { list-style: none; padding: 0; margin: 20px 0; }
.prose li { padding: 10px 0 10px 28px; position: relative; color: var(--text-muted); }
.prose li::before {
  content: "→"; position: absolute; left: 0; top: 10px;
  color: var(--orange); font-weight: 700;
}

/* ---------- Pricing ---------- */
.pricing { padding: 64px 0 96px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.price-card {
  background: #fff; padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  position: relative;
}
.price-card.highlighted {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.price-tag {
  position: absolute; top: -12px; left: 30px;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 14px; border-radius: 100px;
}
.price-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.price { margin-bottom: 24px; }
.price span { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -1.5px; }
.price em { color: var(--text-muted); font-style: normal; font-size: 15px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li { padding: 10px 0; font-size: 15px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.price-card li:last-child { border: 0; }
.pricing-note { text-align: center; color: var(--text-muted); font-size: 13px; max-width: 640px; margin: 40px auto 0; }

@media (max-width: 760px) {
  .pricing { padding: 40px 0 64px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { padding: 64px 0 96px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card {
  background: var(--bg-soft); padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 4px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Auth Pages ---------- */
.auth-page { background: var(--bg-soft); }
.auth-wrap { padding: 64px 24px 96px; display: flex; justify-content: center; }
.auth-box {
  background: #fff; padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%; max-width: 440px;
}
.auth-head { text-align: center; margin-bottom: 32px; }
.auth-head svg { margin: 0 auto 16px; }
.auth-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.8px; margin-bottom: 6px; }
.auth-head p { color: var(--text-muted); font-size: 15px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input {
  padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 15px; color: var(--navy);
  outline: none; transition: border-color .15s;
  font-family: inherit; width: 100%;
  background: #fff;
}
.field input:focus { border-color: var(--orange); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-alt { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 8px; }
.auth-alt a { color: var(--orange); font-weight: 600; }
.auth-msg { text-align: center; font-size: 14px; margin-top: 12px; min-height: 20px; }
.auth-msg.error { color: var(--danger); }
.auth-msg.success { color: var(--success); }

@media (max-width: 520px) {
  .auth-wrap { padding: 40px 16px 64px; }
  .auth-box { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag { color: rgba(255,255,255,.55); font-size: 14px; max-width: 280px; }
.footer-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px;
  font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: 18px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,.8);
  font-size: 14.5px; padding: 6px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
