/* css/components.css — Reusable UI Components */

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default);
}

.btn-primary {
  padding: 0.875rem 2rem;
  font-size: var(--text-body);
  border-radius: var(--radius-md);
  background: var(--color-brand);
  color: white;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--color-brand-dark);
  box-shadow: var(--shadow-brand-lg);
  transform: translateY(-1px);
}

.btn-primary .btn-icon {
  transition: transform var(--duration-normal);
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-secondary {
  padding: 0.875rem 2rem;
  font-size: var(--text-body);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(218, 119, 86, 0.16), transparent 60%),
    linear-gradient(160deg, #3A322A 0%, #2A2520 60%),
    #2A2520;
  color: #F5EDE3;
  border: 1px solid rgba(218, 119, 86, 0.3);
  box-shadow:
    0 6px 18px -6px rgba(26, 22, 18, 0.55),
    0 2px 6px -2px rgba(26, 22, 18, 0.3),
    0 0 0 1px rgba(218, 119, 86, 0.06),
    inset 0 1px 0 rgba(218, 119, 86, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transition: background-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default),
              color var(--duration-normal) var(--ease-default),
              border-color var(--duration-normal) var(--ease-default);
}

.btn-secondary:hover {
  color: var(--color-brand-light);
  border-color: rgba(218, 119, 86, 0.5);
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px -8px rgba(26, 22, 18, 0.65),
    0 4px 10px -2px rgba(218, 119, 86, 0.18),
    0 0 0 1px rgba(218, 119, 86, 0.14),
    inset 0 1px 0 rgba(218, 119, 86, 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  background: var(--color-brand);
  color: white;
  box-shadow: var(--shadow-brand);
}

.btn-nav:hover {
  background: var(--color-brand-dark);
  box-shadow: var(--shadow-brand-lg);
  transform: translateY(-1px);
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: var(--radius-lg);
  background: var(--color-brand);
  color: white;
  box-shadow: var(--shadow-brand);
}

.btn-submit:hover {
  background: var(--color-brand-dark);
  box-shadow: var(--shadow-brand-lg);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== CARDS ===== */

.card {
  background: var(--color-surface);
  backdrop-filter: blur(2px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration-normal) var(--ease-default),
              background-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default);
}

.card:hover {
  border-color: var(--color-brand-a25);
  box-shadow: var(--shadow-lg);
}

.card--accent {
  background: var(--color-brand-a4);
  border-color: var(--color-brand-a15);
}

.card--accent:hover {
  border-color: var(--color-brand-a25);
  box-shadow: var(--shadow-lg);
}

.card--form {
  background: var(--color-surface);
  backdrop-filter: blur(2px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .card--form {
    padding: var(--space-8);
  }
}

.card-title {
  font-size: var(--text-card-title);
  font-weight: 600;
  color: #F5EDE3;
  transition: color var(--duration-fast);
}

.card:hover .card-title {
  color: var(--color-brand-light);
}

.card-title--lg {
  font-size: var(--text-h3);
}

.card-description {
  font-size: var(--text-sm);
  color: rgba(245, 237, 227, 0.68);
  line-height: var(--leading-relaxed);
}

.card:hover .card-description {
  color: rgba(245, 237, 227, 0.82);
}

/* ===== CARD ILLUSTRATIONS ===== */

.card-illustration {
  position: relative;
  width: 100%;
  height: 176px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-brand-a10);
}

.card-illustration--chat {
  background: linear-gradient(to bottom right, rgba(218, 119, 86, 0.06), rgba(218, 119, 86, 0.12));
}

.card-illustration--flow {
  background: linear-gradient(to bottom right, #FAF5F0, #F5EDE8);
  border-color: rgba(218, 119, 86, 0.15);
}

.card-illustration--doc {
  background: linear-gradient(to bottom right, #FAF5F0, #F5EDE8);
  border-color: rgba(218, 119, 86, 0.15);
}

.card-illustration--progress {
  background: linear-gradient(to bottom right, #FAF5F0, #F5EDE8);
  border-color: rgba(218, 119, 86, 0.15);
}

/* ===== PILLS / TAGS ===== */

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color var(--duration-fast), color var(--duration-fast), background-color var(--duration-fast);
}

.pill:hover {
  border-color: var(--color-brand-a20);
  color: var(--color-text);
}

.pill.is-active {
  background: var(--color-brand-a6);
  border-color: var(--color-brand-a25);
  color: var(--color-brand);
}

.tag {
  display: inline-block;
  font-size: var(--text-tag);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-brand-a60);
  background: var(--color-brand-a6);
  border: 1px solid var(--color-brand-a12);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

/* ===== SELECTABLE CARDS (form) ===== */

.select-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--duration-fast), color var(--duration-fast), background-color var(--duration-fast);
}

.select-card:hover {
  border-color: var(--color-brand-a20);
  color: var(--color-text);
}

.select-card.is-active {
  background: var(--color-brand-a6);
  border-color: var(--color-brand-a25);
  color: var(--color-brand);
}

.select-card-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--color-text-muted);
  opacity: 0.6;
}

/* ===== FORM INPUTS ===== */

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--color-brand);
}

.form-label .optional {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(155, 149, 144, 0.4);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-a50);
  box-shadow: 0 0 0 2px var(--color-brand-a20);
}

.form-textarea {
  resize: none;
}

/* ===== PROGRESS BAR ===== */

.progress-bar {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--color-brand), var(--color-brand-dark));
  transition: width var(--duration-normal) var(--ease-default);
}

/* ===== CHECKLIST ===== */

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.checklist-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background: var(--color-brand-a10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-brand);
}

/* ===== TIMELINE ===== */

.timeline {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-brand-a50), var(--color-brand-a20), transparent);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-1px);
  }
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline-step {
    gap: 0;
  }

  .timeline-step:nth-child(odd) {
    flex-direction: row;
  }

  .timeline-step:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.timeline-dot {
  position: absolute;
  left: 19px;
  z-index: 10;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-dot-outer {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 2.5px solid var(--color-brand-a50);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-inner {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--color-brand);
  opacity: 0.8;
}

.timeline-card {
  margin-left: calc(27px + var(--space-8) + var(--space-6));
}

@media (min-width: 768px) {
  .timeline-card {
    width: calc(50% - 40px);
    margin-left: 0;
  }

  .timeline-step:nth-child(odd) .timeline-card {
    margin-right: auto;
    padding-right: 0;
  }

  .timeline-step:nth-child(even) .timeline-card {
    margin-left: auto;
    padding-left: 0;
  }
}

.timeline-card-inner {
  position: relative;
  overflow: hidden;
  background: rgba(250, 249, 246, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

@media (min-width: 768px) {
  .timeline-card-inner {
    padding: var(--space-6);
  }
}

.timeline-card-inner:hover {
  border-color: var(--color-brand-a30);
  box-shadow: 0 8px 24px rgba(218, 119, 86, 0.1);
}

.timeline-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-brand-a60), var(--color-brand-a30), transparent);
}

.timeline-step-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.timeline-step-number {
  font-size: var(--text-step);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-brand-a60);
  letter-spacing: var(--tracking-wider);
  transition: color var(--duration-fast);
}

.timeline-card-inner:hover .timeline-step-number {
  color: var(--color-brand);
}

.timeline-step-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-brand-a15), transparent);
}

/* ===== ACCORDION ===== */

.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-normal);
}

.accordion-item:hover {
  border-color: var(--color-brand-a25);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
}

.accordion-trigger svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-text-muted);
  transition: transform var(--duration-normal);
  flex-shrink: 0;
}

.accordion-item.is-open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-panel {
  display: none;
  padding: 0 var(--space-5) var(--space-4);
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ===== WORKFLOW COMPARISON (redesigned) ===== */

.workflow-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .workflow-comparison {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

.workflow-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--duration-slow) ease, box-shadow var(--duration-slow) ease;
}

.workflow-panel:hover {
  transform: translateY(-3px);
}

