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

/* Thanthwe Technologies — thanthwe.africa
   Premium shared stylesheet. Brand: deep navy + gold (rock / solid ground).
   Display: Sora · Body: Inter · Technical labels: IBM Plex Mono */

:root {
  --navy: #0a1b31;
  --navy-2: #0e2545;
  --navy-3: #16375d;
  --ink: #0d1526;
  --muted: #566579;
  --faint: #8595aa;
  --line: #e8edf4;
  --line-2: #f0f4f9;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-tint: #fbfcfe;
  --gold: #f5a623;
  --gold-2: #ffbe45;
  --gold-dark: #bf7d0b;
  --gold-soft: #fef3dd;
  --teal: #1f9e8f;
  --teal-2: #27c3ae;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 26px;
  --grad-gold: linear-gradient(135deg, #ffc558 0%, #ef990f 100%);
  --grad-navy: linear-gradient(165deg, #122c4f 0%, #0a1b31 100%);
  --shadow-sm: 0 1px 2px rgba(13,21,38,.06), 0 3px 10px -4px rgba(13,21,38,.08);
  --shadow: 0 14px 34px -16px rgba(10,27,49,.28), 0 4px 14px -8px rgba(10,27,49,.14);
  --shadow-lg: 0 48px 90px -36px rgba(8,22,42,.52), 0 16px 40px -22px rgba(8,22,42,.28);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--navy); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 1.5px; background: currentColor; opacity: .55; display: inline-block;
}
.head .eyebrow, .hero .eyebrow { justify-content: center; }
.head .eyebrow::before, .head .eyebrow::after { content: ""; width: 20px; height: 1.5px; background: currentColor; opacity: .55; }

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  line-height: 1.1; letter-spacing: -0.025em; color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }

