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

:root {
  --bg-primary: #03060d;
  --bg-secondary: #0a0f1a;
  --bg-tertiary: #111827;
  --text-primary: #f5f5f5;
  --text-secondary: rgba(245, 245, 245, 0.65);
  --text-muted: rgba(245, 245, 245, 0.45);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #3080ff;
  --accent-hover: #155dfc;
  --container: 1200px;
  --container-lg: 1400px;
  --section-pad: 90px;
  --radius: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

.section { padding: var(--section-pad) 0; }

.bordered {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
  animation: navSlideDown 0.6s var(--ease-out) both;
}

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

.nav.scrolled {
  background: rgba(3, 6, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.nav-logo:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.nav-logo img { height: 45px; width: auto; }

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(48, 128, 255, 0.35);
  background: rgba(48, 128, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(48, 128, 255, 0); }
  50% { box-shadow: 0 0 20px 2px rgba(48, 128, 255, 0.2); }
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after { width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}

.btn:hover::before {
  transform: translateX(100%);
}

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

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleExpand 0.6s var(--ease-out) forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.btn-sm { padding: 8px 18px; font-size: 13px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(48, 128, 255, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(48, 128, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(48, 128, 255, 0.08);
  box-shadow: 0 4px 20px rgba(48, 128, 255, 0.15);
}

.btn-submit:hover {
  box-shadow: 0 8px 28px rgba(48, 128, 255, 0.5);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  transition: color 0.3s var(--ease-out), gap 0.3s var(--ease-out);
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

.text-link:hover::after { width: calc(100% - 20px); }

.text-link.light { color: rgba(255, 255, 255, 0.75); }
.text-link.light:hover { color: #fff; }

.text-link:hover { gap: 8px; }

.text-link:hover .arrow { transform: translateX(4px); }

.arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-spring);
}

/* ── Hero ── */
.hero {
  padding-top: calc(64px + var(--section-pad));
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--container-lg);
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-copy .lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-form-wrap {
  width: 100%;
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px 32px;
  color: #1a1a1a;
}

.hero-form {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.req { color: #e53935; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font);
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(48, 128, 255, 0.12);
  transform: translateY(-1px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  pointer-events: none;
}

.contact-form select {
  appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.contact-form .btn-submit {
  min-width: 160px;
  padding: 12px 48px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(48, 128, 255, 0.4);
}

.contact-form .btn-submit:hover {
  box-shadow: 0 10px 28px rgba(48, 128, 255, 0.55);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
}

/* ── Section headers ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  transition: letter-spacing 0.4s var(--ease-out);
}

.section-header:hover .section-label {
  letter-spacing: 0.14em;
}

.section-header .section-label { display: block; }

.section-header .tagline {
  margin-top: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── Benefits ── */
.benefits { border-top: 1px solid var(--border); }

.benefit-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.benefit-block:last-child { margin-bottom: 0; }

.benefit-block.reverse .benefit-copy { order: 2; }
.benefit-block.reverse .benefit-media { order: 1; }

.benefit-copy h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.benefit-copy p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.benefit-copy strong { color: var(--text-primary); font-weight: 500; }

.benefit-media {
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.benefit-media:hover {
  border-color: rgba(48, 128, 255, 0.35);
  box-shadow: 0 12px 40px rgba(48, 128, 255, 0.12);
}

.benefit-media video,
.benefit-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.benefit-media:hover img,
.benefit-media:hover video {
  transform: scale(1.05);
}

/* ── Solutions grid ── */
.solutions { border-top: 1px solid var(--border); }

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.solution-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  background: var(--bg-secondary);
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(48, 128, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(48, 128, 255, 0.1);
}

.solution-visual {
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.solution-visual img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.solution-card:hover .solution-visual img {
  transform: scale(1.06);
}

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

.solution-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.solution-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.solution-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.solution-body li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.5;
}

.solution-body li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* ── FAQ ── */
.faq { border-top: 1px solid var(--border); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.faq-intro p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(48, 128, 255, 0.2);
}

.faq-item[open] {
  background: var(--bg-tertiary);
  border-color: rgba(48, 128, 255, 0.25);
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s var(--ease-out);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.35s var(--ease-spring);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: faqReveal 0.35s var(--ease-out) both;
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Carousel cards ── */
.testimonials,
.customers {
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.carousel-wrap { position: relative; }

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 0 calc(50vw - min(340px, 42.5vw));
}

.carousel-slide {
  flex: 0 0 min(680px, 85vw);
  padding: 0 12px;
}

.card {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.card-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.card-logo {
  height: 24px;
  width: auto;
  margin-bottom: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-content h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 16px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.carousel-progress {
  flex: 1;
  max-width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--text-primary);
  width: 0%;
  transition: width 0.1s linear;
}

.carousel-nav { display: flex; gap: 8px; }

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.carousel-btn svg {
  width: 11px;
  height: 19px;
  transition: transform 0.3s var(--ease-out);
}

.carousel-btn:hover {
  border-color: var(--accent);
  background: rgba(48, 128, 255, 0.12);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(48, 128, 255, 0.25);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn.prev:hover svg { transform: translateX(-2px); }
.carousel-btn.next:hover svg { transform: translateX(2px); }

/* ── Comparison ── */
.comparison { border-top: 1px solid var(--border); }

.comparison-panel {
  max-width: 820px;
}

.comparison-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
}

.comparison-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(48, 128, 255, 0.06) 40%, rgba(48, 128, 255, 0.12) 100%);
  pointer-events: none;
}

.comparison-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.comparison-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comparison-brand.is-legacy {
  text-align: left;
}

.comparison-brand.is-mapifyit {
  text-align: right;
  align-items: flex-end;
}

.comparison-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.comparison-brand.is-mapifyit .comparison-eyebrow {
  color: rgba(48, 128, 255, 0.8);
}

.comparison-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.comparison-brand.is-legacy .comparison-title {
  color: var(--text-secondary);
}

.comparison-brand.is-mapifyit .comparison-title {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(48, 128, 255, 0.35);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.comparison-list {
  list-style: none;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.35s var(--ease-out);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: rgba(48, 128, 255, 0.04);
}

.comparison-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  font-size: 15px;
  line-height: 1.45;
  transition: padding-left 0.3s var(--ease-out);
}

.comparison-cell.is-legacy {
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}

.comparison-cell.is-mapifyit {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

.comparison-row:hover .comparison-cell.is-mapifyit {
  padding-left: 32px;
}

.cell-mark {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.check-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #1a5fd4 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(48, 128, 255, 0.4);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}

.check-badge svg {
  width: 12px;
  height: 12px;
}

.comparison-row:hover .check-badge {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(48, 128, 255, 0.55);
}

.fade-up.visible .comparison-row {
  animation: comparisonRowIn 0.55s var(--ease-out) both;
}

.fade-up.visible .comparison-row:nth-child(1) { animation-delay: 0.08s; }
.fade-up.visible .comparison-row:nth-child(2) { animation-delay: 0.14s; }
.fade-up.visible .comparison-row:nth-child(3) { animation-delay: 0.2s; }
.fade-up.visible .comparison-row:nth-child(4) { animation-delay: 0.26s; }
.fade-up.visible .comparison-row:nth-child(5) { animation-delay: 0.32s; }

@keyframes comparisonRowIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .comparison-head {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding: 24px 20px;
  }

  .comparison-brand.is-legacy,
  .comparison-brand.is-mapifyit {
    text-align: center;
    align-items: center;
  }

  .comparison-divider { order: -1; }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell.is-legacy {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 12px;
    font-size: 14px;
  }

  .comparison-cell.is-mapifyit {
    padding: 12px 20px 18px;
  }

  .comparison-row:hover .comparison-cell.is-mapifyit {
    padding-left: 20px;
  }
}

/* ── CTA ── */
.cta { border-top: 1px solid var(--border); }

.cta-box {
  text-align: center;
  padding: 64px 48px;
  background: var(--bg-secondary);
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.cta-box:hover {
  border-color: rgba(48, 128, 255, 0.25);
  box-shadow: 0 0 60px rgba(48, 128, 255, 0.08);
}

.cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 48px;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-social a:hover { color: var(--accent); }

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.app-badge-link {
  display: inline-block;
  transition: transform 0.35s var(--ease-spring), opacity 0.3s;
}

.app-badge-link:hover {
  transform: scale(1.05) translateY(-2px);
  opacity: 0.9;
}

.app-badge-img {
  display: block;
  height: 40px;
  width: auto;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-contact {
  margin-top: 16px !important;
}

.footer-contact a { color: var(--accent); }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--text-primary); }

.status-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #00c758;
  font-size: 12px;
}

.status-pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c758;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-link-btn {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.footer-link-btn:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* ── Contact modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-dialog .contact-form {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  padding-top: 44px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

.modal-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

@media (max-width: 767px) {
  .modal { padding: 16px; }
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.6s; }

.hero-copy .hero-badge { animation: badgePulse 3s ease-in-out infinite, fadeUpHero 0.8s var(--ease-out) 0.1s both; }
.hero-copy h1 { animation: fadeUpHero 0.8s var(--ease-out) 0.2s both; }
.hero-copy .lead { animation: fadeUpHero 0.8s var(--ease-out) 0.35s both; }
.hero-copy .hero-actions { animation: fadeUpHero 0.8s var(--ease-out) 0.5s both; }

@keyframes fadeUpHero {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  :root { --section-pad: 70px; }

  .hero-grid,
  .benefit-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .benefit-block.reverse .benefit-copy,
  .benefit-block.reverse .benefit-media { order: unset; }

  .solution-card { grid-template-columns: 1fr; }
  .solution-visual { border-right: none; border-bottom: 1px solid var(--border); }

  .faq-layout { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  :root { --section-pad: 48px; }

  .nav-actions { gap: 10px; }
  .nav-actions .btn-sm { padding: 8px 14px; font-size: 12px; }

  .carousel-slide { flex: 0 0 90vw; }

  .card { height: 360px; }

  .cta-box { padding: 40px 24px; }

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