/* CSS Variables */
:root {
  --color-primary: #B83376;
  --color-accent: #a81e63;
  --color-accent-hover: #8a1850;
  --color-background: #fffcfd;  /* barely-there rose tint — near-white */
  --color-card: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b7280;
  --color-border: #e5e5e0;
  --color-red: #dc2626;
  --color-orange: #ea580c;
  --color-yellow: #ca8a04;
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Clean white canvas — all blob gradients live on body::after (position:fixed)
     so they flow continuously across sections without any horizontal cuts. */
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  /* Transparent — the fixed blob canvas (body::after) shows through. */
  background-color: transparent;
  /* Prevent orb blur from adding a horizontal scrollbar without hard-clipping vertically. */
  overflow-x: hidden;
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Fixed blob canvas: five organic radial shapes pinned to the viewport.
   Content scrolls over them, so no section ever meets a hard gradient edge. ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    /* top-left: primary warm rose pool */
    radial-gradient(ellipse 90% 65% at -8% 12%, rgba(184,51,118,0.07) 0%, transparent 55%),
    /* top-right: soft secondary glow — center at 30% keeps it well inside
       the hero body so it never peaks at the header's bottom edge (72px ≈ 8%
       on a 900px viewport), which would create a backdrop-filter cut line */
    radial-gradient(ellipse 85% 65% at 105% 30%,  rgba(184,51,118,0.06) 0%, transparent 55%),
    /* center: barely-there ambient haze */
    radial-gradient(ellipse 100% 80% at 50% 52%, rgba(184,51,118,0.025) 0%, transparent 60%),
    /* bottom-left: deep warm pool */
    radial-gradient(ellipse 80% 60% at -6% 95%,  rgba(184,51,118,0.055) 0%, transparent 55%),
    /* bottom-right: trailing glow */
    radial-gradient(ellipse 70% 55% at 108% 90%, rgba(168,30,99,0.04) 0%, transparent 55%);
}

/* Subtle dot texture — fixed (stays still as you scroll) so it reads
   as a quiet room texture, not a moving pattern. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(184, 51, 118, 0.03) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-card);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-background);
  border-color: #ccc;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.lang-flag:hover {
  border-color: rgba(184, 51, 118, 0.35);
  background: rgba(184, 51, 118, 0.06);
  transform: translateY(-1px);
}

.lang-flag:active {
  transform: translateY(0);
  background: rgba(184, 51, 118, 0.12);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Translucent tinted background that blends into the hero gradient.
     The slight pink tint matches the hero orbs so there's no white→pink seam. */
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(252,249,251,0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Very subtle bottom border + feathered shadow to blend into hero */
  box-shadow: 0 1px 0 rgba(184, 51, 118, 0.04),
              0 4px 24px rgba(184, 51, 118, 0.03);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.nav-desktop {
  display: none;
  gap: 32px;
}

.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--color-text);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 28px;
  border-top: 1px solid rgba(184, 51, 118, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(252,248,251,0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  gap: 2px;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile > a {
  padding: 13px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 10px;
  border-bottom: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-mobile > a:hover,
.nav-mobile > a:active {
  background: rgba(184, 51, 118, 0.06);
  color: var(--color-primary);
  padding-left: 18px;
}

/* Divider before action buttons */
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(184, 51, 118, 0.08);
}

/* Full-width buttons in mobile nav */
.nav-mobile-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  font-size: 15px;
  border-radius: 12px;
}

.nav-mobile-actions .btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184, 51, 118, 0.28);
}

.nav-mobile-actions .btn-primary:hover {
  background: var(--color-accent);
  transform: none;
  box-shadow: 0 6px 20px rgba(184, 51, 118, 0.36);
}

.nav-mobile-actions .btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
}

.nav-mobile-actions .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(184, 51, 118, 0.25);
  color: var(--color-text);
}

/* Language switcher row in mobile nav */
.nav-mobile-actions .lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 6px 0 2px;
}

.nav-mobile-actions .lang-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  width: auto;
  height: auto;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-mobile-actions .lang-flag img {
  border-radius: 3px;
  display: block;
}

.nav-mobile-actions .lang-flag:hover {
  border-color: rgba(184, 51, 118, 0.4);
  background: rgba(184, 51, 118, 0.05);
  color: var(--color-primary);
  transform: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .header-actions {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  background: rgba(168, 30, 99, 0.08);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  text-wrap: pretty;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 140px 0 100px;
  /* Soft top-to-bottom tint so the hero blends from the header's near-white
     into a very faint rose, then back to white at the bottom edge. */
  background: linear-gradient(180deg,
    rgba(252,249,251,1) 0%,
    rgba(250,245,248,1) 12%,
    rgba(255,255,255,0) 55%);
  /* overflow must stay visible so the blurred orbs are not hard-clipped
     at the section's top edge (which sits at y=0, right behind the header).
     Horizontal overflow is suppressed by body { overflow-x: hidden } above. */
}

.text-accent { color: var(--color-accent); }

/* Background orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* No overflow clip — let blurred orbs bleed through the header area
     and fade out naturally instead of being cut at a hard line. */
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-orb-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(184, 51, 118, 0.08), transparent 70%);
  top: -120px;
  right: -80px;
  will-change: transform;
  animation: orb-drift 15s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(168, 30, 99, 0.06), transparent 70%);
  bottom: 40px;
  left: -100px;
  will-change: transform;
  animation: orb-drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(28px, 18px) scale(1.07); }
}

/* Two-column layout */
.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

.hero-content { position: relative; z-index: 1; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(168, 30, 99, 0.07);
  border: 1px solid rgba(168, 30, 99, 0.22);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 32px;
  width: fit-content;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.hero-badge:hover {
  background: rgba(168, 30, 99, 0.13);
  border-color: rgba(168, 30, 99, 0.38);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  position: relative;
}
.hero-badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-accent);
  animation: badge-pulse 2.2s ease-out infinite;
  will-change: transform, opacity;
}

@keyframes badge-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(3);   opacity: 0;    }
  100% { transform: scale(1);   opacity: 0;    }
}

/* Title */
.hero-title {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #d4579b 45%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 40px;
  text-wrap: pretty;
}

/* CTA */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #cc4090 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 51, 118, 0.32);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Hover shimmer — GPU composited (opacity only, no repaint) */
.btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), transparent);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.btn-hero-primary:hover::after { opacity: 1; }

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184, 51, 118, 0.44);
}

/* Pulse glow — uses a ::before pseudo-element with opacity animation.
   This is fully GPU-composited and causes zero repaints, unlike
   animating box-shadow directly. */
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(184, 51, 118, 0.5) 0%, transparent 70%);
  opacity: 0;
  animation: cta-pulse 2.4s 2s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0; transform: scale(0.95); }
  50%       { opacity: 1; transform: scale(1.04); }
}

.btn-hero-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.16);
  transform: translateY(-1px);
}

/* Social proof */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-proof-avatars { display: flex; }

.proof-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--av-bg, #999);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid var(--color-background);
  margin-left: -8px;
}

.proof-avatar:first-child { margin-left: 0; }

.hero-proof-text {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ── Hero visual (right column) ── */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 32px 12px 64px;
}

.hero-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.03),
    0 8px 24px rgba(0,0,0,0.07),
    0 28px 56px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  will-change: transform;
}

/* Diagonal shimmer sweep — pure transform, zero layout, zero repaint */
@keyframes hc-shimmer {
  0%   { transform: translateX(-160%) skewX(-14deg); }
  22%  { transform: translateX(220%)  skewX(-14deg); }
  100% { transform: translateX(220%)  skewX(-14deg); }
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-14deg);
  animation: hc-shimmer 6.5s 2.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 4;
}

/* Card chrome bar */
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-background);
}

