/* Thanthwe Technologies — thanthwe.africa
   Shared stylesheet. Brand: deep navy + gold (rock / solid ground). */

:root {
  --navy: #0b1f3a;
  --navy-2: #0f2a4a;
  --navy-3: #15355c;
  --ink: #0f172a;
  --muted: #5b6b80;
  --faint: #8a99ad;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --gold: #f4a623;
  --gold-dark: #d98a08;
  --gold-soft: #fdf1d8;
  --teal: #1f9e8f;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --shadow: 0 18px 40px -24px rgba(11, 31, 58, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

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

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

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.brand .logo { width: 32px; height: 32px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--faint); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--gold-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, var(--navy-3), transparent),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0a1830 100%);
  color: #eaf1fb;
}
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: #b9c8dc; max-width: 56ch; margin-top: 18px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-grid-pattern {
  position: absolute; inset: 0; opacity: .12; z-index: 1;
  background-image: linear-gradient(var(--gold) 1px, transparent 1px), linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 75% 10%, #000, transparent 60%);
}

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .n { font-size: 34px; font-weight: 800; color: var(--navy); }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Section heading ---------- */
.head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.head .lead { margin-top: 14px; }
.head.left { margin-left: 0; text-align: left; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 24px;
}
.product-card h3 { margin-bottom: 6px; }
.product-card p { color: var(--muted); font-size: 15px; flex: 1; }
.product-card .more { margin-top: 18px; font-weight: 600; color: var(--gold-dark); font-size: 14px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
}
.badge-live { background: #dcfce7; color: #16794a; }
.badge-beta { background: var(--gold-soft); color: var(--gold-dark); }
.badge-soon { background: #e8eef7; color: #3b5778; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px;
}
.feature .fi { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-dark); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ---------- Split (text + panel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel {
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #eaf1fb;
  border-radius: 20px; padding: 36px; min-height: 320px; box-shadow: var(--shadow);
}
.panel .eyebrow { color: var(--gold); }
.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: 72px 0 56px; }
.phero .badge { margin-bottom: 16px; }
.phero h1 { font-size: clamp(32px, 4.4vw, 48px); }
.phero .lead { margin-top: 16px; max-width: 54ch; }
.phero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: 24px; padding: 56px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c8dc; margin: 14px auto 28px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4d2e4; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.site-footer a { display: block; color: #a9bbd2; font-size: 14px; margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #91a6c2; font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #7f95b3; font-size: 13px;
}

/* ---------- 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 #f0d9a6; border-radius: 12px;
  padding: 14px 16px; font-size: 14px; color: #7a5a12;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag { background: var(--bg-alt); 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: 20px; }
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.shot .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #cdd5df; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 12px 15px; font-size: 13.5px; color: var(--muted); }
.shot figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-grid, .feature-grid, .shots { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 24px;
  }
  .product-grid, .feature-grid, .shots { grid-template-columns: 1fr; }
  .cta-band, .panel { padding: 32px 22px; }
  .footer-bottom { flex-direction: column; }
}
