:root {
  --sage-900: #0f3527;
  --sage-800: #1a4e3a;
  --sage-700: #225b46;
  --sage-600: #2d6b4f;
  --sage-500: #3a8163;
  --sage-400: #5fa685;
  --sage-300: #8fc8ac;
  --sage-200: #c4e3d2;
  --sage-100: #e3f3eb;
  --sage-50:  #f3faf6;

  --ink-900: #0a1410;
  --ink-800: #1a2420;
  --ink-700: #2b3530;
  --ink-600: #4a5550;
  --ink-500: #6b7570;
  --ink-400: #98a09b;
  --ink-300: #c8ccc9;
  --ink-200: #e4e7e5;
  --ink-100: #f1f3f2;
  --ink-50:  #f8faf9;

  --accent-purple: #7c3aed;
  --accent-amber: #f59e0b;
  --accent-coral: #ef6b5e;

  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,53,39,0.06), 0 1px 1px rgba(15,53,39,0.04);
  --shadow-md: 0 4px 12px rgba(15,53,39,0.08), 0 2px 4px rgba(15,53,39,0.04);
  --shadow-lg: 0 12px 32px rgba(15,53,39,0.10), 0 4px 12px rgba(15,53,39,0.06);
  --shadow-xl: 0 24px 64px rgba(15,53,39,0.14), 0 8px 24px rgba(15,53,39,0.08);
  --shadow-glow: 0 0 0 1px rgba(45,107,79,0.10), 0 8px 32px rgba(45,107,79,0.18);

  --layout-max: 1200px;
  --layout-gutter: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(45,107,79,0.08);
  transition: all 0.3s ease;
}
.nav-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 16px var(--layout-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--ink-900);
}
.brand-logo {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
  border-radius: 12px;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(45,107,79,0.25);
}
.brand-logo img { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.brand-name b { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover { background: var(--sage-50); color: var(--sage-700); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: var(--sage-700);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--sage-800); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(45,107,79,0.25); }

.lang-switcher {
  display: flex;
  background: var(--ink-100);
  border-radius: 8px;
  padding: 3px;
  gap: 0;
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  color: var(--ink-500);
  transition: all 0.2s;
}
.lang-btn.active {
  background: white;
  color: var(--sage-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mobile-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px var(--layout-gutter) 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--sage-50) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(45,107,79,0.08), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(143,200,172,0.15), transparent 50%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,107,79,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,107,79,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--sage-700);
  background: var(--sage-100);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--sage-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(58,129,99,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(58,129,99,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(58,129,99,0); }
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--sage-600), var(--sage-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
  padding-right: 0.8em;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-600);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: white;
  background: linear-gradient(180deg, var(--sage-600), var(--sage-800));
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(45,107,79,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(45,107,79,0.32), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--ink-800);
  background: white;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1.5px solid var(--ink-200);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--sage-500); color: var(--sage-700); }

.hero-trust {
  margin-top: 36px;
  display: flex; align-items: center; gap: 20px;
  font-size: 14px; color: var(--ink-500);
}
.hero-trust strong { color: var(--ink-800); font-weight: 600; }
.stars { color: var(--accent-amber); letter-spacing: 2px; font-size: 14px; }

