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

:root {
  /* ── BACKGROUNDS ── */
  --bg: #f5f6f8;
  --bg-card: rgba(255, 255, 255, 0.75);
  --surface: #ffffff;
  --border: rgba(99, 102, 144, 0.13);
  --border-mid: rgba(99, 102, 144, 0.22);

  /* ── TEXT ── */
  --text: #18181f;
  --text-mid: #44445a;
  --text-dim: #8888a4;

  /* ── PRIMARY: Deep Indigo → Violet (analogous, tight) ── */
  /* Color theory: indigo #3730a3 → violet #6d28d9 are 30° apart
     on the wheel — pure analogous harmony, very cohesive          */
  --indigo: #3730a3;
  --indigo-mid: #4f46e5;
  --violet: #6d28d9;
  --violet-light: #8b5cf6;
  --indigo-pale: rgba(79, 70, 229, 0.08);
  --indigo-glow: rgba(79, 70, 229, 0.18);

  /* ── ACCENT: Champagne Gold (split-complementary to blue-violet) ──
     Violet's complement is yellow-green; split-comp sits at
     yellow-orange (#d97706) → a warm, muted gold. Used sparingly
     as a prestige accent, not a second rainbow band.               */
  --gold: #b45309;
  --gold-mid: #d97706;
  --gold-light: #f59e0b;
  --gold-pale: rgba(217, 119, 6, 0.09);

  /* ── THE GRADIENT ──
     Tight analogous sweep: deep indigo → rich violet.
     Gold enters at ~55-60% for a warmer, more visible presence. */
  --grad: linear-gradient(118deg, #3730a3 0%, #4f46e5 32%, #7c3aed 57%, #c2820a 100%);
  --grad-text: linear-gradient(118deg, #312e81 0%, #4338ca 30%, #6d28d9 58%, #b45309 100%);
  --grad-subtle: linear-gradient(118deg, rgba(55, 48, 163, 0.1) 0%, rgba(109, 40, 217, 0.07) 55%, rgba(180, 83, 9, 0.06) 100%);

  /* ── SHADOWS ── */
  --shadow-sm: 0 1px 3px rgba(55, 48, 163, 0.05), 0 4px 14px rgba(55, 48, 163, 0.06);
  --shadow-md: 0 2px 8px rgba(55, 48, 163, 0.06), 0 8px 28px rgba(55, 48, 163, 0.09);
  --shadow-lg: 0 4px 14px rgba(55, 48, 163, 0.07), 0 18px 44px rgba(55, 48, 163, 0.12);

  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle cool-toned ambient gradient in BG */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 45% at 6% 0%, rgba(55, 48, 163, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 94% 90%, rgba(180, 83, 9, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 35% 25% at 50% 50%, rgba(109, 40, 217, 0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  height: 64px;
  background: rgba(245, 246, 248, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.55s ease both;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.35);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.nav-cta:hover {
  opacity: 0.87;
  transform: translateY(-1px);
  color: #fff !important;
}

main {
  position: relative;
  z-index: 1;
  padding-top: 66px;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 96px 6% 72px;
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-mid);
  background: var(--indigo-pale);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 30px;
  animation: fadeUp 0.6s 0.15s ease both;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo-mid);
  opacity: 0.7;
  flex-shrink: 0;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 22px;
  animation: fadeUp 0.6s 0.28s ease both;
}

h1 .grad-word {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.78;
  max-width: 590px;
  margin: 0 auto 44px;
  animation: fadeUp 0.6s 0.42s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.56s ease both;
}

/* Primary CTA — solid gradient, no glow/blur, clean */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--grad);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.87;
  transform: translateY(-2px);
}

/* Ghost CTA — frosted glass, clean border */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-mid);
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(79, 70, 229, 0.28);
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── STATS STRIP ── */
.stats-wrap {
  padding: 0 6% 72px;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeUp 0.6s 0.68s ease both;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.775rem;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.4;
}

/* ── PRODUCTS SECTION ── */
.products {
  padding: 20px 6% 96px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── PRODUCT CARD ── */
.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform 0.32s cubic-bezier(.22, .68, 0, 1.15), box-shadow 0.32s ease, border-color 0.32s;
  animation: fadeUp 0.7s ease both;
}

.product-card:first-child {
  animation-delay: 0.85s;
}

.product-card:last-child {
  animation-delay: 1.0s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Card A: indigo-dominant */
.card-indigo:hover {
  border-color: rgba(79, 70, 229, 0.32);
}

/* Card B: violet-dominant */
.card-violet:hover {
  border-color: rgba(109, 40, 217, 0.28);
}

/* Top accent bar */
.card-accent-bar {
  height: 3px;
  width: 100%;
}

.card-indigo .card-accent-bar {
  background: linear-gradient(90deg, var(--indigo), var(--indigo-mid));
}

.card-violet .card-accent-bar {
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
}

.card-body {
  padding: 32px 36px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.product-card:hover .card-icon {
  transform: scale(1.07);
}

.card-indigo .card-icon {
  background: linear-gradient(135deg, rgba(55, 48, 163, 0.12), rgba(79, 70, 229, 0.08));
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.card-violet .card-icon {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.card-indigo .card-badge {
  background: var(--indigo-pale);
  color: var(--indigo-mid);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.card-violet .card-badge {
  background: rgba(109, 40, 217, 0.07);
  color: var(--violet);
  border: 1px solid rgba(109, 40, 217, 0.18);
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-title-line {
  display: inline-block;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 26px;
}

/* ── MINI DASHBOARD MOCKUP ── */
.card-mock {
  margin: 0 36px 26px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(245, 246, 248, 0.7);
  overflow: hidden;
  height: 196px;
}

/* Fake window toolbar */
.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-mid);
  opacity: 0.5;
}

.mock-toolbar-spacer {
  flex: 1;
}

.mock-pill {
  width: 48px;
  height: 8px;
  border-radius: 100px;
  background: var(--border-mid);
  opacity: 0.4;
}

/* Mini stat cards (work order mock) */
.mock-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 12px 4px;
}

.mock-stat-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-stat-num {
  height: 14px;
  width: 55%;
  border-radius: 4px;
}

.mock-stat-num.indigo {
  background: rgba(79, 70, 229, 0.22);
}

.mock-stat-num.indigo.light {
  background: rgba(79, 70, 229, 0.1);
}

.mock-stat-num.amber {
  background: rgba(180, 83, 9, 0.18);
}

.mock-stat-num.slate {
  background: rgba(71, 85, 105, 0.18);
}

.mock-stat-lbl {
  height: 6px;
  width: 80%;
  border-radius: 100px;
  background: var(--border-mid);
  opacity: 0.4;
}

/* Checklist rows (asset tracker mock) */
.mock-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
}

.mock-check-row.checked {
  opacity: 0.55;
}

.mock-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-mid);
  background: transparent;
  position: relative;
}

.mock-checkbox.checked {
  background: rgba(109, 40, 217, 0.18);
  border-color: rgba(109, 40, 217, 0.3);
}

.mock-checkbox.checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 2.5px;
  width: 7px;
  height: 4px;
  border-left: 1.5px solid var(--violet);
  border-bottom: 1.5px solid var(--violet);
  transform: rotate(-45deg);
}