.hc-dots { display: flex; gap: 5px; }
.hc-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hc-dots span:nth-child(1) { background: #ff5f57; }
.hc-dots span:nth-child(2) { background: #febc2e; }
.hc-dots span:nth-child(3) { background: #28c840; }

.hc-title {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.hc-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-accent);
}

.hc-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  position: relative;
}
.hc-live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-accent);
  animation: badge-pulse 2.2s ease-out infinite;
  will-change: transform, opacity;
}

/* Card rows */
.hero-card-body { padding: 4px 0; }

.hc-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.18s;
}

.hc-order:last-child { border-bottom: none; }
.hc-order:hover { background: var(--color-background); }

.hc-order-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-order-icon { font-size: 18px; line-height: 1; }

.hc-order-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
}

.hc-order-loc {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

.hc-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.hc-confirmed { background: rgba(168, 30, 99, 0.1);  color: var(--color-accent); }
.hc-transit   { background: rgba(234, 88, 12, 0.1);  color: var(--color-orange); }
.hc-delivered { background: rgba(168, 30, 99, 0.14); color: #7a1548; }

/* Card footer */
.hero-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-background);
}

.hcf-item { display: flex; flex-direction: column; gap: 1px; }

.hcf-val {
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.hcf-lbl {
  font-size: 10.5px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.hcf-bar-wrap {
  flex: 1;
  height: 5px;
  background: var(--color-border);
  border-radius: 100px;
  overflow: hidden;
}

.hcf-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), #d4579b);
  border-radius: 100px;
  animation: hcf-grow 1.6s 1.4s ease-out forwards;
}

@keyframes hcf-grow {
  to { width: 85%; }
}

/* Floating notification chips */
.hero-notif {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  white-space: nowrap;
  z-index: 3;
  will-change: transform;
}

.hero-notif-icon { font-size: 18px; line-height: 1; }

.hero-notif-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.hero-notif-sub {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.hero-notif-1 { top: 4px;   right: -4px; }
.hero-notif-2 { bottom: 20px; left: -4px; }

@media (max-width: 1100px) {
  .hero-notif-1 { right: 8px; }
  .hero-notif-2 { left: 8px;  }
}

@media (max-width: 640px) {
  .hero-notif-2 { display: none; }
}

/* Hero mobile text overflow fix — FR strings are significantly longer */
@media (max-width: 767px) {
  .hero-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }
  .hero-actions .btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.35;
  }
}

/* ── Stats bar ── */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 32px;
  flex: 1;
  min-width: 130px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stat-divider { display: none; }
  .stat { border-bottom: 1px solid var(--color-border); }
  .stat:last-child { border-bottom: none; }
}

/* Problem Section — molecular diagram */
.problem {
  background: transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.problem-header {
  position: relative;
  z-index: 1;
}

.problem-intro {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 0;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ── Diagram canvas (desktop only) ── */
.prob-diagram {
  position: relative;
  width: 100%;
  height: 900px;
  margin-top: 8px;
  overflow: visible;
}

/* SVG layer for connector lines */
/* ── Center brand node ── */
.prob-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
  Rings expand from the center circle (104px) outward to the orbital nodes (R=330px).
  Target diameter = 330*2 = 660px → scale = 660/104 ≈ 6.35
  4 rings, each offset by T/4 so one is always visibly expanding.
*/
@keyframes prob-ring-pulse {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.25; }
  15%  { opacity: 0.18; }
  75%  { transform: translate(-50%, -50%) scale(6.35); opacity: 0;   }
  100% { transform: translate(-50%, -50%) scale(6.35); opacity: 0;   }
}

.prob-center-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 104px; height: 104px;
  border-radius: 50%;
  border: 1.5px solid rgba(184, 51, 118, 0.22);
  pointer-events: none;
  animation: prob-ring-pulse 4.8s ease-out infinite;
}

.prob-center-ring--1 { animation-delay:  0s;   }
.prob-center-ring--2 { animation-delay: -1.2s; }
.prob-center-ring--3 { animation-delay: -2.4s; }
.prob-center-ring--4 { animation-delay: -3.6s; }

.prob-center-inner {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:  transparent;
  /*border: 2px solid rgba(184, 51, 118, 0.22);
  box-shadow:
    0 0 0 6px rgba(184, 51, 118, 0.04),
    0 8px 32px rgba(184, 51, 118, 0.10),
    0 2px 8px rgba(0,0,0,0.04);*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.prob-center-inner span {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ── Orbital problem node — rectangular card ── */
.prob-node {
  position: absolute;
  width: 180px;
  background: var(--color-card);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 3;
  will-change: transform;
  transition: box-shadow 0.28s cubic-bezier(0.34,1.56,0.64,1), border-color 0.28s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}

.prob-node:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08), 0 16px 40px rgba(184,51,118,0.1);
  border-color: rgba(184,51,118,0.22);
}

/*
  Pentagon layout — R=330px from diagram center (50%, 50%).
  Card W=180 (half=90), estimated H=200 (half=100).
  Angles: pn0=-90°, pn1=-18°, pn2=+54°, pn3=+126°, pn4=+198°

  left = 50% + cos(angle)*R - 90
  top  = 50% + sin(angle)*R - 100

  pn0: cos=-90°=0,      sin=-90°=-1      → left=50%-90px,  top=50%-430px
  pn1: cos=-18°=+0.951, sin=-18°=-0.309  → left=50%+224px, top=50%-202px
  pn2: cos=+54°=+0.588, sin=+54°=+0.809  → left=50%+104px,  top=50%+167px
  pn3: cos=+126°=-0.588,sin=+126°=+0.809  → left=50%-284px, top=50%+167px
  pn4: cos=+198°=-0.951,sin=+198°=-0.309  → left=50%-404px, top=50%-202px
*/
#pn0 { left: calc(50% - 90px);  top: calc(50% - 430px); }
#pn1 { left: calc(50% + 224px); top: calc(50% - 202px); }
#pn2 { left: calc(50% + 104px); top: calc(50% + 167px); }
#pn3 { left: calc(50% - 284px); top: calc(50% + 167px); }
#pn4 { left: calc(50% - 404px); top: calc(50% - 202px); }

.prob-node-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prob-node:hover .prob-node-icon,
.prob-mobile-card:hover .prob-node-icon {
  transform: scale(1.15);
}