/* Hero Visual - dashboard preview */
.hero-visual {
  position: relative;
  perspective: 1600px;
}
.dash-stack {
  position: relative;
  height: 540px;
}
.dash-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  border: 1px solid rgba(0,0,0,0.06);
  background: white;
}
.dash-card img { display: block; width: 100%; height: auto; }
.dash-card-main {
  top: 30px; left: 0;
  width: 92%;
  transform: rotateY(-6deg) rotateX(2deg);
  z-index: 3;
}
.dash-card-back {
  top: 0; right: 0;
  width: 60%;
  transform: rotateY(-12deg) rotateX(4deg) translateZ(-40px);
  z-index: 1;
  opacity: 0.85;
}
.dash-card-float {
  bottom: 0; right: 8%;
  width: 280px;
  transform: rotateY(-3deg) rotateX(1deg);
  z-index: 4;
  background: linear-gradient(135deg, white, var(--sage-50));
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.float-row {
  display: flex; align-items: center; gap: 10px;
}
.float-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 18px;
}
.float-icon.green { background: var(--sage-100); color: var(--sage-700); }
.float-icon.purple { background: #f3e8ff; color: var(--accent-purple); }
.float-text { flex: 1; }
.float-label { font-size: 11px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.float-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink-900); }
.float-badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--sage-100);
  color: var(--sage-700);
  text-transform: uppercase;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  padding: 40px var(--layout-gutter);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  background: white;
}
.trust-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.trust-label {
  font-size: 13px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; }
.trust-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-400);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ============ FEATURES SECTION ============ */
.section {
  padding: 100px var(--layout-gutter);
  position: relative;
}
.section-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  max-width: 800px;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--sage-600); font-weight: 700; }
.section-sub {
  font-size: 18px;
  color: var(--ink-600);
  max-width: 640px;
  margin-bottom: 64px;
}

/* ============ VIDEO DEMOS ============ */
.videos-section {
  background: linear-gradient(180deg, var(--sage-50) 0%, white 100%);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.video-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-300);
  box-shadow: var(--shadow-lg);
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 50.4%; /* matches 1280x644 source (3024x1522 scaled) */
  background: var(--ink-900);
  overflow: hidden;
  cursor: pointer;
}
.video-wrap iframe,
.video-wrap .demo-video,
.video-wrap .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: var(--ink-900);
}
/* Poster is the default state; video fades in when hover starts playing */
.video-wrap .video-poster {
  z-index: 1;
  transition: opacity .35s ease, transform .6s ease;
}
.video-wrap .demo-video {
  z-index: 2;
  opacity: 0;
  pointer-events: none; /* invisible layer must not block taps on iOS */
  transition: opacity .4s ease;
}
.video-card.is-playing .demo-video {
  pointer-events: auto;
}
.video-card.is-playing .demo-video { opacity: 1; }
.video-card.is-playing .video-poster { opacity: 0; }

/* Subtle zoom on hover regardless of play state */
.video-card:hover .video-poster,
.video-card:hover .demo-video {
  transform: scale(1.03);
}

/* Live-Demo badge — only visible while card is actively playing */
.video-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 9px;
  background: rgba(15, 53, 39, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.video-card.is-playing .video-live-badge {
  opacity: 1;
  transform: translateY(0);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Play overlay — center play button + "click to expand" hint */
.video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  transition: opacity .35s ease;
}
.video-card.is-playing .video-play-overlay { opacity: 0.65; }
.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px; /* visual center for play triangle */
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform .25s ease, background .25s ease;
}
.video-card:hover .play-button {
  transform: scale(1.1);
  background: white;
}
.play-hint {
  background: rgba(15, 53, 39, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.video-card:hover .play-hint {
  opacity: 1;
  transform: translateY(0);
}

.video-meta {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-meta .showcase-badge { align-self: flex-start; margin-bottom: 2px; }
.video-meta h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.video-meta p {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0;
}
.videos-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
@media (max-width: 980px) {
  .video-grid { grid-template-columns: 1fr; gap: 22px; }
  .video-meta { padding: 20px; }
  .video-meta h3 { font-size: 18px; }
  .play-button { width: 56px; height: 56px; }
}

/* ============ VIDEO LIGHTBOX ============ */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 20, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  opacity: 0;
  transition: opacity .25s ease;
}
.video-lightbox.open {
  display: flex;
  opacity: 1;
  animation: lbFadeIn .3s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: lbZoomIn .35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes lbZoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox-video-wrap {
  position: relative;
  width: 100%;
  background: black;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  aspect-ratio: 1280 / 644;
}
.lightbox-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: black;
}
.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: white;
  text-align: center;
  align-items: center;
}
.lightbox-info .showcase-badge {
  display: inline-flex;
  align-self: center;
}
.lightbox-info h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}
.lightbox-info p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
  line-height: 1.55;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .video-lightbox { padding: 2vh 3vw; }
  .lightbox-info h3 { font-size: 18px; }
  .lightbox-info p { font-size: 13.5px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}

