/* ContxtIQ marketing landing page */

.mkt {
  --background: #1e1f1c;
  --foreground: #f0ede6;
  --card: #262723;
  --card-foreground: #f0ede6;
  --muted-foreground: #8a8882;
  --border: rgba(255, 255, 255, 0.1);
  --input-background: rgba(255, 255, 255, 0.06);
  --ring: rgba(77, 184, 138, 0.3);
  --hover: rgba(255, 255, 255, 0.04);
  --accent: #4db88a;
  --accent-hover: #37af78;
  --accent-subtle: rgba(77, 184, 138, 0.08);
  --accent-border: rgba(77, 184, 138, 0.25);
  --score-good: #4db88a;
  --radius: 0.625rem;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Onest', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  position: relative;
}

.mkt *, .mkt *::before, .mkt *::after {
  box-sizing: border-box;
}

.mkt :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Skip link ── */
.mkt-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
}
.mkt-skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
}

/* ── Particle canvas ── */
#particle-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.mkt-content {
  position: relative;
  z-index: 10;
}

/* ── Container ── */
.mkt-container {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── Section ── */
.mkt-section {
  padding: 96px 24px;
}

/* ── Heading styles ── */
.mkt-section-heading {
  margin-bottom: 64px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

/* ── CTA button ── */
.mkt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(77, 184, 138, 0.4);
  background: linear-gradient(135deg, rgba(77, 184, 138, 0.45), rgba(45, 160, 110, 0.35), rgba(77, 184, 138, 0.28));
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(77, 184, 138, 0.25);
  transition: box-shadow 0.2s;
  text-decoration: none;
  font-family: var(--font-body);
}
.mkt-cta:hover {
  box-shadow: 0 0 28px rgba(77, 184, 138, 0.45);
}
.mkt-cta--sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* ═══════════════════════ NAV ═══════════════════════ */
.mkt-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.mkt-nav--scrolled {
  background: rgba(30, 31, 28, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.mkt-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.mkt-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--foreground);
  text-decoration: none;
}

.mkt-nav__logo {
  height: 28px;
  width: 28px;
  border-radius: 6px;
}

.mkt-nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.mkt-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s;
}
.mkt-nav__link:hover {
  color: var(--foreground);
}

/* Hamburger */
.mkt-nav__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mkt-nav__hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 20px;
}

.mkt-nav__hamburger-line {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--foreground);
  transition: transform 0.2s;
  transform-origin: center;
}

.mkt-nav--open .mkt-nav__hamburger-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.mkt-nav--open .mkt-nav__hamburger-line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile panel */
.mkt-nav__mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s;
  opacity: 0;
  background: var(--card);
  border-bottom: 1px solid transparent;
}
.mkt-nav--open .mkt-nav__mobile {
  max-height: 300px;
  opacity: 1;
  border-bottom-color: var(--border);
}

.mkt-nav__mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

/* ═══════════════════════ HERO ═══════════════════════ */
.mkt-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 128px 24px 32px;
  text-align: center;
}

.hero-wave {
  position: absolute;
  top: -10%;
  left: -12%;
  width: 70%;
  max-width: 900px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 40% 40%, black 5%, transparent 55%);
  mask-image: radial-gradient(ellipse 65% 60% at 40% 40%, black 5%, transparent 55%);
}

.hero-wave-img {
  width: 100%;
  height: auto;
  opacity: 0.08;
  filter: grayscale(1);
}

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

.mkt-hero__title,
.mkt-hero__subtitle,
.mkt-hero__actions {
  position: relative;
  z-index: 1;
}

.mkt-hero__title {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.mkt-hero__subtitle {
  margin: 24px 0 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.mkt-hero__actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.mkt-hero__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.15s;
}
.mkt-hero__link:hover {
  color: var(--foreground);
  text-decoration: underline;
}

/* Hero mock wrapper */
.mkt-hero__mock-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

/* ── Hero mock component ── */
.hero-screenshot-wrapper {
  position: relative;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  inset: -40px;
  border-radius: 2rem;
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(77, 184, 138, 0.12) 0%,
    rgba(77, 184, 138, 0.04) 50%,
    transparent 80%
  );
  z-index: 0;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--background));
  pointer-events: none;
  z-index: 3;
}

.hero-mock-container {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.hero-mock-panel {
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(38, 39, 35, 0.95), rgba(30, 31, 28, 0.98));
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(77, 184, 138, 0.06);
  overflow: hidden;
}

