/* =========================================================
   Ez Request a Quote, Hide Price — Marketing Site
   Design system: warm cream + deep green, premium & minimal
   ========================================================= */

:root {
  --primary: #0B6B43;
  --primary-dark: #084d31;
  --primary-light: #4f9c74;
  --accent: #a9cbb2;
  --accent-soft: #e4ede4;
  --bg: #f8f2e9;
  --bg-alt: #f1e8d8;
  --bg-card: #fffdf9;
  --charcoal: #211f1a;
  --charcoal-soft: #56534a;
  --charcoal-faint: #8a8577;
  --border: rgba(33, 31, 26, 0.09);
  --border-strong: rgba(33, 31, 26, 0.16);
  --white: #ffffff;
  --dark-section: #10241a;
  --dark-section-alt: #143024;
  --shadow-sm: 0 2px 8px rgba(33, 31, 26, 0.06);
  --shadow-md: 0 8px 30px rgba(33, 31, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(33, 31, 26, 0.12);
  --shadow-green: 0 20px 50px rgba(11, 107, 67, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

/* ---------- Subtle grid background ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(33, 31, 26, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(33, 31, 26, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(11, 107, 67, 0.15);
  padding: 7px 16px;
  border-radius: var(--radius-full);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: 18px;
  max-width: 720px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--charcoal-soft);
  max-width: 560px;
  margin-top: 18px;
  line-height: 1.65;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 64px;
}

.section-head.centered {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.centered .section-title,
.section-head.centered .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-pad {
  padding: 140px 0;
}

@media (max-width: 900px) {
  .section-pad { padding: 88px 0; }
  .container { padding: 0 22px; }
}

@media (max-width: 800px) {
  .section-pad { padding: 40px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(11, 107, 67, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
}
.btn-light:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn svg { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(248, 242, 233, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo img { width: 30px; height: 30px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--charcoal-soft);
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-actions .btn-primary { padding: 11px 22px; font-size: 14px; }
.nav-actions .btn-ghost { padding: 11px 20px; font-size: 14px; }

/* Hamburger -> X toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  z-index: 101;
  position: relative;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, width 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Laptop / small-desktop tightening ---------- */
@media (max-width: 1140px) {
  .nav-links { gap: 24px; }
}

/* ---------- Tablet: collapse to hamburger ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }
}

@media (max-width: 360px) {
  .nav-logo { font-size: 14px; gap: 8px; }
}

body.menu-open { overflow: hidden; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 110px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu > a {
  font-size: 24px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open > a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open > a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open > a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open > a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open > a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease) 0.32s, transform 0.5s var(--ease) 0.32s;
}
.mobile-menu.open .mobile-menu-actions { opacity: 1; transform: translateY(0); }
.mobile-menu-actions .btn { width: 100%; }

@media (max-width: 400px) {
  .mobile-menu { padding: 100px 22px 32px; }
  .mobile-menu a { font-size: 21px; }
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].in-view { transform: scale(1); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].in-view { transform: translateX(0); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: clamp(140px, 22vw, 190px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  margin-top: 26px;
}
.hero-headline .line { display: block; }
.hero-headline .accent-text { color: var(--primary); }
.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--charcoal-soft);
  max-width: 480px;
  margin-top: 26px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 44px;
  color: var(--charcoal-faint);
  font-size: 13.5px;
  flex-wrap: wrap;
  row-gap: 8px;
}
.hero-meta .stars { color: var(--primary); letter-spacing: 2px; }

/* hero mockup */
.hero-visual {
  position: relative;
  height: 620px;
  perspective: 1400px;
}
.hero-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.flow-card {
  position: absolute;
  width: clamp(180px, 42%, 240px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  will-change: transform;
}
.flow-card .fc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.flow-card .fc-label svg { width: 14px; height: 14px; flex-shrink: 0; }
.flow-card .fc-title { font-size: 14.5px; font-weight: 600; color: var(--charcoal); }
.flow-card .fc-sub { font-size: 12.5px; color: var(--charcoal-faint); margin-top: 4px; }
.flow-card .fc-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--primary);
}
#card-1 { top: 0%; left: 0%; }
#card-2 { top: 15%; left: 44%; }
#card-3 { top: 38%; left: 2%; }
#card-4 { top: 58%; left: 46%; }
#card-5 { top: 78%; left: 10%; }

.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flow-svg path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.6;
  stroke-dasharray: 6 6;
  opacity: 0.55;
}

/* ---------- Laptop: tighten grid gap ---------- */
@media (max-width: 1180px) {
  .hero .container { gap: 24px; grid-template-columns: 1fr 0.9fr; }
  .hero-visual { height: 560px; }
}

/* ---------- Small laptop / large tablet: keep cards beside the text, just tighter ---------- */
@media (max-width: 900px) {
  .hero .container { gap: 18px; grid-template-columns: 1.1fr 0.9fr; }
  .hero-visual { height: 480px; }
  .flow-card { width: clamp(140px, 46%, 190px); padding: 14px; }
  .flow-card .fc-title { font-size: 13px; }
  .flow-card .fc-sub { font-size: 11.5px; }
}

/* ---------- Phones: no room for side-by-side cards — hide them, center the text ---------- */
@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-headline { margin-top: 22px; }
  .hero-desc { max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-visual { display: none; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 6px; }
  .hero-meta span:nth-child(3) { display: none; }
}

/* =========================================================
   FEATURES GRID
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(11,107,67,0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease), background 0.4s ease;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); background: var(--primary); }
.feature-card:hover .feature-icon svg { stroke: #fff; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--charcoal-soft); line-height: 1.55; }

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* =========================================================
   WORKFLOW TIMELINE
   ========================================================= */
.workflow-wrap {
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none;
}
.workflow-wrap::-webkit-scrollbar { display: none; }
.workflow-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  min-width: 920px;
}
.workflow-line {
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-strong);
  z-index: 0;
}
.workflow-line-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 1.4s var(--ease);
}
.workflow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
}
.workflow-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--charcoal-faint);
  transition: all 0.5s var(--ease);
  margin-bottom: 18px;
}
.workflow-node svg { width: 22px; height: 22px; stroke: currentColor; }
.workflow-step.active .workflow-node {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 8px var(--accent-soft);
}
.workflow-step h4 { font-size: 14.5px; margin-bottom: 6px; }
.workflow-step p { font-size: 12.5px; color: var(--charcoal-faint); max-width: 130px; }

