/* ============================================================
   Markaz Chat — public website
   Premium, brand-aligned design. Built on the local Bootstrap
   grid; no external CDN assets. Brand palette mirrors the
   omnichannel app icon: deep-night base, teal/blue/violet
   aurora, and a warm gold AI core.
   ============================================================ */

:root {
  color-scheme: light;

  /* Brand core */
  --mc-night: #0c1234;
  --mc-night-2: #10173f;
  --mc-night-3: #1a1248;
  --mc-indigo: #4f46e5;
  --mc-violet: #7c3aed;
  --mc-sky: #38bdf8;
  --mc-blue: #3b82f6;
  --mc-teal: #14b8a6;
  --mc-teal-bright: #2dd4bf;
  --mc-lilac: #a78bfa;
  --mc-gold: #fbbf24;
  --mc-gold-soft: #fde68a;

  /* Ink + surfaces */
  --mc-ink: #0b1020;
  --mc-text: #283449;
  --mc-muted: #64748b;
  --mc-line: #e4e9f2;
  --mc-soft: #f5f8fc;
  --mc-card: #ffffff;

  /* Gradients */
  --mc-grad-brand: linear-gradient(120deg, #38bdf8 0%, #4f46e5 48%, #7c3aed 100%);
  --mc-grad-orbit: linear-gradient(120deg, #2dd4bf, #60a5fa, #a78bfa);
  --mc-grad-gold: linear-gradient(135deg, #fff7d6, #fcd34d 45%, #d97706);

  /* Effects */
  --mc-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.07);
  --mc-shadow: 0 24px 60px rgba(12, 18, 52, 0.12);
  --mc-shadow-lg: 0 40px 90px rgba(12, 18, 52, 0.18);
  --mc-ring: 0 0 0 1px rgba(79, 70, 229, 0.14);
  --mc-radius: 18px;
  --mc-radius-lg: 26px;
  --mc-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --mc-spring: cubic-bezier(0.3, 1.3, 0.5, 1);

  /* Bootstrap overrides */
  --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--mc-text);
  --bs-primary: var(--mc-indigo);
  --bs-link-color: var(--mc-indigo);
  --bs-link-hover-color: #3f37c9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  background: #fff;
  color: var(--mc-text);
  font-feature-settings: "cv02", "cv03", "cv04";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: rgba(124, 58, 237, 0.2);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--mc-night);
  color: #fff;
  font-weight: 800;
  transition: top 0.2s var(--mc-ease);
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--mc-grad-brand);
  box-shadow: 0 0 14px rgba(79, 70, 229, 0.55);
  will-change: transform;
}

/* ---- Reveal-on-scroll ---- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--mc-ease), transform 0.7s var(--mc-ease);
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.js [data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   Navbar
   ============================================================ */
.site-nav {
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s var(--mc-ease), border-color 0.3s var(--mc-ease),
    box-shadow 0.3s var(--mc-ease);
}

.site-nav.is-scrolled {
  border-bottom-color: rgba(220, 229, 241, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(12, 18, 52, 0.08);
}

.navbar {
  padding: 16px 0;
  transition: padding 0.3s var(--mc-ease);
}

.site-nav.is-scrolled .navbar {
  padding: 10px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mc-ink);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-lockup:hover {
  color: var(--mc-ink);
}

.brand-lockup img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 10px 20px rgba(79, 70, 229, 0.28));
  transition: transform 0.4s var(--mc-spring);
}

.brand-lockup:hover img {
  transform: rotate(-6deg) scale(1.06);
}

.navbar .nav-link {
  position: relative;
  color: var(--mc-ink);
  font-size: 15px;
  font-weight: 650;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.2s var(--mc-ease), background 0.2s var(--mc-ease);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--mc-grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--mc-ease);
}

.navbar .nav-link:hover,
.navbar .nav-link.is-active {
  color: var(--mc-indigo);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.is-active::after {
  transform: scaleX(1);
}

.navbar .nav-login {
  font-weight: 750;
}

.nav-sep {
  width: 1px;
  height: 22px;
  margin: 0 6px;
  background: var(--mc-line);
}

.nav-button {
  color: #fff;
}

/* Buttons */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
  border-radius: 12px;
  font-weight: 750;
  letter-spacing: -0.01em;
  padding: 11px 22px;
  transition: transform 0.2s var(--mc-spring), box-shadow 0.25s var(--mc-ease),
    background 0.25s var(--mc-ease), color 0.25s var(--mc-ease),
    border-color 0.25s var(--mc-ease);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 17px;
}

.btn-primary {
  border: 0;
  background: var(--mc-grad-brand);
  background-size: 160% 160%;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--mc-grad-brand);
  background-size: 160% 160%;
  background-position: 100% 0;
  color: #fff;
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  box-shadow: 0 16px 36px -10px rgba(79, 70, 229, 0.6);
}

.btn-glow:hover {
  box-shadow: 0 22px 48px -10px rgba(124, 58, 237, 0.6);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--mc-line);
  background: #fff;
  color: var(--mc-ink);
}

.btn-ghost:hover {
  border-color: rgba(79, 70, 229, 0.4);
  color: var(--mc-indigo);
  transform: translateY(-2px);
  box-shadow: var(--mc-shadow-sm);
}

.btn-ghost--light {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-ghost--light:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--mc-night);
  border: 0;
}

.btn-light:hover {
  background: #fff;
  color: var(--mc-night);
  transform: translateY(-2px);
  box-shadow: var(--mc-shadow);
}