/* ============ FEATURES MODAL ============ */
.features-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.btn-features-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: white;
  border: 1.5px solid var(--sage-300);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sage-700);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(15,53,39,0.04);
}
.btn-features-all:hover {
  background: var(--sage-50);
  border-color: var(--sage-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,107,79,0.12);
}
.btn-features-all .features-count {
  background: var(--sage-600);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.modal-content.modal-wide {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.features-modal-header {
  padding-bottom: 20px;
}
.features-modal-tabs {
  display: flex;
  gap: 4px;
  padding: 0 32px;
  border-bottom: 1px solid var(--ink-200);
  background: var(--ink-50);
  flex-shrink: 0;
  overflow-x: auto;
}
.ftab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-bottom: -1px;
}
.ftab:hover { color: var(--sage-700); }
.ftab.active {
  color: var(--sage-700);
  border-bottom-color: var(--sage-600);
}
.ftab svg { opacity: 0.85; }
.ftab-count {
  background: var(--ink-200);
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
  transition: all 0.2s ease;
}
.ftab.active .ftab-count {
  background: var(--sage-100);
  color: var(--sage-800);
}

.features-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 32px;
  background: white;
}
.feature-section {
  margin-bottom: 28px;
}
.feature-section:last-child { margin-bottom: 0; }
.feature-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--ink-200);
}
.feature-section-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--sage-100);
  color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  margin: 0;
  flex: 1;
}
.feature-section-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--ink-100);
  padding: 3px 9px;
  border-radius: 999px;
}
.feature-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}
.feature-item-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.35;
}
.feature-item-desc {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.4;
}

.features-modal-footer {
  border-top: 1px solid var(--ink-200);
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--ink-50);
  flex-shrink: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.features-modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-600);
}
.features-modal-meta svg { color: var(--sage-600); }

@media (max-width: 768px) {
  .modal-content.modal-wide { max-width: 100%; }
  .features-modal-tabs { padding: 0 16px; }
  .ftab { padding: 12px 12px; font-size: 13px; }
  .ftab-count { display: none; }
  .features-modal-body { padding: 18px 20px 24px; }
  .feature-items { grid-template-columns: 1fr; gap: 4px; }
  .features-modal-footer { flex-direction: column; padding: 14px 20px; }
  .features-modal-footer .btn-primary { width: 100%; }
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-300);
  box-shadow: var(--shadow-lg);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage-500), var(--sage-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage-100), var(--sage-200));
  display: grid; place-items: center;
  color: var(--sage-700);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.55;
}