.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.58; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad-gold); color: #3a2600; box-shadow: 0 8px 22px -8px rgba(240,153,15,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(240,153,15,.75), inset 0 1px 0 rgba(255,255,255,.5); color: #3a2600; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(13,21,38,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Sora'; font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.brand .logo { width: 34px; height: 34px; }
.brand small { display: block; font-family: 'IBM Plex Mono'; font-size: 10px; font-weight: 500; color: var(--faint); letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 440px at 82% -8%, rgba(245,166,35,.22), transparent 60%),
    radial-gradient(760px 520px at 8% 8%, rgba(31,158,143,.20), transparent 62%),
    var(--grad-navy);
  color: #eaf1fb;
}
.hero .container { position: relative; z-index: 2; padding-top: 108px; padding-bottom: 104px; text-align: center; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 { color: #fff; max-width: 17ch; margin: 20px auto 0; }
.hero h1 .grad { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c3d2e6; max-width: 60ch; margin: 22px auto 0; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 20px; font-family: 'IBM Plex Mono'; font-size: 12px; letter-spacing: .5px; color: #7d93b4; }
.hero-grid-pattern {
  position: absolute; inset: 0; opacity: .5; z-index: 1;
  background-image: linear-gradient(rgba(126,163,214,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(126,163,214,.16) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 72%);
}

/* hero product visual (framed app screenshot) */
.hero-visual { position: relative; z-index: 2; max-width: 1000px; margin: 64px auto 0; padding: 0 4px; }
.appframe {
  border-radius: 14px; overflow: hidden;
  background: #0d1117; border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.appframe .abar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #161d26; border-bottom: 1px solid rgba(255,255,255,.06); }
.appframe .abar i { width: 10px; height: 10px; border-radius: 50%; background: #39424e; display: block; }
.appframe .abar span { font-family: 'IBM Plex Mono'; font-size: 11px; color: #7d8aa0; margin-left: 10px; }
.appframe img { width: 100%; height: auto; display: block; }

/* ---------- Stat row ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat { text-align: center; background: #fff; padding: 30px 18px; }
.stat .n { font-family: 'Sora'; font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(150deg, var(--navy-3), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 7px; }

/* ---------- Section heading ---------- */
.head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.head h2 { margin-top: 14px; }
.head .lead { margin-top: 16px; }
.head.left { margin-left: 0; text-align: left; }
.head.left .eyebrow { justify-content: flex-start; }
.head.left .eyebrow::after { display: none; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.product-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-gold); opacity: 0; transition: opacity .22s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 25px; box-shadow: inset 0 0 0 1px rgba(13,21,38,.05), var(--shadow-sm);
}
.product-card h3 { margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.product-card .more { margin-top: 20px; font-weight: 600; color: var(--gold-dark); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease; }
.product-card:hover .more { gap: 11px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-family: 'IBM Plex Mono'; font-size: 11px; font-weight: 600; letter-spacing: .4px;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.badge-live { background: #dcfce7; color: #137a48; box-shadow: inset 0 0 0 1px rgba(19,122,72,.14); }
.badge-beta { background: var(--gold-soft); color: var(--gold-dark); box-shadow: inset 0 0 0 1px rgba(191,125,11,.16); }
.badge-soon { background: #e9eef7; color: #3b5778; box-shadow: inset 0 0 0 1px rgba(59,87,120,.14); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(191,125,11,.12); }
.feature h3 { font-size: 17px; margin-bottom: 7px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex: none; width: 23px; height: 23px; border-radius: 7px;
  background: var(--grad-gold); color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
  box-shadow: 0 4px 10px -4px rgba(240,153,15,.5);
}

/* ---------- Split (text + panel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.panel {
  position: relative; overflow: hidden;
  background:
    radial-gradient(500px 300px at 90% -10%, rgba(245,166,35,.22), transparent 60%),
    var(--grad-navy);
  color: #eaf1fb; border-radius: var(--radius-lg); padding: 40px; min-height: 320px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.panel .eyebrow { color: var(--gold-2); }
.panel h3 { color: #fff; }
.phone-mock {
  border-radius: 28px; background: #0a1830; border: 8px solid #060f1f; aspect-ratio: 9/18;
  max-width: 240px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  color: #4a6a93; font-size: 14px; text-align: center; padding: 20px;
}

/* ---------- Product hero ---------- */
.phero { padding: 76px 0 60px; }
.phero .badge { margin-bottom: 18px; }
.phero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.phero .lead { margin-top: 18px; max-width: 56ch; }
.phero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(31,158,143,.26), transparent 60%),
    radial-gradient(600px 320px at 90% 120%, rgba(245,166,35,.24), transparent 60%),
    var(--grad-navy);
  color: #fff; border-radius: var(--radius-lg); padding: 64px; text-align: center;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d2e6; margin: 16px auto 30px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4d2e4; padding: 72px 0 32px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: 'IBM Plex Mono'; font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 18px; font-weight: 600; }
.site-footer a { display: block; color: #9fb2cc; font-size: 14px; margin-bottom: 11px; transition: color .15s ease; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #7d93b4; }
.footer-brand p { color: #8599b6; font-size: 14px; margin-top: 16px; max-width: 34ch; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #7d93b4; font-size: 13px;
}
.footer-bottom span:last-child { font-family: 'IBM Plex Mono'; }

/* ---------- Misc ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--muted); margin-bottom: 18px; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { margin: 0 0 18px 20px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.note {
  background: var(--gold-soft); border: 1px solid #f3dca8; border-left: 3px solid var(--gold); border-radius: 12px;
  padding: 15px 18px; font-size: 14px; color: #7a5a12;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--muted); }

/* ---------- Product screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow); margin: 0; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.shot:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.shot .bar { display: flex; align-items: center; gap: 6px; padding: 10px 13px; background: #0f1621; }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #39424e; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 14px 16px; font-size: 13.5px; color: var(--muted); }
.shot figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- Scroll reveal (JS-gated; content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product-grid, .feature-grid, .shots { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow);
  }
  .product-grid, .feature-grid, .shots { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .panel { padding: 30px 24px; }
  .footer-bottom { flex-direction: column; }
  .hero .container { padding-top: 76px; padding-bottom: 76px; }
  .hero-visual { margin: 44px auto 0; }
  .stat { padding: 24px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .product-card:hover, .shot:hover, .feature:hover { transform: none; }
}