.play-dot {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mc-grad-brand);
  position: relative;
}

.play-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.navbar-toggler {
  border: 1px solid var(--mc-line);
  border-radius: 10px;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

/* ============================================================
   Section rhythm + headings
   ============================================================ */
.section-pad {
  padding-top: clamp(64px, 8vw, 116px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--mc-indigo);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--mc-grad-brand);
}

.section-heading {
  max-width: 760px;
}

.section-heading .eyebrow {
  justify-content: center;
}

h1,
h2 {
  color: var(--mc-ink);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.section-heading h2,
.outcome-section h2,
.approach-section h2,
.workflow-section h2,
.policy-panel h2,
.faq-section h2,
.contact-panel h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

.section-heading p,
.outcome-lede,
.approach-section .lead-text,
.workflow-section p,
.policy-panel p,
.contact-panel p,
.feature-card p,
.price-card p,
.faq-aside {
  color: var(--mc-muted);
  line-height: 1.72;
}

.text-gradient {
  background: var(--mc-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
  position: relative;
  padding: clamp(132px, 16vw, 180px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(1200px 600px at 50% -10%, #fbfdff, #fff 60%),
    linear-gradient(180deg, #fff 0%, #f6f8ff 100%);
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-aurora .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: blob-drift 18s ease-in-out infinite;
}

.blob--teal {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.55), transparent 70%);
}

.blob--violet {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 70%);
  animation-delay: -6s;
}

.blob--blue {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: 30%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  animation-delay: -11s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 18, 52, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 18, 52, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(900px 500px at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 30%, #000, transparent 75%);
}

.hero-section .container-xxl {
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--mc-ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--mc-shadow-sm);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mc-teal-bright);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.22);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.hero-section h1 {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: #4a566c;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 40px 0 0;
  padding: 0;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats dt {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: var(--mc-ink);
  letter-spacing: -0.02em;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--mc-muted);
  font-size: 13px;
  font-weight: 650;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 540px;
  perspective: 1200px;
}

.hero-stage {
  position: relative;
  width: min(100%, 540px);
  min-height: 540px;
  margin-left: auto;
  border-radius: var(--mc-radius-lg);
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(124, 58, 237, 0.16), transparent 45%),
    radial-gradient(120% 120% at 10% 90%, rgba(45, 212, 191, 0.18), transparent 45%),
    linear-gradient(160deg, #121a45, #0c1234 70%);
  box-shadow: var(--mc-shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s var(--mc-ease);
  animation: visual-rise 0.9s var(--mc-ease) both;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.4), transparent 65%);
  filter: blur(10px);
}

.hero-app-icon {
  position: absolute;
  top: 60px;
  right: 60px;
  z-index: 2;
  width: clamp(170px, 22vw, 220px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(5, 8, 28, 0.5);
}

.floating-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--mc-ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(5, 8, 28, 0.32);
  backdrop-filter: blur(6px);
}

.floating-badge--top {
  top: 70px;
  left: 36px;
  animation: badge-bob 5s ease-in-out infinite;
}

.floating-badge--side {
  right: 28px;
  bottom: 150px;
  animation: badge-bob 5s 1s ease-in-out infinite;
}

.floating-badge .tick {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mc-teal);
  position: relative;
}

.floating-badge .tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.floating-badge .spark {
  width: 14px;
  height: 14px;
  background: var(--mc-gold);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.chat-widget-card {
  position: absolute;
  left: 30px;
  bottom: 34px;
  z-index: 4;
  width: min(330px, calc(100% - 56px));
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 60px rgba(5, 8, 28, 0.4);
  animation: message-pop 0.8s 0.2s var(--mc-ease) both;
}

.chat-widget-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.chat-widget-card__top span {
  color: #fff;
  border-radius: 9px;
  padding: 8px 12px;
  background: var(--mc-grad-brand);
  font-size: 12px;
  font-weight: 800;
}

.chat-widget-card__top strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f7a4f;
  border-radius: 999px;
  padding: 6px 10px;
  background: #dcfce7;
  font-size: 12px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.assistant-console__header .live-dot {
  background: var(--mc-teal-bright);
}

.message {
  width: fit-content;
  max-width: 90%;
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1.45;
}

.message--visitor {
  margin-left: auto;
  background: #eef2f9;
  color: var(--mc-text);
  border-bottom-right-radius: 4px;
}

.message--agent {
  margin-top: 10px;
  background: var(--mc-grad-brand);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-row span {
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  padding: 6px 11px;
  background: #fff;
  color: var(--mc-indigo);
  font-size: 12px;
  font-weight: 750;
}

/* Hero marquee */
.hero-marquee {
  margin-top: clamp(48px, 6vw, 76px);
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  flex: 0 0 auto;
  border: 1px solid var(--mc-line);
  border-radius: 999px;
  padding: 12px 22px;
  background: #fff;
  color: var(--mc-ink);
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--mc-shadow-sm);
}

.hero-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ============================================================
   Scroll film
   ============================================================ */
.scroll-film-section {
  --film-progress: 0;
  --film-scale: 0.72;
  --film-clip-y: 34%;
  --film-clip-x: 24%;
  --film-radius: 120px;
  position: relative;
  max-width: 100%;
  min-height: 350svh;
  overflow: clip;
  background: #030526;
  color: #eff6ff;
}

.scroll-film-section *,
.scroll-film-section *::before,
.scroll-film-section *::after {
  min-width: 0;
}

.scroll-film-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(88px, 8vw, 118px) 0 clamp(56px, 7vw, 90px);
  isolation: isolate;
}