/* ============ SHOWCASE - Big visual sections ============ */
.showcase {
  background: linear-gradient(180deg, var(--sage-50) 0%, white 100%);
  padding: 100px 32px;
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { grid-template-columns: 1fr 1fr; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-img { order: 1; }

.showcase-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge-green { background: var(--sage-100); color: var(--sage-800); }
.badge-purple { background: #f3e8ff; color: #6b21a8; }
.badge-amber { background: #fef3c7; color: #92400e; }

.showcase-text h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.showcase-text p {
  font-size: 17px;
  color: var(--ink-600);
  line-height: 1.6;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232d6b4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

.showcase-img {
  position: relative;
}
.showcase-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
}
.showcase-img::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(45,107,79,0.10), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* ============ ROLES SECTION ============ */
.roles-section { padding: 100px 32px; background: var(--ink-900); color: white; }
.roles-section .section-title { color: white; }
.roles-section .section-sub { color: var(--ink-300); }
.roles-section .section-eyebrow { color: var(--sage-300); }

.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}
.role-card:hover {
  border-color: var(--sage-400);
  background: linear-gradient(180deg, rgba(58,129,99,0.08), rgba(58,129,99,0.02));
}
.role-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
  display: grid; place-items: center;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(45,107,79,0.3);
}
.role-card h3 { color: white; font-size: 24px; margin-bottom: 8px; }
.role-card .role-sub { color: var(--sage-300); font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.role-card .role-feats {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.role-card .role-feats li {
  font-size: 14px;
  color: var(--ink-300);
  padding-left: 20px;
  position: relative;
}
.role-card .role-feats li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sage-400);
  font-weight: 700;
}

/* ============ PRICING ============ */
.pricing-section {
  padding: 100px 32px;
  background: linear-gradient(180deg, white 0%, var(--sage-50) 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-200);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  background: linear-gradient(180deg, var(--sage-900), var(--ink-900));
  color: white;
  border: none;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(58,129,99,0.3), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(143,200,172,0.15), transparent 50%);
  pointer-events: none;
}
.pricing-card > * { position: relative; }

.plan-name {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.plan-name h3 {
  font-size: 28px; font-weight: 800;
}
.pricing-card.featured .plan-name h3 { color: white; }
.plan-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-amber);
  color: var(--ink-900);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.plan-tagline {
  color: var(--ink-600);
  margin-bottom: 28px;
  font-size: 15px;
}
.pricing-card.featured .plan-tagline { color: var(--ink-300); }

.price-display {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
}
.price-currency { font-size: 20px; font-weight: 600; color: var(--ink-500); }
.pricing-card.featured .price-currency { color: var(--sage-300); }
.price-amount {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.pricing-card.featured .price-amount { color: white; }
.price-period { font-size: 16px; color: var(--ink-500); margin-left: 4px; }
.pricing-card.featured .price-period { color: var(--ink-300); }

.price-note {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 28px;
  padding: 10px 14px;
  background: var(--sage-50);
  border-radius: 8px;
  border-left: 3px solid var(--sage-400);
}
.pricing-card.featured .price-note {
  background: rgba(255,255,255,0.06);
  color: var(--ink-300);
  border-left-color: var(--sage-400);
}

.tier-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 28px;
  font-size: 14px;
}
.tier-table th, .tier-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--ink-200);
}
.pricing-card.featured .tier-table th,
.pricing-card.featured .tier-table td {
  border-bottom-color: rgba(255,255,255,0.08);
}
.tier-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 700;
}
.pricing-card.featured .tier-table th { color: var(--ink-300); }
.tier-table td:first-child { font-weight: 600; }
.tier-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sage-700);
}
.pricing-card.featured .tier-table td:last-child { color: var(--sage-300); }

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.pricing-card.featured .plan-features li { color: var(--ink-200); }
.plan-features li::before {
  content: '✓';
  color: var(--sage-600);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card.featured .plan-features li::before { color: var(--sage-300); }

/* ============ Collapsible "What's included?" ============ */
.plan-features-collapsible {
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.plan-features-collapsible > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-200);
  user-select: none;
  transition: color .2s ease;
}
.plan-features-collapsible > summary::-webkit-details-marker { display: none; }
.plan-features-collapsible > summary::marker { content: ''; }
.plan-features-collapsible > summary:hover { color: white; }
.plan-features-collapsible > summary:focus-visible {
  outline: 2px solid var(--sage-300);
  outline-offset: 4px;
  border-radius: 4px;
}
.plan-features-chevron {
  color: var(--sage-300);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.plan-features-collapsible[open] .plan-features-chevron {
  transform: rotate(180deg);
}
.plan-features-collapsible .plan-features {
  margin-top: 8px;
  margin-bottom: 16px;
  animation: collapseFadeIn .3s ease;
}
@keyframes collapseFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.plan-cta {
  width: 100%;
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.plan-cta.dark {
  background: var(--ink-900);
  color: white;
}
.plan-cta.dark:hover { background: var(--ink-700); transform: translateY(-1px); }
.plan-cta.light {
  background: var(--sage-300);
  color: var(--ink-900);
}
.plan-cta.light:hover { background: var(--sage-400); transform: translateY(-1px); }

/* Calculator */
.calc-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.calc-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-card .calc-sub {
  color: var(--ink-600);
  font-size: 14px;
  margin-bottom: 28px;
}
.calc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-revenue-display {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--sage-700);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--ink-100);
  border-radius: 999px;
  outline: none;
  margin-bottom: 24px;
  background-image: linear-gradient(var(--sage-500), var(--sage-500));
  background-repeat: no-repeat;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--sage-600);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45,107,79,0.25);
  transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--sage-600);
  cursor: pointer;
}
.calc-toggle-group {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--ink-100);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.calc-toggle {
  padding: 12px 8px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.calc-toggle.active {
  background: white;
  color: var(--sage-700);
  box-shadow: var(--shadow-sm);
}

.calc-result {
  background: linear-gradient(135deg, var(--sage-50), var(--sage-100));
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: auto;
}
.calc-line {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-600);
}
.calc-line.total {
  font-family: var(--font-display);
  border-top: 1px solid var(--sage-200);
  margin-top: 10px;
  padding-top: 12px;
  font-size: 18px;
  color: var(--ink-900);
  font-weight: 700;
}
.calc-line strong {
  color: var(--ink-900);
  font-weight: 700;
}
.calc-line.total strong { color: var(--sage-700); font-size: 24px; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 100px 32px;
  background: white;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--sage-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--sage-100);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px; right: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--sage-300);
  line-height: 1;
  opacity: 0.5;
}
.testimonial p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-800);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-display);
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-900);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--ink-500);
}