/* ===== Traditional Platform — redesigned with warm brand accents ===== */
.workflow-panel--old {
  background:
    radial-gradient(circle at top left, rgba(218, 119, 86, 0.18), transparent 45%),
    radial-gradient(circle at bottom right, rgba(184, 94, 62, 0.14), transparent 50%),
    linear-gradient(160deg, rgba(58, 50, 42, 1) 0%, rgba(42, 37, 32, 1) 60%),
    var(--color-charcoal);
  border: 1px solid var(--color-brand-a25);
  box-shadow:
    0 10px 40px rgba(42, 37, 32, 0.22),
    0 0 0 1px rgba(218, 119, 86, 0.08),
    inset 0 1px 0 rgba(218, 119, 86, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.workflow-panel--old:hover {
  border-color: var(--color-brand-a40);
  box-shadow:
    0 18px 56px rgba(42, 37, 32, 0.3),
    0 0 0 1px rgba(218, 119, 86, 0.14),
    inset 0 1px 0 rgba(218, 119, 86, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Warm glow that drifts across the top — signals the panel is alive, not dead */
.workflow-panel--old::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    /* orange accent strip across top */
    linear-gradient(to bottom,
      rgba(218, 119, 86, 0.5) 0,
      rgba(218, 119, 86, 0.5) 2px,
      transparent 2px),
    /* SVG grain for tactile depth */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.75 0 0 0 0 0.55 0 0 0 0.14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 160px 160px;
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 0;
}

/* Warm scan band that drifts down slowly */
.workflow-panel--old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  background: linear-gradient(to bottom,
    rgba(232, 160, 144, 0.18),
    rgba(218, 119, 86, 0.05),
    transparent);
  pointer-events: none;
  animation: traditional-scan 9s ease-in-out infinite;
  z-index: 0;
}

@keyframes traditional-scan {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50%      { transform: translateY(calc(100% + 20px)); opacity: 0.25; }
}

/* ===== Remote& Way panel ===== */
.workflow-panel--new {
  background:
    radial-gradient(ellipse at top right, rgba(218, 119, 86, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(143, 166, 142, 0.06), transparent 55%),
    var(--color-cream);
  border: 1px solid var(--color-brand-a20);
  box-shadow:
    0 10px 40px rgba(218, 119, 86, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.workflow-panel--new:hover {
  box-shadow:
    0 16px 48px rgba(218, 119, 86, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Shimmer sweep that crosses the panel periodically */
.workflow-panel--new::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 40%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: remoteand-shimmer 7s ease-in-out infinite;
  z-index: 0;
}

@keyframes remoteand-shimmer {
  0%   { left: -40%; opacity: 0; }
  10%  { opacity: 0.5; }
  40%  { opacity: 0.3; }
  55%  { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* Make sure content sits above the ::before/::after layers */
.workflow-panel-header,
.workflow-panel-body {
  position: relative;
  z-index: 1;
}

.workflow-panel-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid;
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.workflow-panel--old .workflow-panel-header {
  color: var(--color-brand-light);
  border-bottom-color: rgba(218, 119, 86, 0.22);
  text-shadow: 0 0 24px rgba(218, 119, 86, 0.35);
}

.workflow-panel--new .workflow-panel-header {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand-a20);
}

.workflow-panel-header-badge {
  font-size: var(--text-tag);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.workflow-panel--old .workflow-panel-header-badge {
  background: rgba(218, 119, 86, 0.14);
  color: var(--color-brand-light);
  border: 1px solid rgba(218, 119, 86, 0.4);
  box-shadow: 0 0 16px rgba(218, 119, 86, 0.15);
}

.workflow-panel--new .workflow-panel-header-badge {
  background: var(--color-sage-a20);
  color: var(--color-sage-dark);
}

.workflow-panel-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.workflow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
  position: relative;
}

/* Dashed vertical timeline through the step numbers (traditional = warm orange dashed, remote& = solid gradient) */
.workflow-panel--old .workflow-steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background-image: linear-gradient(to bottom,
    rgba(218, 119, 86, 0.55) 0,
    rgba(218, 119, 86, 0.55) 4px,
    transparent 4px,
    transparent 8px);
  background-size: 2px 8px;
  background-repeat: repeat-y;
}

.workflow-panel--new .workflow-steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--color-brand) 0%,
    var(--color-brand-a40) 50%,
    var(--color-sage) 100%);
  border-radius: 2px;
  opacity: 0.4;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  position: relative;
  z-index: 1;
}

.workflow-panel--old .workflow-step {
  color: rgba(245, 237, 227, 0.82);
}

.workflow-panel--new .workflow-step {
  color: var(--color-text);
}

/* Staggered reveal on scroll — traditional drips in slowly (signals slog), Remote& snaps in fast */
.reveal .workflow-step {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible .workflow-step {
  opacity: 1;
  transform: translateX(0);
}

/* Traditional — slow cascade, up to 10 steps */
.reveal.visible .workflow-panel--old .workflow-step:nth-child(1)  { transition-delay: 0.15s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(2)  { transition-delay: 0.30s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(3)  { transition-delay: 0.45s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(4)  { transition-delay: 0.60s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(5)  { transition-delay: 0.75s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(6)  { transition-delay: 0.90s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(7)  { transition-delay: 1.05s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(8)  { transition-delay: 1.20s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(9)  { transition-delay: 1.35s; }
.reveal.visible .workflow-panel--old .workflow-step:nth-child(10) { transition-delay: 1.50s; }

/* Remote& — fast, confident cascade */
.reveal.visible .workflow-panel--new .workflow-step:nth-child(1) { transition-delay: 0.12s; }
.reveal.visible .workflow-panel--new .workflow-step:nth-child(2) { transition-delay: 0.22s; }
.reveal.visible .workflow-panel--new .workflow-step:nth-child(3) { transition-delay: 0.32s; }
.reveal.visible .workflow-panel--new .workflow-step:nth-child(4) { transition-delay: 0.42s; }
.reveal.visible .workflow-panel--new .workflow-step:nth-child(5) { transition-delay: 0.52s; }

.workflow-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-tag);
  font-weight: 700;
  font-family: var(--font-mono);
  position: relative;
  transition: transform var(--duration-normal), box-shadow var(--duration-normal);
}

.workflow-panel--old .workflow-step-num {
  background: rgba(218, 119, 86, 0.14);
  color: var(--color-brand-light);
  border: 1px solid rgba(218, 119, 86, 0.55);
  box-shadow:
    inset 0 0 0 3px var(--color-charcoal),
    0 0 12px rgba(218, 119, 86, 0.18);
}

.workflow-panel--old .workflow-step:hover .workflow-step-num {
  background: rgba(218, 119, 86, 0.28);
  border-color: var(--color-brand);
  color: #FFE5D9;
  box-shadow:
    inset 0 0 0 3px var(--color-charcoal),
    0 0 18px rgba(218, 119, 86, 0.35);
}

.workflow-panel--new .workflow-step-num {
  background: var(--color-brand);
  color: white;
  box-shadow:
    0 2px 6px rgba(218, 119, 86, 0.35),
    0 0 0 3px var(--color-cream);
}

.workflow-panel--new .workflow-step:hover .workflow-step-num {
  transform: scale(1.1);
  box-shadow:
    0 4px 12px rgba(218, 119, 86, 0.45),
    0 0 0 3px var(--color-cream),
    0 0 0 6px var(--color-brand-a15);
}

/* Glow pulse on the first step num of Remote& panel — signals "AI is ready" */
.reveal.visible .workflow-panel--new .workflow-step:nth-child(1) .workflow-step-num::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-brand-a40);
  animation: step-pulse 2.8s ease-out infinite;
  animation-delay: 1s;
}

@keyframes step-pulse {
  0%   { transform: scale(0.9); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.workflow-stat {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid;
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
}

.workflow-panel--old .workflow-stat {
  border-top-color: rgba(218, 119, 86, 0.28);
  color: var(--color-brand-light);
}

.workflow-panel--new .workflow-stat {
  border-top-color: var(--color-brand-a20);
  color: var(--color-brand);
}

/* Decorative clock icon on the traditional panel's stat row */
.workflow-panel--old .workflow-stat::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid currentColor;
  position: relative;
  flex-shrink: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(to bottom, currentColor 0, currentColor 5px, transparent 5px),
    linear-gradient(to right, transparent 0, transparent 5px, currentColor 5px, currentColor 7px, transparent 7px);
  background-size: 1px 6px, 6px 1px;
  background-position: 6px 1px, 6px 6px;
  background-repeat: no-repeat;
  animation: clock-tick 4s steps(4, end) infinite;
  transform-origin: center center;
}

@keyframes clock-tick {
  0%   { filter: brightness(0.8); }
  25%  { filter: brightness(1); }
  50%  { filter: brightness(0.8); }
  75%  { filter: brightness(1); }
  100% { filter: brightness(0.8); }
}

/* Spark indicator on the Remote& panel's stat row */
.workflow-panel--new .workflow-stat::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-sage);
  box-shadow: 0 0 0 0 var(--color-sage-a40);
  animation: sage-pulse 2.4s ease-out infinite;
  flex-shrink: 0;
}

@keyframes sage-pulse {
  0%   { box-shadow: 0 0 0 0 var(--color-sage-a40); }
  70%  { box-shadow: 0 0 0 8px rgba(143, 166, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 166, 142, 0); }
}

/* Embedded mockup inside the Remote& Way panel */
.workflow-panel-mockup {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--color-surface-solid);
  border: 1px solid var(--color-brand-a12);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(218, 119, 86, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.workflow-mockup-bubble {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.workflow-mockup-bubble--user {
  justify-content: flex-end;
}

.workflow-mockup-msg {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  max-width: 85%;
  line-height: var(--leading-normal);
}

.workflow-mockup-msg--user {
  background: var(--color-brand);
  color: white;
  border-top-right-radius: var(--radius-sm);
}

.workflow-mockup-msg--ai {
  background: var(--color-cream-alt);
  color: var(--color-text);
  border: 1px solid var(--color-brand-a10);
  border-top-left-radius: var(--radius-sm);
}

.workflow-mockup-confirm {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-sage);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  align-self: flex-end;
  box-shadow: 0 2px 6px var(--color-sage-a40);
  position: relative;
  overflow: hidden;
}

.workflow-mockup-confirm::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 30%;
  height: 100%;
  background: linear-gradient(105deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent);
  transform: skewX(-20deg);
  animation: confirm-shimmer 3.5s ease-in-out infinite;
  animation-delay: 1.6s;
}

@keyframes confirm-shimmer {
  0%   { left: -60%; }
  30%  { left: 130%; }
  100% { left: 130%; }
}

.workflow-mockup-confirm svg {
  width: 12px;
  height: 12px;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: confirm-draw 0.9s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes confirm-draw {
  to { stroke-dashoffset: 0; }
}

.workflow-mockup-bubble {
  animation: bubble-in 0.5s ease-out both;
}

.workflow-mockup-bubble:nth-child(1) { animation-delay: 0.15s; }
.workflow-mockup-bubble:nth-child(2) { animation-delay: 0.35s; }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== CHAT BUBBLES ===== */

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 32rem;
}

.chat-bubble {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 85%;
}

.chat-bubble--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-brand-a10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-bubble-avatar-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--color-brand-a50);
}

.chat-bubble-msg {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
}

.chat-bubble--user .chat-bubble-msg {
  background: var(--color-brand);
  color: white;
  border-top-right-radius: var(--radius-sm);
}

.chat-bubble--ai .chat-bubble-msg {
  background: var(--color-surface);
  border: 1px solid var(--color-brand-a8);
  color: var(--color-text-muted);
  border-top-left-radius: var(--radius-sm);
}

/* ===== INTEGRATION LOGO GRID ===== */

.integrations-grid {
  max-width: var(--container-max);
  margin: 0 auto;
}

.integrations-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  justify-content: center;
}

.integrations-tab {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.integrations-tab:hover {
  border-color: var(--color-brand-a20);
  color: var(--color-text);
}

.integrations-tab.is-active {
  background: var(--color-brand-a6);
  border-color: var(--color-brand-a25);
  color: var(--color-brand);
}

.integrations-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .integrations-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .integrations-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .integrations-logos {
    grid-template-columns: repeat(5, 1fr);
  }
}

.integration-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.integration-item:hover {
  border-color: var(--color-brand-a25);
  box-shadow: var(--shadow-sm);
}

.integration-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-a6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-xs);
  overflow: hidden;
}

.integration-icon--logo {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
}

.integration-icon--logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  transition: transform var(--duration-normal);
}

.integration-item:hover .integration-icon--logo img {
  transform: scale(1.1);
}

/* Polished lettermark fallback for brands without a vector logo */
.integration-icon--mono {
  background: linear-gradient(135deg, var(--color-brand-a12), var(--color-brand-a6));
  color: var(--color-brand-dark);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid var(--color-brand-a15);
}

/* Condensed integration bar (homepage, product pages) */
.integrations-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.integrations-bar .integration-item {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
}

/* ===== STATS BAR ===== */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}