.hero-mock-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.hero-mock-dot--red { background: #ff5f57; }
.hero-mock-dot--yellow { background: #febc2e; }
.hero-mock-dot--green { background: #28c840; }

.hero-mock-header-label {
  margin-left: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.hero-mock-templates {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.hero-mock-template {
  padding: 12px 14px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s;
}

.hero-mock-template--active {
  border-color: var(--accent-border);
  background: var(--accent-subtle);
}

.hero-mock-template-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-mock-template-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.hero-mock-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(77, 184, 138, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}

.hero-mock-template-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted-foreground);
}

.hero-mock-template-meta-sep {
  opacity: 0.4;
}

.hero-mock-new-btn {
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 0.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--muted-foreground);
  font-size: 12px;
  text-align: center;
  cursor: default;
  font-family: var(--font-body);
  width: 100%;
}

/* Session card */
.hero-mock-session {
  position: absolute;
  z-index: 2;
  bottom: -20px;
  right: -16px;
  width: 52%;
  min-width: 260px;
  max-width: 400px;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(42, 44, 38, 0.98), rgba(30, 31, 28, 0.99));
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px rgba(77, 184, 138, 0.08);
  overflow: hidden;
}

.hero-mock-session-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-mock-session-live {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-mock-session-topic {
  font-size: 10px;
  color: var(--muted-foreground);
}

.hero-mock-question {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-mock-question--pending {
  opacity: 0.6;
  border-bottom: none;
}

.hero-mock-question-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

.hero-mock-question-text--muted {
  color: var(--muted-foreground);
}

.hero-mock-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.hero-mock-score {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-right: 12px;
}

.hero-mock-score-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-mock-score-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #5fd4a0);
}

.hero-mock-score-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.hero-mock-scored-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.hero-mock-pending-text {
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted-foreground);
  opacity: 0.6;
}

/* ═══════════════════════ HOW IT WORKS ═══════════════════════ */
.mkt-hiw__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}

.mkt-hiw__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mkt-hiw__line {
  display: none;
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 22px;
  width: 1px;
  background: var(--border);
}

.mkt-hiw__step {
  position: relative;
  display: flex;
  gap: 20px;
}

.mkt-hiw__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  background: var(--accent-subtle);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.mkt-hiw__step-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

.mkt-hiw__step-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Stacked shots */
.stacked-shots-container {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 9;
  perspective: 1200px;
}

.stacked-shots-glow {
  position: absolute;
  inset: -20px;
  border-radius: 2rem;
  background: radial-gradient(
    ellipse 70% 50% at 50% 60%,
    rgba(77, 184, 138, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.stacked-shot {
  position: absolute;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.stacked-shot img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.15) contrast(1.06);
}

.stacked-shot--back {
  width: 90%;
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  z-index: 1;
  opacity: 0.7;
}

.stacked-shot--middle {
  width: 90%;
  top: 16%;
  left: 6%;
  transform: rotate(1.5deg);
  z-index: 2;
  opacity: 0.85;
}

.stacked-shot--front {
  width: 90%;
  bottom: 0;
  right: 0;
  transform: rotate(2deg);
  z-index: 3;
  opacity: 1;
}

/* ═══════════════════════ FEATURE DEEP DIVES ═══════════════════════ */
.mkt-features {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.mkt-feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}

.mkt-feature__label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.mkt-feature__heading {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--foreground);
}

.mkt-feature__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.feature-screenshot-frame {
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

.feature-screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.15) contrast(1.06);
}

/* ═══════════════════════ WHO IT'S FOR ═══════════════════════ */
.mkt-personas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.persona-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2a2b28;
  padding: 32px 28px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.persona-card:hover {
  border-color: rgba(77, 184, 138, 0.3);
  box-shadow: 0 0 20px rgba(77, 184, 138, 0.08);
}

.persona-illustration {
  width: 100%;
  height: 140px;
  margin-bottom: 24px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.persona-illustration svg {
  height: 100%;
  width: auto;
}

.persona-illustration--recruiter {
  background: linear-gradient(135deg, rgba(77, 184, 138, 0.12), rgba(77, 184, 138, 0.04));
}
.persona-illustration--hiring {
  background: linear-gradient(135deg, rgba(100, 160, 255, 0.12), rgba(100, 160, 255, 0.04));
}
.persona-illustration--founder {
  background: linear-gradient(135deg, rgba(200, 140, 255, 0.12), rgba(200, 140, 255, 0.04));
}

.persona-card__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

.persona-card__pain {
  margin: 0 0 16px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.persona-card__solution {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground);
}


/* ═══════════════════════ FOOTER ═══════════════════════ */
.mkt-footer {
  border-top: 1px solid var(--border);
}

.mkt-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px;
}

.mkt-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mkt-footer__brand-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--foreground);
}

.mkt-footer__copyright {
  font-size: 14px;
  color: var(--muted-foreground);
}

.mkt-footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mkt-footer__link {
  font-size: 14px;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}
.mkt-footer__link:hover {
  color: var(--foreground);
}

/* ═══════════════════════ DEMO MODAL ═══════════════════════ */
.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s;
}
.demo-modal-backdrop[hidden] {
  display: none;
}
.demo-modal-backdrop.mkt-modal-active {
  opacity: 1;
}

.demo-modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--card);
  padding: 32px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.25s;
}
.mkt-modal-active .demo-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.demo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-foreground);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.demo-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--foreground);
}

.demo-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--foreground);
}

