/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --bg:          #08090A;
  --bg-elevated: #0C0F0E;
  --bg-panel:    #0E1211;
  --ink:         #F4F6F5;
  --ink-muted:   #9BA8A3;
  --ink-faint:   #5C6B66;
  --brand:       #0F7058;
  --brand-bright:#18C795;
  --brand-deep:  #073C2E;
  --line:        rgba(244,246,245,0.08);
  --line-soft:   rgba(244,246,245,0.045);
  --glass-bg:    rgba(244,246,245,0.045);
  --radius-xl:   1.25rem;
  --radius-2xl:  1.5rem;
  --radius-3xl:  2rem;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(24,199,149,.28); color: #f4f6f5; }

.font-mono { font-family: 'JetBrains Mono', monospace; }
.text-brand-bright { color: var(--brand-bright) !important; }
.text-muted-ink    { color: var(--ink-muted) !important; }
.text-xs  { font-size: .75rem; }
.text-sm  { font-size: .875rem; }
.border-line { border-color: var(--line) !important; }
.py-section { padding-top: 6rem; padding-bottom: 6rem; }

/* ─────────────────────────────────────────────
   SHARED COMPONENTS
───────────────────────────────────────────── */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(24,199,149,.9);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  box-shadow: 0 0 0 1px rgba(244,246,245,.06), 0 8px 24px -8px rgba(15,112,88,.35);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--brand-bright);
  color: var(--bg);
  box-shadow: 0 0 0 1px rgba(244,246,245,.06), 0 20px 60px -20px rgba(15,112,88,.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: var(--line-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(20px);
  transition: border-color .3s, background .3s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: rgba(24,199,149,.4);
  background: rgba(255,255,255,.06);
  color: var(--ink);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 36rem;
}

.section-desc {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 36rem;
}

/* Skeleton atoms */
.skel {
  display: block;
  background: rgba(244,246,245,.1);
  border-radius: 9999px;
}
.skel-circle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(24,199,149,.2);
}
.skel-avatar {
  flex-shrink: 0;
  border-radius: 50%;
}

/* Mini bar chart */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  width: 100%;
}
.mini-chart .bar {
  flex: 1;
  border-radius: 2px;
  background: rgba(24,199,149,.18);
}
.mini-chart .bar.bar-highlight {
  background: linear-gradient(to top, #18C795, rgba(134,239,172,.6));
}

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
#navbar {
  z-index: 1000;
  transition: none;
}

.navbar-wrap {
  padding-top: 1.25rem;
  padding-bottom: 0;
  transition: padding .3s;
}
.navbar-wrap.scrolled { padding-top: .75rem; }

.navbar-inner {
  padding-top: .25rem;
  padding-bottom: .25rem;
  border-radius: 9999px;
  overflow: hidden;
  transition: background .3s, box-shadow .3s, padding .3s, border-color .3s;
  border: 1px solid transparent;
}
.navbar-inner.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line);
  box-shadow: 0 0 0 1px rgba(244,246,245,.06), 0 10px 30px -16px rgba(0,0,0,.6);
  padding-top: .625rem;
  padding-bottom: .625rem;
}

.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-link {
  padding: .5rem 1rem !important;
  font-size: .875rem;
  color: var(--ink-muted) !important;
  border-radius: 9999px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.nav-link:hover {
  color: var(--ink) !important;
  background: rgba(255,255,255,.06);
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--line-soft);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.08); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 998;
  /* Solid gradient instead of backdrop-filter — the blurred layer
     caused open lag and subpixel horizontal overflow in Chrome. */
  background: linear-gradient(160deg, #0c1211 0%, #08090a 55%, #060a09 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: all; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: 2rem;
  text-align: center;
}
.mobile-menu-logo {
  height: 40px;
  width: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(244,246,245,.06);
  color: var(--ink);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,.12); }
.mobile-nav-link {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: 1rem;
  transition: color .2s, background .2s;
}
.mobile-nav-link:hover,
.mobile-nav-link:active { color: var(--ink); background: rgba(255,255,255,.06); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10rem;
  padding-bottom: 6rem;
}

