:root {
  --primary: #8b5cf6;
  --cyan: #0ea5e9;
  --dark: #1e293b;
  --light: #f8fafc;
  --accent: #10b981;
  --warning: #f59e0b;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

/* Fixed header offset for anchor jumps (scales with small viewports) */
section {
  scroll-margin-top: clamp(4.5rem, 14vw, 5.75rem);
}

/* Subtle gradient page ambience */
body {
  overflow-x: clip;
  max-width: 100vw;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.125rem);
  line-height: 1.65;
  background-image: radial-gradient(900px 600px at 15% 0%, rgba(139, 92, 246, 0.12), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(14, 165, 233, 0.12), transparent 50%);
}

.section {
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}

/* Fluid headings / lead copy (32px mobile → 48px+ desktop for main sections) */
.hero-headline {
  font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: clamp(1rem, 0.45vw + 0.94rem, 1.125rem);
  line-height: 1.7;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw + 0.65rem, 2.5rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-lead {
  font-size: clamp(1rem, 0.35vw + 0.93rem, 1.125rem);
  line-height: 1.7;
  max-width: 42rem;
}

/* Hero */
.hero-gradient {
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.55), rgba(14, 165, 233, 0.55));
  background-size: 200% 200%;
  filter: blur(28px);
  opacity: 0.85;
  animation: gradientShift 14s ease-in-out infinite;
}

.hero-grid {
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  transform: translateZ(0);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9), transparent 70%);
}

.hero-cta-primary {
  background-image: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: opacity 160ms ease;
}

.hero-cta-secondary {
  transition: background 160ms ease, opacity 160ms ease;
}

.hero-mock-wrap {
  width: 100%;
}

.floating-card {
  animation: floaty 6s ease-in-out infinite;
  will-change: transform;
}

.hero-mock {
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 2rem;
  box-shadow: 0 40px 100px rgba(2, 6, 23, 0.12);
  overflow: hidden;
  transform: translateZ(0);
}

.hero-mock-top {
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.55);
}

.hero-mock-body {
  padding: 1.2rem;
}

.hero-mock-grid {
  display: flex;
  gap: 1.1rem;
}

.hero-phone {
  flex: 1.1;
}

.hero-phone-screen {
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.hero-chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.9), rgba(14, 165, 233, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex: 0 0 auto;
}

.hero-chip-urgent {
  margin-left: auto;
  flex: 0 0 auto;
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.hero-chat {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.chat-bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 1.1rem;
  font-size: 12px;
  line-height: 1.35;
}
.chat-bubble.left {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-self: flex-start;
}
.chat-bubble.right {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.45), rgba(14, 165, 233, 0.42));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-self: flex-end;
}

.chat-meta {
  margin-top: -0.2rem;
  align-self: center;
}

.hero-side {
  flex: 0.9;
}

.hero-side-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.4rem;
  padding: 1.1rem;
}

.hero-side-stats {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.scroll-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.12);
  animation: dotPulse 1.8s ease-in-out infinite;
}

/* Floating & gradient animations */
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Problem / Solution section */
.ps-problem-solution {
  background: #1e293b;
  position: relative;
}

.ps-problem-solution::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 360px at 20% 0%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(700px 260px at 85% 10%, rgba(14, 165, 233, 0.18), transparent 50%);
  pointer-events: none;
}

.ps-problem-solution > * {
  position: relative;
  z-index: 1;
}

.ps-pair {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ps-pair:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.ps-arrow-pill {
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

/* Features section */
.features-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.12), rgba(14, 165, 233, 0.12));
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.features-section > .mx-auto {
  position: relative;
  z-index: 1;
}

.feature-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.75rem;
  padding: 1.4rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
  /* Border-only gradient (keeps center transparent). */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(14, 165, 233, 0.18));
  border: 1px solid rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #0f172a;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-3px) scale(1.05) rotate(-6deg);
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.18);
  animation: featureIconBounce 700ms ease-in-out;
}