.prob-node-icon--red    { background: rgba(220,38,38,0.1);   color: #dc2626; }
.prob-node-icon--orange { background: rgba(234,88,12,0.1);   color: #ea580c; }
.prob-node-icon--yellow { background: rgba(202,138,4,0.1);   color: #ca8a04; }
.prob-node-icon--purple { background: rgba(124,58,237,0.1);  color: #7c3aed; }
.prob-node-icon--rose   { background: rgba(168,30,99,0.1);   color: var(--color-accent); }

.prob-node:hover .prob-node-icon--red    { background: rgba(220,38,38,0.18);  box-shadow: 0 0 0 4px rgba(220,38,38,0.08); }
.prob-node:hover .prob-node-icon--orange { background: rgba(234,88,12,0.18);  box-shadow: 0 0 0 4px rgba(234,88,12,0.08); }
.prob-node:hover .prob-node-icon--yellow { background: rgba(202,138,4,0.18);  box-shadow: 0 0 0 4px rgba(202,138,4,0.08); }
.prob-node:hover .prob-node-icon--purple { background: rgba(124,58,237,0.18); box-shadow: 0 0 0 4px rgba(124,58,237,0.08); }
.prob-node:hover .prob-node-icon--rose   { background: rgba(168,30,99,0.18);  box-shadow: 0 0 0 4px rgba(168,30,99,0.08); }
.prob-mobile-card:hover .prob-node-icon--red    { background: rgba(220,38,38,0.18);  box-shadow: 0 0 0 4px rgba(220,38,38,0.08); }
.prob-mobile-card:hover .prob-node-icon--orange { background: rgba(234,88,12,0.18);  box-shadow: 0 0 0 4px rgba(234,88,12,0.08); }
.prob-mobile-card:hover .prob-node-icon--yellow { background: rgba(202,138,4,0.18);  box-shadow: 0 0 0 4px rgba(202,138,4,0.08); }
.prob-mobile-card:hover .prob-node-icon--purple { background: rgba(124,58,237,0.18); box-shadow: 0 0 0 4px rgba(124,58,237,0.08); }
.prob-mobile-card:hover .prob-node-icon--rose   { background: rgba(168,30,99,0.18);  box-shadow: 0 0 0 4px rgba(168,30,99,0.08); }

.prob-node-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.prob-node-stat {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.prob-node-body strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.prob-node-body p {
  font-size: 11.5px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.prob-node-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 2px;
  width: fit-content;
}

.prob-node-tag--red    { background: rgba(220,38,38,0.08);  color: #dc2626; border: 1px solid rgba(220,38,38,0.18); }
.prob-node-tag--orange { background: rgba(234,88,12,0.08);  color: #ea580c; border: 1px solid rgba(234,88,12,0.18); }
.prob-node-tag--yellow { background: rgba(202,138,4,0.08);  color: #b45309; border: 1px solid rgba(202,138,4,0.18); }
.prob-node-tag--purple { background: rgba(124,58,237,0.08); color: #7c3aed; border: 1px solid rgba(124,58,237,0.18); }
.prob-node-tag--rose   { background: rgba(168,30,99,0.08);  color: var(--color-accent); border: 1px solid rgba(168,30,99,0.18); }

/* ── stat color inherits from icon color ── */
#pn0 .prob-node-stat { color: #dc2626; }
#pn1 .prob-node-stat { color: #ea580c; }
#pn2 .prob-node-stat { color: #ca8a04; }
#pn3 .prob-node-stat { color: #7c3aed; }
#pn4 .prob-node-stat { color: var(--color-accent); }

/* ── SVG connector lines ── */
/* ── Mobile card list ── */
.prob-mobile-list {
  display: none;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  flex-direction: column;
  gap: 14px;
}

.prob-mobile-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-card);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.05);
  text-align: left;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}

.prob-mobile-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.09), 0 20px 48px rgba(184,51,118,0.13);
  border-color: rgba(184,51,118,0.28);
  border-top-color: rgba(184,51,118,0.65);
  transform: translateY(-4px);
}

.prob-mobile-card > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.prob-mobile-card strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.prob-mobile-card .prob-node-stat {
  font-size: 18px;
  font-weight: 800;
}

.prob-mobile-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Show diagram on ≥768px, card list on smaller */
@media (max-width: 767px) {
  .prob-diagram    { display: none; }
  .prob-mobile-list { display: flex; }
}

@media (min-width: 768px) {
  .prob-mobile-list { display: none; }
}



/* Solution Section */
.solution {
  background: transparent;
  text-align: center;
}

.solution-header {
  max-width: 620px;
  margin: 0 auto;
}

/* ── Steps container ── */
.solution-steps {
  display: flex;
  align-items: flex-start;
  margin-top: 64px;
  position: relative;
  gap: 0;
}

/* Horizontal track line through node centers (desktop) */
/* With 4 equal flex-1 columns, each center is at 12.5%, 37.5%, 62.5%, 87.5% of total width */
.solution-steps::before {
  content: '';
  position: absolute;
  top: 19px; /* half of 38px node height */
  left: 12.5%;
  right: 12.5%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(168, 30, 99, 0.08) 0%,
    rgba(168, 30, 99, 0.35) 20%,
    rgba(168, 30, 99, 0.35) 80%,
    rgba(168, 30, 99, 0.08) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* ── Individual step ── */
.solution-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
  position: relative;
}

/* ── Numbered node ── */
.solution-step-node {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-card);
  border: 1.5px solid rgba(168, 30, 99, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  /* "punch-out" ring halo that visually separates node from track line */
  box-shadow: 0 0 0 5px var(--color-card), 0 2px 8px rgba(168, 30, 99, 0.12);
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}

/* Final step — filled brand node */
.solution-step-node--done {
  background: var(--color-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 5px var(--color-card), 0 4px 14px rgba(168, 30, 99, 0.35);
}

/* ── Step card ── */
.solution-step-card {
  background: var(--color-background);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--radius-lg);
  padding: 22px 16px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 18px rgba(0, 0, 0, 0.055);
  width: 100%;
  transition: box-shadow 0.22s, transform 0.22s;
}

.solution-step-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07), 0 12px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

/* Final step card — faint brand tint */
.solution-step-card--done {
  border-color: rgba(168, 30, 99, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 18px rgba(168, 30, 99, 0.08);
}

.solution-step-card--done:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(168, 30, 99, 0.12);
}

/* ── Icon inside card ── */
.solution-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  /* background: rgba(168, 30, 99, 0.08); */
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-step-icon--done {
  /* background: rgba(168, 30, 99, 0.1); */
  color: var(--color-accent);
}

.solution-step-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}

.solution-step-card p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.62;
  margin: 0;
}

/* ── Mobile: vertical stepper ── */
@media (max-width: 767px) {
  .solution-steps {
    flex-direction: column;
    gap: 0;
    max-width: 440px;
    margin: 48px auto 0;
  }

  /* Hide horizontal track */
  .solution-steps::before {
    display: none;
  }

  .solution-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 24px 0;
  }

  /* Vertical connector from bottom of node to center of next node */
  /* node height = 38px, so: top = 38px, height = 100% (padded) - 19px */
  .solution-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 38px;
    left: 18px; /* center of 38px node, accounting for 1px border */
    transform: translateX(-50%);
    width: 1.5px;
    height: calc(100% - 19px);
    background: linear-gradient(
      180deg,
      rgba(168, 30, 99, 0.28) 0%,
      rgba(168, 30, 99, 0.08) 100%
    );
    z-index: 0;
    pointer-events: none;
  }

  .solution-step-node {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .solution-step-card {
    text-align: left;
    align-items: flex-start;
  }
}


/* ── Process Deep-Dive Section ──────────────────────────────────────────────── */
.process-section {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, rgba(168,30,99,.03) 0%, transparent 100%);
}

.process-header {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* ── Grid: two cards + center divider ── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 56px;
  align-items: stretch;
}

/* ── Cards — branded background ── */
.process-card {
  background: #B83376;
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(184,51,118,.18), 0 12px 36px rgba(184,51,118,.12);
  transition: box-shadow .3s ease, transform .3s ease;
  opacity: 0;
  transform: translateY(24px);
}
.process-card.is-visible {
  animation: processCardReveal .6s ease forwards;
}
.process-card--confirm.is-visible { animation-delay: .1s; }
.process-card--track.is-visible { animation-delay: .3s; }

.process-card:hover {
  box-shadow: 0 8px 24px rgba(184,51,118,.22), 0 20px 48px rgba(184,51,118,.16);
  transform: translateY(-4px);
}

/* Card header */
.process-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.process-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-card-icon--confirm {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.process-card-icon--track {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.process-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.process-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.process-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.process-badge--duration {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.process-badge--attempts {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}
.process-badge--channels {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}
.process-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin: 0;
}

/* ── Timeline (confirmation side) ── */
.process-timeline {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.1));
  border-radius: 2px;
}
.process-timeline-item {
  position: relative;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(12px);
}
.process-timeline-item.is-visible {
  animation: processReveal .5s ease forwards;
}
.process-timeline-item.is-visible[data-process-anim="1"] { animation-delay: .15s; }
.process-timeline-item.is-visible[data-process-anim="2"] { animation-delay: .35s; }
.process-timeline-item.is-visible[data-process-anim="3"] { animation-delay: .55s; }