.stat-value {
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-brand);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ===== PRODUCT CATEGORY GRID ===== */

.product-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .product-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-category-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-brand);
  margin-bottom: var(--space-4);
}

.product-category-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-category-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--duration-fast), color var(--duration-fast), background-color var(--duration-fast);
}

.product-category-item:hover {
  border-color: var(--color-brand-a25);
  color: var(--color-brand);
  background: var(--color-brand-a4);
}

.product-category-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.product-category-item:hover .product-category-icon {
  color: var(--color-brand);
}

/* ===== CROSS-PRODUCT CONNECTIONS ===== */

.cross-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cross-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cross-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cross-product-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.cross-product-card:hover {
  border-color: var(--color-brand-a25);
  box-shadow: var(--shadow-sm);
}

.cross-product-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-brand-a6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-brand);
}

.cross-product-icon svg {
  width: 18px;
  height: 18px;
}

.cross-product-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.cross-product-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ===== FEATURE ICON CARD (for product pages feature grids) ===== */

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-brand-a10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-brand);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

/* Brand-logo variant — white tile with the real vendor logo inside */
.feature-icon--brand {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  padding: 8px;
}

.feature-icon--brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* ===== SHOWCASE FEATURE CARD (visual-first, à la chaseai) ===== */

.showcase-feature-card {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--duration-normal),
    box-shadow var(--duration-normal),
    border-color var(--duration-normal);
}

.showcase-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand-a30);
  box-shadow: 0 14px 40px rgba(218, 119, 86, 0.12);
}

.sfc-visual {
  background:
    radial-gradient(ellipse at top left, rgba(218, 119, 86, 0.06), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(143, 166, 142, 0.05), transparent 60%),
    var(--color-cream);
  padding: var(--space-6);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-brand-a10);
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture — signals "this is a mini demo" */
.sfc-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(218, 119, 86, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(218, 119, 86, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

.sfc-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
}

.sfc-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sfc-title {
  font-size: var(--text-card-title);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.sfc-desc {
  font-size: var(--text-sm);
  color: var(--color-warm-gray);
  line-height: var(--leading-relaxed);
}

/* ----- Visual #1: Conversational AI (chat exchange) ----- */
.sfc-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sfc-chat-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.4;
  max-width: 80%;
  opacity: 0;
  animation: sfc-bubble-in 0.4s ease-out forwards;
}

.showcase-feature-card:hover .sfc-chat-bubble {
  animation: sfc-bubble-bob 3.2s ease-in-out infinite;
}

.sfc-chat-bubble--user {
  background: var(--color-brand);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  animation-delay: 0.1s;
}

.sfc-chat-bubble--ai {
  background: var(--color-surface-solid);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  animation-delay: 0.35s;
}

@keyframes sfc-bubble-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sfc-bubble-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

/* ----- Visual #2: Multi-Language (translation stack) ----- */
.sfc-lang-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sfc-lang-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 11px;
  opacity: 0;
  animation: sfc-bubble-in 0.4s ease-out forwards;
}

.sfc-lang-row:nth-child(1) { animation-delay: 0.05s; }
.sfc-lang-row:nth-child(2) { animation-delay: 0.15s; }
.sfc-lang-row:nth-child(3) { animation-delay: 0.25s; }
.sfc-lang-row:nth-child(4) { animation-delay: 0.35s; }

.sfc-lang-flag {
  font-size: 14px;
  line-height: 1;
}

.sfc-lang-code {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  padding: 2px 5px;
  background: var(--color-brand-a10);
  border-radius: 3px;
  margin-left: auto;
}

/* ----- Visual #3: Compliance AI (checklist) ----- */
.sfc-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sfc-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 11px;
  color: var(--color-text);
}

.sfc-check-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(143, 166, 142, 0.15);
}

.sfc-check-mark svg {
  width: 10px;
  height: 10px;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: sfc-check-draw 0.5s ease-out forwards;
}

.sfc-check-row:nth-child(1) svg { animation-delay: 0.1s; }
.sfc-check-row:nth-child(2) svg { animation-delay: 0.25s; }
.sfc-check-row:nth-child(3) svg { animation-delay: 0.4s; }
.sfc-check-row:nth-child(4) svg { animation-delay: 0.55s; }

@keyframes sfc-check-draw {
  to { stroke-dashoffset: 0; }
}

/* ----- Visual #4: Proactive Alerts (notification card) ----- */
.sfc-alert-stack {
  position: relative;
  width: 100%;
}

.sfc-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(42, 37, 32, 0.06);
  font-size: 11px;
}

.sfc-alert + .sfc-alert {
  margin-top: -6px;
  transform: translateX(8px) scale(0.96);
  opacity: 0.65;
}

.sfc-alert + .sfc-alert + .sfc-alert {
  transform: translateX(16px) scale(0.92);
  opacity: 0.4;
}

.sfc-alert-bell {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--color-brand-a10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
  position: relative;
}

.sfc-alert-bell::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
  border: 1.5px solid var(--color-cream);
  animation: sfc-bell-pulse 2s ease-in-out infinite;
}

@keyframes sfc-bell-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

.sfc-alert-bell svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.sfc-alert-content {
  flex: 1;
}

.sfc-alert-title {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.sfc-alert-sub {
  color: var(--color-warm-gray);
  font-size: 10px;
}

/* ----- Visual #5: Context Awareness (person card with badges) ----- */
.sfc-person {
  padding: 12px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(42, 37, 32, 0.06);
  width: 100%;
}

.sfc-person-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sfc-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.sfc-person-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
}

.sfc-person-role {
  font-size: 10px;
  color: var(--color-warm-gray);
}

.sfc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sfc-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--color-brand-a10);
  color: var(--color-brand);
  border: 1px solid var(--color-brand-a15);
}

.sfc-badge--sage {
  background: var(--color-sage-a20);
  color: var(--color-sage-dark);
  border-color: rgba(143, 166, 142, 0.3);
}

/* ----- Visual #6: Voice Interface (waveform) ----- */
.sfc-voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.sfc-voice-mic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(218, 119, 86, 0.35);
  position: relative;
}

.sfc-voice-mic::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-brand-a40);
  animation: sfc-mic-pulse 2.4s ease-out infinite;
}