@keyframes featureIconBounce {
  0%,
  100% {
    transform: translateY(-3px) scale(1.05) rotate(-6deg);
  }
  40% {
    transform: translateY(-6px) scale(1.08) rotate(4deg);
  }
  60% {
    transform: translateY(-2px) scale(1.06) rotate(-3deg);
  }
}

.feature-title {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.feature-desc {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(71, 85, 105, 1);
}

.view-all-btn {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.view-all-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.35);
}

/* How it works (visual timeline) */
.hiw-section {
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.12), rgba(14, 165, 233, 0.12));
  position: relative;
}

.hiw-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 360px at 15% 0%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(700px 340px at 85% 20%, rgba(14, 165, 233, 0.12), transparent 55%);
  pointer-events: none;
}

.hiw-section > .mx-auto {
  position: relative;
  z-index: 1;
}

.hiw-timeline {
  position: relative;
  padding-left: 2.25rem;
}

.hiw-line {
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 10px;
  width: 4px;
  background: rgba(139, 92, 246, 0.22);
  border-radius: 999px;
  transform-origin: top;
  transform: scaleY(0);
  will-change: transform;
}

.hiw-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hiw-step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
}

.hiw-step.active .hiw-step-num {
  color: #ffffff;
  background-image: linear-gradient(90deg, var(--primary), var(--cyan));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.22);
}

.hiw-marker {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hiw-step-num {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.28);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.hiw-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.9rem;
  padding: 1rem;
  overflow: hidden;
}

.hiw-card-grid {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.hiw-card-text {
  flex: 1;
  min-width: 0;
}

.hiw-step-title {
  font-size: 1.08rem;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.hiw-step-desc {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(71, 85, 105, 1);
}

.hiw-visual {
  width: 260px;
  flex: 0 0 auto;
}

.hiw-visual-caption {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(71, 85, 105, 1);
  opacity: 0.95;
  text-align: left;
}

/* Mockups */
.mock-connection {
  position: relative;
  height: 168px;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.01));
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
}

.mock-node {
  position: absolute;
  top: 64px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.22);
}
.node-left {
  left: 36px;
}
.node-right {
  right: 36px;
}

.mock-connector {
  position: absolute;
  top: 71px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.45), rgba(14, 165, 233, 0.45));
  border-radius: 999px;
  opacity: 0.9;
}

.mock-pulse {
  position: absolute;
  top: 60px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.10);
  animation: pulseRing 1.8s ease-in-out infinite;
}
.pulse-left {
  left: 26px;
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.10);
}
.pulse-right {
  right: 26px;
  animation-delay: 0.35s;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.55;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.3;
  }
}

.mock-upload {
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
  height: 168px;
}
.mock-upload-top {
  height: 46px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.12), rgba(14, 165, 233, 0.12));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.mock-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
}
.mock-thumb {
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.02));
  border: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
}
.mock-upload-progress {
  padding: 0 12px 12px 12px;
}
.mock-upload-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
}
.mock-upload-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--primary), var(--cyan));
  animation: uploadSweep 1.6s ease-in-out infinite;
}
@keyframes uploadSweep {
  0% {
    transform: translateX(-10%);
    width: 25%;
  }
  50% {
    transform: translateX(120%);
    width: 55%;
  }
  100% {
    transform: translateX(-10%);
    width: 25%;
  }
}