.scroll-film-aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(50% 45% at 50% 18%, #1020bd 0%, #0b1387 28%, #080f67 48%, #030526 88%),
    linear-gradient(180deg, #030526, #07113c);
}

.scroll-film-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(820px 460px at 50% 46%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(820px 460px at 50% 46%, #000, transparent 78%);
  opacity: 0.8;
}

.scroll-film-aurora span {
  position: absolute;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.5;
  animation: blob-drift 18s ease-in-out infinite;
}

.scroll-film-aurora span:nth-child(1) {
  width: 360px;
  height: 360px;
  left: -90px;
  top: 18%;
  background: rgba(45, 212, 191, 0.45);
}

.scroll-film-aurora span:nth-child(2) {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 6%;
  background: rgba(124, 58, 237, 0.42);
  animation-delay: -8s;
}

.scroll-film-aurora span:nth-child(3) {
  width: 340px;
  height: 340px;
  right: 18%;
  bottom: -120px;
  background: rgba(56, 189, 248, 0.34);
  animation-delay: -13s;
}

.scroll-film-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  max-width: 100%;
}

.scroll-film-copy {
  transform: translateY(calc((1 - var(--film-progress)) * 44px));
  opacity: calc(0.72 + (var(--film-progress) * 0.28));
  transition: opacity 0.1s linear;
}

.scroll-film-copy .eyebrow {
  color: var(--mc-teal-bright);
}

.scroll-film-copy .eyebrow-line {
  background: var(--mc-grad-orbit);
}

.scroll-film-copy h2 {
  margin: 0;
  max-width: 620px;
  color: #fff;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.scroll-film-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.74;
}

.scroll-film-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.scroll-film-button,
.scroll-film-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.2s var(--mc-spring), box-shadow 0.2s var(--mc-ease),
    border-color 0.2s var(--mc-ease), background 0.2s var(--mc-ease);
}

.scroll-film-button {
  padding: 0 24px;
  color: #fff;
  background: var(--mc-grad-brand);
  box-shadow: 0 18px 42px rgba(79, 70, 229, 0.36);
}

.scroll-film-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(79, 70, 229, 0.44);
}

.scroll-film-link {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.07);
}

.scroll-film-link:hover {
  color: #fff;
  border-color: rgba(45, 212, 191, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.scroll-film-stage {
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.scroll-film-frame {
  width: 100%;
  max-width: 100%;
  transform: scale(var(--film-scale));
  transform-origin: center;
  clip-path: inset(var(--film-clip-y) var(--film-clip-x) var(--film-clip-y) var(--film-clip-x) round var(--film-radius));
  will-change: transform, clip-path;
}

.scroll-film-window {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(500px 300px at 85% 12%, rgba(45, 212, 191, 0.18), transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.96));
  box-shadow:
    0 44px 110px rgba(1, 5, 22, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.scroll-film-windowbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: rgba(12, 18, 52, 0.92);
  color: rgba(255, 255, 255, 0.72);
}

.scroll-film-windowbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.scroll-film-windowbar span:nth-child(1) { background: #fb7185; }
.scroll-film-windowbar span:nth-child(2) { background: #fbbf24; }
.scroll-film-windowbar span:nth-child(3) { background: #2dd4bf; }

.scroll-film-windowbar strong {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-film-product {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: clamp(430px, 48vw, 560px);
}

.film-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 24px 12px;
  background: #10173f;
  color: rgba(255, 255, 255, 0.74);
}

.film-sidebar img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 20px rgba(45, 212, 191, 0.28));
}

.film-sidebar span {
  width: 100%;
  border-radius: 12px;
  padding: 10px 7px;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.film-sidebar .is-active {
  color: #fff;
  background: rgba(45, 212, 191, 0.16);
}

.film-canvas {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(12px, 1.4vw, 16px);
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
}

.film-topline,
.film-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.film-topline small,
.film-pipeline-card span,
.film-agent-card span,
.film-intent-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.film-topline strong {
  display: block;
  margin-top: 4px;
  color: var(--mc-ink);
  font-size: clamp(16px, 1.5vw, 19px);
}

.film-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #0f7a4f;
  background: #dcfce7;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.film-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.film-thread {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.6vw, 18px);
  min-height: clamp(220px, 22vw, 250px);
}

.film-message,
.film-intent-card,
.film-pipeline-card,
.film-agent-card {
  opacity: 0.56;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.35s var(--mc-ease), transform 0.35s var(--mc-ease),
    box-shadow 0.35s var(--mc-ease), border-color 0.35s var(--mc-ease);
}

.film-message.is-active,
.film-intent-card.is-active,
.film-pipeline-card.is-active,
.film-agent-card.is-active {
  opacity: 1;
  transform: none;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
}

.film-message {
  width: min(430px, 86%);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--mc-ink);
  background: #eef4ff;
  line-height: 1.48;
}

.film-message b {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.film-message--customer {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #0d9488);
}

.film-message--customer b {
  color: rgba(255, 255, 255, 0.72);
}

.film-message--ai {
  background: #fff;
  border: 1px solid var(--mc-line);
}

.film-intent-card {
  width: min(270px, 74%);
  margin-left: auto;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 18px;
  padding: 14px 16px;
  background: #ecfeff;
}

.film-intent-card strong,
.film-pipeline-card strong,
.film-agent-card strong {
  display: block;
  margin-top: 5px;
  color: var(--mc-ink);
  font-size: 16px;
}

.film-intent-card em {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #7c2d12;
  background: #ffedd5;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.film-bottom-row {
  align-items: stretch;
}

.film-pipeline-card,
.film-agent-card {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--mc-line);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
}

.film-pipeline-card small,
.film-agent-card small {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-weight: 650;
}

.film-agent-card {
  border-color: rgba(124, 58, 237, 0.2);
  background: linear-gradient(135deg, #fff, #f5f3ff);
}

.scroll-film-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scroll-film-steps li {
  position: relative;
  overflow: hidden;
  min-height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--mc-spring), border-color 0.25s var(--mc-ease),
    background 0.25s var(--mc-ease), color 0.25s var(--mc-ease);
}

.scroll-film-steps li::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--mc-grad-orbit);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--mc-ease);
}

