/* SMB marketing — mockup layouts with brand green (not blue) */

.page-smb {
  --smb-green: #137752;
  --smb-green-dark: #0f6344;
  --smb-green-deep: #0b4f36;
  --smb-mint: #ecfdf5;
  --smb-soft: #f3f5f7;
  --smb-line: #e5e7eb;
  --smb-muted: #667085;
  --smb-text: #0b1220;
  --smb-white: #ffffff;
  background: var(--smb-white);
  color: var(--smb-text);
}

.page-smb .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-smb .logo strong {
  color: var(--smb-green);
}

.page-smb .btn-primary,
.page-smb .btn.btn-primary {
  background: var(--smb-green);
  border-color: var(--smb-green);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 22px rgba(19, 119, 82, 0.28);
}

.page-smb .btn-primary:hover,
.page-smb .btn.btn-primary:hover {
  background: var(--smb-green-dark);
  border-color: var(--smb-green-dark);
}

.page-smb .btn-header {
  border-radius: 999px;
  padding: 10px 18px;
}

.page-smb .header-signin {
  color: var(--smb-text);
  font-weight: 700;
}

.page-smb .nav-link[aria-current="page"],
.page-smb .nav-link--cta {
  color: var(--smb-green) !important;
}

.smb-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1.5px solid #d0d5dd;
  background: #fff;
  color: var(--smb-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.smb-btn-ghost:hover {
  border-color: var(--smb-green);
  color: var(--smb-green);
  background: var(--smb-mint);
}

.smb-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1.5px solid #fff;
  background: #fff;
  color: var(--smb-green);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.smb-btn-white:hover {
  background: var(--smb-mint);
  color: var(--smb-green-dark);
}

.smb-btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.smb-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.smb-section {
  padding: clamp(4.25rem, 8vw, 6.75rem) 0;
}

.smb-section--soft {
  background: var(--smb-soft);
}

.smb-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smb-green);
}

.smb-h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--smb-text);
}

.smb-lead {
  margin: 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--smb-muted);
}

.smb-center {
  text-align: center;
}

.smb-center .smb-h2,
.smb-center .smb-lead,
.smb-center .smb-kicker {
  margin-left: auto;
  margin-right: auto;
}

.smb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.smb-center .smb-cta-row {
  justify-content: center;
}

/* ---- Hero (mockup: copy left, phone right) ---- */
.smb-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 5rem) 0 clamp(3rem, 6vw, 4.75rem);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(19, 119, 82, 0.1), transparent 55%),
    linear-gradient(180deg, #f7faf8 0%, #ffffff 62%);
}

.smb-hero-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.75rem);
  align-items: center;
}

@media (min-width: 960px) {
  .smb-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  }
}

.smb-brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--smb-text);
}

.smb-brand-mark strong {
  color: var(--smb-green);
}

.smb-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--smb-text);
  max-width: 16ch;
  animation: smb-rise 0.65s ease both;
}

.smb-hero .smb-lead {
  max-width: 42ch;
  animation: smb-rise 0.75s ease 0.06s both;
}

.smb-hero .smb-cta-row {
  animation: smb-rise 0.8s ease 0.12s both;
}

.smb-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: smb-float-in 0.85s ease 0.1s both;
}

.smb-phone {
  position: relative;
  width: min(100%, 270px);
  border-radius: 36px;
  padding: 11px;
  background: #111827;
  box-shadow:
    0 28px 56px rgba(11, 18, 32, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.smb-phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 3;
}

.smb-phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  min-height: 460px;
}

.smb-phone-glow {
  position: absolute;
  inset: auto -18% -22% -18%;
  height: 48%;
  background: radial-gradient(ellipse at center, rgba(19, 119, 82, 0.28), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Review phone UI (homepage mockup) */
.smb-ui-reviews {
  padding: 36px 16px 18px;
}

.smb-ui-reviews__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.smb-ui-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--smb-mint);
  color: var(--smb-green);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.smb-ui-reviews__top strong {
  display: block;
  font-size: 0.82rem;
  color: var(--smb-text);
}

.smb-ui-reviews__top span {
  font-size: 0.7rem;
  color: var(--smb-muted);
}

.smb-ui-stars {
  color: #fdb022;
  letter-spacing: 1px;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.smb-ui-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.smb-ui-score b {
  font-size: 1.65rem;
  font-family: var(--font-display);
  color: var(--smb-text);
}

.smb-ui-score span {
  font-size: 0.75rem;
  color: var(--smb-muted);
}

.smb-ui-card {
  border: 1px solid var(--smb-line);
  border-radius: 12px;
  padding: 10px 11px;
  margin-bottom: 8px;
  background: #fafafa;
}

.smb-ui-card strong {
  display: block;
  font-size: 0.72rem;
  margin-bottom: 4px;
  color: var(--smb-text);
}

.smb-ui-card p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--smb-muted);
}