.mock-chat {
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  height: 168px;
  padding: 12px;
  overflow: hidden;
}
.mock-chat-head {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.mock-chat-avatar {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}
.mock-chat-title {
  font-weight: 800;
  font-size: 12px;
  opacity: 0.95;
}
.mock-chat-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: rgba(245, 158, 11, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.mock-chat-bubbles {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  font-size: 12px;
  line-height: 1.2;
  padding: 0.55rem 0.65rem;
  border-radius: 1rem;
  max-width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.bubble.left {
  background: rgba(255, 255, 255, 0.06);
  align-self: flex-start;
}
.bubble.right {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.38), rgba(14, 165, 233, 0.34));
  align-self: flex-end;
}

.mock-typing .dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.mock-typing i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  display: inline-block;
  animation: dotBlink 1s infinite ease-in-out;
}
.mock-typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.mock-typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dotBlink {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.mock-ai-flow {
  position: relative;
  height: 168px;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78));
  overflow: hidden;
  padding: 14px;
}
.ai-node {
  position: absolute;
  left: 16px;
  top: 44px;
  width: 70px;
  height: 40px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0f172a;
  box-shadow: 0 18px 50px rgba(139, 92, 246, 0.10);
}
.ai-node.mid {
  left: 118px;
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.18);
}
.ai-node.second {
  top: 98px;
}
.ai-node.end {
  left: 218px;
  top: 98px;
  width: 96px;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.22);
}
.ai-arrow {
  position: absolute;
  left: 86px;
  top: 64px;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 999px;
}
.ai-arrow.arrow2 {
  top: 118px;
  left: 86px;
}
.ai-arrow.arrow3 {
  top: 64px;
  left: 166px;
}
.ai-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.24), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(14, 165, 233, 0.22), transparent 45%);
  animation: aiGlow 2.2s ease-in-out infinite;
}
@keyframes aiGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

.mock-notification {
  height: 168px;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78));
  overflow: hidden;
  position: relative;
  padding: 14px;
}

.mock-bell {
  position: absolute;
  left: 18px;
  top: 50px;
  width: 54px;
  height: 54px;
}

.bell-shape {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 10px 10px 14px 14px;
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.bell-line {
  position: absolute;
  left: 18px;
  top: 32px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.55);
  opacity: 0.7;
}

.bell-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.35);
  animation: bellRing 1.6s ease-in-out infinite;
}

@keyframes bellRing {
  0% {
    transform: scale(0.75);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.55;
  }
  100% {
    transform: scale(0.75);
    opacity: 0.2;
  }
}

.mock-toast {
  position: absolute;
  left: 92px;
  right: 10px;
  top: 42px;
  padding: 10px 12px;
  border-radius: 1rem;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.22);
  transform: translateX(10px);
  animation: toastIn 1.6s ease-in-out infinite;
}
.toast-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--primary), var(--cyan));
  margin-right: 8px;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}
.toast-text {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}
@keyframes toastIn {
  0%,
  100% {
    transform: translateX(10px);
    opacity: 0.9;
  }
  50% {
    transform: translateX(0px);
    opacity: 1;
  }
}

.mock-success {
  height: 168px;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78));
  overflow: hidden;
  position: relative;
  padding: 14px;
}
.success-check {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background-image: linear-gradient(90deg, var(--primary), var(--cyan));
  color: #ffffff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 26px 70px rgba(139, 92, 246, 0.22);
  margin-top: 40px;
}
.success-sub {
  margin-top: 10px;
  font-weight: 900;
  color: #0f172a;
  font-size: 12px;
}
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 6px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.9), rgba(14, 165, 233, 0.9));
  transform-origin: center;
  animation: confettiFall 1.9s ease-in-out infinite;
}
.confetti i.c1 {
  left: 30%;
  animation-delay: 0s;
}
.confetti i.c2 {
  left: 45%;
  animation-delay: 0.2s;
}
.confetti i.c3 {
  left: 55%;
  animation-delay: 0.4s;
}
.confetti i.c4 {
  left: 70%;
  animation-delay: 0.6s;
}
.confetti i.c5 {
  left: 22%;
  animation-delay: 0.8s;
}
@keyframes confettiFall {
  0% {
    transform: translate(-50%, 0) rotate(0deg);
    opacity: 0.85;
  }
  60% {
    transform: translate(calc(-50% + var(--dx, 0px)), 150px) rotate(120deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 190px) rotate(200deg);
    opacity: 0;
  }
}

/* Pricing section */
.pricing-section {
  background: #ffffff;
  position: relative;
}

.pricing-toggle-btn {
  border-radius: 0.65rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-toggle-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.1rem, 2.5vw, 1.5rem);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-cta {
  min-height: 3rem;
}

.pricing-amount {
  font-size: clamp(2.25rem, 7vw, 3rem);
  line-height: 1;
}

.pricing-custom-title {
  font-size: clamp(1.85rem, 5vw, 2.25rem);
  line-height: 1.1;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
}