.process-timeline-dot {
  position: absolute;
  left: -24px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.35);
  z-index: 1;
}
.process-timeline-dot--active {
  background: #fff;
  border-color: #fff;
  position: relative;
}
.process-timeline-dot--active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  animation: processWhitePulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}
.process-timeline-content {
  padding-left: 4px;
}
.process-timeline-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.process-timeline-content p {
  margin: 3px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

/* ── Step flow (tracking side) ── */
.process-flow {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-flow::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.1));
  border-radius: 2px;
}
.process-flow-step {
  position: relative;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(12px);
}
.process-flow-step.is-visible {
  animation: processReveal .5s ease forwards;
}
.process-flow-step.is-visible[data-process-anim="1"] { animation-delay: .2s; }
.process-flow-step.is-visible[data-process-anim="2"] { animation-delay: .4s; }
.process-flow-step.is-visible[data-process-anim="3"] { animation-delay: .6s; }
.process-flow-step.is-visible[data-process-anim="4"] { animation-delay: .8s; }

.process-flow-dot {
  position: absolute;
  left: -24px;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 1;
}
.process-flow-dot--shipped {
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.2);
}
.process-flow-dot--transit {
  background: rgba(255,255,255,.7);
  border: 2px solid rgba(255,255,255,.5);
}
.process-flow-dot--delivering {
  background: rgba(255,255,255,.5);
  border: 2px solid rgba(255,255,255,.35);
}
.process-flow-dot--issue {
  background: rgba(255,255,255,.3);
  border: 2px solid rgba(255,255,255,.25);
  position: relative;
}
.process-flow-dot--issue::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  animation: processWhitePulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}
.process-flow-content {
  padding-left: 4px;
}
.process-flow-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.process-flow-content p {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

/* ── Stats strip ── */
.process-stats {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.process-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.process-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.process-stat-val--sm {
  font-size: 13px;
  font-weight: 700;
}
.process-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* ── Center divider ── */
.process-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 20px;
}
.process-divider-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, rgba(168,30,99,.08), rgba(168,30,99,.2), rgba(168,30,99,.08));
}
.process-divider-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #B83376;
  border: 1.5px solid rgba(184,51,118,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  animation: processDividerPulse 3s ease-in-out infinite;
}

/* ── Animations ── */
@keyframes processCardReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes processReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes processWhitePulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%      { transform: scale(1.6); opacity: 0.3; }
}
@keyframes processDividerPulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes processFloatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes processFloatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Ambient float — applied after reveal completes */
.process-card--confirm.is-floating {
  animation: processFloatDown 5s ease-in-out infinite;
}
.process-card--track.is-floating {
  animation: processFloatUp 5.4s ease-in-out infinite;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .process-section { padding: 64px 0 48px; }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
  }
  .process-divider {
    flex-direction: row;
    padding: 8px 0;
    gap: 12px;
  }
  .process-divider-line {
    flex: 1;
    height: 2px;
    width: auto;
  }
  /* Arrow points downward on mobile (vertical flow) */
  .process-divider-icon svg {
    transform: rotate(90deg);
  }
  .process-card { padding: 24px 20px 20px; }
  /* Disable floating on small screens to avoid jank */
  .process-card--confirm.is-floating,
  .process-card--track.is-floating {
    animation: none;
  }
}

@media (max-width: 480px) {
  .process-stats { flex-direction: column; gap: 8px; }
  .process-stat { flex-direction: row; gap: 8px; justify-content: space-between; }
}


/* Features Section */
.features {
  background: transparent;
  text-align: center;
}

.features-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 32px;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(168, 30, 99, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  background: transparent;
  text-align: center;
}

/* ── Horizontal track layout ── */
.hiw-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

/* ── Arrow connectors ── */
.hiw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  padding: 0 4px;
  color: rgba(168, 30, 99, 0.25);
  flex-shrink: 0;
}

/* ── Card ── */
.hiw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 28px;
  width: 200px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(168, 30, 99, 0.1);
  border-radius: 16px;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hiw-card:hover {
  border-color: rgba(168, 30, 99, 0.22);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(168, 30, 99, 0.08), 0 0 0 1px rgba(168, 30, 99, 0.06);
  transform: translateY(-4px);
}

/* Accent card (final step) */
.hiw-card--accent {
  background: rgba(168, 30, 99, 0.04);
  border-color: rgba(168, 30, 99, 0.18);
}

.hiw-card--accent:hover {
  background: rgba(168, 30, 99, 0.07);
  border-color: rgba(168, 30, 99, 0.3);
  box-shadow: 0 8px 32px rgba(168, 30, 99, 0.12), 0 0 0 1px rgba(168, 30, 99, 0.1);
}

/* ── Step number badge ── */
.hiw-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-card);
  border: 1.5px solid rgba(168, 30, 99, 0.2);
  border-radius: 50%;
  z-index: 2;
}

.hiw-number span {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hiw-number--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.hiw-number--accent span {
  color: #fff;
}

/* ── Icon circle ── */
.hiw-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 16px;
  transition: transform 0.28s ease;
}

.hiw-card:hover .hiw-icon {
  transform: scale(1.08);
}

.hiw-icon--purple {
  background: rgba(124, 58, 237, 0.09);
  color: #7c3aed;
}

.hiw-icon--blue {
  background: rgba(59, 130, 246, 0.09);
  color: #2563eb;
}

.hiw-icon--green {
  background: rgba(34, 197, 94, 0.09);
  color: #16a34a;
}

.hiw-icon--orange {
  background: rgba(245, 158, 11, 0.09);
  color: #d97706;
}

.hiw-icon--teal {
  background: rgba(20, 184, 166, 0.09);
  color: #0d9488;
}

.hiw-icon--accent {
  background: rgba(168, 30, 99, 0.1);
  color: var(--color-accent);
}

/* ── Text ── */
.hiw-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hiw-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

/* ── Tag chip ── */
.hiw-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(168, 30, 99, 0.06);
  color: var(--color-accent);
  border: 1px solid rgba(168, 30, 99, 0.12);
  letter-spacing: 0.02em;
}

.hiw-tag--accent {
  background: rgba(168, 30, 99, 0.1);
  border-color: rgba(168, 30, 99, 0.22);
  color: #7a1548;
}

/* ── Wide card variant (for detail-heavy steps) ── */
.hiw-card--wide {
  width: 240px;
}

/* ── Detail list inside a card ── */
.hiw-details {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: left;
}

.hiw-details li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.hiw-details li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-accent);
  opacity: 0.7;
}

.hiw-details li strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hiw-card {
    width: 170px;
    padding: 28px 14px 24px;
  }

  .hiw-card--wide {
    width: 210px;
  }

  .hiw-arrow svg {
    width: 24px;
  }
}

@media (max-width: 768px) {
  .hiw-track {
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hiw-card {
    width: 100%;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 20px 24px;
    gap: 0;
    border-radius: 14px;
  }

  .hiw-card--wide {
    width: 100%;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hiw-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hiw-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .hiw-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hiw-title { font-size: 15px; margin-bottom: 6px; }
  .hiw-desc  { font-size: 13px; margin-bottom: 12px; line-height: 1.55; }

  .hiw-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
    padding: 0;
  }

  /* Spacing between cards */
  .hiw-card:not(:last-child) {
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .hiw-card {
    padding: 24px 16px 20px;
  }
}

/* Pricing Section */
.pricing {
  background: transparent;
  text-align: center;
}

.pricing-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--color-background);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.price {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.price-period {
  font-size: 18px;
  color: var(--color-text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.pricing-features svg {
  color: var(--color-accent);
  min-width: 20px;
  margin-top: 2px;
}

.pricing-feature--soon {
  opacity: 0.6;
}

.pricing-feature--soon svg {
  color: var(--color-text-muted);
}

.pricing-soon-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(168, 30, 99, 0.08);
  color: var(--color-primary);
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

.pricing-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ════════════════════════════════════════════════════════════════
   Coming Soon Section
   ════════════════════════════════════════════════════════════════ */
.cs-section {
  background: transparent;
  text-align: center;
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cs-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(184, 51, 118, 0.10);
  border-radius: 20px;
  padding: 36px 28px 28px;
  text-align: left;
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1),
              box-shadow 0.35s cubic-bezier(.4, 0, .2, 1),
              border-color 0.35s ease;
}

.cs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(184, 51, 118, 0.08),
              0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(184, 51, 118, 0.18);
}

.cs-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(184, 51, 118, 0.10), rgba(168, 30, 99, 0.06));
  color: var(--color-primary);
  margin-bottom: 20px;
}