/* ============ FAQ ============ */
.faq-section { padding: 100px 32px; background: var(--sage-50); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--ink-200);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--sage-300);
}
.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--sage-600);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.6;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 100px 32px;
  background: linear-gradient(135deg, var(--sage-800), var(--sage-900));
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(143,200,172,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(58,129,99,0.2), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-section h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: white;
  margin-bottom: 20px;
}
.cta-section h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--sage-300), white);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.2em;
}
.cta-section p {
  font-size: 19px;
  color: var(--ink-300);
  margin-bottom: 36px;
}
.cta-section .btn-primary {
  background: white;
  color: var(--sage-800);
  font-size: 17px;
  padding: 18px 32px;
}
.cta-section .btn-primary:hover {
  background: var(--sage-100);
  color: var(--sage-900);
}
.cta-meta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-300);
  flex-wrap: wrap;
}
.cta-meta span { display: flex; align-items: center; gap: 6px; }
.cta-meta span::before {
  content: '✓';
  color: var(--sage-400);
  font-weight: 700;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 64px var(--layout-gutter) 32px;
}
.footer-inner {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-400);
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 13px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--ink-300);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sage-300); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: var(--ink-500);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ STATIC PAGES (about, contact, legal) ============ */
.page-body {
  background: #fff;
}
.page-main {
  position: relative;
  padding-top: 140px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--sage-50) 100%);
}
.page-main-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(45,107,79,0.07), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(143,200,172,0.12), transparent 50%);
  pointer-events: none;
}
.page-main .section-inner {
  position: relative;
  z-index: 1;
}
.page-prose {
  width: 100%;
  max-width: none;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
}
.page-prose h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}
.page-prose h2:first-child { margin-top: 0; }
.page-prose p { margin: 0 0 14px; }
.page-prose p + ul { margin-top: -6px; }
.page-prose ul + p { margin-top: 14px; }
.page-prose ul {
  margin: 0 0 16px 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-prose a {
  color: var(--sage-700);
  font-weight: 600;
  text-decoration: none;
}
.page-prose a:hover { text-decoration: underline; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
}
.contact-card {
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card h2 {
  font-size: 17px;
  margin: 0;
}
.contact-card p {
  font-size: 14px;
  color: var(--ink-600);
  margin: 0;
  flex: 1;
}
.contact-card a {
  font-size: 15px;
  word-break: break-all;
}
.contact-note {
  font-size: 13px;
  color: var(--ink-500);
}

/* ============ MODAL: Signup ============ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15,53,39,0.5);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; animation: fadeIn 0.25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-content {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}
.modal-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--ink-200);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-header .modal-sub {
  font-size: 14px;
  color: var(--ink-500);
}
.modal-close {
  background: var(--ink-100);
  border: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-600);
  transition: all 0.2s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--ink-200); }

.modal-body { padding: 28px 32px; }

.step-indicator {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
}
.step-dot {
  flex: 1;
  height: 4px;
  background: var(--ink-200);
  border-radius: 999px;
  transition: background 0.3s;
}
.step-dot.active { background: var(--sage-500); }
.step-dot.completed { background: var(--sage-700); }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-input, .form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  transition: all 0.2s;
  background: white;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--sage-500);
  box-shadow: 0 0 0 4px rgba(58,129,99,0.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.plan-option {
  border: 2px solid var(--ink-200);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 14px;
}
.plan-option:hover { border-color: var(--sage-400); }
.plan-option.selected { border-color: var(--sage-600); background: var(--sage-50); }
.plan-option-radio {
  width: 22px; height: 22px;
  border: 2px solid var(--ink-300);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}
.plan-option.selected .plan-option-radio {
  border-color: var(--sage-600);
}
.plan-option.selected .plan-option-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--sage-600);
  border-radius: 50%;
}
.plan-option-body { flex: 1; }
.plan-option-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}
.plan-option-desc {
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 2px;
}
.plan-option-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--sage-700);
}

.summary-card {
  background: var(--sage-50);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--sage-200);
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  color: var(--ink-700);
}
.summary-row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--sage-200);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
}

.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--ink-200);
  display: flex; gap: 12px;
  background: var(--ink-50);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.modal-footer button {
  flex: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-prev {
  background: white;
  border: 1.5px solid var(--ink-200);
  color: var(--ink-700);
}
.btn-prev:hover { border-color: var(--ink-400); }
.btn-next {
  background: var(--sage-700);
  color: white;
}
.btn-next:hover { background: var(--sage-800); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

.success-screen {
  text-align: center;
  padding: 48px 32px;
}
.success-screen .success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--sage-100);
  display: grid; place-items: center;
  color: var(--sage-700);
  font-size: 40px;
}
.success-screen h3 { font-size: 26px; margin-bottom: 12px; }
.success-screen p { color: var(--ink-600); margin-bottom: 28px; }

/* ============ MOBILE ============ */
@media (max-width: 960px) {
  :root { --layout-gutter: 20px; }
  .nav-inner { padding: 12px var(--layout-gutter); gap: 12px; }
  .nav-links { display: none; }
  .mobile-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--ink-100);
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  .mobile-toggle.open ~ .nav-links {
    display: flex;
    position: absolute;
    top: 64px; left: 16px; right: 16px;
    background: white;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .lang-switcher { order: -1; }

  .section, .hero, .pricing-section, .showcase, .roles-section, .testimonials, .faq-section, .cta-section, .page-main {
    padding: 64px 20px;
  }
  .hero, .page-main { padding-top: 100px; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-inner, .pricing-grid, .faq-grid, .showcase-row, .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase-row.reverse .showcase-text { order: 1; }
  .showcase-row.reverse .showcase-img { order: 2; }
  .feature-grid, .roles-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .dash-stack { height: 380px; }
  .dash-card-float { width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .price-amount { font-size: 48px; }
  .hero h1 { font-size: 36px; }
  .dash-stack { height: 320px; }
  .dash-card-float { display: none; }
}