.demo-modal__subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted-foreground);
}

.demo-modal__form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-modal__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.demo-modal-input {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--input-background);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--foreground);
  font-family: var(--font-body);
  transition: border-color 0.15s;
}
.demo-modal-input::placeholder {
  color: var(--muted-foreground);
}
.demo-modal-input:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(77, 184, 138, 0.12);
}

textarea.demo-modal-input {
  resize: none;
}

.demo-modal-submit {
  margin-top: 4px;
  width: 100%;
  border-radius: 9999px;
  border: 1px solid rgba(77, 184, 138, 0.4);
  background: linear-gradient(135deg, rgba(77, 184, 138, 0.45), rgba(45, 160, 110, 0.35), rgba(77, 184, 138, 0.28));
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 0 14px rgba(77, 184, 138, 0.25);
  transition: box-shadow 0.2s;
}
.demo-modal-submit:hover {
  box-shadow: 0 0 28px rgba(77, 184, 138, 0.45);
}

/* ═══════════════════════ SCROLL ANIMATIONS ═══════════════════════ */
.mkt-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay, 0s);
}
.mkt-fade-up.mkt-visible {
  opacity: 1;
  transform: translateY(0);
}

.mkt-fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay, 0s);
}
.mkt-fade-left.mkt-visible {
  opacity: 1;
  transform: translateX(0);
}

.mkt-fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay, 0s);
}
.mkt-fade-right.mkt-visible {
  opacity: 1;
  transform: translateX(0);
}

.mkt-fade-scale {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay, 0s);
}
.mkt-fade-scale.mkt-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stacked shot animations */
.stacked-shot--back.mkt-fade-up {
  opacity: 0;
  transform: translateX(-40px) rotate(0deg);
}
.stacked-shot--back.mkt-fade-up.mkt-visible {
  opacity: 0.7;
  transform: translateX(0) rotate(-3deg);
}

.stacked-shot--middle.mkt-fade-up {
  opacity: 0;
  transform: translateY(30px) rotate(0deg);
  transition-delay: 0.15s;
}
.stacked-shot--middle.mkt-fade-up.mkt-visible {
  opacity: 0.85;
  transform: translateY(0) rotate(1.5deg);
}

.stacked-shot--front.mkt-fade-up {
  opacity: 0;
  transform: translateX(30px) rotate(0deg);
  transition-delay: 0.3s;
}
.stacked-shot--front.mkt-fade-up.mkt-visible {
  opacity: 1;
  transform: translateX(0) rotate(2deg);
}


/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (min-width: 640px) {
  .demo-modal__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .mkt-section { padding-top: 128px; padding-bottom: 128px; }
  .mkt-section-heading { font-size: 40px; }
  .mkt-hero { padding-top: 160px; padding-bottom: 80px; }
  .mkt-hero__title { font-size: 56px; }
  .mkt-nav__links { display: flex; }
  .mkt-nav__hamburger { display: none; }
  .mkt-nav__mobile { display: none !important; }
  .mkt-personas__grid { grid-template-columns: repeat(3, 1fr); }
  .mkt-footer__inner { flex-direction: row; }
  .mkt-feature__heading { font-size: 32px; }
}

@media (min-width: 1024px) {
  .mkt-hiw__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .mkt-hiw__line { display: block; }
  .mkt-hiw__step { gap: 24px; }
  .mkt-feature { grid-template-columns: 45fr 55fr; }
  .mkt-feature--reversed { direction: rtl; }
  .mkt-feature--reversed > * { direction: ltr; }
}

@media (max-width: 1023px) {
  .stacked-shots-container {
    max-width: 480px;
    margin: 0 auto;
  }
  .stacked-shot--back { transform: rotate(-1.5deg); }
  .stacked-shot--middle { transform: rotate(1deg); }
  .stacked-shot--front { transform: rotate(1deg); }
  .stacked-shot--back.mkt-fade-up.mkt-visible { transform: translateX(0) rotate(-1.5deg); }
  .stacked-shot--middle.mkt-fade-up.mkt-visible { transform: translateY(0) rotate(1deg); }
  .stacked-shot--front.mkt-fade-up.mkt-visible { transform: translateX(0) rotate(1deg); }
}

@media (max-width: 640px) {
  .hero-mock-session { display: none; }
  .mkt-hero__title { font-size: 36px; }
  .mkt-hero__subtitle { font-size: 16px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .mkt { scroll-behavior: auto; }
  .mkt-fade-up,
  .mkt-fade-left,
  .mkt-fade-right,
  .mkt-fade-scale,
  .stacked-shot--back.mkt-fade-up,
  .stacked-shot--middle.mkt-fade-up,
  .stacked-shot--front.mkt-fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .stacked-shot--back { opacity: 0.7; transform: rotate(-3deg); }
  .stacked-shot--middle { opacity: 0.85; transform: rotate(1.5deg); }
  .stacked-shot--front { opacity: 1; transform: rotate(2deg); }
}