.pricing-card-popular {
  border-color: transparent;
  box-shadow: 0 16px 50px rgba(139, 92, 246, 0.15);
  padding-top: 2.25rem;
}

.pricing-card-popular::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  pointer-events: none;
  z-index: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.pricing-card-popular > * {
  position: relative;
  z-index: 1;
}

.pricing-check {
  flex-shrink: 0;
  font-weight: 900;
  line-height: 1.4;
}

.pricing-compare th,
.pricing-compare td {
  vertical-align: middle;
}

.pricing-compare tbody tr:hover {
  background: rgba(248, 250, 252, 0.9);
}

.pricing-table-wrap {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.pricing-compare-fab {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 12px 36px rgba(139, 92, 246, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pricing-compare-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(139, 92, 246, 0.4);
}

.pricing-compare-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.45), 0 12px 36px rgba(139, 92, 246, 0.35);
}

@media (min-width: 1024px) {
  .pricing-compare-fab {
    display: none;
  }
}

@media (max-width: 1023px) {
  .pricing-card-popular {
    order: -1;
  }
}

/* Testimonials / social proof */
.testimonial-social {
  position: relative;
  background: linear-gradient(165deg, #0b1220 0%, #1e293b 45%, #0f172a 100%);
  overflow: hidden;
}

.testimonial-social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 20% 0%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(800px 380px at 90% 30%, rgba(14, 165, 233, 0.14), transparent 50%);
  pointer-events: none;
}

.testimonial-social > .mx-auto {
  position: relative;
  z-index: 1;
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
}

@media (min-width: 640px) {
  .logo-wall {
    gap: 1rem 1.5rem;
  }
}

.logo-wall-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.logo-wall-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo-wall-mark-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.logo-wall-mark-2 {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}
.logo-wall-mark-3 {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.logo-wall-mark-4 {
  background: linear-gradient(135deg, #10b981, #047857);
}
.logo-wall-mark-5 {
  background: linear-gradient(135deg, #ec4899, #be185d);
}
.logo-wall-mark-6 {
  background: linear-gradient(135deg, #64748b, #334155);
}

.logo-wall-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
  max-width: 200px;
  line-height: 1.25;
}

.testimonial-carousel-viewport {
  width: 100%;
  overflow: hidden;
  padding: 0.25rem 0;
}

.testimonial-carousel-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
}

.testimonial-carousel-card {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1.75rem 1.5rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-carousel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 28px 70px rgba(139, 92, 246, 0.12);
}

@media (min-width: 1024px) {
  .testimonial-carousel-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
  }
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.testimonial-quote {
  margin: 1.25rem 0 0 0;
  padding: 0;
  border: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.95);
  font-style: italic;
}

@media (min-width: 640px) {
  .testimonial-quote {
    font-size: 1.2rem;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.testimonial-name-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.testimonial-co-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  flex-shrink: 0;
}

.testimonial-co-logo.co-2 {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.testimonial-co-logo.co-3 {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.testimonial-role {
  margin: 0.15rem 0 0 0;
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.95);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.testimonial-dot:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.45);
}

.testimonial-dot.is-active {
  width: 32px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.testimonial-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.testimonial-stat {
  text-align: center;
  padding: 0.5rem;
}

.testimonial-stat-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #c4b5fd, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonial-stat-label {
  margin: 0.35rem 0 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.9);
}

/* Site header — sticky, scroll states, progress */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  pointer-events: none;
}

.site-header-bar,
.site-header-inner {
  pointer-events: auto;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 95;
  height: 3px;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
}

.site-header-bar {
  position: relative;
  z-index: 85;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled .site-header-bar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-menu-btn {
  border-color: rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.95);
}

.site-logo-mark {
  height: 40px;
  width: 40px;
}

.site-header.is-scrolled .site-logo-mark {
  height: 34px;
  width: 34px;
}

.site-header.is-scrolled .site-logo-wordmark {
  font-size: 0.8125rem;
}

.site-header.is-scrolled .site-logo-tagline {
  font-size: 0.65rem;
}