@keyframes sfc-mic-pulse {
  0%   { transform: scale(0.9); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.sfc-voice-mic svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.sfc-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.sfc-wave-bar {
  width: 3px;
  background: var(--color-brand);
  border-radius: 2px;
  animation: sfc-wave 1.4s ease-in-out infinite;
}

.sfc-wave-bar:nth-child(1)  { height: 30%; animation-delay: 0s; }
.sfc-wave-bar:nth-child(2)  { height: 60%; animation-delay: 0.08s; }
.sfc-wave-bar:nth-child(3)  { height: 90%; animation-delay: 0.16s; }
.sfc-wave-bar:nth-child(4)  { height: 50%; animation-delay: 0.24s; }
.sfc-wave-bar:nth-child(5)  { height: 75%; animation-delay: 0.32s; }
.sfc-wave-bar:nth-child(6)  { height: 40%; animation-delay: 0.40s; }
.sfc-wave-bar:nth-child(7)  { height: 85%; animation-delay: 0.48s; }
.sfc-wave-bar:nth-child(8)  { height: 55%; animation-delay: 0.56s; }
.sfc-wave-bar:nth-child(9)  { height: 70%; animation-delay: 0.64s; }
.sfc-wave-bar:nth-child(10) { height: 35%; animation-delay: 0.72s; }

@keyframes sfc-wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ----- Visual #7: Mobile AI (phone frame) ----- */
.sfc-phone {
  width: 120px;
  height: 180px;
  background: var(--color-surface-solid);
  border: 2px solid var(--color-text);
  border-radius: 18px;
  padding: 8px 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 10px 30px rgba(42, 37, 32, 0.15);
  position: relative;
  animation: sfc-phone-float 4s ease-in-out infinite;
}

@keyframes sfc-phone-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.sfc-phone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-text);
}

.sfc-phone-screen {
  flex: 1;
  background: var(--color-cream);
  border-radius: 10px;
  margin-top: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sfc-phone-line {
  height: 5px;
  border-radius: 3px;
  background: var(--color-brand-a15);
}

.sfc-phone-line--short { width: 60%; }
.sfc-phone-line--med   { width: 80%; background: var(--color-brand-a30); }
.sfc-phone-line--long  { width: 100%; }
.sfc-phone-line--brand { background: var(--color-brand); width: 40%; }

/* ----- Visual #8: AI-Native Architecture (center node + radiating) ----- */
.sfc-architecture {
  position: relative;
  width: 180px;
  height: 130px;
  margin: 0 auto;
}

.sfc-arch-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-surface-solid);
  border: 2px solid var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(218, 119, 86, 0.25);
  animation: sfc-arch-pulse 3s ease-in-out infinite;
}

.sfc-arch-center img {
  width: 26px;
  height: 26px;
}

@keyframes sfc-arch-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(218, 119, 86, 0.25); }
  50%      { box-shadow: 0 4px 24px rgba(218, 119, 86, 0.45); }
}

.sfc-arch-node {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  box-shadow: 0 2px 8px rgba(42, 37, 32, 0.06);
  z-index: 1;
}

.sfc-arch-node svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.sfc-arch-node--1 { left: 8%;   top: 15%; }
.sfc-arch-node--2 { right: 8%;  top: 15%; }
.sfc-arch-node--3 { left: 0;    top: 50%; transform: translateY(-50%); }
.sfc-arch-node--4 { right: 0;   top: 50%; transform: translateY(-50%); }
.sfc-arch-node--5 { left: 8%;   bottom: 15%; }
.sfc-arch-node--6 { right: 8%;  bottom: 15%; }

.sfc-arch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sfc-arch-lines line {
  stroke: var(--color-brand-a25);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  animation: sfc-arch-flow 6s linear infinite;
}

@keyframes sfc-arch-flow {
  to { stroke-dashoffset: -60; }
}

/* ----- Visual #9: Free HRIS (big numeral badge) ----- */
.sfc-free {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sfc-free-pill {
  background: var(--color-sage);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(143, 166, 142, 0.35);
  text-transform: uppercase;
}

.sfc-free-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sfc-free-bob 3s ease-in-out infinite;
}

@keyframes sfc-free-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.sfc-free-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ----- Visual #10: Agent in Every Screen (UI with floating chat) ----- */
.sfc-screen {
  position: relative;
  width: 200px;
  height: 130px;
}

.sfc-screen-window {
  position: absolute;
  inset: 0;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(42, 37, 32, 0.08);
}

.sfc-screen-header {
  height: 14px;
  background: var(--color-cream-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
}

.sfc-screen-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-brand-a25);
}

.sfc-screen-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sfc-screen-row {
  height: 6px;
  border-radius: 3px;
  background: var(--color-brand-a10);
}

.sfc-screen-row--short { width: 55%; }
.sfc-screen-row--med   { width: 80%; }
.sfc-screen-row--long  { width: 100%; }

.sfc-screen-chat {
  position: absolute;
  right: -14px;
  bottom: -10px;
  width: 96px;
  padding: 8px 10px;
  background: var(--color-brand);
  color: white;
  border-radius: 10px 10px 2px 10px;
  font-size: 10px;
  box-shadow: 0 6px 18px rgba(218, 119, 86, 0.35);
  line-height: 1.3;
  animation: sfc-screen-chat-in 0.6s ease-out forwards;
}

@keyframes sfc-screen-chat-in {
  from { opacity: 0; transform: translate(-6px, 6px); }
  to   { opacity: 1; transform: translate(0, 0); }
}

.sfc-screen-chat::before {
  content: "✨";
  margin-right: 4px;
}

/* ----- Visual #11: Multi-Channel row (Slack + Teams + WhatsApp tiles) ----- */
.sfc-channels {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sfc-channel-tile {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(42, 37, 32, 0.05);
  animation: sfc-channel-bob 2.8s ease-in-out infinite;
}

.sfc-channel-tile:nth-child(1) { animation-delay: 0s; }
.sfc-channel-tile:nth-child(2) { animation-delay: 0.15s; }
.sfc-channel-tile:nth-child(3) { animation-delay: 0.30s; }
.sfc-channel-tile:nth-child(4) { animation-delay: 0.45s; }

@keyframes sfc-channel-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.sfc-channel-tile img {
  width: 22px;
  height: 22px;
  display: block;
}

.sfc-channel-arrow {
  width: 14px;
  height: 1px;
  background: var(--color-brand-a40);
  position: relative;
}

.sfc-channel-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--color-brand-a40);
  border-right: 1px solid var(--color-brand-a40);
  transform: translateY(-50%) rotate(45deg);
}

/* ----- Showcase feature grid ----- */
.showcase-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .showcase-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .showcase-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== TRUST SIGNALS ROW ===== */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.trust-badge-icon {
  width: 20px;
  height: 20px;
  color: var(--color-brand);
}

/* ===== CHANNEL GRID ===== */

.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .channels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .channels-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.channel-card {
  text-align: center;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.channel-card:hover {
  border-color: var(--color-brand-a25);
  box-shadow: var(--shadow-sm);
}

.channel-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-brand-a6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  transition: transform var(--duration-normal), background var(--duration-normal);
}

.channel-card:hover .channel-icon {
  transform: translateY(-2px) scale(1.05);
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-icon--brand {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
}

.channel-icon--brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* Logo row for the "One AI, Everywhere" rich card */
.channel-logo-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.channel-logo-tile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  box-shadow: 0 2px 8px rgba(42, 37, 32, 0.05);
  transition: transform var(--duration-normal), box-shadow var(--duration-normal);
}

.channel-logo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(42, 37, 32, 0.08);
}

.channel-logo-tile img,
.channel-logo-tile svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Subtle floating accent on each tile — each one offset to feel organic */
.rich-card:hover .channel-logo-tile {
  animation: tile-bob 2.4s ease-in-out infinite;
}

.rich-card:hover .channel-logo-tile:nth-child(1) { animation-delay: 0s; }
.rich-card:hover .channel-logo-tile:nth-child(2) { animation-delay: 0.15s; }
.rich-card:hover .channel-logo-tile:nth-child(3) { animation-delay: 0.3s; }
.rich-card:hover .channel-logo-tile:nth-child(4) { animation-delay: 0.45s; }

@keyframes tile-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.channel-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.channel-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== AI PRODUCT GRID (for AI hub page) ===== */