/* Glow blobs */
.glow-field {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
}
.blob-a {
  width: 640px; height: 640px;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,112,88,.3);
  will-change: transform;
}
.blob-b {
  width: 360px; height: 360px;
  top: 20%; right: 8%;
  background: rgba(24,199,149,.2);
  will-change: transform;
}
.blob-c {
  width: 280px; height: 280px;
  top: 45%; left: 6%;
  background: rgba(7,60,46,.4);
  animation: blobA 16s ease-in-out infinite;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244,246,245,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,246,245,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
}

@keyframes blobA {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.08); }
  66%      { transform: translate(-20px,20px) scale(.96); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.badge-pill {
  border-radius: 9999px;
  padding: .375rem 1rem;
  font-size: .8125rem;
  color: var(--ink-muted);
  cursor: default;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-top: 1.75rem;
}

.hero-desc {
  margin-top: 1.25rem;
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  line-height: 1.7;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Hero dashboard illustration — narrower, 16:9 */
.hero-illustration-wrap {
  margin-top: 4rem;
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-illustration-wrap .dashboard-shell {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: unset;
}
.hero-illustration-wrap .dash-collections {
  overflow: hidden;
}
.hero-illustration-wrap .mini-chart {
  height: 32px;
}

/* ─────────────────────────────────────────────
   DASHBOARD SKELETON (shared)
───────────────────────────────────────────── */
.dashboard-shell {
  display: flex;
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  background: #0b0e14;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

.dash-sidebar {
  width: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-right: 1px solid rgba(255,255,255,.05);
  background: #080a0f;
}
.dash-logo-dot {
  width: 22px; height: 22px;
  border-radius: 8px;
  background: rgba(24,199,149,.4);
  flex-shrink: 0;
}
.dash-nav-items { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dash-nav-active {
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(24,199,149,.3);
  box-shadow: 0 0 0 1px rgba(24,199,149,.4);
}
.dash-nav-item {
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
.dash-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(139,92,246,.3);
  flex-shrink: 0;
}

.dash-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-topbar {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: #0d1117;
}

.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.04);
}
.dash-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: #0f1420;
}
.dash-kpi::before {
  content: '';
  display: block;
  height: 6px; width: 48px;
  border-radius: 9999px;
  background: rgba(244,246,245,.08);
}
.dash-kpi::after {
  content: '';
  display: block;
  height: 18px; width: 38px;
  border-radius: 4px;
  background: var(--c, #34d399);
  opacity: .85;
}

.dash-body {
  display: grid;
  grid-template-columns: 1fr 120px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.dash-collections {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  padding: 12px;
  background: #0f1420;
}

.dash-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.05);
  background: #0b0e14;
}

.badge-status {
  flex-shrink: 0;
  height: 14px;
  width: 36px;
  border-radius: 9999px;
}
.badge-status.green  { background: rgba(52,211,153,.2); }
.badge-status.amber  { background: rgba(251,191,36,.2); }

.dash-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  border-left: 1px solid rgba(255,255,255,.05);
  background: #0f1420;
}
.action-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.05);
  background: #141b28;
}
.action-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(24,199,149,.2);
}

/* ─────────────────────────────────────────────
   PRESENCE STRIP
───────────────────────────────────────────── */
.presence-strip { background: rgba(12,15,14,.6); }
.stat-value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: .8125rem;
  color: var(--ink-muted);
  margin-top: .25rem;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────
   PRODUCTS
───────────────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  transition: border-color .4s, box-shadow .4s;
}
.product-card:hover {
  border-color: rgba(24,199,149,.3) !important;
  box-shadow: 0 0 0 1px rgba(244,246,245,.06), 0 0 60px rgba(24,199,149,.07) !important;
}
/* Fixed identical height so both illustrations line up regardless of content */
.product-illustration {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: #0b0e14;
  height: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.product-illustration .dashboard-shell {
  flex: 1;
  min-height: 0;
}
.product-illustration > .d-flex,
.product-illustration > .row,
.product-illustration > p {
  flex: 1;
}
.crm-illustration-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
  min-height: 0;
}
/* Text block below illustration fills remaining card height,
   so the CTA always sits flush with the bottom of the card
   regardless of how long each product's description is. */