/* ---------- Tablet & below: no room to horizontal-scroll comfortably —
   switch to a simple vertical step list instead ---------- */
@media (max-width: 900px) {
  .workflow-wrap { overflow-x: visible; padding-bottom: 0; }
  .workflow-track {
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    gap: 26px;
  }
  .workflow-line { display: none; }
  .workflow-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0;
    gap: 18px;
  }
  .workflow-node { margin-bottom: 0; flex-shrink: 0; }
  .workflow-text { flex: 1; min-width: 0; }
  .workflow-step p { max-width: none; }
}

/* =========================================================
   SHOWCASE (alternating sticky-style)
   ========================================================= */
.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 90px 0;
  border-top: 1px solid var(--border);
}
.showcase-item:first-child { border-top: none; }
.showcase-item.reverse { direction: rtl; }
.showcase-item.reverse > * { direction: ltr; }
.showcase-item > * { min-width: 0; }
.showcase-text .eyebrow { margin-bottom: 20px; }
.showcase-text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.showcase-text p { color: var(--charcoal-soft); font-size: 1.05rem; margin-top: 18px; line-height: 1.7; max-width: 460px; }
.showcase-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.showcase-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--charcoal); }
.showcase-list svg { width: 18px; height: 18px; stroke: var(--primary); flex-shrink: 0; }