.mock-rows {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
}

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

.mock-avatar.indigo {
  background: rgba(79, 70, 229, 0.18);
}

.mock-avatar.indigo.light {
  background: rgba(79, 70, 229, 0.08);
}

.mock-avatar.violet {
  background: rgba(109, 40, 217, 0.18);
}

.mock-avatar.violet.light {
  background: rgba(109, 40, 217, 0.08);
}

.mock-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-line {
  height: 6px;
  border-radius: 100px;
  background: var(--border-mid);
  opacity: 0.55;
}

.mock-line.w-30 {
  width: 30%;
}

.mock-line.w-35 {
  width: 35%;
}

.mock-line.w-40 {
  width: 40%;
}

.mock-line.w-45 {
  width: 45%;
}

.mock-line.w-50 {
  width: 50%;
}

.mock-line.w-55 {
  width: 55%;
}

.mock-line.w-60 {
  width: 60%;
}

.mock-line.w-65 {
  width: 65%;
}

.mock-line.w-70 {
  width: 70%;
}

.mock-line.w-75 {
  width: 75%;
}

.mock-list-row .mock-line {
  flex-shrink: 0;
}

.mock-badge-block {
  width: 36px;
  height: 18px;
  border-radius: 100px;
  flex-shrink: 0;
}

.mock-badge-block.indigo {
  background: rgba(79, 70, 229, 0.14);
}