.scroll-film-steps li.is-active {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(45, 212, 191, 0.12);
  color: #fff;
}

.scroll-film-steps li.is-active::before {
  transform: scaleX(1);
}

.scroll-film-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--mc-teal-bright);
  font-size: 12px;
  font-weight: 900;
}

.scroll-film-steps strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

/* ============================================================
   AI chat section
   ============================================================ */
.tool-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.tool-badges span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  box-shadow: var(--mc-shadow-sm);
}

.tool-badges span:nth-child(1) { background: var(--mc-teal); }
.tool-badges span:nth-child(2) { background: var(--mc-blue); }
.tool-badges span:nth-child(3) { background: #16a34a; }
.tool-badges span:nth-child(4) { background: var(--mc-violet); }
.tool-badges span:nth-child(5) { background: var(--mc-indigo); }

.topic-panel,
.assistant-console,
.feature-card,
.price-card,
.policy-panel,
.contact-panel,
.mini-window,
.metrics-panel {
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  background: var(--mc-card);
  box-shadow: var(--mc-shadow-sm);
}

.topic-panel {
  padding: 30px;
  background: linear-gradient(180deg, #fff, #f8faff);
}

.topic-panel h3 {
  margin: 0 0 6px;
  color: var(--mc-ink);
  font-size: 22px;
  font-weight: 850;
}

.topic-panel__hint {
  margin: 0 0 18px;
  color: var(--mc-muted);
  font-size: 14px;
}

.topic-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.topic-panel li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  background: #fff;
  color: var(--mc-text);
  font-weight: 600;
  line-height: 1.45;
  transition: transform 0.2s var(--mc-ease), border-color 0.2s var(--mc-ease),
    box-shadow 0.2s var(--mc-ease);
}

.topic-panel li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mc-grad-orbit);
}

.topic-panel li[data-demo-topic] {
  cursor: pointer;
  padding-right: 40px;
}

.topic-panel li[data-demo-topic]::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: solid var(--mc-indigo);
  border-width: 2px 2px 0 0;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s var(--mc-ease), right 0.2s var(--mc-ease);
}

.topic-panel li:hover {
  transform: translateX(3px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--mc-shadow-sm);
}

.topic-panel li[data-demo-topic]:hover::after,
.topic-panel li[data-demo-topic]:focus-visible::after {
  opacity: 1;
  right: 14px;
}

.topic-panel li[data-demo-topic]:focus-visible {
  outline: 2px solid var(--mc-indigo);
  outline-offset: 2px;
}

.assistant-input button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.assistant-input input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.assistant-console {
  overflow: hidden;
  transition: transform 0.3s var(--mc-ease), box-shadow 0.3s var(--mc-ease);
}

.assistant-console:hover {
  box-shadow: var(--mc-shadow);
}

.assistant-console__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 26px;
  background: linear-gradient(120deg, var(--mc-night), #1b2452);
  color: #fff;
  font-weight: 850;
}

.assistant-console__header span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.assistant-console__header button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 750;
  transition: background 0.2s var(--mc-ease);
}

.assistant-console__header button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.assistant-console__body {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f6f9ff);
}