/* browser frame mockup */
.browser-frame {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.browser-frame:hover { transform: translateY(-6px) rotate(0deg) !important; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser-body { padding: 0; background: var(--bg-card); }
.browser-body img { width: 100%; display: block; }

.tilt-left { transform: rotate(-2.2deg); }
.tilt-right { transform: rotate(2.2deg); }

@media (max-width: 900px) {
  .showcase-item { grid-template-columns: 1fr; direction: ltr !important; gap: 34px; padding: 60px 0; }
  .showcase-item.reverse > * { direction: ltr; }
}

/* =========================================================
   HIDE PRICE TOGGLE
   ========================================================= */
.hp-toggle-shell {
  display: inline-flex;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.hp-toggle-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal-soft);
  transition: 0.3s ease;
}
.hp-toggle-btn.active { background: var(--primary); color: #fff; }
.hp-card { padding: 28px; }
.hp-product-img {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-alt));
  margin-bottom: 18px;
}
.hp-price { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.hp-price.hidden-price { filter: blur(0); }
.hp-lock-row { display: flex; align-items: center; gap: 8px; color: var(--charcoal-faint); font-size: 14px; margin-bottom: 14px; }
.hp-lock-row svg { width: 16px; height: 16px; }
.hp-btn-fake {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}
.hp-btn-fake.cart { background: var(--border-strong); color: var(--charcoal-soft); }
.hp-btn-fake.quote { background: var(--primary); color: #fff; }

/* Toggle states */
#hp-card[data-state="before"] .hp-price { display: block !important; }
#hp-card[data-state="before"] .hp-lock-row { display: none; }
#hp-card[data-state="before"] .hp-btn-fake.cart { display: block; }
#hp-card[data-state="before"] .hp-btn-fake.quote { display: none; }

#hp-card[data-state="after"] .hp-price { display: none !important; }
#hp-card[data-state="after"] .hp-lock-row { display: flex; }
#hp-card[data-state="after"] .hp-btn-fake.cart { display: none; }
#hp-card[data-state="after"] .hp-btn-fake.quote { display: block; }

/* =========================================================
   QUOTE FORM MOCKUP
   ========================================================= */
.qf-mock {
  padding: 30px;
}
.qf-field { margin-bottom: 14px; }
.qf-field label { font-size: 12px; font-weight: 600; color: var(--charcoal-faint); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 6px; }
.qf-field .qf-input {
  height: 42px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.qf-input .caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--primary);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.qf-submit {
  margin-top: 6px;
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* =========================================================
   DRAFT ORDER FLOW
   ========================================================= */
.draft-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 24px;
}
.draft-card {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.draft-card svg { 
  width: 32px; 
  height: 32px; 
  stroke: var(--primary); 
  flex-shrink: 0;
}
.draft-card span { 
  font-size: 13px; 
  font-weight: 600; 
  line-height: 1.3;
}
.draft-arrow { 
  color: var(--charcoal-faint); 
  flex-shrink: 0; 
}
.draft-arrow svg { 
  width: 20px; 
  height: 20px; 
}

@media (max-width: 700px) {
  .draft-flow {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .draft-card {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    padding: 16px;
    gap: 14px;
    text-align: left;
  }
  .draft-card svg {
    width: 28px;
    height: 28px;
  }
  .draft-card span {
    font-size: 14px;
  }
  .draft-arrow {
    transform: rotate(90deg);
  }
  .draft-arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   DASHBOARD SHOWCASE
   ========================================================= */
.dashboard-shell {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.dash-topbar .browser-bar { padding: 0; background: none; border: none; }
.dash-topbar .dash-title { font-size: 13px; font-weight: 600; color: var(--charcoal-soft); }
.dash-body { padding: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border);
}
.stat-card .stat-label { font-size: 12.5px; color: var(--charcoal-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-card .stat-num { font-size: 30px; font-weight: 800; margin-top: 10px; color: var(--charcoal); }
.stat-card .stat-num .unit { font-size: 16px; color: var(--charcoal-faint); font-weight: 600; }
.stat-card .stat-trend { font-size: 12.5px; color: var(--primary); font-weight: 600; margin-top: 6px; }

.dash-chart-row { grid-column: 1 / -1; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 20px; }
.chart-bars .bar { flex: 1; background: linear-gradient(180deg, var(--primary), var(--primary-light)); border-radius: 6px 6px 0 0; height: 0%; transition: height 1.4s var(--ease); }

.dash-table-wrap { grid-column: 1 / -1; }
table.quote-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.quote-table th { text-align: left; color: var(--charcoal-faint); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--border); text-transform: uppercase; font-size: 11px; letter-spacing: 0.04em; }
table.quote-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); color: var(--charcoal); }
.status-badge { display: inline-block; padding: 4px 11px; border-radius: var(--radius-full); font-size: 11.5px; font-weight: 600; }
.status-badge.pending { background: #f3e6c8; color: #8a6c1f; }
.status-badge.accepted { background: var(--accent-soft); color: var(--primary); }
.status-badge.sent { background: #dbe7f0; color: #2a6f95; }

@media (max-width: 900px) {
  .dash-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .dash-topbar {
    padding: 12px 16px;
  }
  .dash-topbar .dash-title {
    font-size: 11px;
  }
  .dash-body { 
    grid-template-columns: 1fr; 
    padding: 16px; 
    gap: 14px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-card .stat-label {
    font-size: 11px;
  }
  .stat-card .stat-num {
    font-size: 26px;
    margin-top: 8px;
  }
  .stat-card .stat-trend {
    font-size: 11.5px;
    margin-top: 5px;
  }
  .dash-chart-row {
    padding: 18px;
  }
  .chart-bars {
    height: 100px;
    gap: 6px;
    margin-top: 16px;
  }
  .chart-bars .bar {
    border-radius: 4px 4px 0 0;
  }
  
  /* Mobile table styling */
  .dash-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table.quote-table {
    font-size: 12px;
    min-width: 600px;
  }
  table.quote-table th {
    font-size: 10px;
    padding: 8px 10px;
  }
  table.quote-table td {
    padding: 10px;
  }
  .status-badge {
    font-size: 10px;
    padding: 3px 9px;
  }
}

/* =========================================================
   EMAIL AUTOMATION
   ========================================================= */
.email-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.email-tab {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  color: var(--charcoal-soft);
  transition: 0.3s ease;
}
.email-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.email-mock {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.email-mock-header { padding: 20px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.email-mock-logo { 
  width: 40px; 
  height: 40px; 
  border-radius: 9px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0;
}
.email-mock-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.email-mock-from { font-size: 13px; }
.email-mock-from strong { display: block; font-size: 14px; }
.email-mock-from span { color: var(--charcoal-faint); font-size: 12px; }
.email-mock-body { padding: 26px; }
.email-mock-body h4 { font-size: 18px; margin-bottom: 10px; }
.email-mock-body p { font-size: 14px; color: var(--charcoal-soft); margin-bottom: 16px; line-height: 1.6; }
.email-line-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.email-total-row { display: flex; justify-content: space-between; padding: 14px 0 0; font-weight: 700; font-size: 15px; }
.email-cta-btn { margin-top: 20px; width: 100%; text-align: center; padding: 13px; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 600; font-size: 14px; }

/* =========================================================
   WHY MERCHANTS GRID
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: 0.4s var(--ease);
}
.why-card:hover { background: var(--bg-card); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card .why-num { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--charcoal-soft); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 42s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testimonial-card {
  width: 360px;
  flex-shrink: 0;
  background: rgba(255,253,249,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.t-stars { color: var(--primary); font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card p { font-size: 14.5px; line-height: 1.65; color: var(--charcoal); margin-bottom: 22px; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); display:flex;align-items:center;justify-content:center; font-weight:700; color: var(--primary); font-size: 13px; }
.t-person strong { font-size: 13.5px; display: block; }
.t-person span { font-size: 12px; color: var(--charcoal-faint); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}
.faq-q .plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--charcoal); border-radius: 2px;
}
.faq-q .plus::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-q .plus::after { width: 2px; height: 14px; top: 4px; left: 10px; transition: transform 0.35s var(--ease); }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 4px 26px; font-size: 14.5px; color: var(--charcoal-soft); line-height: 1.65; max-width: 640px; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: var(--dark-section);
  border-radius: 40px;
  margin: 0 24px;
  padding: 110px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(11,107,67,0.5), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(79,156,116,0.35), transparent 45%);
  opacity: 0.8;
}
.final-cta-lines { position: absolute; inset: 0; opacity: 0.25; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: var(--accent); }
.final-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 20px; max-width: 680px; margin-left: auto; margin-right: auto; }
.final-cta p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-top: 18px; max-width: 520px; margin-left: auto; margin-right: auto; }
.final-cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
  animation: modalSlideIn 0.3s var(--ease);
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--charcoal-faint);
  transition: color 0.2s ease;
  border-radius: 8px;
}
.modal-close:hover {
  color: var(--charcoal);
  background: var(--bg-alt);
}
.modal-close svg {
  display: block;
}
.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-icon svg {
  stroke: var(--primary);
}
.modal-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.modal-content p {
  font-size: 15px;
  color: var(--charcoal-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}
.modal-thanks {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px !important;
}
.modal-content .btn {
  min-width: 140px;
}
@media (max-width: 500px) {
  .modal-content {
    padding: 32px 24px;
  }
  .modal-content h2 {
    font-size: 20px;
  }
  .modal-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
  .modal-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  padding: 80px 0 40px;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--charcoal-soft); max-width: 260px; line-height: 1.6; }
.footer-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal-faint); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--charcoal-soft); margin-bottom: 12px; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; font-size: 13px; color: var(--charcoal-faint); flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

/* misc */
.bg-alt-section { background: var(--bg-alt); }
.text-center { text-align: center; }

/* =========================================================
   LEGAL / POLICY PAGE
   ========================================================= */
.legal-hero { padding: 120px 0 40px; text-align: center; }
.legal-hero .last-updated { color: var(--charcoal-faint); font-size: 14px; margin-top: 14px; }
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 60px;
  max-width: 950px;
  margin: 0 auto 100px;
}
.legal-card .intro { padding: 20px 24px; background: var(--bg-alt); border-radius: var(--radius-sm); margin-bottom: 40px; font-size: 14.5px; color: var(--charcoal-soft); }
.legal-card .intro strong { color: var(--charcoal); }
.legal-card h2 { font-size: 22px; margin-top: 42px; margin-bottom: 14px; }
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card h3 { font-size: 16px; margin-top: 22px; margin-bottom: 10px; color: var(--primary); }
.legal-card p { font-size: 15px; color: var(--charcoal-soft); line-height: 1.75; margin-bottom: 14px; }
.legal-card ul { margin: 0 0 14px 0; display: flex; flex-direction: column; gap: 8px; }
.legal-card ul li { font-size: 15px; color: var(--charcoal-soft); line-height: 1.6; padding-left: 22px; position: relative; }
.legal-card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.legal-card a { color: var(--primary); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.25s ease; }
.legal-card a:hover { border-bottom-color: var(--primary); }
.legal-card .contact-info { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 20px 24px; margin-top: 10px; }
.legal-card .contact-info p { margin-bottom: 6px; }
.legal-back { text-align: center; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--border); }
@media (max-width: 700px) { .legal-card { padding: 32px 22px; } }

/* =========================================================
   DOCUMENTATION PAGE
   ========================================================= */
.docs-hero { padding: 160px 0 60px; text-align: center; }
.docs-hero .section-title { text-align: center; }
.docs-hero .section-desc { text-align: center; }
.docs-list-section { padding-bottom: 120px; }
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}
.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.doc-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.doc-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.doc-card:hover .doc-card-thumb img { transform: scale(1.06); }
.doc-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.doc-card-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(11, 107, 67, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.doc-card h3 { font-size: 18px; line-height: 1.35; }
.doc-card p { font-size: 14.5px; color: var(--charcoal-soft); line-height: 1.6; flex: 1; }
.doc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 6px;
}
.doc-card-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.doc-card:hover .doc-card-link svg { transform: translateX(4px); }

@media (max-width: 1024px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .docs-hero { padding: 130px 0 40px; }
  .docs-grid { grid-template-columns: 1fr; gap: 20px; }
}