.ai-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .ai-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ai-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ai-product-card {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.ai-product-card:hover {
  border-color: var(--color-brand-a25);
  box-shadow: var(--shadow-lg);
}

.ai-product-name {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.ai-product-prompt {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-brand);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
  padding-left: var(--space-3);
  border-left: 2px solid var(--color-brand-a25);
}

.ai-product-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.ai-product-link:hover {
  color: var(--color-brand-dark);
}

/* ===== ERA TIMELINE (for AI hub page) ===== */

.era-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: var(--container-text);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .era-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.era-item {
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.era-item--current {
  background: var(--color-brand-a4);
  border-color: var(--color-brand-a25);
}

.era-year {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-2);
}

.era-item--current .era-year {
  color: var(--color-brand);
}

.era-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.era-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ===== PAIN POINTS LIST ===== */

.pain-points {
  max-width: var(--container-text);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pain-point {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .pain-point {
    grid-template-columns: 1fr 1fr;
  }
}

.pain-point-problem {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pain-point-problem strong {
  color: var(--color-text);
  font-weight: 600;
}

.pain-point-solution {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pain-point-solution strong {
  color: var(--color-brand);
  font-weight: 600;
}

/* ===== ROI GRID ===== */

.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .roi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .roi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.roi-card {
  text-align: center;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.roi-value {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: var(--space-2);
}

.roi-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.roi-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ===== ENTERPRISE PROCESS ===== */

.enterprise-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: var(--container-text);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .enterprise-process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.enterprise-step {
  text-align: center;
  padding: var(--space-5);
  position: relative;
}

.enterprise-step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-brand-a10);
  color: var(--color-brand);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
}

.enterprise-step-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

/* ===== PRODUCT SHOWCASE TIMELINE ===== */

.product-showcase {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.product-showcase-timeline {
  position: relative;
}

.showcase-line {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-brand-a50), var(--color-brand-a25), var(--color-brand-a10));
}

@media (min-width: 768px) {
  .showcase-line {
    left: 50%;
    transform: translateX(-1px);
  }
}

.showcase-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.showcase-step:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .showcase-step {
    gap: 0;
  }

  .showcase-step:nth-child(odd) {
    flex-direction: row;
  }

  .showcase-step:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.showcase-dot {
  position: absolute;
  left: 19px;
  z-index: 10;
}

@media (min-width: 768px) {
  .showcase-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.showcase-dot-outer {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 3px solid var(--color-brand);
  box-shadow: 0 0 0 4px var(--color-brand-a15), 0 4px 12px rgba(218, 119, 86, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-brand);
}

.showcase-card {
  margin-left: calc(27px + var(--space-8) + var(--space-6));
  width: calc(100% - 27px - var(--space-8) - var(--space-6));
}

@media (min-width: 768px) {
  .showcase-step {
    justify-content: space-between;
  }

  .showcase-card {
    flex: 0 0 calc(50% - 40px);
    width: calc(50% - 40px);
    margin-left: 0;
    padding: 0;
  }

  .showcase-step:nth-child(odd) .showcase-card,
  .showcase-step:nth-child(even) .showcase-card {
    margin: 0;
    padding: 0;
  }
}

.showcase-card-inner {
  background: var(--color-cream);
  border: 1px solid var(--color-brand-a12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 8px 32px rgba(218, 119, 86, 0.08);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal), transform var(--duration-normal);
}

.showcase-card-inner:hover {
  border-color: var(--color-brand-a30);
  box-shadow: 0 12px 40px rgba(218, 119, 86, 0.15);
  transform: translateY(-2px);
}

.showcase-step-number {
  font-family: var(--font-mono);
  font-size: var(--text-tag);
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: var(--tracking-wider);
}

.showcase-step-category {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

.showcase-step-desc {
  font-size: var(--text-sm);
  color: var(--color-warm-gray);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.showcase-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

@media (min-width: 640px) {
  .showcase-products {
    grid-template-columns: 1fr 1fr;
  }
}

.showcase-product {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-surface-solid);
  border: 1px solid var(--color-brand-a10);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--duration-fast), background-color var(--duration-fast);
}

.showcase-product:hover {
  border-color: var(--color-brand-a40);
  background: var(--color-cream-alt);
}

.showcase-product-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--color-brand-a10);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-product-icon svg {
  width: 16px;
  height: 16px;
}

.showcase-product-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 2px;
}

.showcase-product-desc {
  font-size: var(--text-xs);
  color: var(--color-warm-gray);
  line-height: var(--leading-normal);
}

.showcase-ai-prompt {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-brand-a6);
  border-left: 3px solid var(--color-brand);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-brand-dark);
  line-height: var(--leading-relaxed);
}

.showcase-ai-prompt::before {
  content: "Ask the AI: ";
  font-style: normal;
  font-weight: 600;
  color: var(--color-brand);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  display: block;
  margin-bottom: var(--space-1);
}

/* ===== ORBITAL INTEGRATIONS ===== */

.orbital-integrations {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.orbital-canvas {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .orbital-canvas {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    padding: var(--space-4);
  }
}

.orbital-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: var(--radius-xl);
  background: var(--color-surface-solid);
  border: 2px solid var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(218, 119, 86, 0.25);
  z-index: 10;
}

@media (max-width: 768px) {
  .orbital-center {
    position: static;
    transform: none;
    grid-column: 2;
    justify-self: center;
  }
}

.orbital-center-logo {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.orbital-connectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .orbital-connectors {
    display: none;
  }
}

.orbital-connectors path {
  fill: none;
  stroke: var(--color-brand-a25);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.orbital-node {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: border-color var(--duration-normal), transform var(--duration-normal), box-shadow var(--duration-normal);
  z-index: 5;
  text-decoration: none;
}

@media (max-width: 768px) {
  .orbital-node {
    position: static;
    width: 100%;
    height: 80px;
  }
}

.orbital-node:hover {
  border-color: var(--color-brand-a40);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(218, 119, 86, 0.2);
}

.orbital-node-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.orbital-node-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  transition: transform var(--duration-normal);
}

.orbital-node:hover .orbital-node-logo {
  transform: scale(1.1);
}

.orbital-node-label {
  font-size: var(--text-tag);
  font-weight: 600;
  color: var(--color-warm-gray);
  text-align: center;
}

/* Position each node around the orbital center */
.orbital-node--1 { left: 10%; top: 15%; }
.orbital-node--2 { left: 38%; top: 5%; }
.orbital-node--3 { right: 25%; top: 5%; }
.orbital-node--4 { right: 2%; top: 20%; }
.orbital-node--5 { right: 2%; top: 45%; }
.orbital-node--6 { right: 5%; bottom: 18%; }
.orbital-node--7 { right: 30%; bottom: 2%; }
.orbital-node--8 { left: 38%; bottom: 2%; }
.orbital-node--9 { left: 5%; bottom: 18%; }
.orbital-node--10 { left: 2%; top: 45%; }
.orbital-node--11 { left: 18%; top: 35%; }
.orbital-node--12 { right: 18%; top: 35%; }