.assistant-thread {
  display: grid;
  gap: 14px;
  max-height: 320px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.assistant-message {
  max-width: 82%;
  border-radius: 16px;
  padding: 15px 17px;
  background: #eef2f9;
  border-bottom-left-radius: 5px;
  animation: message-in 0.5s var(--mc-ease) both;
}

.assistant-message--ai {
  justify-self: end;
  color: #fff;
  background: var(--mc-grad-brand);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 5px;
}

.assistant-message b {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.85;
}

.assistant-message p {
  margin: 0;
  line-height: 1.55;
  font-size: 14px;
}

.assistant-message.is-typing {
  padding: 14px 18px;
}

.typing-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.typing-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing-dots i:nth-child(2) { animation-delay: 0.18s; }
.typing-dots i:nth-child(3) { animation-delay: 0.36s; }

.assistant-input {
  border: 1px solid var(--mc-line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.assistant-input label {
  display: block;
  margin-bottom: 10px;
  color: var(--mc-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.assistant-input div {
  display: flex;
  gap: 10px;
}

.assistant-input input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--mc-line);
  border-radius: 11px;
  padding: 12px 15px;
  color: var(--mc-text);
  font-size: 15px;
  transition: border-color 0.2s var(--mc-ease), box-shadow 0.2s var(--mc-ease);
}

.assistant-input input:focus {
  outline: none;
  border-color: var(--mc-indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

.assistant-input button {
  border: 0;
  border-radius: 11px;
  padding: 12px 22px;
  background: var(--mc-grad-brand);
  color: #fff;
  font-weight: 800;
  transition: transform 0.2s var(--mc-spring), box-shadow 0.2s var(--mc-ease);
}

.assistant-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(79, 70, 229, 0.6);
}

/* ============================================================
   Feature cards
   ============================================================ */
.outcome-lede {
  margin: 0;
  font-size: 18px;
}

.feature-card {
  padding: 28px;
  transition: transform 0.25s var(--mc-spring), box-shadow 0.25s var(--mc-ease),
    border-color 0.25s var(--mc-ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: var(--mc-shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(124, 58, 237, 0.16));
  color: var(--mc-indigo);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.14);
}

.feature-card h3,
.price-card h3 {
  margin: 0 0 12px;
  color: var(--mc-ink);
  font-size: 21px;
  font-weight: 850;
}

.feature-card p {
  margin: 0;
}

/* ============================================================
   Approach / platform
   ============================================================ */
.approach-section {
  overflow: hidden;
}

.approach-section .lead-text {
  margin: 22px 0 0;
  font-size: 18px;
}

.approach-visual {
  position: relative;
  min-height: 460px;
  border-radius: var(--mc-radius-lg);
  background:
    radial-gradient(120% 120% at 85% 10%, rgba(124, 58, 237, 0.14), transparent 45%),
    radial-gradient(120% 120% at 10% 95%, rgba(45, 212, 191, 0.16), transparent 45%),
    linear-gradient(160deg, #f3f6ff, #e9eefb);
  box-shadow: inset 0 0 0 1px var(--mc-line);
  transition: transform 0.3s var(--mc-ease);
}

.mini-window {
  position: absolute;
  display: grid;
  gap: 10px;
  padding: 20px;
  box-shadow: var(--mc-shadow);
}

.mini-window strong {
  color: var(--mc-ink);
  font-size: 17px;
}

.mini-window span {
  border-radius: 11px;
  padding: 12px 14px;
  background: var(--mc-soft);
  color: var(--mc-text);
  font-weight: 650;
  font-size: 14px;
}

.mini-window .is-accent {
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.16), rgba(124, 58, 237, 0.16));
  color: var(--mc-indigo);
  font-weight: 750;
}

.mini-window--inbox {
  left: 34px;
  top: 46px;
  width: min(360px, calc(100% - 68px));
  z-index: 2;
}

.mini-window--pipeline {
  right: 34px;
  bottom: 44px;
  width: min(300px, calc(100% - 68px));
  animation-delay: 0.8s;
}

.stage {
  position: relative;
  padding-left: 30px !important;
}

.stage::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.stage--new::before { background: var(--mc-blue); }
.stage--qualified::before { background: var(--mc-teal); }
.stage--due::before { background: var(--mc-gold); }

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list span {
  position: relative;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  padding: 14px 16px 14px 46px;
  background: #fff;
  color: var(--mc-text);
  font-weight: 650;
  transition: transform 0.2s var(--mc-ease), border-color 0.2s var(--mc-ease);
}

.check-list span:hover {
  transform: translateX(4px);
  border-color: rgba(20, 184, 166, 0.4);
}

.check-list span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 11px;
  border: solid var(--mc-teal);
  border-width: 0 2.5px 2.5px 0;
}

/* ============================================================
   Metrics band
   ============================================================ */
.metrics-panel {
  padding: clamp(28px, 4vw, 44px);
  border: 0;
  border-radius: var(--mc-radius-lg);
  background: linear-gradient(120deg, var(--mc-night), #1b2452 60%, #2a1b5e);
  box-shadow: var(--mc-shadow);
  overflow: hidden;
  position: relative;
}

.metrics-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 240px at 12% 0%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(500px 240px at 92% 120%, rgba(124, 58, 237, 0.3), transparent 60%);
}

.metrics-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric strong {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: #aeb8da;
  font-size: 14px;
  font-weight: 650;
}

/* ============================================================
   Workflow / automation
   ============================================================ */
.workflow-section {
  position: relative;
  margin-top: clamp(64px, 8vw, 116px);
  padding-bottom: clamp(64px, 8vw, 116px);
  color: #d6dfeb;
  background: linear-gradient(150deg, #0c1234, #141f3e 55%, #1a1248);
  overflow: hidden;
}

.workflow-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 10% 10%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(600px 320px at 95% 90%, rgba(124, 58, 237, 0.22), transparent 60%);
  pointer-events: none;
}

.workflow-section .container-xxl {
  position: relative;
  z-index: 2;
}

.workflow-section h2 {
  color: #fff;
}

.workflow-section p {
  color: #c0c9e0;
  font-size: 18px;
  margin-top: 18px;
}

.workflow-section .eyebrow {
  color: #7af0e1;
}

.workflow-section .eyebrow-line {
  background: var(--mc-grad-orbit);
}

.flow-board {
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mc-radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  background-color: rgba(255, 255, 255, 0.02);
  scrollbar-width: thin;
}

.flow-node {
  position: relative;
  flex: 1 0 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 800;
  text-align: left;
  transition: transform 0.25s var(--mc-spring), background 0.25s var(--mc-ease),
    border-color 0.25s var(--mc-ease);
}

.flow-node:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(124, 58, 237, 0.5);
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #cdd6f4;
  font-size: 13px;
}

.node-start {
  background: linear-gradient(140deg, rgba(20, 184, 166, 0.32), rgba(20, 184, 166, 0.1));
  border-color: rgba(45, 212, 191, 0.4);
}

.node-end {
  background: linear-gradient(140deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.08));
  border-color: rgba(251, 191, 36, 0.4);
}

