/* =========================================================
   BrandLeaf CRM — Marketing Site Styles
   ========================================================= */

:root {
  --green: #7ac142;
  --green-light: #9bd868;
  --green-dark: #5a9c2d;
  --green-darker: #4a8123;
  --green-tint: #eef7e6;
  --green-tint-2: #f5faf0;
  --charcoal: #221f20;
  --charcoal-soft: #3a3536;
  --text-body: #4b5259;
  --text-muted: #7a8087;
  --border: #e6e8e3;
  --white: #ffffff;
  --bg-alt: #f8faf6;
  --blue: #4f8ef7;
  --yellow: #f2b632;
  --purple: #9b7ff2;

  --gradient-primary: linear-gradient(135deg, var(--green-light) 0%, var(--green) 45%, var(--green-dark) 100%);
  --gradient-dark: linear-gradient(160deg, #2a2627 0%, var(--charcoal) 55%, #171415 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(34, 31, 32, 0.06);
  --shadow-md: 0 12px 32px rgba(34, 31, 32, 0.10);
  --shadow-lg: 0 24px 60px rgba(34, 31, 32, 0.14);
  --shadow-green: 0 10px 24px rgba(90, 156, 45, 0.32);
  --shadow-green-lg: 0 18px 40px rgba(90, 156, 45, 0.4);
  --container: 1180px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

::selection { background: var(--green); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--charcoal);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin: 0 0 16px; }

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

ul { margin: 0; padding: 0; list-style: none; }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-primary {
  position: relative;
  background: var(--green);
  color: var(--white);
  /* Flat brand green + thin inset highlight/shadow lines reads as a glossy
     pill without ever mixing a lighter tone into the fill itself — a
     multi-stop gradient always lands its lightest stop somewhere on the
     rounded edge, which shows up as a stray patch of different green. */
  box-shadow: var(--shadow-green), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
  z-index: 1;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green-lg), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:active { transform: translateY(-1px); }
.btn-outline {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline-light {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-3px); }
.btn-ghost {
  color: var(--charcoal);
  background: transparent;
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--green-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(34,31,32,0.05);
}
.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
/* On desktop the wrapper exists only so the mobile dropdown can group nav
   links + CTAs together; dissolve it here so both become direct flex
   siblings of header-inner again (brand | nav | cta, space-between). */
.nav-wrapper {
  display: contents;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo { width: 34px; height: 34px; object-fit: contain; transition: transform 0.3s var(--ease-out); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.brand-name-accent { color: var(--green); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease-out);
}
.main-nav a:hover { color: var(--green-dark); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-active { color: var(--green-dark); }
.main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Hamburger that morphs into an X — each bar is absolutely positioned so
   the top/bottom bars can rotate into an overlapping cross while the
   middle bar fades out. */
.nav-toggle {
  position: relative;
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: top 0.3s var(--ease-out), transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.site-header.nav-open .nav-toggle span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scale(0);
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(34,31,32,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 0%, transparent 75%);
}
.hero-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-blob-1 {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(122,193,66,0.35) 0%, rgba(122,193,66,0) 70%);
}
.hero-blob-2 {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(79,142,247,0.16) 0%, rgba(79,142,247,0) 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-darker);
  background: var(--green-tint);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-dark);
  flex-shrink: 0;
}
.eyebrow.center { margin-left: auto; margin-right: auto; }

.text-gradient {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub { font-size: 1.1rem; color: var(--text-body); max-width: 54ch; }
.hero-sub-2 { font-size: 1rem; color: var(--text-muted); max-width: 52ch; }

.hero-actions { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }

.hero-checklist { display: grid; gap: 12px; }
.hero-checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 0.96rem;
  color: var(--charcoal-soft);
}
.hero-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Hero visual: kanban mock ---------- */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(circle, rgba(122,193,66,0.28) 0%, rgba(122,193,66,0) 72%);
  filter: blur(30px);
  z-index: 0;
}
.board-mock {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1deg);
  animation: floaty 7s ease-in-out infinite;
  transition: transform 0.4s var(--ease-out);
}
.hero-visual:hover .board-mock { animation-play-state: paused; transform: rotate(0deg) translateY(-4px); }
@keyframes floaty {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .board-mock { animation: none; }
}
.board-mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.board-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #f16a5f; }
.dot-yellow { background: #f2b632; }
.dot-green { background: #7ac142; }
.board-mock-title {
  margin-left: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.board-mock-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.board-toolbar-stat {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--charcoal-soft);
  margin-right: auto;
}
.board-toolbar-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}
.board-toolbar-add {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  padding: 5px 12px;
  border-radius: 999px;
}
.board-mock-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
}
.board-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  padding: 0 2px;
}
.board-col-head em { font-style: normal; background: var(--border); border-radius: 999px; padding: 1px 7px; }