/* Brand-colored icon backgrounds */
.orbital-icon--slack { background: #4A154B; }
.orbital-icon--teams { background: #464EB8; }
.orbital-icon--google { background: #4285F4; }
.orbital-icon--quickbooks { background: #2CA01C; }
.orbital-icon--xero { background: #13B5EA; }
.orbital-icon--workday { background: #F38B00; }
.orbital-icon--greenhouse { background: #2D5F2B; }
.orbital-icon--okta { background: #007DC1; }
.orbital-icon--zapier { background: #FF4A00; }
.orbital-icon--bamboohr { background: #73C41D; }
.orbital-icon--netsuite { background: #125ABF; }
.orbital-icon--whatsapp { background: #25D366; }
.orbital-icon--brand { background: var(--color-brand); }

/* ===== TRUST STRIP ===== */

.trust-strip {
  max-width: var(--container-max);
  margin: var(--space-12) auto 0;
  text-align: center;
}

.trust-strip-label {
  font-size: var(--text-tag);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-warm-gray);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.trust-strip-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0.6;
}

.trust-logo {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--color-warm-gray);
  letter-spacing: var(--tracking-tight);
}

/* ===== MANIFESTO ===== */

.manifesto {
  max-width: var(--container-text);
  margin: 0 auto;
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.manifesto-label {
  font-size: var(--text-tag);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-brand);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.manifesto-quote {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
}

.manifesto-quote em {
  color: var(--color-brand);
  font-style: normal;
}

.manifesto-attribution {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-warm-gray);
}

/* ===== RICH DIFFERENTIATOR CARDS ===== */

.rich-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .rich-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.rich-card {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.rich-card:hover {
  border-color: var(--color-brand-a30);
  box-shadow: 0 12px 36px rgba(218, 119, 86, 0.12);
}

.rich-card-visual {
  background: var(--color-cream);
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-brand-a10);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rich-card-content {
  padding: var(--space-6);
}

.rich-card-title {
  font-size: var(--text-card-title);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.rich-card-desc {
  font-size: var(--text-sm);
  color: var(--color-warm-gray);
  line-height: var(--leading-relaxed);
}

/* ===== DARK CTA SECTION ===== */

.cta-dark {
  background: var(--color-charcoal);
  color: var(--color-text-on-dark);
  padding: var(--space-20) var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, var(--color-brand-a15), transparent 70%);
  pointer-events: none;
}

.cta-dark-label {
  font-size: var(--text-tag);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-brand);
  font-weight: 700;
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-dark-heading {
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-4);
  position: relative;
  line-height: var(--leading-tight);
}

.cta-dark-subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-text-on-dark-muted);
  max-width: 36rem;
  margin: 0 auto var(--space-8);
  position: relative;
}

.cta-dark-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (min-width: 640px) {
  .cta-dark-actions {
    flex-direction: row;
  }
}

.cta-dark .btn-secondary {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: rgba(245, 237, 227, 0.25);
}

.cta-dark .btn-secondary:hover {
  background: rgba(245, 237, 227, 0.08);
  border-color: rgba(245, 237, 227, 0.4);
  color: var(--color-text-on-dark);
}

/* ===== GLOBAL REACH STATS ===== */

.global-reach {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-12);
  background: var(--color-cream);
  border: 1px solid var(--color-brand-a10);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.global-reach::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-brand-a10), transparent 70%);
  pointer-events: none;
}

.global-reach-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  position: relative;
}

@media (min-width: 768px) {
  .global-reach-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.global-reach-stat {
  text-align: center;
}

.global-reach-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.global-reach-label {
  font-size: var(--text-sm);
  color: var(--color-warm-gray);
  font-weight: 500;
}

/* ===== SECTION BACKGROUND VARIANTS (for rhythm) ===== */

.section--cream {
  background: var(--color-cream);
}

.section--cream-alt {
  background: var(--color-cream-alt);
}

.section--charcoal {
  background: var(--color-charcoal);
  color: var(--color-text-on-dark);
}

.section--charcoal .section-heading,
.section--charcoal h2,
.section--charcoal h3 {
  color: var(--color-text-on-dark);
}

.section--charcoal .section-label {
  color: var(--color-brand);
}

.section--charcoal p,
.section--charcoal .text-muted {
  color: var(--color-text-on-dark-muted);
}


/* =========================================================================
   === VISUAL ENRICHMENT LAYER ===
   Dark card treatment — pulls the same warm-charcoal look as
   .workflow-panel--old to give feature grids real presence against the
   light off-white background. Orange accents stay on brand; cream text
   keeps warmth. No scan/grain (too busy in repeated grids).
   ========================================================================= */

/* ----- Base card: warm charcoal with subtle orange radial glows ----- */
.card {
  background:
    radial-gradient(circle at top left, rgba(218, 119, 86, 0.14), transparent 50%),
    radial-gradient(circle at bottom right, rgba(184, 94, 62, 0.10), transparent 55%),
    linear-gradient(160deg, #3A322A 0%, #2A2520 60%),
    #2A2520;
  backdrop-filter: none;
  border: 1px solid rgba(218, 119, 86, 0.22);
  box-shadow:
    0 10px 34px -12px rgba(26, 22, 18, 0.55),
    0 2px 6px -2px rgba(26, 22, 18, 0.3),
    0 0 0 1px rgba(218, 119, 86, 0.06),
    inset 0 1px 0 rgba(218, 119, 86, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

/* 2px warm orange top strip — brand signature, echoes workflow-panel--old */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 119, 86, 0.55) 15%,
    rgba(232, 160, 144, 0.7) 50%,
    rgba(218, 119, 86, 0.55) 85%,
    transparent 100%);
  opacity: 0.65;
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.card:hover::before {
  opacity: 1;
}

/* Keep content above the layered backgrounds */
.card > * { position: relative; z-index: 1; }

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(218, 119, 86, 0.45);
  box-shadow:
    0 20px 52px -14px rgba(26, 22, 18, 0.7),
    0 8px 22px -6px rgba(218, 119, 86, 0.22),
    0 0 0 1px rgba(218, 119, 86, 0.14),
    inset 0 1px 0 rgba(218, 119, 86, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.card--accent {
  background:
    radial-gradient(circle at top left, rgba(218, 119, 86, 0.26), transparent 55%),
    radial-gradient(circle at bottom right, rgba(184, 94, 62, 0.16), transparent 55%),
    linear-gradient(160deg, #3F3529 0%, #2C2621 60%),
    #2A2520;
  border-color: rgba(218, 119, 86, 0.4);
}

/* Feature icon (40x40 tile on product pages) — dark tile with orange border,
   pops to full brand gradient on hover */
.feature-icon {
  background: linear-gradient(135deg, rgba(218, 119, 86, 0.18), rgba(218, 119, 86, 0.05));
  border: 1px solid rgba(218, 119, 86, 0.32);
  box-shadow:
    0 1px 0 rgba(218, 119, 86, 0.18) inset,
    0 4px 12px -4px rgba(26, 22, 18, 0.55);
  color: var(--color-brand-light);
  transition:
    transform var(--duration-normal) var(--ease-default),
    background var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default),
    color var(--duration-normal) var(--ease-default);
}

.card:hover .feature-icon {
  transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(135deg, rgba(218, 119, 86, 0.38), rgba(218, 119, 86, 0.14));
  border-color: rgba(218, 119, 86, 0.55);
  color: #F5EDE3;
  box-shadow:
    0 1px 0 rgba(218, 119, 86, 0.32) inset,
    0 6px 20px -4px rgba(218, 119, 86, 0.42);
}

/* ----- .card.card--form override: restore light treatment for form wrappers ----- */
/* Form cards (contact, book-a-demo) need a light surface because they wrap
   dark input fields. Override the dark .card base here. */
.card.card--form {
  background: var(--color-surface);
  backdrop-filter: blur(2px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.card.card--form::before {
  display: none;
}

.card.card--form:hover {
  transform: none;
  border-color: var(--color-brand-a25);
  box-shadow: var(--shadow-lg);
}

.card.card--form .card-title {
  color: var(--color-text);
}

.card.card--form .card-description {
  color: var(--color-text-muted);
}

.card.card--form:hover .card-title {
  color: var(--color-brand);
}

.card.card--form:hover .card-description {
  color: var(--color-text-muted);
}

/* ----- Text overrides for auxiliary content inside dark .card ----- */
/* Progress/email sidebar cards on contact and book-a-demo use .card
   (not .card--form) so they get the dark treatment. Their label
   classes still default to dark text, making them invisible. Override
   to cream so they read on the dark surface. */
.card .cta-progress-label {
  color: #F5EDE3;
}

.card .cta-email-label {
  color: rgba(245, 237, 227, 0.72);
}

/* ----- Channel card: warm-neutral base, brand on hover ----- */
.channel-card {
  background:
    radial-gradient(ellipse at top, rgba(155, 149, 144, 0.05), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(155, 149, 144, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 24px -12px rgba(42, 37, 32, 0.08),
    0 2px 4px -2px rgba(42, 37, 32, 0.04);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(218, 119, 86, 0.45), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 119, 86, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px -14px rgba(218, 119, 86, 0.22),
    0 4px 10px -2px rgba(42, 37, 32, 0.06);
}

.channel-card:hover::before { opacity: 1; }

.channel-icon {
  background: linear-gradient(135deg, rgba(155, 149, 144, 0.14), rgba(155, 149, 144, 0.04));
  border: 1px solid rgba(155, 149, 144, 0.22);
  color: var(--color-charcoal);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 3px 10px -3px rgba(42, 37, 32, 0.14);
  transition:
    background var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.channel-card:hover .channel-icon {
  background: linear-gradient(135deg, rgba(218, 119, 86, 0.16), rgba(218, 119, 86, 0.06));
  border-color: rgba(218, 119, 86, 0.28);
  color: var(--color-brand);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 14px -3px rgba(218, 119, 86, 0.28);
}

.channel-icon--brand {
  background: #FFFFFF;
  border: 1px solid rgba(155, 149, 144, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 3px 10px -3px rgba(42, 37, 32, 0.12);
}

.channel-card:hover .channel-icon--brand {
  background: #FFFFFF;
  border-color: rgba(218, 119, 86, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 5px 14px -3px rgba(218, 119, 86, 0.25);
}

/* ----- Homepage "Three Steps": ai-how-step upgrade ----- */
.ai-how-step {
  background:
    radial-gradient(ellipse at top left, rgba(218, 119, 86, 0.08), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(143, 166, 142, 0.05), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(218, 119, 86, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 30px -12px rgba(218, 119, 86, 0.18),
    0 2px 6px -2px rgba(42, 37, 32, 0.05);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

/* Orange top accent strip — appears on all 3 step cards for visual continuity */
.ai-how-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    rgba(218, 119, 86, 0.8) 30%,
    rgba(218, 119, 86, 0.8) 70%,
    transparent);
}

.ai-how-step::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at top right, rgba(218, 119, 86, 0.1), transparent 65%);
  pointer-events: none;
}

.ai-how-step > * { position: relative; z-index: 1; }

.ai-how-step:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 119, 86, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 18px 48px -14px rgba(218, 119, 86, 0.28),
    0 4px 10px -2px rgba(42, 37, 32, 0.06);
}

.ai-how-step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  color: #FFFFFF;
  font-size: var(--text-body);
  font-weight: 700;
  border: 2px solid #FFFFFF;
  box-shadow:
    0 0 0 3px rgba(218, 119, 86, 0.2),
    0 6px 16px -4px rgba(218, 119, 86, 0.45);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-default);
}

.ai-how-step:hover .ai-how-step-num {
  transform: scale(1.08) rotate(-6deg);
}

.ai-how-step-num::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(218, 119, 86, 0.4);
  opacity: 0;
  animation: how-step-pulse 3s ease-out infinite;
}

.ai-how-step:nth-child(2) .ai-how-step-num::after { animation-delay: 1s; }
.ai-how-step:nth-child(3) .ai-how-step-num::after { animation-delay: 2s; }

@keyframes how-step-pulse {
  0%   { transform: scale(0.9); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ai-how-step-title {
  font-size: var(--text-h3);
  font-weight: 700;
}

/* ----- Showcase timeline card (index "Products" section) ----- */
.showcase-card-inner {
  background:
    radial-gradient(ellipse at top left, rgba(155, 149, 144, 0.06), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(143, 166, 142, 0.04), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(155, 149, 144, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 40px -16px rgba(42, 37, 32, 0.14),
    0 2px 8px -2px rgba(42, 37, 32, 0.05);
  position: relative;
  overflow: hidden;
}

/* Orange accent stays on the left edge — the brand anchor on the timeline */
.showcase-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  bottom: 0;
  background: linear-gradient(to bottom,
    rgba(218, 119, 86, 0.75),
    rgba(218, 119, 86, 0.25));
}

.showcase-card-inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at top right, rgba(155, 149, 144, 0.08), transparent 65%);
  pointer-events: none;
  transition: background var(--duration-slow) var(--ease-default);
}

.showcase-card-inner:hover::after {
  background: radial-gradient(circle at top right, rgba(218, 119, 86, 0.11), transparent 65%);
}

.showcase-card-inner > * { position: relative; z-index: 1; }

.showcase-card-inner:hover {
  border-color: rgba(218, 119, 86, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 20px 52px -16px rgba(218, 119, 86, 0.22),
    0 4px 12px -2px rgba(42, 37, 32, 0.06);
}

/* ----- Timeline card (product-tour.html etc.) — warm neutral base ----- */
.timeline-card-inner {
  background:
    radial-gradient(ellipse at top left, rgba(155, 149, 144, 0.06), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  backdrop-filter: none;
  border: 1px solid rgba(155, 149, 144, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 30px -12px rgba(42, 37, 32, 0.12),
    0 2px 6px -2px rgba(42, 37, 32, 0.05);
  position: relative;
  overflow: hidden;
}

/* Left accent bar (matches the showcase timeline treatment) */
.timeline-card-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom,
    rgba(218, 119, 86, 0.75),
    rgba(218, 119, 86, 0.25));
}

.timeline-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at top right, rgba(155, 149, 144, 0.08), transparent 65%);
  pointer-events: none;
  transition: background var(--duration-slow) var(--ease-default);
}

.timeline-card-inner:hover::before {
  background: radial-gradient(circle at top right, rgba(218, 119, 86, 0.11), transparent 65%);
}

.timeline-card-inner > * { position: relative; z-index: 1; }

.timeline-card-inner:hover {
  border-color: rgba(218, 119, 86, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 14px 40px -14px rgba(218, 119, 86, 0.2),
    0 4px 10px -2px rgba(42, 37, 32, 0.06);
}

/* ----- Era comparison cards (why-remoteand.html) ----- */
.era-item {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(218, 119, 86, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 6px 20px -10px rgba(42, 37, 32, 0.08),
    0 1px 3px -1px rgba(42, 37, 32, 0.04);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.era-item:hover {
  transform: translateY(-3px);
  border-color: rgba(218, 119, 86, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px -14px rgba(218, 119, 86, 0.2),
    0 3px 8px -2px rgba(42, 37, 32, 0.06);
}

.era-item--current {
  background:
    radial-gradient(ellipse at top, rgba(218, 119, 86, 0.16), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF5F0 100%);
  border: 1.5px solid rgba(218, 119, 86, 0.4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 0 0 3px rgba(218, 119, 86, 0.08),
    0 14px 40px -14px rgba(218, 119, 86, 0.3),
    0 4px 10px -2px rgba(42, 37, 32, 0.06);
}

.era-item--current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-brand), transparent);
}

.era-item--current::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(218, 119, 86, 0.3), transparent);
  pointer-events: none;
  opacity: 0;
  animation: era-current-glow 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes era-current-glow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

/* ----- Accordion (FAQ) — warm chrome + open-state brand wash ----- */
.accordion-item {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(218, 119, 86, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 16px -8px rgba(42, 37, 32, 0.08),
    0 1px 3px -1px rgba(42, 37, 32, 0.04);
  transition:
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default),
    background var(--duration-normal) var(--ease-default);
  position: relative;
  overflow: hidden;
}

.accordion-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(to bottom, rgba(218, 119, 86, 0), rgba(218, 119, 86, 0));
  transition: background var(--duration-normal) var(--ease-default);
}

.accordion-item:hover {
  border-color: rgba(218, 119, 86, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px -12px rgba(218, 119, 86, 0.2),
    0 2px 6px -2px rgba(42, 37, 32, 0.05);
}

.accordion-item.is-open {
  background:
    radial-gradient(ellipse at top left, rgba(218, 119, 86, 0.08), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF8F3 100%);
  border-color: rgba(218, 119, 86, 0.35);
}

.accordion-item.is-open::before {
  background: linear-gradient(to bottom,
    rgba(218, 119, 86, 0.9),
    rgba(218, 119, 86, 0.35));
}

.accordion-trigger svg {
  color: var(--color-brand);
  transition: transform var(--duration-normal) var(--ease-default);
}

/* Product-features grid switch from flat stack → subtle grid lines */
.product-features-grid {
  position: relative;
}

/* ----- Backdrop texture on cream sections to match the card system ----- */
.section--cream,
.section--cream-alt {
  position: relative;
}

.section--cream::before,
.section--cream-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(218, 119, 86, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(218, 119, 86, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}

.section--cream > *,
.section--cream-alt > * {
  position: relative;
  z-index: 1;
}

/* ----- Reduced motion safety ----- */
@media (prefers-reduced-motion: reduce) {
  .ai-how-step-num::after,
  .era-item--current::after {
    animation: none !important;
  }

  .card,
  .channel-card,
  .ai-how-step,
  .era-item,
  .accordion-item {
    transition: none;
  }

  .card:hover,
  .channel-card:hover,
  .ai-how-step:hover,
  .era-item:hover {
    transform: none;
  }
}

/* ----- AI product card (ai-agents.html "AI Across Every Product" grid) ----- */
.ai-product-card {
  background:
    radial-gradient(ellipse at top left, rgba(155, 149, 144, 0.06), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(143, 166, 142, 0.04), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(155, 149, 144, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 28px -12px rgba(42, 37, 32, 0.09),
    0 2px 6px -2px rgba(42, 37, 32, 0.045);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

/* Neutral corner glow → brand glow on hover */
.ai-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at top right, rgba(155, 149, 144, 0.08), transparent 65%);
  pointer-events: none;
  opacity: 0.85;
  transition: background var(--duration-slow) var(--ease-default), opacity var(--duration-slow) var(--ease-default);
}

.ai-product-card:hover::before {
  background: radial-gradient(circle at top right, rgba(218, 119, 86, 0.13), transparent 65%);
}

/* Left accent bar — reinforces the "AI quote" framing */
.ai-product-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(to bottom,
    rgba(218, 119, 86, 0.9) 0%,
    rgba(218, 119, 86, 0.5) 50%,
    rgba(218, 119, 86, 0.15) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.ai-product-card > * { position: relative; z-index: 1; }

.ai-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 119, 86, 0.4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 48px -14px rgba(218, 119, 86, 0.28),
    0 4px 12px -2px rgba(42, 37, 32, 0.06);
}

.ai-product-card:hover::before { opacity: 1; }
.ai-product-card:hover::after { opacity: 1; }

/* Upgrade the prompt quote: warm cream chip with sparkle */
.ai-product-prompt {
  background: linear-gradient(135deg, rgba(218, 119, 86, 0.09), rgba(218, 119, 86, 0.04));
  border: 1px solid rgba(218, 119, 86, 0.18);
  border-left: 3px solid rgba(218, 119, 86, 0.7);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  position: relative;
}

.ai-product-prompt::before {
  content: "✨";
  margin-right: 6px;
  opacity: 0.85;
  font-style: normal;
}

/* Upgrade the explore link: underline grows on hover + arrow slide */
.ai-product-link {
  position: relative;
  padding-bottom: 2px;
}

.ai-product-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-brand);
  transition: width var(--duration-normal) var(--ease-default);
}

.ai-product-card:hover .ai-product-link::after { width: 100%; }

.ai-product-link {
  transition: color var(--duration-normal), transform var(--duration-normal);
}

.ai-product-card:hover .ai-product-link {
  color: var(--color-brand-dark);
}

/* ----- Cross-product card ("Connected Across Remote&" on product pages) ----- */
.cross-product-card {
  background:
    radial-gradient(ellipse at top left, rgba(155, 149, 144, 0.05), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(155, 149, 144, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 22px -10px rgba(42, 37, 32, 0.08),
    0 2px 4px -2px rgba(42, 37, 32, 0.04);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.cross-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle at top right, rgba(155, 149, 144, 0.08), transparent 65%);
  pointer-events: none;
  opacity: 0.8;
  transition: background var(--duration-normal) var(--ease-default), opacity var(--duration-normal) var(--ease-default);
}

.cross-product-card:hover::before {
  background: radial-gradient(circle at top right, rgba(218, 119, 86, 0.12), transparent 65%);
}

.cross-product-card > * { position: relative; z-index: 1; }

.cross-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(218, 119, 86, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px -14px rgba(218, 119, 86, 0.22),
    0 4px 10px -2px rgba(42, 37, 32, 0.05);
}

.cross-product-card:hover::before { opacity: 1; }

.cross-product-icon {
  background: linear-gradient(135deg, rgba(155, 149, 144, 0.14), rgba(155, 149, 144, 0.04));
  border: 1px solid rgba(155, 149, 144, 0.22);
  color: var(--color-charcoal);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 3px 10px -3px rgba(42, 37, 32, 0.12);
  transition:
    transform var(--duration-normal) var(--ease-default),
    background var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.cross-product-card:hover .cross-product-icon {
  transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(135deg, rgba(218, 119, 86, 0.18), rgba(218, 119, 86, 0.06));
  border-color: rgba(218, 119, 86, 0.28);
  color: var(--color-brand);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 5px 16px -3px rgba(218, 119, 86, 0.32);
}

.cross-product-card:hover .cross-product-name {
  color: var(--color-brand);
}

.cross-product-name {
  transition: color var(--duration-normal) var(--ease-default);
}

@media (prefers-reduced-motion: reduce) {
  .ai-product-card:hover,
  .cross-product-card:hover {
    transform: none;
  }
  .cross-product-card:hover .cross-product-icon,
  .ai-product-card:hover {
    transform: none;
  }
}

/* ----- Make card components work as anchor tags when used as links ----- */
a.rich-card,
a.ai-how-step,
a.channel-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.rich-card {
  /* rich-card is grid/flex internally — keep it as-is */
  display: flex;
  flex-direction: column;
}

a.ai-how-step {
  cursor: pointer;
}

a.channel-card {
  cursor: pointer;
}

/* Subtle arrow indicator on linked cards — appears on hover */
a.rich-card::after,
a.channel-card::after,
a.ai-how-step::after {
  content: "";
}

a.rich-card .rich-card-content,
a.channel-card .channel-name,
a.ai-how-step .ai-how-step-title {
  position: relative;
  padding-right: 22px;
}

a.rich-card .rich-card-content::after,
a.channel-card .channel-name::after,
a.ai-how-step .ai-how-step-title::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  color: var(--color-brand);
  opacity: 0;
  font-weight: 600;
  font-size: var(--text-body);
  transition: opacity var(--duration-normal), transform var(--duration-normal);
}

a.rich-card:hover .rich-card-content::after,
a.channel-card:hover .channel-name::after,
a.ai-how-step:hover .ai-how-step-title::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Override the rich-card-visual and rich-card-content inner layout for anchor */
a.rich-card .rich-card-visual {
  flex-shrink: 0;
}

a.rich-card .rich-card-content {
  flex: 1;
}

/* Channel card arrow position (centered card) */
a.channel-card .channel-name {
  display: inline-block;
  padding-right: 18px;
}

a.channel-card .channel-name::after {
  font-size: var(--text-sm);
}

/* ai-how-step arrow (centered card) */
a.ai-how-step .ai-how-step-title {
  display: inline-block;
}

/* =========================================================================
   === SHOWCASE TIMELINE — VISUAL SIDE (fill the empty zig-zag half) ===
   Each timeline step now has a .showcase-visual sibling that holds a mini
   product demo, a big hero stat, and a floating AI chat bubble that leans
   toward the card across the spine.
   ========================================================================= */

.showcase-visual {
  display: none;
}

@media (min-width: 768px) {
  .showcase-visual {
    display: flex;
    flex: 0 0 calc(50% - 40px);
    width: calc(50% - 40px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-4);
    position: relative;
  }
}

.showcase-demo-card {
  width: 100%;
  max-width: 290px;
  padding: var(--space-4);
  background:
    radial-gradient(ellipse at top left, rgba(155, 149, 144, 0.06), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF8 100%);
  border: 1px solid rgba(155, 149, 144, 0.22);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px -14px rgba(42, 37, 32, 0.14),
    0 3px 8px -2px rgba(42, 37, 32, 0.05);
  position: relative;
  overflow: hidden;
}

.showcase-demo-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at top right, rgba(155, 149, 144, 0.1), transparent 65%);
  pointer-events: none;
}

.showcase-demo-card > * { position: relative; z-index: 1; }

.showcase-demo-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed rgba(218, 119, 86, 0.2);
}

.showcase-demo-badge {
  margin-top: var(--space-3);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-sage-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-demo-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sage);
  box-shadow: 0 0 0 0 var(--color-sage-a40);
  animation: sage-pulse 2.4s ease-out infinite;
}

/* Hero stat below the demo card */
.showcase-visual-hero {
  text-align: center;
  margin-top: var(--space-1);
}

.showcase-visual-stat {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-charcoal);
  letter-spacing: -0.03em;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.showcase-visual-stat::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-brand), transparent);
  border-radius: 2px;
}

.showcase-visual-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-warm-gray);
  font-weight: 700;
  margin-top: var(--space-2);
  display: block;
}

/* Mobile base: hide timeline visuals (desktop override below) */
.timeline-visual {
  display: none;
}

@media (min-width: 768px) {
  /* ----- Timeline-visual (shared layout for product-tour and other timeline pages) ----- */
  .timeline-step:has(.timeline-visual) {
    justify-content: space-between;
  }

  .timeline-step:has(.timeline-visual) .timeline-card {
    flex: 0 0 calc(50% - 40px);
    margin: 0 !important;
    padding: 0 !important;
    width: calc(50% - 40px);
  }

  .timeline-visual {
    display: flex;
    flex: 0 0 calc(50% - 40px);
    width: calc(50% - 40px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-4);
    position: relative;
  }
}

/* ----- Mini demo primitives (reused across all 4 steps) ----- */

/* Org chart (step 01) */
.sfc-orgchart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  position: relative;
}

.sfc-orgchart::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 50%;
  width: 110px;
  height: 14px;
  transform: translateX(-50%);
  border-top: 1px dashed rgba(218, 119, 86, 0.4);
  border-left: 1px dashed rgba(218, 119, 86, 0.4);
  border-right: 1px dashed rgba(218, 119, 86, 0.4);
  border-radius: 4px 4px 0 0;
}