.site-nav-link {
  position: relative;
  padding: 0.4rem 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav-link:hover {
  color: #0f172a;
}

.site-nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.site-nav-link::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.12rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-link:hover::after,
.site-nav-link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav-link.is-active {
  color: #6d28d9;
}

.site-nav-link.is-active::after {
  transform: scaleX(1);
}

.site-logo.is-active .site-logo-mark {
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35), 0 8px 24px rgba(139, 92, 246, 0.2);
}

.site-mobile-link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-mobile-link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

.site-mobile-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.site-mobile-link.is-active {
  background: rgba(139, 92, 246, 0.1);
  color: #5b21b6;
}

.site-mobile-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.site-mobile-drawer {
  pointer-events: none;
}

.site-mobile-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

body.site-mobile-nav-open {
  overflow: hidden;
}

/* Hamburger icon */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, 0.88);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .site-header-bar,
  .site-logo-mark,
  .site-logo-wordmark,
  .site-logo-tagline,
  .site-nav-link::after {
    transition: none !important;
  }

  .site-mobile-drawer,
  .site-mobile-backdrop {
    transition: none !important;
  }

  .scroll-progress-bar {
    transition: none !important;
  }
}

/* FAQ section */
.faq-section {
  background: #ffffff;
}

/* FAQ accordion */
.faq-expand-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: #0f172a;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-expand-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 165, 233, 0.12));
  color: #6d28d9;
}

.faq-q-emoji {
  margin-top: 0.1rem;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.faq-item.open .faq-panel {
  max-height: 720px;
  opacity: 1;
}

.faq-panel-inner {
  padding-top: 0;
}

/* Demo request section */
.demo-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 35%, #0e7490 100%);
}

.demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(14, 165, 233, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(139, 92, 246, 0.4), transparent 50%);
  pointer-events: none;
}

.demo-section > .mx-auto {
  position: relative;
  z-index: 1;
}

.demo-video-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.demo-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.35);
}

.demo-mock-float {
  animation: demoMockPulse 5s ease-in-out infinite;
}

@keyframes demoMockPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-6px) scale(1.02);
    opacity: 1;
  }
}