.board-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.card-yellow { border-left-color: var(--yellow); }
.card-green { border-left-color: var(--green); }
.card-purple { border-left-color: var(--purple); }
.card-active { border-left-color: var(--green); box-shadow: var(--shadow-md); }

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green-darker);
  background: var(--green-tint);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.card-title { margin: 0 0 2px; font-weight: 700; font-size: 0.88rem; color: var(--charcoal); }
.card-desc { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.card-footer { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.card-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-avatar.avatar-blue { background: var(--blue); }
.card-avatar.avatar-yellow { background: var(--yellow); }
.card-avatar.avatar-purple { background: var(--purple); }
.card-avatar.avatar-green { background: var(--green-dark); }
.card-time { font-size: 0.72rem; color: var(--text-muted); }

.board-card-ghost {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.hero-visual:hover .board-card-ghost {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-tint-2);
}

/* ---------- Who it's for strip ---------- */
.who-strip {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.who-strip-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.who-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
.who-strip-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s ease;
}
.who-strip-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}
.who-strip-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--green);
}

/* ---------- Stats strip ---------- */
.stats-strip {
  position: relative;
  background: var(--gradient-dark);
  padding: 56px 0;
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,193,66,0.25) 0%, rgba(122,193,66,0) 70%);
  filter: blur(70px);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-item { text-align: center; }
