/* Mejabantu — platform marketing landing.
   Self-contained, no external CSS deps (Inter via Google Fonts in layout). */

:root {
  --brand-50:  #faf6f8;
  --brand-100: #f1e8ee;
  --brand-200: #e0cbd8;
  --brand-500: #8d6280;
  --brand-600: #714B67;
  --brand-700: #5d3d55;
  --brand-900: #2e1f2a;

  --gray-50:  #f7f7f8;
  --gray-100: #f1f1f3;
  --gray-200: #dfdfe4;
  --gray-300: #c8c8d0;
  --gray-400: #9c9ca8;
  --gray-500: #6c6c78;
  --gray-700: #36363f;
  --gray-800: #232329;
  --gray-900: #15151a;

  --bg: #fcfcfd;
  --border: #e6e6eb;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --shadow-md: 0 8px 24px -8px rgba(16,24,40,.12);
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--gray-900);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.muted { color: var(--gray-500); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(252,252,253,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--brand-600); color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* Text wrapper: outer brand centers icon vs this block; inner spans baseline-align. */
.brand-text { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand-name { font-weight: 700; letter-spacing: -0.01em; font-size: 16px; line-height: 1; }
.brand-tag  { font-size: 12px; color: var(--gray-500); line-height: 1; }
.header-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.header-nav a { color: var(--gray-700); transition: color .15s var(--ease); }
.header-nav a:hover { color: var(--gray-900); }
@media (max-width: 640px) {
  .brand-tag { display: none; }
  .header-nav a:not(.btn) { display: none; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: all .15s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-outline {
  background: #fff; color: var(--gray-800);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--gray-300); color: var(--gray-900); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 15% 0%, var(--brand-50), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, var(--brand-100), transparent 55%);
  z-index: -1;
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  margin: 0 0 20px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-ctas { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============ FEATURES ============ */
.features { padding: 72px 0; }
.section-title {
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 40px; height: 40px;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 16px; font-weight: 600;
  margin: 0 0 6px;
  color: var(--gray-900);
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.55;
}

/* ============ CTA ============ */
.cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #fff;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 {
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.cta p {
  font-size: 16px; color: rgba(255,255,255,0.78);
  margin: 0 0 24px;
}
.cta .btn-primary {
  background: #fff; color: var(--brand-700);
  font-weight: 600;
}
.cta .btn-primary:hover { background: var(--gray-100); }

/* ============ FOOTER ============ */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray-600);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand .brand-mark { width: 24px; height: 24px; border-radius: 6px; }
.footer-brand strong { font-weight: 600; color: var(--gray-900); }