.flow-arrow {
  align-self: center;
  flex: 0 0 auto;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border: solid rgba(255, 255, 255, 0.6);
  border-width: 2px 2px 0 0;
}

/* ============================================================
   Pricing
   ============================================================ */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  transition: transform 0.25s var(--mc-spring), box-shadow 0.25s var(--mc-ease),
    border-color 0.25s var(--mc-ease);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: var(--mc-shadow);
}

.price-tier {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--mc-indigo);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.price-card p {
  margin: 0 0 18px;
}

.price-features {
  display: grid;
  gap: 11px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.price-features li {
  position: relative;
  padding-left: 28px;
  color: var(--mc-text);
  font-weight: 600;
  line-height: 1.45;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.16);
}

.price-features li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--mc-teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.price-note {
  display: block;
  margin: 0 0 18px;
  color: var(--mc-ink);
  font-size: 16px;
}

.price-card .btn {
  margin-top: auto;
}

.price-card--featured {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--mc-grad-brand) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 70px -20px rgba(79, 70, 229, 0.45);
}

.price-flag {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mc-grad-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 24px -8px rgba(124, 58, 237, 0.6);
}

.price-card--featured .price-tier {
  background: var(--mc-grad-brand);
  color: #fff;
}

/* ============================================================
   Policies
   ============================================================ */
.policy-panel {
  padding: clamp(28px, 4vw, 50px);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(124, 58, 237, 0.08), transparent 55%),
    radial-gradient(600px 340px at 0% 100%, rgba(45, 212, 191, 0.08), transparent 55%),
    #fff;
}

.policy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  border: 1px solid var(--mc-line);
  border-radius: 14px;
  padding: 16px 18px;
  background: #fff;
  color: var(--mc-ink);
  font-weight: 750;
  transition: transform 0.2s var(--mc-ease), box-shadow 0.2s var(--mc-ease),
    border-color 0.2s var(--mc-ease), background 0.2s var(--mc-ease);
}

.policy-link:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.3);
  background: #fbfcff;
  box-shadow: var(--mc-shadow-sm);
  color: var(--mc-indigo);
}

.policy-arrow {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  opacity: 0.5;
  transition: transform 0.2s var(--mc-ease), opacity 0.2s var(--mc-ease);
}

.policy-link:hover .policy-arrow {
  opacity: 1;
  transform: translateX(2px) rotate(45deg);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-aside {
  margin-top: 18px;
  font-size: 16px;
}

.faq-aside a {
  color: var(--mc-indigo);
  font-weight: 750;
}

.faq-section .accordion {
  --bs-accordion-border-color: var(--mc-line);
  --bs-accordion-border-radius: 14px;
  --bs-accordion-inner-border-radius: 14px;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
  --bs-accordion-active-bg: #f6f8ff;
  --bs-accordion-active-color: var(--mc-indigo);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
  display: grid;
  gap: 12px;
}

.faq-section .accordion-item {
  border: 1px solid var(--mc-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.faq-section .accordion-button {
  color: var(--mc-ink);
  font-weight: 800;
  padding: 20px 22px;
}

.faq-section .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.faq-section .accordion-body {
  color: var(--mc-muted);
  line-height: 1.7;
  padding: 0 22px 20px;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-panel {
  position: relative;
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--mc-radius-lg);
  background: linear-gradient(135deg, #0c1234, #211a52 55%, #2a1b5e);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--mc-shadow-lg);
}

.cta-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 280px at 15% 0%, rgba(45, 212, 191, 0.28), transparent 60%),
    radial-gradient(560px 300px at 90% 100%, rgba(124, 58, 237, 0.4), transparent 60%);
  animation: cta-pan 16s ease-in-out infinite alternate;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  margin: 16px auto 0;
  max-width: 560px;
  color: #c8d0ea;
  font-size: 18px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 50px);
  border: 0;
  border-radius: var(--mc-radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(124, 58, 237, 0.35), transparent 60%),
    linear-gradient(135deg, var(--mc-night), #18203f);
  box-shadow: var(--mc-shadow);
}

.contact-panel .eyebrow,
.contact-panel h2,
.contact-panel p {
  color: #fff;
}

.contact-panel .eyebrow {
  color: #9fb0ff;
}

.contact-panel .eyebrow-line {
  background: var(--mc-grad-orbit);
}

.contact-panel p {
  color: #c4cce6;
}

address {
  display: grid;
  gap: 12px;
  margin: 0;
  font-style: normal;
}

address a,
address span {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s var(--mc-ease), transform 0.2s var(--mc-ease);
}

address a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(3px);
}

.contact-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mc-grad-brand);
  color: #fff;
  flex: 0 0 auto;
}

.contact-tz {
  color: #aab4d6;
  font-weight: 600;
  font-size: 14px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: clamp(64px, 8vw, 116px);
  border-top: 1px solid var(--mc-line);
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #fff, #f6f8ff);
  color: var(--mc-muted);
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--mc-line);
}

