/* Your Brand — light-theme replica of tarsil.pk layout */
:root {
  color-scheme: light;
  --blue: #007BFF;
  --blue-dark: #046BD2;
  --navy: #0E2A47;
  --ink: #263238;
  --body: #334155;
  --muted: #64748B;
  --wash: #F4F8FB;
  --page: #FFFFFF;
  --line: #E3E5EB;
  --wa: #25D366;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans Pro", system-ui, sans-serif;
  --max: 1140px;
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--page) !important;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header — logo left, hamburger right on mobile */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff !important;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: .75rem;
}
.brand {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.125rem;
  color: var(--blue); flex-shrink: 0;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 6px; background: var(--blue);
  display: grid; place-items: center; color: #fff;
}
.brand-mark svg { width: 18px; height: 18px; }

.nav-toggle {
  width: 46px; height: 46px; border: 0; background: transparent;
  color: var(--blue-dark); display: grid; place-items: center; padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; background: currentColor;
  border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 64px;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: .5rem 1.25rem 1rem; box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.site-nav.open { display: block; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav a {
  display: block; padding: .85rem .25rem; color: var(--body);
  font-weight: 500; border-bottom: 1px solid var(--line); font-size: 1rem;
}
.site-nav a:hover, .site-nav a.active { color: var(--blue); }
.header-cta { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 15px 30px; border-radius: var(--r); font-size: 16px; font-weight: 400;
  font-family: var(--font-body); border: 0; transition: .15s; cursor: pointer;
  text-align: center; text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost {
  background: transparent; color: #fff; border: 3px solid #fff;
}
.btn-outline {
  background: #fff; color: var(--blue); border: 1.5px solid var(--blue);
}
.btn-block { width: 100%; }

/* Hero with photo + dark overlay */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 3rem 0 4.5rem; overflow: hidden; min-height: 520px;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #000;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}
.hero.solid .hero-bg { background-image: none !important; background-color: #000; }
.hero.solid .hero-bg::after { background: transparent; }
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-kicker {
  margin: 0 0 .85rem; font-size: .95rem; font-weight: 500; opacity: .95;
  font-family: var(--font-body);
}
.hero h1 {
  margin: 0 auto .85rem; font-family: var(--font-head); font-weight: 700;
  font-size: 30px; line-height: 1.2; max-width: 15ch;
}
.hero h1 .accent { color: var(--blue); }
.hero-lead {
  margin: 0 auto 1.4rem; max-width: 34rem; color: #E8EAED; font-size: .95rem;
}
.hero-actions {
  display: flex; flex-direction: column; gap: .75rem;
  max-width: 22rem; margin: 0 auto;
}
.page-hero {
  position: relative; color: #fff; text-align: center;
  padding: 3.25rem 0 3rem; overflow: hidden; min-height: 360px;
  display: flex; align-items: center;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; background: #111 center/cover no-repeat; }
.page-hero .hero-bg::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,.68); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .kicker { margin: 0 0 .75rem; font-size: .9rem; }
.page-hero h1 {
  margin: 0 auto .85rem; font-family: var(--font-head); font-weight: 700;
  font-size: 28px; line-height: 1.2; max-width: 16ch;
}
.page-hero p { margin: 0 auto; max-width: 36rem; color: #E5E7EB; font-size: .95rem; }

/* Stats overlapping card */
.stats-wrap { margin-top: -2.25rem; position: relative; z-index: 2; padding-bottom: .5rem; }
.stats-card {
  background: var(--wash); border-radius: var(--r);
  box-shadow: 0 2px 8px rgba(0,0,0,.12); padding: 1rem;
  display: flex; flex-direction: column; gap: .9rem;
}
.stat-row { display: flex; align-items: center; gap: .85rem; }
.stat-ico {
  width: 44px; height: 44px; border-radius: 10px; background: #E8F2FF;
  color: var(--blue); display: grid; place-items: center; flex-shrink: 0;
}
.stat-ico svg { width: 24px; height: 24px; }
.stat-val {
  margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.1;
}
.stat-lbl { margin: .15rem 0 0; color: var(--muted); font-size: .875rem; }

/* Sections */
.section { padding: 2.5rem 0; background: #fff; }
.section.wash { background: var(--wash); }
.section-title {
  margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--ink);
}
.section-title.center { text-align: center; }
.section-lead {
  margin: .65rem 0 1.25rem; color: var(--muted); font-size: .95rem;
}
.section-lead.center { text-align: center; max-width: 36rem; margin-left: auto; margin-right: auto; }
.dot-rule {
  display: flex; align-items: center; gap: 4px; margin: .65rem 0 1.15rem;
}
.dot-rule i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue); display: block;
}
.dot-rule b { width: 28px; height: 2px; background: var(--blue); display: block; }

/* Industries — image on top */
.industry-list { display: flex; flex-direction: column; gap: .9rem; }
.industry-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(14,42,71,.06);
}
.industry-card .art {
  aspect-ratio: 4/3; background: var(--wash); overflow: hidden;
}
.industry-card .art img { width: 100%; height: 100%; object-fit: cover; }
.industry-card .body { padding: .9rem 1rem 1.05rem; }
.industry-card h3 {
  margin: 0 0 .35rem; color: var(--blue); font-family: var(--font-head);
  font-size: 1.125rem; font-weight: 700;
}
.industry-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Reviews */
.review-list { display: flex; flex-direction: column; gap: .75rem; }
.review-card {
  background: #F7F8FA; border: 1px solid #EEF0F3; border-radius: 12px; padding: 1rem;
}
.review-top { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.review-name { margin: 0; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.review-meta { margin: .1rem 0 0; color: var(--muted); font-size: .75rem; }
.stars { color: #F4B400; letter-spacing: 1px; }
.review-card p { margin: .65rem 0 0; color: #4B5563; font-size: .9rem; }
.read-more { margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.verified {
  display: inline-flex; margin-top: .9rem; background: #0F5132; color: #fff;
  font-size: .75rem; font-weight: 600; padding: .35rem .65rem; border-radius: 6px;
}

/* Impact */
.impact {
  background: var(--navy); color: #fff; padding: 3rem 0; text-align: center;
}
.impact-grid { display: flex; flex-direction: column; gap: 1.35rem; }
.impact-val { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; }
.impact-lbl { margin: .25rem 0 0; opacity: .88; font-size: .875rem; }

/* Feature system */
.feat-visual {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14,42,71,.08); margin-bottom: .9rem; background: var(--wash);
  aspect-ratio: 16/10;
}
.feat-visual img { width: 100%; height: 100%; object-fit: cover; }
.feat-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem;
  box-shadow: 0 2px 8px rgba(14,42,71,.05); margin-bottom: .75rem;
}
.feat-panel h3 { margin: 0 0 .5rem; font-family: var(--font-head); color: var(--ink); font-size: 1.125rem; }
.feat-panel p { margin: 0; color: var(--muted); font-size: .95rem; }
.feat-tabs { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.feat-tab {
  text-align: left; border: 0; border-radius: 10px; padding: .75rem .9rem;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
  box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-head); cursor: pointer;
}
.feat-tab.active { background: var(--blue); color: #fff; box-shadow: none; }
.center { text-align: center; }

/* Use cases */
.usecase-list { display: flex; flex-direction: column; gap: 1.15rem; }
.usecase { display: flex; gap: .85rem; align-items: flex-start; }
.usecase-ico {
  width: 56px; height: 56px; border-radius: 50%; background: #fff;
  box-shadow: 0 6px 16px rgba(14,42,71,.08); color: var(--blue);
  display: grid; place-items: center; flex-shrink: 0;
}
.usecase-ico svg { width: 26px; height: 26px; }
.usecase h3 { margin: 0 0 .25rem; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.usecase p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Clients */
.client-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.client-logo {
  flex: 1 1 100px; min-height: 68px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--wash); display: grid; place-items: center; color: var(--muted);
  font-weight: 700; font-size: .8rem; font-family: var(--font-head);
}

/* Feature rows page */
.feat-row {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(14,42,71,.06); margin-bottom: 1rem;
}
.feat-row .shot { aspect-ratio: 16/10; background: var(--wash); }
.feat-row .shot img { width: 100%; height: 100%; object-fit: cover; }
.feat-row .copy { padding: 1rem; }
.icon-sq {
  width: 40px; height: 40px; border-radius: 10px; background: #E8F2FF; color: var(--blue);
  display: grid; place-items: center; margin-bottom: .65rem; font-weight: 700;
}
.feat-row h2 {
  margin: 0 0 .5rem; font-family: var(--font-head); font-size: 1.125rem; color: var(--ink);
}
.feat-row p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Pricing */
.price-card {
  background: #F7F8FA; border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem;
  box-shadow: 0 4px 14px rgba(14,42,71,.05); margin-bottom: 1rem;
}
.price-card .plan { margin: 0; color: var(--blue); font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.price-card .sub { margin: .2rem 0 .85rem; color: var(--muted); font-size: .875rem; }
.price-pill {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .4rem;
  background: #4A4E54; color: #fff; border-radius: 999px; padding: .75rem 1.1rem;
  font-weight: 700; margin-bottom: 1rem;
}
.price-pill .amt { font-size: 1.25rem; }
.price-pill .unit { font-size: .8rem; font-weight: 500; opacity: .9; }
.sale-tag {
  display: inline-block; background: var(--blue); color: #fff; font-size: .7rem;
  font-weight: 700; padding: .2rem .5rem; border-radius: 6px; margin-bottom: .4rem;
}
.price-card ul { display: grid; gap: .65rem; margin: 0 0 1rem; padding: 0; }
.price-card li {
  display: grid; grid-template-columns: 1.25rem 1fr; gap: .55rem; font-size: .9rem; color: var(--body);
}
.check {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted);
  color: var(--muted); display: grid; place-items: center; font-size: .65rem; margin-top: .15rem;
}
.include-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.include-card {
  background: var(--wash); border: 1px solid var(--line); border-radius: 12px; padding: 1rem;
}
.include-card h3 { margin: 0 0 .3rem; font-size: .95rem; color: var(--ink); font-family: var(--font-head); }
.include-card p { margin: 0; color: var(--muted); font-size: .875rem; }
.pricing-note { color: var(--muted); font-size: .875rem; margin: 0 0 1.1rem; }

/* CTA */
.cta-banner { background: var(--navy); color: #fff; padding: 2.5rem 0; }
.cta-inner { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.cta-banner h2 {
  margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  max-width: 16ch; line-height: 1.25;
}

/* Footer */
.site-footer { background: #F7F8FA; padding: 2.25rem 0 1.1rem; color: #565656; }
.footer-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-col h4 {
  margin: 0 0 .65rem; color: var(--navy); font-family: var(--font-head); font-size: .95rem;
}
.footer-col a, .footer-col li { display: block; padding: .28rem 0; font-size: .9rem; }
.footer-col a:hover { color: var(--blue); }
.contact-list li { display: flex; gap: .5rem; padding: .35rem 0; align-items: flex-start; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.socials span {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: .7rem; font-weight: 700;
}
.footer-bottom {
  margin-top: 1.5rem; padding-top: .9rem; border-top: 1px solid var(--line);
  text-align: center; font-size: .8rem; color: #7A7A7A;
}

/* Floaters */
.floaters {
  position: fixed; right: 14px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; gap: .55rem; align-items: flex-end;
}
.wa-btn, .top-btn {
  display: grid; place-items: center; color: #fff; border: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.2); text-decoration: none;
}
.wa-btn {
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa); font-weight: 700; font-size: .75rem;
}
.top-btn {
  width: 40px; height: 40px; border-radius: 8px; background: var(--blue); font-size: 1rem;
}

/* Desktop */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block !important; position: static; border: 0; box-shadow: none;
    padding: 0; background: transparent;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: .15rem 1rem; }
  .site-nav a { border: 0; padding: .35rem .2rem; font-size: .95rem; color: #565656; }
  .header-cta { display: inline-flex !important; padding: 10px 16px; font-size: 14px; font-weight: 600; }
  .header-inner { min-height: 72px; }
  .hero { min-height: 560px; padding: 4.5rem 0 5.5rem; }
  .hero h1 { font-size: 42px; max-width: 18ch; }
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
  .hero-actions .btn { width: auto; min-width: 180px; }
  .stats-card {
    flex-direction: row; flex-wrap: wrap; padding: 1.25rem .5rem;
  }
  .stat-row {
    flex: 1 1 22%; flex-direction: column; text-align: center;
    border-right: 1px solid var(--line); padding: .5rem;
  }
  .stat-row:last-child { border-right: 0; }
  .industry-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  }
  .review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .impact-grid {
    flex-direction: row; flex-wrap: wrap; justify-content: space-between;
  }
  .impact-grid > div { flex: 1 1 20%; }
  .feat-layout {
    display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; align-items: start;
  }
  .usecase-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem;
  }
  .client-row { display: grid; grid-template-columns: repeat(4, 1fr); }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid { flex-direction: row; gap: 2rem; }
  .footer-grid > * { flex: 1; }
  .pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .include-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .feat-row {
    display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  }
  .feat-row.reverse { grid-template-columns: 1fr 1.1fr; }
  .feat-row.reverse .copy { order: 1; }
  .feat-row.reverse .shot { order: 2; }
}

@media (max-width: 899.98px) {
  .header-inner { justify-content: space-between; }
  .header-cta, .site-nav:not(.open) { display: none !important; }
  .site-nav.open { display: block !important; }
  .nav-toggle { margin-left: auto; }
}