.cs-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184, 51, 118, 0.08), rgba(168, 30, 99, 0.04));
  color: var(--color-primary);
  margin-bottom: 20px;
}

.cs-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.cs-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.cs-card-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-card-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.cs-card-points svg {
  color: var(--color-accent);
  min-width: 16px;
  margin-top: 2px;
}

/* ── Chat bubble visual (card 1) ── */
.cs-card-visual {
  background: rgba(248, 248, 250, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 16px;
}

.cs-chat-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.cs-chat-bubble:last-child {
  margin-bottom: 0;
}

.cs-chat-bubble--user {
  justify-content: flex-end;
}

.cs-chat-avatar {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(184, 51, 118, 0.08);
  font-size: 14px;
  flex-shrink: 0;
}

.cs-chat-text {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 80%;
}

.cs-chat-bubble--bot .cs-chat-text {
  border-radius: 4px 12px 12px 12px;
}

.cs-chat-bubble--user .cs-chat-text {
  background: var(--color-primary);
  color: white;
  border-color: transparent;
  border-radius: 12px 4px 12px 12px;
}

/* ── Flow visual (card 2) ── */
.cs-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cs-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
}

.cs-flow-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-card:hover .cs-flow-dot {
  opacity: 1;
  transform: scale(1.08);
}

.cs-flow-dot--mid {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.cs-flow-dot--end {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.cs-flow-arrow {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  opacity: 0.4;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .cs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .cs-card {
    padding: 28px 20px 24px;
  }

  .cs-card-title {
    font-size: 18px;
  }

  .cs-flow {
    gap: 6px;
  }

  .cs-flow-step {
    font-size: 11px;
  }

  .cs-flow-dot {
    width: 30px;
    height: 30px;
  }
}

/* Testimonials Section */
/* ════════════════════════════════════════════════════════════════
   Before & After Section
   ════════════════════════════════════════════════════════════════ */
.bna-section {
  background: transparent;
  text-align: center;
}

/* ── Two-column comparison grid ── */
.bna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Column shell ── */
.bna-col {
  border-radius: 18px;
  padding: 28px 24px 24px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bna-col:hover {
  transform: translateY(-3px);
}

.bna-col--before {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.14);
}

.bna-col--before:hover {
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.06);
}

.bna-col--after {
  background: rgba(34, 197, 94, 0.03);
  border: 1px solid rgba(34, 197, 94, 0.16);
}

.bna-col--after:hover {
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.07);
}

/* ── Column header badge ── */
.bna-col-header {
  margin-bottom: 20px;
}

.bna-col-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.bna-col-badge--before {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.bna-col-badge--after {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ── Metric rows ── */
.bna-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bna-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.22s ease;
}

.bna-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.bna-row-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.bna-row-icon--red {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
}

.bna-row-icon--green {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
}

.bna-row-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bna-row-stat {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.bna-row-stat--red   { color: #dc2626; }
.bna-row-stat--green { color: #16a34a; }

.bna-row-label {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .bna-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bna-col {
    padding: 22px 18px 20px;
  }

  .bna-row {
    gap: 12px;
    padding: 10px 10px;
  }

  .bna-row-stat {
    font-size: 15px;
  }
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding: 40px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stats-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
}

.stats-label {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--color-background);
  text-align: center;
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-item[open] {
  border-color: var(--color-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  list-style: none;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--color-text-muted);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

@media (max-width: 768px) {
  .faq {
    padding: 64px 0;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* CTA Section */
.cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 36px;
}

/* ── WhatsApp button group ── */
.cta-wa-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 520px) {
  .cta-wa-group {
    flex-direction: row;
    max-width: 100%;
  }
}

.cta-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  line-height: 1.3;
  flex-wrap: wrap;
}

.cta-wa-btn:hover {
  transform: translateY(-2px);
}

/* Primary: white bg, green accent */
.cta-wa-btn--primary {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

.cta-wa-btn--primary:hover {
  background: #f0fdf4;
  box-shadow: 0 6px 24px rgba(34,197,94,0.2);
}

.cta-wa-btn--primary .cta-wa-icon {
  color: #25D366;
}

/* Secondary: transparent outline */
.cta-wa-btn--secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.cta-wa-btn--secondary:hover {
  background: rgba(255,255,255,0.14);
  box-shadow: 0 4px 18px rgba(255,255,255,0.08);
}

.cta-wa-btn--secondary .cta-wa-icon {
  color: #25D366;
}

.cta-wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-wa-num {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.65;
  width: 100%;
  text-align: center;
}

.cta-note {
  font-size: 14px;
  opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════════
   Workflow Diagram Section
   ════════════════════════════════════════════════════════════════ */
.workflow-section {
  background: transparent;
  padding: 80px 0 0;
  overflow: hidden;
}

.workflow-header {
  text-align: center;
  margin-bottom: 56px;
}

.workflow-header .section-subtitle {
  margin-bottom: 0;
}

/* ── Stage: horizontal flex container ── */
.wf-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 32px 72px;
  max-width: 1360px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

@media (max-width: 767px) {
  .wf-stage {
    justify-content: flex-start;
    padding: 0 20px 56px;
  }
}

/* ── Column ── */
.wf-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wf-col-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  white-space: nowrap;
}

/* Column width hints */
.wf-col--sources  { width: 148px; }
.wf-col--crm      { width: 168px; }
.wf-col--confirm  { width: 168px; }
.wf-col--delivery { width: 180px; }
.wf-col--tracking { width: 180px; }

/* ── Connector (SVG arrows between columns) ── */
.wf-connector {
  flex-shrink: 0;
  align-self: center;
}

.wf-connector--in  { width: 72px;  height: 300px; }
.wf-connector--mid { width: 48px;  height: 56px; }

.wf-svg { width: 100%; height: 100%; overflow: visible; }

/* ── Flow lines ── */
.wf-path {
  fill: none;
  stroke-width: 1.5;
}

.wf-path--in,
.wf-path--mid {
  stroke: rgba(168, 30, 99, 0.4);
  stroke-dasharray: 6 8;
  animation: wf-flow 0.8s linear infinite;
}

.wf-path--feedback {
  stroke: var(--color-primary);
  stroke-dasharray: 8 14;
  opacity: 0.45;
  animation: wf-flow-feedback 2.4s linear infinite;
}

@keyframes wf-flow {
  from { stroke-dashoffset: 14; }
  to   { stroke-dashoffset: 0; }
}

@keyframes wf-flow-feedback {
  from { stroke-dashoffset: 22; }
  to   { stroke-dashoffset: 0; }
}

/* ════ Column 1: Sources ════ */
.wf-sources {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* Source row card */
.wf-node.wf-source {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  background: transparent;
  border: 1.5px dashed rgba(168, 30, 99, 0.22);
  border-radius: var(--radius-sm);
  width: 100%;
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.wf-node.wf-source:hover {
  border-color: rgba(168, 30, 99, 0.45);
  background: rgba(168, 30, 99, 0.03);
  box-shadow: 0 0 12px rgba(168, 30, 99, 0.06);
}

.wf-node.wf-source .wf-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(168, 30, 99, 0.06);
  color: var(--color-accent);
  flex-shrink: 0;
}

.wf-node.wf-source .wf-node-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

/* ════ Column 2: CRM Hub ════ */
.wf-col--crm { position: relative; }

.wf-crm-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
}

.wf-crm-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.75);
}

.wf-crm-ring--outer {
  width: 156px;
  height: 156px;
  border: 1.5px dashed rgba(168, 30, 99, 0.25);
  animation: crm-ripple 2.8s ease-out infinite;
}

.wf-crm-ring--inner {
  width: 122px;
  height: 122px;
  border: 1.5px dashed rgba(168, 30, 99, 0.35);
  animation: crm-ripple 2.8s ease-out 1.4s infinite;
}

@keyframes crm-ripple {
  0%   { transform: scale(0.78); opacity: 0.75; }
  80%  { opacity: 0.1; }
  100% { transform: scale(1.12); opacity: 0; }
}

.wf-node--crm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px dashed rgba(168, 30, 99, 0.4);
  background: transparent;
  box-shadow: 0 0 16px rgba(168, 30, 99, 0.08);
  gap: 4px;
  z-index: 1;
  position: relative;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.wf-node--crm:hover {
  border-color: rgba(168, 30, 99, 0.6);
  box-shadow: 0 0 24px rgba(168, 30, 99, 0.14);
}

.wf-node--crm .wf-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  padding: 5px !important;
  background: transparent;
  color: var(--color-accent);
}

.wf-node--crm .wf-node-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  line-height: 1.25;
  padding: 0 6px;
}

/* ════ Column 3: Confirmation — action cards ════ */
.wf-confirm-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.wf-action-card {
  background: transparent;
  border: 1.5px dashed rgba(168, 30, 99, 0.22);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
  min-width: 100%;
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.wf-action-card:hover {
  border-color: rgba(168, 30, 99, 0.45);
  background: rgba(168, 30, 99, 0.03);
  box-shadow: 0 0 14px rgba(168, 30, 99, 0.06);
}

.wf-action-header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wf-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.wf-action-icon--phone {
  background: rgba(168, 30, 99, 0.08);
  color: var(--color-accent);
}

.wf-action-icon--wa {
  background: rgba(37, 211, 102, 0.08);
  color: #1da851;
}

.wf-action-icon--delivery {
  background: rgba(168, 30, 99, 0.08);
  color: var(--color-accent);
}

.wf-action-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* attempt dots row */
.wf-attempt-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 1px;
}

.wf-attempt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.25s;
  flex-shrink: 0;
}