.smb-ui-cta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 999px;
  background: var(--smb-green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

/* QR phone UI (reputation mockup) */
.smb-ui-qr {
  padding: 40px 16px 18px;
  text-align: center;
}

.smb-ui-qr__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--smb-mint);
  color: var(--smb-green);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.smb-ui-qr h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--smb-text);
}

.smb-ui-qr > p {
  margin: 0 0 16px;
  font-size: 0.75rem;
  color: var(--smb-muted);
}

.smb-ui-qr__code {
  width: 148px;
  height: 148px;
  margin: 0 auto 14px;
  border-radius: 16px;
  border: 1px solid var(--smb-line);
  background:
    linear-gradient(90deg, #0b1220 8px, transparent 8px) 0 0 / 16px 16px,
    linear-gradient(#0b1220 8px, transparent 8px) 0 0 / 16px 16px,
    #fff;
  box-shadow: inset 0 0 0 10px #fff;
}

.smb-ui-qr__link {
  font-size: 0.68rem;
  color: var(--smb-green);
  font-weight: 700;
  word-break: break-all;
}

/* ---- Pillars (3 cards) ---- */
.smb-pillars {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.4rem;
}

@media (min-width: 768px) {
  .smb-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.smb-pillar {
  padding: 1.55rem 1.35rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--smb-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.smb-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.smb-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--smb-mint);
  color: var(--smb-green);
  border: 1px solid rgba(19, 119, 82, 0.12);
}

.smb-pillar h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--smb-text);
}

.smb-pillar p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--smb-muted);
}

.smb-pillar a {
  display: inline-flex;
  margin-top: 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--smb-green);
}

.smb-pillar a:hover {
  text-decoration: underline;
}

/* ---- Our Tools (2 large cards) ---- */
.smb-tool-cards {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .smb-tool-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.smb-tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 190px;
  padding: 1.7rem 1.55rem 1.45rem;
  border-radius: 20px;
  border: 1px solid var(--smb-line);
  background: #fff;
  color: inherit;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.smb-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 119, 82, 0.45);
}

.smb-tool-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--smb-mint);
  color: var(--smb-green);
  margin-bottom: 0.25rem;
}

.smb-tool-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--smb-text);
}

.smb-tool-card p {
  margin: 0;
  color: var(--smb-muted);
  line-height: 1.55;
  flex: 1;
}

.smb-tool-card span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--smb-green);
}

/* ---- Feature grid 3x2 ---- */
.smb-feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .smb-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .smb-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.smb-feature-grid--2x2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 700px) {
  .smb-feature-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.smb-feature {
  padding: 1.25rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--smb-line);
  text-align: left;
}

.smb-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: var(--smb-mint);
  color: var(--smb-green);
}

.smb-feature h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--smb-text);
}

.smb-feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--smb-muted);
}

/* ---- Green CTA banner (mockup blue → brand green) ---- */
.smb-banner {
  padding: clamp(3.4rem, 7vw, 4.75rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 12% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #137752 0%, #0b4f36 100%);
  color: #fff;
}

.smb-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.smb-banner h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: #fff;
  text-transform: uppercase;
}

.smb-banner p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.smb-banner .smb-cta-row {
  margin-top: 0;
}

/* ---- Reputation QR split ---- */
.smb-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .smb-split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .smb-split--flip {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .smb-split--flip .smb-split-copy {
    order: 2;
  }
}

.smb-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.smb-checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--smb-text);
}

.smb-checklist li::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 28%, transparent 29%),
    var(--smb-green);
}

.smb-qr-panel {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--smb-line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.smb-qr-panel img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes smb-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes smb-float-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .smb-hero h1,
  .smb-hero .smb-lead,
  .smb-hero .smb-cta-row,
  .smb-hero-visual {
    animation: none !important;
  }
}