.product-card > .mt-4 {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .product-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}
.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: .625rem;
  background: rgba(15,112,88,.15);
  color: var(--brand-bright);
  font-size: 1rem;
  transition: background .3s, box-shadow .3s;
}
.product-card:hover .product-icon {
  background: rgba(15,112,88,.25);
  box-shadow: 0 0 20px rgba(24,199,149,.25);
}
.badge-live {
  font-size: .6875rem;
  font-weight: 500;
  color: var(--brand-bright);
}
.badge-soon {
  font-size: .6875rem;
  font-weight: 500;
  color: var(--ink-faint);
}
.badge-coming-soon {
  font-size: .625rem;
  font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 2px 8px;
}
.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.product-desc { font-size: .875rem; line-height: 1.7; }
.product-cta {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
.product-card:hover .product-cta { color: var(--brand-bright); }

/* CRM illustration helpers */
.crm-col {
  border-radius: .75rem;
  background: rgba(255,255,255,.03);
  height: 100%;
}
.crm-card {
  height: 6px;
  border-radius: 9999px;
  background: rgba(24,199,149,.2);
  margin-bottom: 5px;
}
.crm-card:nth-child(even) { width: 70%; background: rgba(24,199,149,.13); }
.divider-gradient {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(24,199,149,.35), transparent);
}

/* ─────────────────────────────────────────────
   BENEFITS
───────────────────────────────────────────── */
.benefit-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(15,112,88,.1);
  filter: blur(130px);
  pointer-events: none;
}
.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  flex-shrink: 0;
  border-radius: .75rem;
  background: rgba(15,112,88,.15);
  color: var(--brand-bright);
  font-size: 1.125rem;
  transition: background .3s, box-shadow .3s;
}
.benefit-item:hover .benefit-icon {
  background: rgba(15,112,88,.25);
  box-shadow: 0 0 20px rgba(24,199,149,.3);
}
.benefit-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.benefit-desc { font-size: .875rem; line-height: 1.7; margin-top: .375rem; }