.wf-attempt-dot.is-active {
  background: var(--color-accent);
}

.wf-attempt-dot-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-left: 2px;
}

/* message bubbles */
.wf-bubbles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.wf-bubble {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: transparent;
  border: 1px dashed rgba(168, 30, 99, 0.2);
  color: var(--color-accent);
  opacity: 1;
  transform: translateX(0);
  white-space: nowrap;
  width: fit-content;
}

.wf-bubble--confirmed {
  background: transparent;
  border-color: rgba(168, 30, 99, 0.35);
  color: var(--color-accent);
}

/* ════ Column 4: Delivery ════ */
.wf-delivery-wrap {
  background: transparent;
  border: 1.5px dashed rgba(168, 30, 99, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: fit-content;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.wf-delivery-wrap:hover {
  border-color: rgba(168, 30, 99, 0.45);
  background: rgba(168, 30, 99, 0.03);
  box-shadow: 0 0 14px rgba(168, 30, 99, 0.06);
}

.wf-delivery-header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wf-delivery-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* carrier pill grid */
.wf-carriers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.wf-carrier {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px 3px 5px;
  background: transparent;
  border: 1px dashed rgba(168, 30, 99, 0.18);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text);
  transition: border-color 0.2s, background 0.2s;
}

.wf-carrier:hover {
  border-color: rgba(168, 30, 99, 0.4);
  background: rgba(168, 30, 99, 0.04);
}

.wf-carrier-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.wf-carrier--more {
  background: transparent;
  border-color: rgba(107, 114, 128, 0.2);
  border-style: dashed;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ════ Column 5: Tracking & Feedback ════ */
.wf-tracking-wrap {
  background: transparent;
  border: 1.5px dashed rgba(168, 30, 99, 0.22);
  border-radius: var(--radius);
  padding: 12px;
  width: fit-content;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.wf-tracking-wrap:hover {
  border-color: rgba(168, 30, 99, 0.45);
  background: rgba(168, 30, 99, 0.03);
  box-shadow: 0 0 14px rgba(168, 30, 99, 0.06);
}

.wf-track-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px dashed rgba(168, 30, 99, 0.15);
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wf-track-item:hover {
  border-color: rgba(168, 30, 99, 0.35);
  background: rgba(168, 30, 99, 0.02);
}

.wf-track-item--ai {
  border-color: rgba(168, 30, 99, 0.28);
  background: transparent;
}

.wf-track-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex-shrink: 0;
}

.wf-track-icon--phone {
  background: rgba(168, 30, 99, 0.08);
  color: var(--color-accent);
}

.wf-track-icon--wa {
  background: rgba(37, 211, 102, 0.08);
  color: #1da851;
}

.wf-track-icon--ai {
  background: rgba(168, 30, 99, 0.1);
  color: var(--color-accent);
}

.wf-track-icon--loop {
  background: rgba(168, 30, 99, 0.06);
  color: var(--color-accent);
}

.wf-track-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.wf-track-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.wf-track-desc {
  font-size: 10px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ── Dashboard Preview Section ──────────────────────────────────────────────── */
.dash-preview {
  padding: 80px 0;
}

.dash-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

/* 3-column zig-zag grid: featured cards span 2 cols */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Row 1: Orders featured (left 2/3) + Delivery (right 1/3) */
.dash-card:nth-child(1) { grid-column: span 2; }
/* Row 2: Analytics (left 1/3) + Overview featured (right 2/3) */
.dash-card:nth-child(4) { grid-column: span 2; }

/* ── Card shell ── */
.dash-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.32s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
}

.dash-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 52px -14px rgba(0, 0, 0, 0.15),
              0 0 0 1px rgba(184, 51, 118, 0.09);
}

/* ── Browser chrome bar ── */
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #f4f5f7;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.dash-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.dash-dots span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dash-dots span:nth-child(1) { background: #f87171; }
.dash-dots span:nth-child(2) { background: #fbbf24; }
.dash-dots span:nth-child(3) { background: #4ade80; }

.dash-url {
  font-size: 11px;
  color: #9ca3af;
  background: #ffffff;
  border: 1px solid #e9eaec;
  border-radius: 5px;
  padding: 3px 10px;
  flex: 1;
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ── Screen / mockup area ── */
.dash-screen {
  flex: 1;
  padding: 14px 16px;
  background: #f8f9fb;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

/* ── Caption bar ── */
.dash-caption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.dash-caption-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(184, 51, 118, 0.09);
  color: var(--color-primary);
  flex-shrink: 0;
}

.dash-caption-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-caption-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.dash-caption-text span {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─────────────────────────────────
   Mockup UI — Orders Table
   ───────────────────────────────── */
.dm-orders { font-size: 11px; }

.dm-topbar-kpis {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dm-kpi-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #f0f1f4;
  border: 1px solid #e4e5e9;
}

.dm-kpi-chip--green  { background: rgba(34,197,94,0.08);   border-color: rgba(34,197,94,0.24); }
.dm-kpi-chip--red    { background: rgba(239,68,68,0.08);   border-color: rgba(239,68,68,0.24); }
.dm-kpi-chip--orange { background: rgba(245,158,11,0.08);  border-color: rgba(245,158,11,0.24); }

.dm-kpi-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.dm-kpi-chip--green  .dm-kpi-num { color: #16a34a; }
.dm-kpi-chip--red    .dm-kpi-num { color: #dc2626; }
.dm-kpi-chip--orange .dm-kpi-num { color: #d97706; }

.dm-kpi-lbl {
  font-size: 9px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.dm-table-head {
  display: grid;
  grid-template-columns: 52px 1fr 90px 82px 64px;
  gap: 4px;
  padding: 5px 8px;
  background: #f0f1f4;
  border-radius: 5px 5px 0 0;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.dm-table-body {
  border: 1px solid #e9eaec;
  border-top: none;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
}

.dm-row {
  display: grid;
  grid-template-columns: 52px 1fr 90px 82px 64px;
  gap: 4px;
  align-items: center;
  padding: 7px 8px;
  font-size: 11px;
  border-bottom: 1px solid #f0f1f4;
  background: #ffffff;
}

.dm-row:last-child  { border-bottom: none; }
.dm-row--active     { background: rgba(184, 51, 118, 0.04); }

.dm-id     { color: var(--color-text-muted); font-family: monospace; font-size: 10.5px; }
.dm-name   { font-weight: 500; color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-city   { color: var(--color-text-muted); }
.dm-amount { font-weight: 600; color: var(--color-text); text-align: right; }

.dm-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.dm-badge--green  { background: rgba(34,197,94,0.1);   color: #16a34a; }
.dm-badge--orange { background: rgba(245,158,11,0.12); color: #b45309; }
.dm-badge--blue   { background: rgba(59,130,246,0.1);  color: #1d4ed8; }
.dm-badge--red    { background: rgba(239,68,68,0.1);   color: #dc2626; }

/* ─────────────────────────────────
   Mockup UI — Delivery Tracking
   ───────────────────────────────── */
.dm-delivery { font-size: 11px; }

.dm-section-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.dm-d-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.dm-d-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  gap: 2px;
}

.dm-d-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.dm-d-num--green  { color: #16a34a; }
.dm-d-num--blue   { color: #2563eb; }
.dm-d-num--orange { color: #d97706; }

.dm-d-lbl {
  font-size: 9px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Timeline */
.dm-tl {
  display: flex;
  flex-direction: column;
  position: relative;
}

.dm-tl::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #e5e7eb;
  z-index: 0;
}

.dm-tl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  position: relative;
  z-index: 1;
}

.dm-tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 2px solid #f8f9fb;
  flex-shrink: 0;
  z-index: 2;
}

.dm-tl-done .dm-tl-dot   { background: #22c55e; }
.dm-tl-active .dm-tl-dot { background: var(--color-primary); box-shadow: 0 0 0 3px rgba(184,51,118,0.18); }

.dm-tl-lbl  { flex: 1; font-size: 11px; color: var(--color-text-muted); }
.dm-tl-done .dm-tl-lbl   { color: var(--color-text); font-weight: 500; }
.dm-tl-active .dm-tl-lbl { color: var(--color-primary); font-weight: 600; }

.dm-tl-time { font-size: 10px; color: var(--color-text-muted); font-family: monospace; }

/* ─────────────────────────────────
   Mockup UI — Analytics / KPIs
   ───────────────────────────────── */
.dm-analytics { font-size: 11px; }

.dm-big-kpi {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}

.dm-pct {
  font-size: 26px;
  font-weight: 700;
  opacity: 0.55;
}

.dm-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  border-bottom: 1px solid #e5e7eb;
}

.dm-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0;
}

.dm-bar-group > span {
  font-size: 9px;
  color: var(--color-text-muted);
  margin-top: 5px;
  line-height: 1;
}

.dm-bar {
  width: 100%;
  height: var(--h, 50%);
  background: rgba(184, 51, 118, 0.22);
  border-radius: 3px 3px 0 0;
}

.dm-bar--hi { background: var(--color-primary); }

/* ─────────────────────────────────
   Mockup UI — Business Overview
   ───────────────────────────────── */
.dm-overview { font-size: 11px; }

.dm-ov-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.dm-ov-kpi {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.dm-ov-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  white-space: nowrap;
}

.dm-ov-lbl {
  font-size: 9.5px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.dm-ov-delta { font-size: 10px; font-weight: 600; margin-top: 2px; }
.dm-delta--up   { color: #16a34a; }
.dm-delta--down { color: #dc2626; }

.dm-ov-chart-lbl {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.dm-ov-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 64px;
  border-bottom: 1px solid #e5e7eb;
}

.dm-ov-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.dm-ov-col > span {
  font-size: 8px;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1;
}

.dm-ov-bar {
  width: 100%;
  height: var(--h, 50%);
  background: rgba(184, 51, 118, 0.2);
  border-radius: 2px 2px 0 0;
}

.dm-ov-bar--hi { background: var(--color-primary); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-card:nth-child(1),
  .dash-card:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .dash-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dash-card:nth-child(1),
  .dash-card:nth-child(4) {
    grid-column: span 1;
  }
  .dm-table-head,
  .dm-row {
    grid-template-columns: 44px 1fr 72px 60px;
  }
  .dm-table-head > span:nth-child(3),
  .dm-row > span:nth-child(3) { display: none; }
  .dm-ov-kpis {
    grid-template-columns: 1fr 1fr;
  }
}

.wf-ai-badge {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 4px;
  padding: 2px 5px;
}

/* ── Feedback label ── */
.wf-feedback-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0;
  margin-top: 4px;
  padding: 0 4px;
  white-space: nowrap;
}

.wf-feedback-label svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* ── Feedback arc (below stage) ── */
.wf-feedback-arc {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  overflow: visible;
}

.wf-feedback-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ════════════════════════════════════════════════════════════════
   Integrations Section
   ════════════════════════════════════════════════════════════════ */
.integrations {
  padding: 80px 0;
  background: transparent;
  overflow: hidden;
}

.integrations-header {
  text-align: center;
  margin-bottom: 56px;
}

.integrations-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.integrations-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}

.integrations-fade-left {
  left: 0;
  background: linear-gradient(to right, #ffffff 20%, transparent);
}

.integrations-fade-right {
  right: 0;
  background: linear-gradient(to left, #ffffff 20%, transparent);
}

.integrations-marquee {
  display: flex;
  overflow: hidden;
}

.integrations-marquee--fwd .integrations-track {
  animation: marquee-left 35s linear infinite;
}

.integrations-marquee--rev .integrations-track {
  animation: marquee-right 35s linear infinite;
}

.integrations-marquee:hover .integrations-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.integrations-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 4px 0;
}

.integration-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.integration-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(168, 30, 99, 0.3);
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.delivery-logo {
  width: 120px !important;
  height: 44px;
}
.integration-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.integration-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.integration-type {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.integrations-footer {
  text-align: center;
  margin-top: 40px;
}

.integrations-note {
  font-size: 15px;
  color: var(--color-text-muted);
}

.integrations-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.integrations-link:hover {
  color: var(--color-accent-hover);
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: transparent;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 32px;
  }
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 14px;
  color: var(--color-text-muted);
}



/* ── KPI Showcase Section ──────────────────────────────────────────────────── */
.kpi-showcase {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  perspective: 1200px;
}

/* Ambient radial glow background */
.kpi-showcase-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 25% 20%, rgba(184,51,118,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 75% 70%, rgba(34,197,94,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 50%, rgba(59,130,246,0.03) 0%, transparent 60%);
}

.kpi-showcase-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}

/* ── Floating keyframes ── */
@keyframes kpiFloat1 {
  0%,100% { transform: translateY(0) rotateX(0) rotateY(0); }
  33%     { transform: translateY(-14px) rotateX(1deg) rotateY(-0.3deg); }
  66%     { transform: translateY(-4px) rotateX(-0.4deg) rotateY(0.2deg); }
}
@keyframes kpiFloat2 {
  0%,100% { transform: translateY(0) rotateX(0) rotateY(0); }
  40%     { transform: translateY(-12px) rotateX(-0.8deg) rotateY(0.4deg); }
  70%     { transform: translateY(-3px) rotateX(0.3deg) rotateY(-0.2deg); }
}
@keyframes kpiFloat3 {
  0%,100% { transform: translateY(0) rotateX(0); }
  35%     { transform: translateY(-10px) rotateX(0.6deg); }
  65%     { transform: translateY(-3px) rotateX(-0.3deg); }
}
@keyframes kpiFloat4 {
  0%,100% { transform: translateY(0) rotateX(0) rotateY(0); }
  45%     { transform: translateY(-13px) rotateX(0.7deg) rotateY(-0.3deg); }
  75%     { transform: translateY(-5px) rotateX(-0.4deg) rotateY(0.15deg); }
}

.kpi-float-1 { animation: kpiFloat1 6s   cubic-bezier(0.37,0,0.63,1) infinite; }
.kpi-float-2 { animation: kpiFloat2 7s   cubic-bezier(0.37,0,0.63,1) infinite 0.6s; }
.kpi-float-3 { animation: kpiFloat3 5.5s cubic-bezier(0.37,0,0.63,1) infinite 1.2s; }
.kpi-float-4 { animation: kpiFloat4 6.5s cubic-bezier(0.37,0,0.63,1) infinite 0.3s; }

/* ── Rate panels grid ── */
.kpi-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.kpi-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px -4px rgba(0,0,0,0.06),
    0 20px 48px -8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.45s cubic-bezier(0.23,1,0.32,1);
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.kpi-panel:hover {
  transform: translateY(-6px) rotateX(1deg) scale(1.005);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 16px 40px -4px rgba(0,0,0,0.1),
    0 32px 64px -8px rgba(0,0,0,0.07),
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 0 1px rgba(184,51,118,0.08);
}

/* ── Donut chart container ── */
.kpi-donut-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  flex-shrink: 0;
}

.kpi-donut-wrap canvas {
  display: block;
  width: 148px !important;
  height: 148px !important;
}

.kpi-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}

.kpi-pct {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--color-text);
}

.kpi-pct-lbl {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ── Panel body ── */
.kpi-panel-body {
  flex: 1;
  min-width: 0;
}

.kpi-panel-title {
  font-size: 18px;
  font-weight: 750;
  color: var(--color-text);
  margin-bottom: 6px;
}

.kpi-panel-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

/* ── Sub-stat chips ── */
.kpi-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kpi-chip {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  min-width: 60px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
}

.kpi-chip:hover {
  transform: translateY(-2px);
}

.kpi-chip-num {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.kpi-chip-lbl {
  font-size: 10px;
  opacity: 0.72;
  line-height: 1;
}

.kpi-chip--green { background: rgba(34,197,94,0.09);   color: #15803d; }
.kpi-chip--blue  { background: rgba(59,130,246,0.09);  color: #1d4ed8; }
.kpi-chip--muted { background: rgba(107,114,128,0.08); color: #4b5563; }
.kpi-chip--red   { background: rgba(239,68,68,0.09);   color: #dc2626; }

/* ── Lower section: financials + cities ── */
.kpi-lower {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.kpi-fin-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px -4px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.36s ease, box-shadow 0.36s ease;
  transform-style: preserve-3d;
}

.kpi-fin-card:hover {
  transform: translateY(-4px) rotateX(0.5deg);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 16px 36px -4px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.kpi-fin-card--accent {
  background: linear-gradient(135deg,
    rgba(184,51,118,0.07) 0%,
    rgba(168,30,99,0.03) 100%);
  border-color: rgba(184,51,118,0.18);
}

.kpi-fin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(184,51,118,0.09);
  color: var(--color-primary);
  flex-shrink: 0;
}

.kpi-fin-icon--accent {
  background: rgba(184,51,118,0.16);
}

.kpi-fin-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.kpi-fin-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  white-space: nowrap;
}

.kpi-fin-val small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.5;
}

.kpi-fin-val--accent {
  font-size: 21px;
  color: var(--color-primary);
}

.kpi-fin-lbl {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.15px;
}

/* ── KPI: tall accent card (enriched) ── */
.kpi-fin-card--tall {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 22px 20px;
}

.kpi-fin-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kpi-fin-header .kpi-fin-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.kpi-fin-header .kpi-fin-val--accent {
  font-size: 26px;
}

/* ── Sub-metrics grid ── */
.kpi-fin-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kpi-fin-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
}

.kpi-fin-metric:hover {
  transform: translateY(-2px);
}

.kpi-fin-metric-val {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.kpi-fin-metric-lbl {
  font-size: 10px;
  opacity: 0.7;
  line-height: 1;
  letter-spacing: 0.1px;
}

.kpi-fin-metric--green   { background: rgba(34,197,94,0.09);   color: #15803d; }
.kpi-fin-metric--emerald { background: rgba(16,185,129,0.09);  color: #047857; }
.kpi-fin-metric--blue    { background: rgba(59,130,246,0.09);  color: #1d4ed8; }
.kpi-fin-metric--muted   { background: rgba(107,114,128,0.08); color: #4b5563; }

.kpi-fin-note {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 4px;
  max-width: 220px;
}

/* ── Cities chart ── */
.kpi-cities {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px -4px rgba(0,0,0,0.06),
    0 20px 48px -8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kpi-cities:hover {
  transform: translateY(-4px) rotateX(0.4deg);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 16px 36px -4px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.kpi-cities-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.kpi-city-list {
  display: flex;
  flex-direction: column;
}

.kpi-city-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.kpi-city-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kpi-city-nm {
  width: 86px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  flex-shrink: 0;
}

.kpi-city-track {
  flex: 1;
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.kpi-city-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), #d946a8);
  border-radius: 100px;
  transition: width 1.1s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 0 8px rgba(184,51,118,0.25);
}

.kpi-city-val {
  width: 48px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ── Monthly comparison charts ── */
.kpi-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.kpi-chart-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px -4px rgba(0,0,0,0.06),
    0 20px 48px -8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.45s cubic-bezier(0.23,1,0.32,1);
  transform-style: preserve-3d;
  will-change: transform;
}

.kpi-chart-card:hover {
  transform: translateY(-6px) rotateX(0.8deg) scale(1.003);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 16px 40px -4px rgba(0,0,0,0.1),
    0 32px 64px -8px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.kpi-chart-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.kpi-chart-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.kpi-chart-legend {
  display: flex;
  gap: 12px;
}

.kpi-chart-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.kpi-chart-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 4px currentColor;
}

/* Canvas wrapper */
.kpi-canvas-wrap {
  position: relative;
  height: 160px;
}

.kpi-canvas-wrap canvas {
  display: block;
}

/* ── CTA block ── */
.kpi-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: linear-gradient(135deg,
    rgba(184,51,118,0.06) 0%,
    rgba(168,30,99,0.02) 100%);
  border: 1px solid rgba(184,51,118,0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(184,51,118,0.06);
  position: relative;
  z-index: 1;
  transition: transform 0.36s ease, box-shadow 0.36s ease;
}

.kpi-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(184,51,118,0.1);
}

.kpi-cta-text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 420px;
  text-align: center;
}

.kpi-cta .btn svg {
  margin-left: 6px;
  vertical-align: middle;
}

/* ── KPI Showcase: responsive ── */
@media (max-width: 1024px) {
  .kpi-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kpi-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .kpi-donut-wrap,
  .kpi-donut-wrap canvas {
    width: 120px !important;
    height: 120px !important;
  }
  .kpi-lower {
    grid-template-columns: 1fr;
  }
  .kpi-charts {
    grid-template-columns: 1fr;
  }
  .kpi-float-1, .kpi-float-2,
  .kpi-float-3, .kpi-float-4 {
    animation: none;
  }
}

@media (max-width: 480px) {
  .kpi-chips {
    gap: 6px;
  }
  .kpi-fin-metrics {
    gap: 6px;
  }
  .kpi-fin-metric {
    padding: 8px 9px;
  }
}