.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: rgba(122,193,66,0.15);
  border: 1px solid rgba(122,193,66,0.3);
  position: relative;
}
.stat-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.stat-icon[data-icon="infinity"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.178 8c5.096 0 5.096 8 0 8-5.095 0-7.26-8-12.356-8-5.095 0-5.095 8 0 8 5.096 0 7.26-8 12.356-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.178 8c5.096 0 5.096 8 0 8-5.095 0-7.26-8-12.356-8-5.095 0-5.095 8 0 8 5.096 0 7.26-8 12.356-8z'/%3E%3C/svg%3E"); }
.stat-icon[data-icon="server"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cline x1='6' y1='6' x2='6.01' y2='6'/%3E%3Cline x1='6' y1='18' x2='6.01' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cline x1='6' y1='6' x2='6.01' y2='6'/%3E%3Cline x1='6' y1='18' x2='6.01' y2='18'/%3E%3C/svg%3E"); }
.stat-icon[data-icon="sync"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E"); }
.stat-icon[data-icon="unlock"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 9.9-1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 9.9-1'/%3E%3C/svg%3E"); }
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ---------- Scroll reveal ---------- */
.js-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-reveal.is-visible { opacity: 1; transform: none; }
.feature-grid .js-reveal:nth-child(2) { transition-delay: 0.06s; }
.feature-grid .js-reveal:nth-child(3) { transition-delay: 0.12s; }
.feature-grid .js-reveal:nth-child(4) { transition-delay: 0.18s; }
.feature-grid .js-reveal:nth-child(5) { transition-delay: 0.24s; }
.feature-grid .js-reveal:nth-child(6) { transition-delay: 0.3s; }
.stats-grid .js-reveal:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .js-reveal:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .js-reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.tab-btn {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 26px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.tab-btn.is-active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 0; }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-tint);
  margin-bottom: 16px;
  position: relative;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  transform: scale(1.08) rotate(-4deg);
}
.feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: var(--green-dark);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background 0.25s ease;
}
.feature-card:hover .feature-icon::before { background: var(--white); }
.feature-icon[data-icon="users"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="pipeline"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='6' height='18' rx='1'/%3E%3Crect x='10.5' y='3' width='6' height='11' rx='1'/%3E%3Crect x='18' y='3' width='3' height='7' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='6' height='18' rx='1'/%3E%3Crect x='10.5' y='3' width='6' height='11' rx='1'/%3E%3Crect x='18' y='3' width='3' height='7' rx='1'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="docs"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='13' x2='15' y2='13'/%3E%3Cline x1='9' y1='17' x2='15' y2='17'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='13' x2='15' y2='13'/%3E%3Cline x1='9' y1='17' x2='15' y2='17'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="catalog"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9'/%3E%3Cpath d='M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9'/%3E%3Cpath d='M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="phone"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="bell"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="filter"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="fields"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='6' x2='20' y2='6'/%3E%3Cline x1='4' y1='12' x2='14' y2='12'/%3E%3Cline x1='4' y1='18' x2='18' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='6' x2='20' y2='6'/%3E%3Cline x1='4' y1='12' x2='14' y2='12'/%3E%3Cline x1='4' y1='18' x2='18' y2='18'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="settings"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="chart"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="brands"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='6' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cline x1='8.5' y1='7.5' x2='10.5' y2='16'/%3E%3Cline x1='15.5' y1='7.5' x2='13.5' y2='16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='6' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cline x1='8.5' y1='7.5' x2='10.5' y2='16'/%3E%3Cline x1='15.5' y1='7.5' x2='13.5' y2='16'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="shield"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }

/* ---------- Split sections (email client / calendar) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-copy { order: 2; }
.split.reverse .split-visual { order: 1; }

.mini-list { display: grid; gap: 16px; margin-top: 24px; }
.mini-list li { font-size: 0.95rem; color: var(--text-body); }
.mini-list strong { color: var(--charcoal); }

.check-list { display: grid; gap: 14px; margin-top: 22px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.97rem;
  color: var(--charcoal-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Inbox mock ---------- */
.split-visual { position: relative; }
.split-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle, rgba(79,142,247,0.18) 0%, rgba(79,142,247,0) 72%);
  filter: blur(30px);
  z-index: 0;
}
.inbox-mock {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0.8deg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.split-visual:hover .inbox-mock { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lg), 0 30px 60px rgba(79,142,247,0.18); }
.inbox-mock-row { padding: 16px 20px; }
.inbox-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  color: var(--charcoal);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.inbox-mock-badge {
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.inbox-mock-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.inbox-mock-item:last-child { border-bottom: none; }
.inbox-mock-item.unread { background: var(--green-tint-2); }
.inbox-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avatar-alt { background: var(--purple); }
.avatar-alt2 { background: var(--yellow); }
.avatar-alt3 { background: var(--green-dark); }
.inbox-name { margin: 0; font-weight: 700; font-size: 0.9rem; color: var(--charcoal); }
.inbox-snippet { margin: 2px 0 0; font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Calendar mock ---------- */
.calendar-mock {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  transform: rotate(-0.8deg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.split-visual:hover .calendar-mock { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lg), 0 30px 60px rgba(122,193,66,0.2); }
.calendar-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.calendar-sync-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-darker);
  background: var(--green-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.sync-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  border-radius: 8px;
  color: var(--charcoal-soft);
}
.cal-cell.muted { color: #c7ccc2; }
.cal-cell.has-event { background: var(--green-tint); font-weight: 700; color: var(--green-darker); }
.cal-cell.today { background: var(--green); color: var(--white); }
.calendar-event {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.event-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); margin-top: 6px; flex-shrink: 0; }
.event-dot.dot-alt { background: var(--purple); }
.event-title { margin: 0; font-weight: 700; font-size: 0.86rem; color: var(--charcoal); }
.event-time { margin: 2px 0 0; font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Region / dedicated hosting mock ---------- */
.region-mock {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0.8deg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.split-visual:hover .region-mock { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lg), 0 30px 60px rgba(122,193,66,0.2); }
.region-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 800;
  color: var(--charcoal);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.region-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-darker);
  background: var(--green-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.region-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.region-row:last-child { border-bottom: none; }
.region-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-tint);
  position: relative;
  flex-shrink: 0;
}
.region-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: var(--green-dark);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.region-icon[data-icon="pin"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.region-icon[data-icon="server"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cline x1='6' y1='6' x2='6.01' y2='6'/%3E%3Cline x1='6' y1='18' x2='6.01' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cline x1='6' y1='6' x2='6.01' y2='6'/%3E%3Cline x1='6' y1='18' x2='6.01' y2='18'/%3E%3C/svg%3E"); }
.region-icon[data-icon="lock"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.region-title { margin: 0; font-weight: 700; font-size: 0.88rem; color: var(--charcoal); }
.region-value { margin: 2px 0 0; font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Pricing ---------- */
.pricing-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-green-lg);
}
.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.pricing-card-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  text-align: center;
}
.pricing-desc { color: var(--text-muted); }
.pricing-card .check-list { text-align: left; margin: 24px 0 30px; }
.pricing-cta { width: 100%; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--gradient-dark);
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-banner::before {
  width: 460px;
  height: 460px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(122,193,66,0.3) 0%, rgba(122,193,66,0) 70%);
}
.cta-banner::after {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(79,142,247,0.18) 0%, rgba(79,142,247,0) 70%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner-inner h2 { color: var(--white); max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-banner-inner p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--green-tint);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-darker);
}
.contact-email { display: inline-block; font-size: 1.3rem; font-weight: 800; color: var(--charcoal); transition: color 0.15s ease; }
.contact-email:hover { color: var(--green-dark); }
.contact-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { max-width: 280px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: transform 0.2s var(--ease-out), color 0.2s ease;
}
.footer-col a:hover { color: var(--green-light); transform: translateX(4px); }
.footer-bottom { padding: 22px 0; font-size: 0.8rem; text-align: center; }