.sfc-org-row {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.sfc-org-row--top { margin-bottom: 4px; }

.sfc-org-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px -2px rgba(218, 119, 86, 0.35);
  border: 2px solid #FFFFFF;
}

.sfc-org-avatar--lg {
  width: 38px;
  height: 38px;
  font-size: 11px;
}

.sfc-org-avatar--muted {
  background: linear-gradient(135deg, #A8958A, #847268);
  box-shadow: 0 2px 6px -2px rgba(42, 37, 32, 0.2);
}

/* Flag grid (step 02) */
.sfc-flag-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: var(--space-1) 0;
}

.sfc-flag-grid > div {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(218, 119, 86, 0.06);
  border: 1px solid rgba(218, 119, 86, 0.14);
  border-radius: 6px;
}

.sfc-flag-grid > div.is-new {
  background: rgba(218, 119, 86, 0.15);
  border-color: rgba(218, 119, 86, 0.5);
  box-shadow: 0 0 0 0 rgba(218, 119, 86, 0.5);
  animation: sage-pulse 2.6s ease-out infinite;
}

/* Payroll card (step 03) */
.sfc-payroll-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sfc-payroll-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding: 7px 10px;
  background: rgba(218, 119, 86, 0.04);
  border: 1px solid rgba(218, 119, 86, 0.12);
  border-radius: 6px;
}