/* Phone mockup */
.phone-float { animation: float 5s ease-in-out infinite; }
.phone-shell {
  position: relative;
  width: 210px;
  background: #0b0e14;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 16px;
  background: #000;
  border-radius: 9999px;
  z-index: 2;
}
.phone-content { padding-top: 36px; }
.phone-topbar {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.phone-kpi {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.phone-kpi-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  background: #0f1420;
}
.phone-kpi-item::before {
  content: '';
  display: block;
  height: 5px; width: 36px;
  border-radius: 9999px;
  background: rgba(244,246,245,.08);
}
.phone-kpi-item::after {
  content: '';
  display: block;
  height: 14px; width: 32px;
  border-radius: 3px;
  background: var(--c, #34d399);
  opacity: .9;
}
.phone-chart-wrap { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
.phone-pipeline-wrap { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
.pipeline-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pipeline-bar { height: 6px; border-radius: 9999px; }
.phone-tasks-wrap { padding: 8px 10px; }
.phone-task-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  margin-bottom: 4px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.04);
  background: #0b0e14;
}

/* ─────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: 1px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  grid-template-columns: repeat(1,1fr);
}
@media (min-width: 576px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  padding: 1.75rem;
  background: var(--bg-panel);
  transition: background .3s, transform .15s ease, box-shadow .15s ease;
  cursor: default;
  position: relative;
  will-change: transform;
}
.service-card:hover { background: rgba(255,255,255,.03); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: .75rem;
  background: rgba(15,112,88,.15);
  color: var(--brand-bright);
  font-size: 1.125rem;
  transition: transform .3s, background .3s, box-shadow .3s;
}
.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(15,112,88,.25);
  box-shadow: 0 0 20px rgba(24,199,149,.3);
}
.service-title { font-size: 1rem; font-weight: 600; color: var(--ink); }
.service-desc  { font-size: .875rem; line-height: 1.7; }

/* ─────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────── */
.process-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(1,1fr);
}
@media (min-width: 576px) { .process-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 992px) { .process-grid { grid-template-columns: repeat(4,1fr); gap: 1.5rem; } }

.process-line {
  position: absolute;
  top: 1.5rem; left: 0; right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step-num {
  display: inline-block;
  font-size: .875rem;
  color: var(--brand-bright);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.step-title { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.step-desc { font-size: .875rem; line-height: 1.7; }

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.about-glow {
  position: absolute;
  left: -10%; top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(15,112,88,.14);
  filter: blur(130px);
  pointer-events: none;
}
.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  flex-shrink: 0;
  border-radius: .75rem;
  background: rgba(15,112,88,.15);
  color: var(--brand-bright);
  font-size: 1.125rem;
}
.about-point-title { font-size: 1rem; font-weight: 600; color: var(--ink); }
.about-point-desc  { font-size: .875rem; line-height: 1.7; }

/* ─────────────────────────────────────────────
   CTA
───────────────────────────────────────────── */
.cta-box {
  border-radius: 2rem;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 4rem 2rem;
}
@media (min-width: 576px) { .cta-box { padding: 6rem 3rem; } }
.cta-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2rem;
  pointer-events: none;
}
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
}
.cta-blob-a {
  width: 640px; height: 640px;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  background: rgba(15,112,88,.28);
}
.cta-blob-b {
  width: 320px; height: 320px;
  top: 10%; right: 5%;
  background: rgba(24,199,149,.18);
}
.cta-blob-c {
  width: 260px; height: 260px;
  bottom: -10%; left: 8%;
  background: rgba(7,60,46,.45);
  animation: blobA 18s ease-in-out infinite;
}
.cta-grid {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background-image:
    linear-gradient(to right, rgba(244,246,245,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,246,245,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-desc {
  font-size: .9375rem;
  line-height: 1.7;
  max-width: 34rem;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer-col-title {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-link {
  font-size: .875rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: var(--ink); }

/* ─────────────────────────────────────────────
   REVEAL ANIMATIONS
   Hero items stay visible — GSAP drives them.
   All other .reveal-item start hidden.
───────────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.21,.47,.32,.98), transform .7s cubic-bezier(.21,.47,.32,.98);
}
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero items use CSS keyframe animations — not reveal-item */
#hero .reveal-item {
  opacity: 0;
  transform: translateY(20px);
}
#hero .reveal-item.hero-anim {
  animation: heroFadeUp .8s cubic-bezier(.21,.47,.32,.98) forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroBlurUp {
  from { opacity: 0; filter: blur(14px); transform: translateY(20px); }
  to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
}
.hero-title.hero-anim {
  animation: heroBlurUp 1.1s cubic-bezier(.21,.47,.32,.98) forwards !important;
}


/* ─────────────────────────────────────────────
   SECTION headings — ensure left-align outside hero/benefits
───────────────────────────────────────────── */
#products .section-title,
#services .section-title,
#process  .section-title,
#about    .section-title { text-align: left; }

/* ─────────────────────────────────────────────
   BENEFITS — center heading (desktop)
───────────────────────────────────────────── */
#benefits .section-title,
#benefits .section-desc,
#benefits .eyebrow {
  margin-left: auto;
  margin-right: auto;
}
#benefits .section-title { max-width: 100%; }

/* ─────────────────────────────────────────────
   BENEFITS — unified flanked layout
───────────────────────────────────────────── */
.benefits-flanked {
  flex-wrap: nowrap;
  margin-top: 2rem !important;
}
.benefit-col {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .benefits-flanked { margin-top: 5rem !important; }
}

/* Tablet: shrink side columns */
@media (max-width: 991px) {
  .benefits-flanked { gap: 1.5rem; }
  .benefit-col { width: 160px !important; }
  .benefit-title { font-size: .875rem; }
  .benefit-desc { font-size: .75rem; }
  .benefit-icon { width: 2rem; height: 2rem; font-size: .875rem; }
}

/* Mobile: illustration first, then all details stacked in one column */
@media (max-width: 575px) {
  .benefits-flanked {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .phone-float { order: -1; }
  .benefit-col {
    width: 100% !important;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .benefit-col .benefit-item {
    flex-direction: row !important;
    margin-bottom: 0 !important;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE TWEAKS
───────────────────────────────────────────── */
@media (max-width: 767px) {
  .py-section { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-section { padding-top: 7rem; padding-bottom: 3rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .cta-box { padding: 3rem 1.25rem; }
  /* Benefits heading: left-align on mobile, stays centered on desktop */
  #benefits .text-center {
    text-align: left !important;
  }
  #benefits .section-title,
  #benefits .section-desc,
  #benefits .eyebrow {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 575px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-actions { display: none !important; }
  .dash-kpi-row { grid-template-columns: repeat(2,1fr); }
  .hero-illustration-wrap { margin-top: 2rem; overflow: visible; }
  /* Let the illustration grow to fit its content instead of being
     clipped by the fixed 16:9 aspect ratio at narrow widths */
  .hero-illustration-wrap .dashboard-shell {
    aspect-ratio: unset;
    height: auto;
  }
  .hero-illustration-wrap .dash-main,
  .hero-illustration-wrap .dash-body,
  .hero-illustration-wrap .dash-collections {
    overflow: visible;
  }
  .phone-kpi { grid-template-columns: repeat(2,1fr); }
  /* Phone mockup smaller on mobile */
  .phone-shell { width: 130px; height: 240px; }
  .phone-content { padding-top: 28px; }
}

/* Prevent any horizontal overflow.
   NOTE: never use 100vw here — 100vw includes the vertical
   scrollbar width in Chrome, pushing sections wider than the
   visible area and creating a stray horizontal scrollbar. */
section, footer, header { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
.dashboard-shell { min-height: 200px; }

/* Fix hero content centering on all sizes */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navbar height clearance */
@media (min-width: 768px) {
  .hero-section { padding-top: 9rem; }
}

/* ─────────────────────────────────────────────
   SAFARI / MOBILE PERFORMANCE
   Heavy blur and will-change cause FPS drops
   on iOS Safari — reduce on touch devices.
───────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Reduce blob blur so GPU doesn't choke */
  .blob { filter: blur(60px) !important; }
  .blob-a { width: 320px; height: 320px; }
  .blob-b { width: 200px; height: 200px; }
  .blob-c { width: 160px; height: 160px; }
  /* Remove costly will-change on mobile */
  .blob-a, .blob-b { will-change: auto !important; }
  /* Disable shimmer/icon animations on mobile to save frames */
  .skel { animation: none !important; }
  /* Simpler hero title animation — no blur filter (expensive on Safari) */
  .hero-title.hero-anim {
    animation: heroFadeUp 1s cubic-bezier(.21,.47,.32,.98) forwards !important;
  }
  /* Product card illustrations — ensure fully visible */
  .product-illustration { overflow: visible; }
  .product-card .dashboard-shell { min-height: 180px; }
  /* Remove GSAP parallax jank on product cards (JS disables it, CSS fallback) */
  .product-card { transform: none !important; }
  /* CTA blobs cheaper */
  .cta-blob { filter: blur(60px) !important; }
}


/* ─────────────────────────────────────────────
   BOOKING MODAL
───────────────────────────────────────────── */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,9,10,.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.booking-overlay.open { opacity: 1; pointer-events: all; }
.booking-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px);
  transition: transform .3s cubic-bezier(.21,.47,.32,.98);
  scrollbar-width: none;
}
.booking-panel::-webkit-scrollbar { display: none; }
.booking-overlay.open .booking-panel { transform: translateY(0); }
.booking-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(244,246,245,.07);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  width: 2rem; height: 2rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
  z-index: 1;
}
.booking-close:hover { background: rgba(244,246,245,.14); color: var(--ink); }

.booking-header {
  padding: 2rem 2rem 0;
  text-align: center;
}
.booking-icon-wrap {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  background: rgba(24,199,149,.12);
  border: 1px solid rgba(24,199,149,.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: var(--brand-bright);
}
.booking-title {
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em; margin: 0 0 .375rem;
}
.booking-desc { font-size: .875rem; color: var(--ink-muted); margin: 0; }

.booking-body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}

/* Step labels */
.booking-step-label {
  display: flex; align-items: center; gap: .625rem;
  font-size: .9375rem; font-weight: 600; color: var(--ink);
}
.booking-body .step-num {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: rgba(24,199,149,.15);
  border: 1px solid rgba(24,199,149,.3);
  color: var(--brand-bright);
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Horizontal date scroll */
.date-scroll-wrap {
  overflow: hidden;
  position: relative;
}
.date-scroll-wrap::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0; width: 3rem;
  background: linear-gradient(to right, transparent, var(--bg-panel));
  pointer-events: none;
}
.date-scroll {
  display: flex;
  gap: .625rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-right: 2rem;
}
.date-scroll::-webkit-scrollbar { display: none; }
.date-card {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: .25rem;
  padding: .875rem .75rem;
  min-width: 72px;
  border-radius: .875rem;
  border: 1px solid var(--line);
  background: rgba(244,246,245,.03);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  text-align: center;
}
.date-card:hover:not(.closed) { background: rgba(244,246,245,.07); }
.date-card.selected {
  background: rgba(24,199,149,.12);
  border-color: rgba(24,199,149,.5);
}
.date-card.closed { opacity: .4; cursor: default; }
.date-day {
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted);
}
.date-num {
  font-size: 1.5rem; font-weight: 700;
  line-height: 1; color: var(--ink);
  letter-spacing: -.03em;
}
.date-card.selected .date-num { color: var(--brand-bright); }
.date-card.closed .date-num { color: var(--ink-muted); }
.date-month {
  font-size: .6875rem; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.date-closed-label {
  font-size: .625rem; color: var(--ink-muted);
  letter-spacing: .05em; margin-top: .125rem;
}

/* Time slots */
.time-slots-wrap {
  border: 1px dashed var(--line);
  border-radius: .875rem;
  padding: 1rem;
  min-height: 60px;
}
.time-placeholder {
  font-size: .875rem; color: var(--ink-muted);
  text-align: center; margin: 0;
  line-height: 1.6;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.time-slot {
  background: rgba(244,246,245,.04);
  border: 1px solid var(--line);
  border-radius: .625rem;
  padding: .5rem .25rem;
  font-size: .8125rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  font-family: inherit;
}
.time-slot:hover { background: rgba(244,246,245,.08); color: var(--ink); }
.time-slot.selected {
  background: rgba(24,199,149,.12);
  border-color: rgba(24,199,149,.5);
  color: var(--brand-bright); font-weight: 500;
}

/* Details row */
.booking-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (max-width: 480px) { .booking-details-row { grid-template-columns: 1fr; } }
.booking-input-icon-wrap { position: relative; }
.booking-input-icon {
  position: absolute;
  left: .875rem; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: .9rem;
  pointer-events: none;
}
.booking-input {
  background: rgba(244,246,245,.04);
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: .75rem .875rem .75rem 2.375rem;
  color: var(--ink);
  font-size: .9rem;
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: border-color .2s;
}
.booking-input::placeholder { color: var(--ink-muted); }
.booking-input:focus { border-color: var(--brand-bright); }

.booking-error {
  font-size: .8125rem; color: #f87171; text-align: center;
}

/* Confirmation */
.booking-confirm {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.confirm-illustration { width: 100%; max-width: 220px; margin: 0 auto 1.5rem; }
.confirm-svg { width: 100%; height: auto; }
.confirm-badge {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(24,199,149,.15);
  border: 1px solid rgba(24,199,149,.4);
  color: var(--brand-bright);
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.confirm-title {
  font-size: 1.375rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em; margin: 0 0 .625rem;
}
.confirm-desc {
  font-size: .9375rem; color: var(--ink-muted);
  line-height: 1.6; margin: 0; max-width: 320px;
}
.confirm-slot {
  display: inline-block; margin-top: .5rem;
  font-size: .875rem; color: var(--brand-bright); font-weight: 500;
}

/* ─────────────────────────────────────────────
   LOOP ANIMATIONS & INTERACTIONS
───────────────────────────────────────────── */

/* Hero dashboard — gentle float */
@keyframes floatHero {
  0%,100% { transform: translateY(0) rotate(0deg); }
  30%     { transform: translateY(-8px) rotate(.3deg); }
  70%     { transform: translateY(-4px) rotate(-.2deg); }
}
#heroDashboard .dashboard-shell {
  animation: floatHero 7s ease-in-out infinite;
  transform-origin: center bottom;
}

/* Product illustration cards — alternate float */
@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.product-card:nth-child(1) .product-illustration { animation: floatA 6s ease-in-out infinite; }
.product-card:nth-child(2) .product-illustration { animation: floatB 7.5s ease-in-out infinite .8s; }

/* Skeleton shimmer on illustration bars */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.dashboard-shell .skel,
.crm-illustration-inner .skel,
.crm-card {
  background: linear-gradient(
    90deg,
    rgba(244,246,245,.06) 25%,
    rgba(244,246,245,.12) 50%,
    rgba(244,246,245,.06) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}

/* Stagger shimmer on each skel so it feels alive */
.dashboard-shell .skel:nth-child(2n)   { animation-delay: .3s; }
.dashboard-shell .skel:nth-child(3n)   { animation-delay: .6s; }
.dashboard-shell .skel:nth-child(4n)   { animation-delay: .9s; }

/* Service cards — subtle scale breathe on hover already handled by tilt;
   add a soft glow pulse on the icon */
@keyframes iconPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(24,199,149,.0); }
  50%     { box-shadow: 0 0 0 8px rgba(24,199,149,.08); }
}
.service-icon {
  animation: iconPulse 3s ease-in-out infinite;
}
.service-card:nth-child(2) .service-icon { animation-delay: .5s; }
.service-card:nth-child(3) .service-icon { animation-delay: 1s; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.5s; }
.service-card:nth-child(5) .service-icon { animation-delay: 2s; }
.service-card:nth-child(6) .service-icon { animation-delay: 2.5s; }


/* Product cards — hover lift */
.product-card {
  transition: transform .4s cubic-bezier(.21,.47,.32,.98), box-shadow .4s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -12px rgba(15,112,88,.18);
}

/* Presence strip stat values — subtle scale on count-up */
@keyframes statPop {
  0%   { transform: scale(.92); opacity: 0; }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}
.stat-value {
  display: inline-block;
  animation: statPop .6s cubic-bezier(.21,.47,.32,.98) both;
}

/* CRM kanban cards — subtle stagger float */
@keyframes cardBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}
.crm-card:nth-child(1) { animation: cardBob 4s ease-in-out infinite; }
.crm-card:nth-child(2) { animation: cardBob 4s ease-in-out infinite .7s; }
.crm-card:nth-child(3) { animation: cardBob 4s ease-in-out infinite 1.4s; }

/* Glow dot on brand elements */
@keyframes glowDot {
  0%,100% { opacity: .5; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.3); }
}
.product-icon {
  animation: glowDot 2.5s ease-in-out infinite;
}

/* Navbar Book a call button — subtle shimmer on idle */
@keyframes btnShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Hero mouse sparks */
@keyframes sparkFly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}
.hero-spark {
  position: fixed;
  border-radius: 50%;
  background: var(--brand-bright);
  pointer-events: none;
  z-index: 9999;
  transform-origin: center;
  animation: sparkFly .7s cubic-bezier(.21,.47,.32,.98) forwards;
  box-shadow: 0 0 6px var(--brand-bright);
}

/* Booking submit spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block;
  width: .9rem; height: .9rem;
  border: 2px solid rgba(8,9,10,.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}
