/* =========================
   Nemadzivhanani IT Solutions
   Clean + Mobile-first
   ========================= */

:root{
  --bg: #0b1220;
  --surface: rgba(255,255,255,0.06);
  --card: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --border: rgba(255,255,255,0.12);

  --brand-1: #0e4f8f;
  --brand-2: #0a2e55;
  --brand-3: #0b6fd6;

  --shadow: 0 12px 30px rgba(0,0,0,0.25);
  --radius: 18px;
  --radius-sm: 14px;

  --container: 1100px;
}

@media (prefers-color-scheme: light){
  :root{
    --bg: #f6f8fc;
    --surface: rgba(16, 24, 40, 0.04);
    --card: rgba(16, 24, 40, 0.06);
    --text: rgba(10, 20, 35, 0.92);
    --muted: rgba(10, 20, 35, 0.68);
    --border: rgba(10, 20, 35, 0.12);
    --shadow: 0 12px 30px rgba(10,20,35,0.12);
  }
}

html[data-theme="dark"]{
  --bg: #0b1220;
  --surface: rgba(255,255,255,0.06);
  --card: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --border: rgba(255,255,255,0.12);
  --shadow: 0 12px 30px rgba(0,0,0,0.25);
}

html[data-theme="light"]{
  --bg: #f6f8fc;
  --surface: rgba(16, 24, 40, 0.04);
  --card: rgba(16, 24, 40, 0.06);
  --text: rgba(10, 20, 35, 0.92);
  --muted: rgba(10, 20, 35, 0.68);
  --border: rgba(10, 20, 35, 0.12);
  --shadow: 0 12px 30px rgba(10,20,35,0.12);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* -------------------------
   Buttons
   ------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 650;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); opacity: .95; }

.btn-primary{
  border-color: rgba(255,255,255,0.18);
  background: linear-gradient(135deg, var(--brand-3), var(--brand-1));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-ghost{
  background: rgba(255,255,255,0.06);
}

.btn-soft{
  background: rgba(255,255,255,0.08);
}

.icon-btn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.icon-btn:hover{ transform: translateY(-1px); }
.icon-btn:active{ transform: translateY(0px); }

/* -------------------------
   Header
   ------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(8, 14, 26, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (prefers-color-scheme: light){
  .site-header{ background: rgba(246,248,252,0.75); }
}
html[data-theme="light"] .site-header{ background: rgba(246,248,252,0.75); }
html[data-theme="dark"] .site-header{ background: rgba(8,14,26,0.55); }

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
}
.brand-text{ min-width: 0; }
.brand-name{
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.15;
  font-size: 15px;
}
.brand-tag{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.15;
  margin-top: 2px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links{
  display: none;
  align-items: center;
  gap: 18px;
  margin-right: 8px;
}
.nav-links a{
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

.nav-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle{ display: inline-flex; }

@media (min-width: 980px){
  .nav-links{ display: inline-flex; }
  .nav-toggle{ display: none; }
}

/* Mobile menu */
.mobile-menu{
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 14, 26, 0.65);
}
@media (prefers-color-scheme: light){
  .mobile-menu{ background: rgba(246,248,252,0.9); }
}
html[data-theme="light"] .mobile-menu{ background: rgba(246,248,252,0.9); }
html[data-theme="dark"] .mobile-menu{ background: rgba(8,14,26,0.65); }

.mobile-menu-inner{
  padding: 14px 0 18px;
  display: grid;
  gap: 8px;
}
.m-link{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  font-weight: 700;
  color: var(--text);
}
.mobile-actions{
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
@media (max-width: 520px){
  .mobile-actions{ grid-template-columns: 1fr; }
}

/* -------------------------
   Hero
   ------------------------- */
.hero{
  position: relative;
  padding: 46px 0 28px;
  background:
    linear-gradient(180deg, rgba(10, 46, 85, 0.92), rgba(14, 79, 143, 0.82)),
    url("../assets/hero.jpg");
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  overflow: hidden;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(60% 60% at 20% 20%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events:none;
}

.hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.hero-copy h1{
  font-size: 36px;
  line-height: 1.08;
  margin: 14px 0 10px;
  letter-spacing: -0.5px;
}
.lead{
  color: rgba(255,255,255,0.9);
  margin: 0 0 18px;
  font-size: 15.5px;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  font-weight: 750;
  font-size: 12.5px;
}

.cta-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cta-row .btn{ width: 100%; }
.cta-row .btn:last-child{ grid-column: 1 / -1; }

.micro{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.86);
  font-weight: 650;
  font-size: 12.5px;
}
.dot{ opacity: .7; }

.hero-card{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.hero-card h3{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.checklist{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 13.5px;
}
.checklist li{ margin: 8px 0; }

.hero-card-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.hero-divider{
  height: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.12));
}

@media (min-width: 980px){
  .hero{
    padding: 62px 0 40px;
  }
  .hero-grid{
    grid-template-columns: 1.25fr 0.85fr;
    gap: 26px;
    align-items: center;
  }
  .hero-copy h1{
    font-size: 48px;
  }
  .lead{ font-size: 16.5px; }
  .cta-row{
    display: inline-flex;
    gap: 10px;
  }
  .cta-row .btn{ width: auto; }
}

/* -------------------------
   Sections
   ------------------------- */
.section{
  padding: 56px 0;
}
.section-alt{
  background: var(--surface);
}
.section-head{
  text-align: center;
  margin-bottom: 22px;
}
.section-head h2{
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.sub{
  margin: 8px 0 0;
  color: var(--muted);
}

/* Cards grid */
.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px){
  .grid{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px){
  .grid{ grid-template-columns: 1fr 1fr 1fr; }
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
}
.card-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.card h3{ margin: 0 0 6px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); }

.link{
  display: inline-flex;
  margin-top: 10px;
  color: rgba(120, 190, 255, 0.95);
  font-weight: 750;
}
.link:hover{ text-decoration: underline; }

/* Why grid */
.grid-2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px){
  .grid-2{ grid-template-columns: 1fr 1fr; }
}
.note{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.note h3{ margin: 0 0 6px; }
.note p{ margin: 0; color: var(--muted); }

/* Steps */
.steps{
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.step{
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.step-num{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-1));
}
.step h3{ margin: 0 0 4px; }
.step p{ margin: 0; color: var(--muted); }

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 980px){
  .contact-grid{ grid-template-columns: 1.1fr 0.9fr; }
}

.contact-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-card h3{ margin: 0 0 6px; }
.small{ color: var(--muted); font-size: 13px; }

.fields{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 14px;
}
@media (min-width: 720px){
  .fields{ grid-template-columns: 1fr 1fr; }
  .span2{ grid-column: 1 / -1; }
}

label{ display: grid; gap: 6px; font-weight: 700; color: var(--muted); }
input, textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(120,190,255,0.65);
}

.contact-side{
  display: grid;
  gap: 14px;
}
.mini, .cta-box{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.mini a{ text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer{
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: grid;
  gap: 10px;
}
@media (min-width: 900px){
  .footer{
    grid-template-columns: 1.2fr 1fr 0.8fr;
    align-items: center;
  }
}
.footer-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a{
  color: var(--muted);
  font-weight: 750;
}
.footer-links a:hover{ text-decoration: underline; }

/* -------------------------
   Reveal animation (lightweight)
   ------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  .btn, .card, .icon-btn{ transition: none; }
}