.footer-brand p {
  max-width: 320px;
  margin: 16px 0 0;
  line-height: 1.65;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: var(--mc-ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  color: var(--mc-muted);
  font-weight: 650;
  transition: color 0.2s var(--mc-ease);
}

.footer-col a:hover {
  color: var(--mc-indigo);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: var(--mc-muted);
  font-weight: 700;
  transition: color 0.2s var(--mc-ease);
}

.footer-bottom a:hover {
  color: var(--mc-indigo);
}

/* ============================================================
   Back to top
   ============================================================ */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--mc-grad-brand);
  color: #fff;
  box-shadow: 0 16px 34px -10px rgba(79, 70, 229, 0.7);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--mc-ease), transform 0.3s var(--mc-spring);
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-3px);
}

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes visual-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 20px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

@keyframes badge-bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes message-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cta-pan {
  from { transform: translate(-10px, -10px) scale(1); }
  to { transform: translate(10px, 10px) scale(1.06); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199.98px) {
  .hero-stage { min-height: 500px; }
  .hero-app-icon { right: 44px; }
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    margin-top: 14px;
    border: 1px solid var(--mc-line);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
    box-shadow: var(--mc-shadow);
  }

  .navbar-nav {
    gap: 4px;
  }

  .navbar .nav-link::after { display: none; }

  .nav-sep { display: none; }

  .nav-button {
    margin-top: 6px;
    text-align: center;
  }

  .hero-visual {
    min-height: auto;
    margin-top: 8px;
  }

  .hero-stage {
    margin: 0 auto;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767.98px) {
  .navbar { padding: 12px 0; }

  .brand-lockup { font-size: 18px; }

  .brand-lockup img { width: 34px; height: 34px; }

  .hero-stage { min-height: 470px; }

  .hero-app-icon {
    top: 44px;
    right: 32px;
    width: 150px;
  }

  .floating-badge--top { top: 40px; left: 22px; }

  .floating-badge--side { right: 18px; bottom: 168px; }

  .chat-widget-card {
    left: 18px;
    bottom: 22px;
    width: min(320px, calc(100% - 36px));
  }

  .hero-actions .btn { width: 100%; justify-content: center; }

  .assistant-message { max-width: 92%; }

  .assistant-input div { flex-direction: column; }

  .assistant-input button { width: 100%; }

  .approach-visual { min-height: 540px; }

  .mini-window--inbox,
  .mini-window--pipeline {
    left: 18px;
    right: auto;
    width: calc(100% - 36px);
  }

  .mini-window--pipeline { bottom: 22px; }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .container-xxl {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section h1 { font-size: clamp(34px, 11vw, 48px); }

  .hero-stats { gap: 14px 24px; }

  .hero-stage { min-height: 430px; }

  .hero-app-icon { width: 132px; top: 36px; }

  .floating-badge {
    padding: 9px 12px;
    font-size: 12px;
  }

  .floating-badge--side { bottom: 176px; }

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

  .feature-card,
  .topic-panel { padding: 24px; }

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

/* ============================================================
   Contact page
   ============================================================ */
.contact-hero {
  position: relative;
  padding: clamp(132px, 16vw, 184px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(1100px 560px at 50% -10%, #fbfdff, #fff 60%),
    linear-gradient(180deg, #fff 0%, #f6f8ff 100%);
  overflow: hidden;
}

.contact-hero .container-xxl {
  position: relative;
  z-index: 2;
}

.contact-watermark {
  position: absolute;
  right: -2vw;
  bottom: -3vw;
  z-index: 1;
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.8;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(79, 70, 229, 0.12);
  pointer-events: none;
  user-select: none;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--mc-muted);
  font-size: 14px;
  font-weight: 700;
}

.crumbs a {
  color: var(--mc-muted);
  transition: color 0.2s var(--mc-ease);
}

.crumbs a:hover {
  color: var(--mc-indigo);
}

.crumbs span:last-child {
  color: var(--mc-ink);
}

.contact-title {
  margin: 22px 0 0;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.contact-title .line {
  display: block;
}

.contact-intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: #4a566c;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
}

/* Contact section on the one-page homepage */
.contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

.contact-section .contact-intro {
  margin-top: 20px;
}

.contact-section .contact-form-title {
  font-size: clamp(24px, 2.6vw, 34px);
}

/* Rotating circular badge */
.spin-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(140px, 14vw, 188px);
  height: clamp(140px, 14vw, 188px);
  color: var(--mc-ink);
}

.spin-badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--mc-ink);
  animation: spin-slow 18s linear infinite;
}

.spin-badge__ring text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.spin-badge__core {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mc-grad-brand);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(79, 70, 229, 0.7);
  transition: transform 0.3s var(--mc-spring);
}

.spin-badge:hover .spin-badge__core {
  transform: scale(1.08) rotate(8deg);
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Contact methods */
.contact-methods {
  position: relative;
  z-index: 3;
  margin-top: clamp(8px, 2vw, 20px);
}

.method-card {
  position: relative;
  display: block;
  height: 100%;
  padding: 30px 30px 32px;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  background: #fff;
  box-shadow: var(--mc-shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--mc-spring), box-shadow 0.25s var(--mc-ease),
    border-color 0.25s var(--mc-ease);
}

.method-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--mc-grad-brand);
  transition: width 0.35s var(--mc-ease);
}

.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: var(--mc-shadow);
}

.method-card:hover::before {
  width: 100%;
}

.method-index {
  display: block;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(79, 70, 229, 0.35);
  transition: -webkit-text-stroke-color 0.25s var(--mc-ease), color 0.25s var(--mc-ease);
}