.demo-form-card {
  position: relative;
  overflow: visible;
  animation: demoCardIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes demoCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating labels */
.demo-field {
  position: relative;
  margin-top: 0.25rem;
}

.demo-label {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
  pointer-events: none;
  font-size: 0.875rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease, top 0.2s ease, font-size 0.2s ease,
    background-color 0.2s ease;
  padding: 0 0.25rem;
  margin-left: -0.125rem;
  line-height: 1.2;
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-label-textarea {
  top: 1.15rem;
  transform: translateY(0);
}

.demo-input {
  width: 100%;
  min-height: 3rem;
  box-sizing: border-box;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.1rem 0.875rem 0.55rem;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}

@media (min-width: 640px) {
  .demo-input {
    min-height: 2.875rem;
    font-size: 0.875rem;
    padding: 1rem 0.875rem 0.5rem;
  }

  .demo-select {
    min-height: 2.875rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }
}

.demo-textarea {
  min-height: 5.5rem;
  padding-top: 1.35rem;
  resize: vertical;
}

.demo-select {
  min-height: 3rem;
  padding-top: 1.1rem;
  padding-bottom: 0.55rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.demo-label-select {
  top: 50%;
  transform: translateY(-50%);
}

/* Float label when focused or filled */
.demo-input:focus + .demo-label,
.demo-input:not(:placeholder-shown) + .demo-label {
  top: 0.5rem;
  transform: translateY(0) scale(0.8);
  color: #7c3aed;
  font-weight: 600;
  background: linear-gradient(to bottom, #fff 55%, transparent 55%);
}

.demo-textarea:focus + .demo-label,
.demo-textarea:not(:placeholder-shown) + .demo-label {
  top: 0.45rem;
  transform: scale(0.8);
}

.demo-field:has(.demo-select:focus) .demo-label-select,
.demo-select:focus + .demo-label-select,
.demo-select:valid + .demo-label-select {
  top: 0.5rem;
  transform: translateY(0) scale(0.8);
  color: #7c3aed;
  font-weight: 600;
  background: linear-gradient(to bottom, #fff 55%, transparent 55%);
}

.demo-input:focus {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18), 0 0 0 6px rgba(14, 165, 233, 0.08);
}

.demo-input--invalid,
.demo-field--error .demo-input {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.demo-field-error {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ea580c;
}

.demo-submit-btn {
  min-height: 3rem;
}

.demo-submit-btn:disabled {
  cursor: not-allowed;
}

/* Honeypot — hidden from users and AT */
.demo-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Submit spinner (SVG uses Tailwind animate-spin when CDN loads; fallback here) */
#submitSpinner svg {
  animation: demo-submit-spin 0.75s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  #submitSpinner svg {
    animation: none;
  }
}

@keyframes demo-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.demo-form-status {
  border-width: 1px;
}

.demo-form-status--success {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(236, 253, 245, 0.95);
  color: #065f46;
}

.demo-form-status--warn {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(255, 251, 235, 0.95);
  color: #92400e;
}

/* Small screens spacing polish (< 640px) */
@media (max-width: 639px) {
  .section {
    padding: clamp(2.5rem, 7vw, 3.25rem) 0;
  }

  .hero-mock-grid {
    flex-direction: column;
  }

  .hero-phone-screen {
    min-height: 280px;
  }

  .hiw-timeline {
    padding-left: 0;
  }
  .hiw-line {
    display: none;
  }
  .hiw-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hiw-marker {
    justify-content: flex-start;
  }
  .hiw-card-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .hiw-visual {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gradient,
  .floating-card,
  .scroll-dot,
  .demo-mock-float,
  .demo-form-card {
    animation: none !important;
  }
}

/* Footer */
.site-footer {
  background-color: #1e293b;
  background-image: radial-gradient(900px 500px at 10% 0%, rgba(139, 92, 246, 0.12), transparent 55%),
    radial-gradient(700px 400px at 90% 100%, rgba(14, 165, 233, 0.1), transparent 50%);
}

.site-footer .footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer .footer-link:hover {
  color: #a5b4fc;
}

.footer-social-link {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.35);
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.18);
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.12);
}

.footer-details {
  border: 1px solid rgba(51, 65, 85, 0.65);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.footer-details-summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.footer-details-summary::-webkit-details-marker {
  display: none;
}

.footer-details-chevron {
  position: relative;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.5);
}

.footer-details-chevron::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.25s ease;
}

.footer-details[open] .footer-details-chevron::before {
  transform: translate(-50%, -35%) rotate(225deg);
}

.footer-details-panel {
  padding: 0 1.1rem 1.15rem;
}

@media (min-width: 1024px) {
  .footer-details {
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .footer-details-panel {
    padding: 0;
  }
}

.footer-col-title {
  display: none;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

@media (min-width: 1024px) {
  .footer-col-title {
    display: block;
  }
}

.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-list li + li {
  margin-top: 0.75rem;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cbd5e1;
}

/* —— Page load, micro-interactions, motion polish —— */
body.page-enter {
  opacity: 0;
}

body.page-enter.is-loaded {
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.ui-lift {
  transition: transform 0.22s ease, box-shadow 0.28s ease, opacity 0.2s ease !important;
}

.ui-lift:hover {
  transform: translateY(-3px);
}

.ui-lift:active {
  transform: translateY(-1px);
}

.ui-lift--glow:hover {
  box-shadow: 0 22px 48px rgba(139, 92, 246, 0.28), 0 12px 28px rgba(14, 165, 233, 0.12);
}

@keyframes formShake {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-8px);
  }
  30% {
    transform: translateX(8px);
  }
  45% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(5px);
  }
}

.demo-form-card--shake,
.footer-newsletter.shake-on-error {
  animation: formShake 0.55s ease-out;
}

@keyframes confettiFly {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 80px))) rotate(var(--r, 180deg))
      scale(0.4);
    opacity: 0;
  }
}