/* ---------- Request-a-discussion modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 18, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 38px 36px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s var(--ease-out);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.modal-close:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.modal h3 { font-size: 1.4rem; margin-bottom: 8px; padding-right: 30px; }
.modal-sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 24px; }
.modal-step[hidden] { display: none; }

#requestForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-size: 0.8rem; font-weight: 700; color: var(--charcoal-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--charcoal);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form-row textarea { resize: vertical; }
.modal-submit { grid-column: 1 / -1; margin-top: 6px; width: 100%; }

.modal-summary {
  width: 100%;
  font-family: var(--font);
  font-size: 0.84rem;
  line-height: 1.5;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--charcoal-soft);
  resize: vertical;
  margin-bottom: 20px;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; }

@media (max-width: 600px) {
  #requestForm { grid-template-columns: 1fr; }
  .modal { padding: 30px 22px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-copy, .split.reverse .split-visual { order: initial; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .board-mock-columns { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* Nav switches to the hamburger well before the links would ever be
   squeezed — logo + 5 links + 2 buttons need ~1050px to sit comfortably
   on one row, so the collapse threshold sits above that with margin. */
@media (max-width: 1010px) {
  .nav-toggle { display: flex; }

  /* A solid full-screen takeover panel rather than a small dropdown with
     a translucent backdrop — the previous backdrop sat behind the header
     too, and its dark tint showed through the logo's semi-transparent
     edge pixels. A fully opaque panel avoids that entirely: nothing
     translucent ever overlaps the header. Height is the viewport minus
     the header's own rendered height (~69px, measured — the header's
     padding/logo size don't change across this breakpoint range) so the
     panel's bottom edge lands exactly at the viewport edge instead of
     overshooting past it and pushing the CTA button out of view. */
  .nav-wrapper {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 69px);
    background: var(--white);
    padding: 36px 28px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  }
  .nav-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
  }
  .site-header.nav-open .nav-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  .main-nav a {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
    /* Staggered slide-in, timed with the panel's own open transition. */
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), color 0.15s ease;
  }
  .site-header.nav-open .main-nav a {
    opacity: 1;
    transform: translateX(0);
  }
  .main-nav a:nth-child(1) { transition-delay: 0.08s; }
  .main-nav a:nth-child(2) { transition-delay: 0.13s; }
  .main-nav a:nth-child(3) { transition-delay: 0.18s; }
  .main-nav a:nth-child(4) { transition-delay: 0.23s; }
  .main-nav a:nth-child(5) { transition-delay: 0.28s; }
  .main-nav a::after { display: none; }

  .header-cta {
    display: flex;
    justify-content: center;
    padding-top: 24px;
    margin-top: auto;
  }
  .header-cta .btn {
    width: 100%;
    max-width: 480px;
    padding: 16px;
    font-size: 1rem;
  }
}

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .hero-blob-1, .hero-blob-2 { width: 240px; height: 240px; filter: blur(50px); }
  .board-mock, .inbox-mock, .calendar-mock { transform: none !important; animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .board-mock { animation: none; }
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .brand-logo, .btn, .feature-card, .feature-icon, .who-strip-list li, .footer-col a,
  .nav-wrapper, .nav-toggle span, .main-nav a {
    transition: none;
  }
}