.mock-badge-block.violet {
  background: rgba(109, 40, 217, 0.14);
}

.mock-badge-block.amber {
  background: rgba(180, 83, 9, 0.12);
}

.mock-badge-block.slate {
  background: rgba(71, 85, 105, 0.1);
}

/* ── DIVIDER ── */
.card-divider {
  height: 1px;
  background: var(--border);
  margin: 0 36px;
}

/* ── FEATURES ── */
.card-features {
  padding: 22px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.845rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.58rem;
  font-weight: 900;
}

.card-indigo .feature-check {
  background: rgba(79, 70, 229, 0.1);
  color: var(--indigo-mid);
  border: 1px solid rgba(79, 70, 229, 0.18);
}

.card-violet .feature-check {
  background: rgba(109, 40, 217, 0.09);
  color: var(--violet);
  border: 1px solid rgba(109, 40, 217, 0.18);
}

/* ── CARD FOOTER ── */
.card-footer {
  padding: 4px 36px 32px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-card-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.825rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}

.card-indigo .btn-card-main {
  background: linear-gradient(118deg, var(--indigo), var(--indigo-mid));
}

.card-violet .btn-card-main {
  background: linear-gradient(118deg, var(--violet), var(--violet-light));
}

.btn-card-main:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-card-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.825rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-card-secondary:hover {
  border-color: rgba(79, 70, 229, 0.3);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.btn-card-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 0.825rem;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-mid);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-card-outline:hover {
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--indigo-mid);
  background: var(--indigo-pale);
}

/* ── TRUST BAR ── */
.trust {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 6%;
  text-align: center;
}

.trust-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(24, 24, 31, 0.2);
  transition: color 0.3s;
  cursor: default;
}

.trust-logo:hover {
  color: rgba(24, 24, 31, 0.45);
}

/* ── FOOTER ── */
footer {
  padding: 28px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-mid);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ── RESPONSIVE – replace existing media blocks ── */

@media (max-width: 820px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.875rem;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  .logo {
    font-size: 1rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  nav .nav-links li:not(:last-child) {
    display: none;
  }

  h1 {
    font-size: 2.6rem;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── NEW: fills the gap between 640 and 820 ── */
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ✅ REMOVED aspect-ratio: 1/1 — that was the root cause */
  .product-card {
    max-width: 100%;
    width: 100%;
  }

  .hero {
    padding: 52px 5% 44px;
  }

  .hero-sub {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    justify-content: center;
  }

  .stats-wrap {
    padding: 0 5% 52px;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat-num {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .card-body {
    padding: 24px 20px 0;
  }

  .card-features {
    padding: 18px 20px;
  }

  .card-footer {
    padding: 4px 20px 24px;
    flex-wrap: wrap;
  }

  .card-mock {
    margin: 0 20px 20px;
    height: 140px;
  }

  .card-divider {
    margin: 0 20px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-desc {
    font-size: 0.835rem;
  }

  .btn-card-main,
  .btn-card-secondary,
  .btn-card-outline {
    font-size: 0.8rem;
    padding: 9px 16px;
  }
}

@media (max-width: 380px) {

  /* Very small phones – hide decorative mock entirely */
  .card-mock {
    display: none;
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }
}

/* ── Trust Bar (home page audience section) ─────────────────────── */
.trust-bar {
  text-align: center;
  padding: 36px 6%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Scoped to .trust-bar so it doesn't override the original .trust-label */
.trust-bar .trust-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 20px;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: center;
}

.trust-list li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  font-family: 'Lato', sans-serif;
}

/* ── btn-secondary (ghost CTA on product pages) ─────────────────── */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-mid);
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-2px);
}