/*
Theme Name: Inspayer Marketing Stable
Theme URI: https://inspayer.com
Author: Inspayer
Description: Stable lightweight marketing and SEO theme for Inspayer, linking shopping and customisation flows to store.inspayer.com.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: inspayer-marketing
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #020617;
  background: #f8fafc;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 12px 4%;
  background: #050505;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  min-height: 42px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 26px 6%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  min-height: 118px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img,
.site-footer img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
}

.brand span {
  display: grid;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: 3px;
}

.brand small {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 800;
  font-size: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navlinks a {
  text-decoration: none;
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid #111827;
  border-radius: 6px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  border: 1px solid #111827;
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 800;
}

.hero {
  min-height: 720px !important;
  display: flex;
  align-items: center;
  padding: 90px 7%;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-content {
  max-width: 700px;
}

.eyebrow,
.section-title span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .12);
  color: #2563eb;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}

.hero .eyebrow {
  background: rgba(255,255,255,.14);
  color: #fff;
}

.hero h1 {
  font-size: clamp(58px, 5.6vw, 86px);
  line-height: .95;
  letter-spacing: -3px;
  max-width: 760px;
  margin: 24px 0;
}

.hero p {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.65;
}

.buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 16px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 950;
  font-size: 16px;
}

.btn.primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, .25);
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,.72);
  color: #fff;
}

.trust {
  width: min(1680px, 92%);
  margin: -46px auto 70px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.trust div {
  display: grid;
  gap: 6px;
}

.trust strong {
  font-weight: 950;
}

.trust span {
  color: #475569;
  font-size: 14px;
}

.section {
  padding: 58px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -1px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  min-height: 360px !important;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: #f1f5f9;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2,6,23,.45) 100%);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 360px !important;
  object-fit: cover;
  transition: transform .35s ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card h3,
.category-card p {
  position: absolute;
  left: 24px;
  z-index: 1;
  margin: 0;
}

.category-card h3 {
  bottom: 56px;
  font-size: 28px;
}

.category-card p {
  bottom: 28px;
  font-size: 16px;
  font-weight: 850;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.steps div {
  min-height: 230px;
  padding: 34px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

body.home,
body.home .site-header,
body.home main,
body.home footer {
  width: 100%;
}

body.home .hero,
body.home .section,
body.home .bulk-cta,
body.home .ready {
  clear: both;
}

.steps span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 950;
}

.steps h3 {
  margin: 22px 0 10px;
}

.steps p,
.bulk-cta p,
.ready p,
.content-body {
  color: #334155;
  line-height: 1.7;
}

.bulk-cta {
  margin: 60px 5%;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(2,6,23,.96), rgba(15,23,42,.86)), #020617;
  color: #fff;
}

.bulk-cta h2,
.ready h2 {
  margin: 14px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.bulk-cta p {
  color: #dbeafe;
  max-width: 620px;
}

.org-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.org-list span {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  font-weight: 950;
}

.ready {
  margin: 60px 5%;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15,23,42,.08);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding: 58px 6%;
  background: #020617;
  color: #fff;
}

.site-footer p {
  color: #cbd5e1;
  max-width: 280px;
  line-height: 1.7;
}

.site-footer h3 {
  margin-top: 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
}

.site-footer a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 10px 0;
}

.page-shell {
  padding: 70px 6%;
}

.content-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 46px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.content-page h1 {
  margin-top: 0;
  font-size: clamp(36px, 5vw, 58px);
}

.post-card {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

.post-card h2 a {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .topbar {
    display: none;
  }

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

  .navbar {
    align-items: flex-start;
  }

  .navlinks {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    padding: 22px 6%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    align-items: flex-start;
    z-index: 20;
  }

  .nav-menu {
    display: grid;
    gap: 18px;
  }

  .navlinks.is-open {
    display: flex;
  }

  .trust,
  .category-grid,
  .steps,
  .bulk-cta,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .brand span {
    font-size: 22px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 620px;
    padding: 70px 6%;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .trust,
  .category-grid,
  .steps,
  .bulk-cta,
  .org-list,
  .ready,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .ready {
    display: grid;
  }

  .bulk-cta,
  .ready,
  .content-page {
    padding: 28px;
  }
}