.sfc-payroll-row span:first-child {
  color: var(--color-warm-gray);
  font-weight: 500;
}

.sfc-payroll-row span:last-child {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-weight: 600;
}

.sfc-payroll-row--net {
  background: linear-gradient(135deg, rgba(143, 166, 142, 0.14), rgba(143, 166, 142, 0.06));
  border-color: rgba(143, 166, 142, 0.4);
}

.sfc-payroll-row--net span:last-child {
  color: var(--color-sage-dark);
}

.sfc-payroll-alert {
  margin-top: var(--space-3);
  padding: 7px 10px;
  background: linear-gradient(135deg, rgba(218, 119, 86, 0.16), rgba(218, 119, 86, 0.06));
  border-left: 3px solid var(--color-brand);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-brand-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sfc-payroll-alert::before {
  content: "⚠";
  color: var(--color-brand);
}

/* Device card (step 04) */
.sfc-device {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(218, 119, 86, 0.05);
  border: 1px solid rgba(218, 119, 86, 0.15);
  border-radius: 8px;
  margin-bottom: var(--space-3);
}

.sfc-device-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 3px 10px -2px rgba(218, 119, 86, 0.35);
}

.sfc-device-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.sfc-device-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
}

.sfc-device-desc {
  font-size: 10px;
  color: var(--color-warm-gray);
}

.sfc-progress {
  height: 6px;
  background: rgba(218, 119, 86, 0.12);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.sfc-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-dark));
  border-radius: 3px;
  animation: sfc-progress-fill 3s ease-out forwards;
}

@keyframes sfc-progress-fill {
  from { width: 0; }
  to   { width: 72%; }
}

.sfc-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--color-warm-gray);
  margin-top: 6px;
}

.sfc-progress-label strong {
  color: var(--color-brand);
  font-weight: 700;
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .showcase-visual-stat,
  .sfc-progress-bar,
  .showcase-demo-badge::before,
  .sfc-flag-grid > div.is-new {
    animation: none !important;
  }

  .sfc-progress-bar {
    width: 72%;
  }
}

/* ===== PHONE INPUT (intl-tel-input overrides) ===== */


.form-input--tel {
  position: relative;
}

.form-input--tel .iti {
  width: 100%;
}

.form-input--tel .iti__tel-input,
.form-input--tel input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-left: calc(0.75rem + 58px); /* room for separate dial code + flag */
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.form-input--tel .iti__tel-input:focus,
.form-input--tel input[type="tel"]:focus {
  outline: none;
  border-color: var(--color-brand-a50);
  box-shadow: 0 0 0 2px var(--color-brand-a20);
}

.form-input--tel .iti__selected-flag {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: transparent;
}

.form-input--tel .iti__country-list {
  font-family: var(--font-family);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== FIELD-LEVEL ERROR (inline, under a specific input) ===== */

.field-error {
  display: none;
  color: var(--color-brand-dark);
  font-size: var(--text-xs);
  margin-top: 0.375rem;
}

.field-error.is-visible {
  display: block;
}

/* ===== OUTCOME CARDS (label + description layout) ===== */

.select-card .select-card-text {
  display: block;
  min-width: 0; /* allow text to truncate/wrap inside the flex row */
  flex: 1 1 auto;
}

.select-card .select-card-label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.3;
}

.select-card .select-card-desc {
  display: block;
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.select-card.is-active .select-card-label {
  color: var(--color-brand-dark);
}

.select-card.is-active .select-card-desc {
  color: var(--color-text-muted);
}

.select-card {
  align-items: flex-start;
}