.confetti-bit {
  position: absolute;
  width: 7px;
  height: 10px;
  border-radius: 2px;
  background: var(--c, #8b5cf6);
  pointer-events: none;
  z-index: 5;
  animation: confettiFly 0.85s ease-out forwards;
}

.demo-checkbox-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.demo-checkbox-input:focus-visible + .demo-checkbox-ui {
  outline: 2px solid rgba(139, 92, 246, 0.55);
  outline-offset: 2px;
}

.demo-checkbox-ui {
  margin-top: 0.1rem;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid #cbd5e1;
  background: #fff;
  transition: border-color 0.2s ease, background 0.28s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease;
}

.demo-checkbox-svg {
  color: #fff;
  opacity: 0;
  transform: scale(0.35);
  transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-checkbox-path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.35s ease 0.05s;
}

.demo-checkbox-input:checked + .demo-checkbox-ui {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #8b5cf6, #0ea5e9);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.25);
  transform: scale(1.04);
}

.demo-checkbox-input:checked + .demo-checkbox-ui .demo-checkbox-svg {
  opacity: 1;
  transform: scale(1);
}

.demo-checkbox-input:checked + .demo-checkbox-ui .demo-checkbox-path {
  stroke-dashoffset: 0;
}

.demo-submit-arrow.is-hidden {
  display: none;
}

.success-check-anim {
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  animation: successPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.demo-input:focus,
.demo-select:focus,
.demo-textarea:focus {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22), 0 0 0 6px rgba(14, 165, 233, 0.08);
}

.testimonial-photo-wrap {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
}

.testimonial-photo-wrap picture {
  display: block;
  line-height: 0;
  border-radius: inherit;
}

.media-zoom {
  overflow: hidden;
  border-radius: inherit;
}

.media-zoom .testimonial-photo {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-zoom:hover .testimonial-photo {
  transform: scale(1.05);
}

.img-blur-load {
  filter: blur(14px);
  transform: scale(1.06);
  opacity: 0.75;
  transition: filter 0.55s ease-out, opacity 0.45s ease-out, transform 0.55s ease-out;
}

.img-blur-load.is-loaded {
  filter: none;
  transform: scale(1);
  opacity: 1;
}

.footer-link--underline {
  position: relative;
}

.footer-link--underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #a78bfa, #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-link--underline:hover::after {
  transform: scaleX(1);
}

.footer-copy-tooltip {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6ee7b7;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.footer-copy-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-copy-tooltip--ok {
  color: #6ee7b7;
}

.footer-copy-tooltip--warn {
  color: #fcd34d;
}

.back-to-top {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 75;
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.92);
  color: #6d28d9;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, box-shadow 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: #0ea5e9;
  box-shadow: 0 18px 50px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  animation: fadeInUp 0.5s ease-out;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  font-weight: 600;
  font-size: 15px;
}

.whatsapp-button:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.35), 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-text {
  display: inline-block;
}

/* Hide text on mobile, show only icon */
@media (max-width: 640px) {
  .whatsapp-widget {
    right: 20px;
    bottom: 20px;
  }

  .whatsapp-button {
    width: 60px;
    height: 60px;
    padding: 16px;
    border-radius: 50%;
    justify-content: center;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-icon {
    width: 32px;
    height: 32px;
  }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 0;
  bottom: 70px;
  background: #1e293b;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -6px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #1e293b;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
}

.back-to-top:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.35);
}

#particles-js {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  body.page-enter.is-loaded {
    transition: none;
  }

  .ui-lift:hover,
  .ui-lift:active {
    transform: none;
  }

  .ui-lift--glow:hover {
    box-shadow: none;
  }

  .demo-form-card--shake,
  .footer-newsletter.shake-on-error {
    animation: none;
  }

  .confetti-bit {
    display: none !important;
  }

  .img-blur-load {
    filter: none;
    transform: none;
    opacity: 1;
  }

  .media-zoom:hover .testimonial-photo {
    transform: none;
  }

  .feature-card:hover .feature-icon {
    animation: none;
  }

  .success-check-anim {
    animation: none;
  }
}

