/* =========================================================
   Corporate Byo - Khanyisa Limited
   Single-page marketing site · plain HTML + CSS
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Theme tokens ---------- */
:root {
  --bg-900:   #111111;
  --bg-800:   #191919;
  --bg-700:   #222222;
  --brand-100: #fff0e0;
  --brand-200: #ffd4a0;
  --brand-300: #ffaa55;
  --brand-400: #ff8c1a;
  --brand-500: #e8720d;
  --brand-600: #c45c00;
  --slate-100: #f3f4f6;
  --slate-200: #e5e7eb;
  --slate-300: #d1d5db;
  --slate-400: #9ca3af;
  --slate-500: #6b7280;
  --white-04: rgba(255,255,255,0.04);
  --white-08: rgba(255,255,255,0.08);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --maxw: 1200px;
  --pad-x: 24px;
}

/* ---------- Base ---------- */
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-900);
  color: var(--slate-300);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-400); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: var(--slate-200);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ---------- Label (replaces chip on most sections) ---------- */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-400);
}

/* ---------- Section shell ---------- */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--white-04);
}
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 12px;
  line-height: 1.15;
}
.section-sub {
  margin-top: 12px;
  max-width: 600px;
  color: var(--slate-400);
  font-size: 15px;
}
.section-header.center { text-align: center; margin-inline: auto; max-width: 640px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17,17,17,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand span.accent-dot {
  color: var(--brand-400);
}
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--slate-400); font-size: 14px; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: none; }
@media (min-width: 768px) {
  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 88px;
  border-top: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.hero-inner { }
.hero-media { display: none; }
@media (min-width: 900px) {
  .hero-media { display: block; }
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--white-08);
  display: block;
  object-fit: cover;
}
.hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  color: var(--brand-400);
}
.hero p.lead {
  margin-top: 20px;
  color: var(--slate-400);
  font-size: 16px;
  line-height: 1.7;
}
.hero p.lead strong { color: var(--slate-200); font-weight: 600; }
.hero .ctas {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.hero .trust {
  margin-top: 40px;
  display: flex; gap: 0;
  flex-wrap: wrap;
  color: var(--slate-500);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.hero .trust span {
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid var(--white-08);
  line-height: 1;
}
.hero .trust span:last-child {
  border-right: none;
}
@media (min-width: 500px) {
  .hero .ctas { flex-direction: row; }
}

/* ---------- Cards / grids ---------- */
.card {
  background: var(--bg-800);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s ease;
}
.card:hover { border-color: rgba(232,114,13,0.35); }

.grid {
  display: grid;
  gap: 20px;
}
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Feature cards */
.feature-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(232,114,13,0.12);
  color: var(--brand-300);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { color: #fff; font-size: 16px; font-weight: 600; }
.feature-card p { margin-top: 8px; font-size: 14px; color: var(--slate-400); line-height: 1.6; }

/* ---------- Pricing ---------- */
.pricing-section { background: var(--bg-800); border-top: 1px solid var(--white-04); border-bottom: 1px solid var(--white-04); }
.plan { display: flex; flex-direction: column; }
.plan h3 { color: #fff; font-size: 18px; font-weight: 700; }
.plan .desc { margin-top: 6px; color: var(--slate-500); font-size: 14px; }
.plan .price {
  margin-top: 24px;
  display: flex; align-items: baseline; gap: 6px;
}
.plan .price .amount { color: #fff; font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.plan .price .per    { color: var(--slate-500); font-size: 14px; }
.plan ul { margin-top: 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--slate-400); }
.plan li::before {
  content: "✓";
  color: var(--brand-400);
  font-weight: 700;
  flex-shrink: 0;
}
.plan .btn { margin-top: 28px; }

.plan.featured {
  border-color: rgba(232,114,13,0.5);
  background: #1e1609;
}
.plan.featured .desc { color: var(--slate-400); }
.plan .badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  background: var(--brand-500);
  color: #fff; font-weight: 700; font-size: 11px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.plan-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pricing-note { margin-top: 32px; text-align: center; color: var(--slate-500); font-size: 12px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.about-copy p { margin-top: 14px; color: var(--slate-400); font-size: 15px; line-height: 1.7; }
.about-copy strong { color: var(--slate-200); font-weight: 600; }

.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--white-08); padding-top: 32px; }
.stat .n { color: #fff; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.stat .l { margin-top: 3px; color: var(--slate-500); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

.about-panel { display: flex; flex-direction: column; gap: 20px; }
.about-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--white-08);
  display: block;
}
.panel-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.why-list { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-list .check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(232,114,13,0.15);
  color: var(--brand-300);
  border-radius: 50%;
  font-weight: 700; font-size: 12px;
}
.why-list strong { color: var(--slate-200); }
.why-list span { color: var(--slate-400); }

/* ---------- Contact ---------- */
.contact-section { }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 3fr; } }

.contact-info { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--slate-400); }
.contact-info .row { display: flex; align-items: center; gap: 12px; }
.contact-info .icon {
  width: 34px; height: 34px;
  background: var(--bg-800);
  border: 1px solid var(--white-08);
  color: var(--brand-300);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info .icon svg { width: 16px; height: 16px; }
.contact-info a:hover { color: #fff; }

/* Form */
.form { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } }
.form .full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  margin-top: 7px;
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-900);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14px;
}
.form input::placeholder,
.form textarea::placeholder { color: var(--slate-500); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(232,114,13,0.15);
}
.form textarea { resize: vertical; min-height: 110px; }
.form-submit { margin-top: 4px; }
.form-status { margin-top: 12px; color: var(--brand-300); font-size: 14px; }
.form-status.hidden { display: none; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--white-04);
  padding: 32px 0;
}
.footer .container {
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .footer .container { flex-direction: row; } }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--slate-500); font-size: 13px; }
.footer-logo { font-weight: 800; font-size: 15px; color: var(--slate-300); letter-spacing: -0.01em; }
.footer-links { display: flex; gap: 24px; color: var(--slate-500); font-size: 13px; }
.footer-links a:hover { color: #fff; }