.method-card:hover .method-index {
  color: rgba(79, 70, 229, 0.1);
}

.method-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--mc-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.method-value {
  display: block;
  color: var(--mc-ink);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 850;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.method-sub {
  display: block;
  margin-top: 8px;
  color: var(--mc-muted);
  font-size: 14px;
  font-weight: 600;
}

.method-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--mc-indigo);
  transition: transform 0.25s var(--mc-spring), background 0.25s var(--mc-ease),
    color 0.25s var(--mc-ease);
}

.method-card:hover .method-arrow {
  background: var(--mc-grad-brand);
  color: #fff;
  transform: translate(2px, -2px);
}

.method-arrow--pin {
  background: rgba(20, 184, 166, 0.12);
  color: var(--mc-teal);
}

.method-card--static {
  cursor: default;
}

/* Contact main / form */
.contact-aside {
  margin: 20px 0 0;
  font-size: 17px;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  position: relative;
  padding-left: 30px;
  color: var(--mc-text);
  font-weight: 650;
  line-height: 1.5;
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.16);
}

.contact-points li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--mc-teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--mc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--mc-ink);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s var(--mc-spring), border-color 0.2s var(--mc-ease),
    box-shadow 0.2s var(--mc-ease), color 0.2s var(--mc-ease);
}

.social-chip svg {
  color: var(--mc-indigo);
}

.social-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--mc-shadow-sm);
  color: var(--mc-indigo);
}

.form-card {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius-lg);
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(124, 58, 237, 0.06), transparent 55%),
    radial-gradient(500px 280px at 0% 100%, rgba(45, 212, 191, 0.06), transparent 55%),
    #fff;
  box-shadow: var(--mc-shadow);
}

.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--mc-line);
  border-radius: 14px;
  padding: 22px 16px 10px;
  background: #fbfcff;
  color: var(--mc-ink);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s var(--mc-ease), box-shadow 0.2s var(--mc-ease),
    background 0.2s var(--mc-ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  padding-top: 26px;
}

.field label {
  position: absolute;
  left: 17px;
  top: 16px;
  color: var(--mc-muted);
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
  transition: transform 0.18s var(--mc-ease), color 0.18s var(--mc-ease),
    font-size 0.18s var(--mc-ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--mc-indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mc-indigo);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #ec5b6f;
  box-shadow: 0 0 0 4px rgba(236, 91, 111, 0.14);
  animation: field-shake 0.3s var(--mc-ease);
}

.field.has-error label {
  color: #ec5b6f;
}

@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 22px;
}

.contact-form .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-form .btn-primary svg {
  transition: transform 0.25s var(--mc-spring);
}

.contact-form .btn-primary:hover svg {
  transform: translateX(4px);
}

.form-note {
  flex: 1 1 220px;
  margin: 0;
  color: var(--mc-muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-note a {
  color: var(--mc-indigo);
  font-weight: 750;
}

.form-status {
  margin: 18px 0 0;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
  min-height: 1px;
}

.form-status.is-success {
  color: #0f7a4f;
}

.form-status.is-error {
  color: #c43c50;
}

@media (max-width: 991.98px) {
  .scroll-film-section {
    min-height: auto;
    overflow-x: clip;
  }

  .scroll-film-sticky {
    position: relative;
    min-height: auto;
    padding: 82px 0;
  }

  .scroll-film-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .scroll-film-copy {
    transform: none;
    opacity: 1;
  }

  .scroll-film-frame {
    --film-scale: 1;
    --film-clip-y: 0%;
    --film-clip-x: 0%;
    --film-radius: 26px;
  }

  .scroll-film-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-watermark { display: none; }
}

@media (max-width: 767.98px) {
  .scroll-film-product {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .film-sidebar {
    flex-direction: row;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .film-sidebar::-webkit-scrollbar {
    display: none;
  }

  .film-sidebar img {
    flex: 0 0 auto;
    margin: 0 4px 0 0;
  }

  .film-sidebar span {
    flex: 0 0 auto;
    width: auto;
    padding-inline: 12px;
  }

  .film-topline,
  .film-bottom-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .film-message,
  .film-intent-card {
    width: 100%;
    max-width: none;
  }

  .film-bottom-row {
    gap: 12px;
  }

  .film-pipeline-card,
  .film-agent-card {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .scroll-film-sticky {
    padding: 64px 0;
  }

  .scroll-film-copy h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .scroll-film-actions {
    flex-direction: column;
  }

  .scroll-film-button,
  .scroll-film-link {
    width: 100%;
  }

  .scroll-film-window {
    border-radius: 22px;
  }

  .scroll-film-windowbar strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .film-canvas {
    padding: 16px;
  }

  .scroll-film-steps {
    grid-template-columns: 1fr;
  }

  .scroll-film-steps li {
    min-height: auto;
  }

  .method-card { padding: 24px; }

  .method-arrow {
    position: static;
    margin-top: 18px;
  }

  .form-foot { flex-direction: column; align-items: stretch; }

  .contact-form .btn-primary { width: 100%; justify-content: center; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-film-section {
    --film-progress: 1 !important;
    --film-scale: 1 !important;
    --film-clip-y: 0% !important;
    --film-clip-x: 0% !important;
    --film-radius: 26px !important;
    min-height: auto;
  }

  .scroll-film-sticky {
    position: relative;
    min-height: auto;
  }

  .scroll-film-copy {
    transform: none;
    opacity: 1;
  }

  .marquee-track { animation: none; }
}
