/* ============================================================
   ActivaBooth landing redesign
   Purpose: public B2B landing only. Keep page-specific styling
   here so policy/SEO pages can continue using site.css safely.
   ============================================================ */

:root {
  --landing-bg: #f5f8f4;
  --landing-paper: #ffffff;
  --landing-ink: #14212b;
  --landing-muted: #61717c;
  --landing-soft: #e5eef0;
  --landing-line: rgba(20, 33, 43, 0.13);
  --landing-accent: #ff4f3d;
  --landing-accent-dark: #b9342a;
  --landing-accent-soft: rgba(255, 79, 61, 0.1);
  --landing-fresh: #1aa99a;
  --landing-charcoal: #14212b;
  --landing-radius: 28px;
  --landing-shadow: 0 24px 70px rgba(20, 33, 43, 0.12);
  --landing-max: 1180px;
}

body.site-body.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 79, 61, 0.13), transparent 30%),
    radial-gradient(circle at 92% 6%, rgba(26, 169, 154, 0.12), transparent 28%),
    linear-gradient(180deg, #fcfdf8 0%, var(--landing-bg) 42%, #edf5f2 100%);
  color: var(--landing-ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}

body.site-body.landing-page::before {
  display: none;
}

.landing-page a {
  color: inherit;
}

.landing-shell {
  width: min(calc(100% - 2rem), var(--landing-max));
  margin: 0 auto;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 33, 43, 0.08);
  background: rgba(252, 253, 248, 0.88);
  backdrop-filter: blur(16px);
}

.landing-nav {
  min-height: 76px;
}

.landing-brand .brand-title,
.landing-brand .brand-subtitle,
.landing-links a,
.landing-login {
  color: var(--landing-ink);
}

.landing-brand .brand-subtitle,
.landing-links a {
  color: var(--landing-muted);
}

.landing-brand .brand-mark {
  background: transparent;
  color: transparent;
  border-color: transparent;
}

.landing-brand .brand-mark-image {
  border: 0;
  box-shadow: 0 10px 24px rgba(20, 33, 43, 0.12);
}

.landing-brand .brand-mark-image::before,
.landing-brand .brand-mark-image::after {
  display: none;
}

.landing-brand .brand-mark-image img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.landing-links a:hover {
  color: var(--landing-ink);
}

.landing-login {
  border-color: var(--landing-line);
  background: rgba(255, 255, 255, 0.45);
}

.landing-main {
  overflow: hidden;
}

.motion-reveal {
  animation: sectionRise 0.82s cubic-bezier(0.18, 0.9, 0.22, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 32%;
}

.motion-card {
  animation: cardLiftIn 0.72s cubic-bezier(0.18, 0.9, 0.22, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
  transition:
    translate 0.24s ease,
    scale 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.motion-card:hover {
  translate: 0 -6px;
  border-color: rgba(255, 79, 61, 0.24);
  box-shadow: 0 26px 70px rgba(20, 33, 43, 0.14);
}

.motion-grid > * {
  animation: itemPopIn 0.58s cubic-bezier(0.2, 0.8, 0.25, 1.2) both;
  animation-timeline: view();
  animation-range: entry 0% cover 24%;
}

.motion-grid > *:nth-child(2) { animation-delay: 0.06s; }
.motion-grid > *:nth-child(3) { animation-delay: 0.12s; }
.motion-grid > *:nth-child(4) { animation-delay: 0.18s; }
.motion-grid > *:nth-child(5) { animation-delay: 0.24s; }
.motion-grid > *:nth-child(6) { animation-delay: 0.3s; }

.motion-sheen::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -70%;
  z-index: 4;
  width: 44%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  animation: surfaceSheen 7.5s ease-in-out infinite;
  pointer-events: none;
}

.motion-float {
  animation: softFloat 8.5s ease-in-out infinite;
}

.landing-hero {
  padding: clamp(3.4rem, 6vw, 5.8rem) 0 3rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(3.4rem, 6vw, 6.25rem);
  align-items: center;
}

.landing-hero-copy {
  max-width: 680px;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 79, 61, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.56);
  color: var(--landing-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2,
.final-cta h2 {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  color: var(--landing-ink);
  letter-spacing: -0.065em;
}

.landing-hero h1 {
  max-width: 12.8ch;
  font-size: clamp(3.15rem, 7.4vw, 6.45rem);
  line-height: 0.92;
}

.hero-title span {
  display: inline-block;
  white-space: nowrap;
  transform-origin: left bottom;
  animation: heroWordIn 0.7s cubic-bezier(0.18, 0.9, 0.22, 1.18) both;
}

.hero-title span:nth-child(1) { animation-delay: 0.02s; }
.hero-title span:nth-child(2) { animation-delay: 0.1s; }
.hero-title span:nth-child(3) { animation-delay: 0.18s; }
.hero-title span:nth-child(4) { animation-delay: 0.26s; }
.hero-title span:nth-child(5) { animation-delay: 0.34s; }

.landing-lead {
  max-width: 62ch;
  margin-top: 1.35rem;
  color: var(--landing-muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.landing-btn:hover,
.landing-btn:focus-visible {
  transform: translateY(-1px);
}

.landing-btn:focus-visible {
  outline: 3px solid rgba(255, 79, 61, 0.35);
  outline-offset: 3px;
}

.landing-btn-primary {
  border: 1px solid var(--landing-accent);
  background: var(--landing-accent);
  color: #fff9f2;
  box-shadow: 0 14px 30px rgba(255, 79, 61, 0.2);
}

.landing-btn-secondary {
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--landing-ink);
}

.landing-proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.landing-proof-points span,
.trust-tags span,
.platform-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  color: var(--landing-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.landing-hero-visual {
  position: relative;
  min-height: 570px;
  --hero-card-outer-gap: clamp(0.85rem, 2.2vw, 1.7rem);
}

.placeholder-asset {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.26)),
    repeating-linear-gradient(135deg, rgba(20, 33, 43, 0.045) 0 1px, transparent 1px 14px);
}

.asset-slot {
  isolation: isolate;
}

.asset-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  scale: 1.02;
  transition:
    opacity 0.36s ease,
    scale 0.5s ease;
}

.asset-loaded .asset-image {
  opacity: 1;
  scale: 1;
}

.asset-missing .asset-image {
  display: none;
}

.asset-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  border: 1px solid rgba(20, 33, 43, 0.12);
  border-radius: 999px;
  padding: 0.36rem 0.62rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--landing-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    opacity 0.24s ease,
    translate 0.24s ease;
}

.asset-loaded .asset-label {
  opacity: 0;
  translate: 0 -0.35rem;
}

.activation-frame {
  min-height: 500px;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 36px;
  box-shadow:
    0 0 0 1px rgba(20, 33, 43, 0.08),
    var(--landing-shadow);
  animation: heroMediaFloat 9s ease-in-out infinite;
  z-index: 1;
}

.activation-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 64% 22%, rgba(255, 79, 61, 0.18), transparent 26%),
    radial-gradient(circle at 24% 20%, rgba(26, 169, 154, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(229, 238, 240, 0.68));
}

.activation-frame.asset-loaded .activation-scene {
  background: linear-gradient(180deg, transparent 42%, rgba(20, 33, 43, 0.54));
}

.activation-frame.asset-loaded .scene-person,
.activation-frame.asset-loaded .scene-kiosk {
  opacity: 0;
  pointer-events: none;
}

.scene-person {
  width: 190px;
  height: 260px;
  border-radius: 999px 999px 34px 34px;
  background:
    radial-gradient(circle at 50% 22%, #e6c7ae 0 17%, transparent 18%),
    linear-gradient(180deg, #14212b 34%, #ff4f3d 35% 100%);
  box-shadow: 0 28px 60px rgba(20, 33, 43, 0.16);
  animation: scenePersonPulse 5.8s ease-in-out infinite;
}

.scene-kiosk {
  position: absolute;
  right: 8%;
  bottom: 16%;
  width: 138px;
  min-height: 182px;
  border: 10px solid #14212b;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 45px rgba(20, 33, 43, 0.16);
  display: grid;
  place-items: center;
}

.scene-kiosk span {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, #14212b 42%, transparent 42% 58%, #14212b 58%),
    linear-gradient(#14212b 42%, transparent 42% 58%, #14212b 58%);
}

.scene-kiosk strong {
  color: var(--landing-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.scene-caption {
  position: absolute;
  left: 8%;
  bottom: 10%;
  max-width: 230px;
  border: 1px solid rgba(20, 33, 43, 0.12);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 40px rgba(20, 33, 43, 0.12);
}

.activation-frame.asset-loaded .scene-caption {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(20, 33, 43, 0.72);
  color: #ffffff;
}

.scene-caption strong,
.scene-caption span {
  display: block;
}

.scene-caption span {
  margin-top: 0.24rem;
  color: var(--landing-muted);
  font-size: 0.88rem;
}

.activation-frame.asset-loaded .scene-caption span {
  color: rgba(255, 255, 255, 0.72);
}

.output-card {
  position: absolute;
  z-index: 3;
  width: 152px;
  min-height: 202px;
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 26px;
  padding: 3rem 1rem 1rem;
  box-shadow:
    0 0 0 1px rgba(20, 33, 43, 0.08),
    0 18px 45px rgba(20, 33, 43, 0.16);
  transition: scale 0.22s ease, box-shadow 0.22s ease;
  will-change: translate, scale;
}

.output-card-a {
  top: 10%;
  right: calc(-1 * var(--hero-card-outer-gap));
  transform: rotate(4deg);
  animation: outputFloatA 7s ease-in-out infinite;
}

.output-card-b {
  left: 0.75rem;
  top: 54%;
  transform: rotate(-4deg);
  animation: outputFloatB 7.6s ease-in-out infinite;
  animation-delay: -1.2s;
}

.landing-hero-visual:hover .output-card {
  scale: 1.035;
  box-shadow: 0 24px 58px rgba(20, 33, 43, 0.18);
}

.landing-hero-visual:hover .mini-dashboard {
  scale: 1.02;
}

.portrait-mark {
  height: 102px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.85) 0 14%, transparent 15%),
    linear-gradient(160deg, rgba(255, 79, 61, 0.9), rgba(20, 33, 43, 0.92));
}

.output-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 0.75rem;
  color: var(--landing-ink);
  font-size: 0.95rem;
}

.output-card .asset-image,
.mini-dashboard .asset-image,
.benefit-media .asset-image,
.dashboard-preview .asset-image,
.output-visual .asset-image {
  border-radius: inherit;
}

.output-card.asset-loaded {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
}

.output-card.asset-loaded::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 42%, rgba(20, 33, 43, 0.76));
  pointer-events: none;
}

.output-card.asset-loaded .portrait-mark {
  display: none;
}

.output-card.asset-loaded strong {
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.mini-dashboard {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 1.2rem;
  width: min(360px, 66%);
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 26px;
  padding: 3rem 1.1rem 1.1rem;
  box-shadow:
    0 0 0 1px rgba(20, 33, 43, 0.08),
    0 20px 55px rgba(20, 33, 43, 0.15);
  transition: scale 0.22s ease;
  animation: dashboardFloat 8.5s ease-in-out infinite;
}

.dashboard-topline {
  height: 12px;
  width: 48%;
  border-radius: 999px;
  background: var(--landing-charcoal);
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.dashboard-metrics span {
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--landing-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.mini-dashboard.asset-loaded {
  min-height: 220px;
  padding: 0;
}

.mini-dashboard.asset-loaded .asset-image {
  object-position: top center;
}

.mini-dashboard.asset-loaded .dashboard-topline,
.mini-dashboard.asset-loaded .dashboard-metrics {
  opacity: 0;
  pointer-events: none;
}

.trust-strip {
  padding: 1.2rem 0;
  border-block: 1px solid rgba(20, 33, 43, 0.09);
  background: rgba(255, 255, 255, 0.55);
}

.trust-strip-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.trust-strip p {
  color: var(--landing-ink);
  font-weight: 800;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.landing-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2,
.platform-copy h2,
.operations-grid h2,
.final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.98;
}

.section-heading p:not(.landing-eyebrow),
.platform-copy p,
.operations-card p,
.final-cta p {
  margin-top: 1rem;
  color: var(--landing-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-grid article,
.benefit-card,
.operations-card {
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 45px rgba(20, 33, 43, 0.07);
}

.workflow-grid article {
  min-height: 250px;
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
}

.workflow-grid article::after {
  content: "";
  position: absolute;
  inset: auto 1.3rem 1.1rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--landing-accent), var(--landing-fresh));
  transform: scaleX(0.24);
  transform-origin: left center;
  opacity: 0.45;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.workflow-grid article:hover::after {
  transform: scaleX(1);
  opacity: 0.9;
}

.workflow-grid span {
  color: var(--landing-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.workflow-grid h3,
.benefit-card h3,
.platform-copy h2,
.operations-grid h2,
.output-tile span {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
}

.workflow-grid h3 {
  margin-top: 2.4rem;
  color: var(--landing-ink);
  font-size: 1.45rem;
}

.workflow-grid p,
.benefit-card p {
  margin-top: 0.75rem;
  color: var(--landing-muted);
  line-height: 1.62;
}

.benefits-section {
  background: rgba(255, 255, 255, 0.38);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  padding: 0.85rem;
  overflow: hidden;
}

.benefit-media {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  border: 1px solid rgba(20, 33, 43, 0.1);
}

.benefit-media.asset-loaded {
  background: #ffffff;
}

.benefit-card h3 {
  margin: 1.1rem 0.4rem 0;
  color: var(--landing-ink);
  font-size: 1.35rem;
  line-height: 1.08;
}

.benefit-card p {
  margin: 0.7rem 0.4rem 0.5rem;
}

.platform-section {
  background: var(--landing-charcoal);
  color: #f8fbff;
}

.platform-grid {
  display: grid;
  width: min(calc(100% - 2rem), 1320px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}

.platform-section .landing-eyebrow {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffc9c0;
}

.platform-copy h2 {
  color: #f8fbff;
}

.platform-copy p {
  color: #c9d6df;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.platform-list span {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #dbe7ee;
}

.dashboard-preview {
  aspect-ratio: 16 / 10;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  padding: 4.2rem 1rem 1rem;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.dashboard-preview.asset-loaded {
  padding: 0;
  background: #101a22;
}

.dashboard-preview.asset-loaded .asset-image {
  object-fit: cover;
  object-position: top center;
}

.dashboard-preview.asset-loaded .dashboard-browser,
.dashboard-preview.asset-loaded .dashboard-layout {
  opacity: 0;
  pointer-events: none;
}

.dashboard-preview .asset-label {
  background: rgba(20, 33, 43, 0.84);
  border-color: rgba(255, 255, 255, 0.12);
  color: #dbe7ee;
}

.dashboard-browser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 22px 22px 0 0;
  padding: 1rem;
  background: #ffffff;
  color: var(--landing-ink);
}

.browser-dots {
  display: flex;
  gap: 0.35rem;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--landing-accent);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 355px;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  background: #ffffff;
}

.dashboard-layout aside {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1rem;
  background: #182734;
}

.dashboard-layout aside span {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.dashboard-content {
  padding: 1rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.metric-row div {
  border: 1px solid rgba(20, 33, 43, 0.1);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  color: var(--landing-ink);
  font-size: 1.55rem;
}

.metric-row span {
  color: var(--landing-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.chart-placeholder {
  height: 132px;
  margin-top: 1rem;
  border-radius: 20px;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(255, 79, 61, 0.24) 10% 14%, transparent 14% 24%, rgba(255, 79, 61, 0.48) 24% 30%, transparent 30% 46%, rgba(26, 169, 154, 0.34) 46% 52%, transparent 52%),
    linear-gradient(180deg, rgba(255, 79, 61, 0.08), rgba(20, 33, 43, 0.04));
  animation: chartBreathe 6s ease-in-out infinite;
}

.table-placeholder {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.table-placeholder span {
  height: 16px;
  border-radius: 999px;
  background: rgba(20, 33, 43, 0.12);
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.output-tile {
  display: grid;
  gap: 0.75rem;
}

.output-tile.wide {
  grid-column: span 2;
}

.output-visual {
  aspect-ratio: 3 / 4;
  min-height: 0;
  border: 1px solid var(--landing-line);
  border-radius: 28px;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.output-visual.asset-loaded {
  background: #ffffff;
}

.output-visual.asset-loaded .asset-image {
  object-fit: cover;
}

.output-tile.wide .output-visual {
  aspect-ratio: 16 / 9;
}

.output-tile:hover .output-visual {
  transform: translateY(-4px) scale(1.015);
  filter: saturate(1.08);
}

.output-tile span {
  color: var(--landing-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.avatar-output {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 250, 243, 0.9) 0 12%, transparent 13%),
    linear-gradient(150deg, #1aa99a, #14212b);
}

.portrait-output {
  background:
    radial-gradient(circle at 54% 24%, rgba(255, 250, 243, 0.82) 0 13%, transparent 14%),
    linear-gradient(150deg, #ff4f3d, #14212b);
}

.card-output {
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.8) 0 8%, transparent 8% 92%, rgba(255, 250, 243, 0.8) 92%),
    linear-gradient(150deg, #29445a, #101a22);
}

.video-output {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 243, 0.9) 0 8%, transparent 9%),
    linear-gradient(150deg, #3847aa, #101a22);
}

.gallery-output {
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.72) 0 18%, transparent 18% 22%, rgba(255, 250, 243, 0.5) 22% 40%, transparent 40% 44%, rgba(255, 250, 243, 0.6) 44% 62%, transparent 62% 66%, rgba(255, 250, 243, 0.42) 66% 84%, transparent 84%),
    linear-gradient(150deg, #1f3745, #101a22);
}

.operations-section {
  padding-top: 0;
}

.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.4rem;
  align-items: start;
}

.operations-card {
  padding: 1.4rem;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.policy-links a {
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  color: var(--landing-ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.final-cta {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.final-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(20, 33, 43, 0.12);
  border-radius: 36px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 79, 61, 0.14), transparent 30%),
    radial-gradient(circle at 8% 90%, rgba(26, 169, 154, 0.12), transparent 28%),
    #ffffff;
  box-shadow: var(--landing-shadow);
}

.final-cta .landing-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.landing-footer {
  border-top: 1px solid rgba(20, 33, 43, 0.1);
  padding: 1.5rem 0 2rem;
}

@keyframes heroWordIn {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(-1.5deg);
  }
  70% {
    opacity: 1;
    transform: translateY(-3px) rotate(0.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes sectionRise {
  from {
    opacity: 0;
    translate: 0 34px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes cardLiftIn {
  from {
    opacity: 0;
    translate: 0 28px;
    scale: 0.98;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes itemPopIn {
  from {
    opacity: 0;
    translate: 0 14px;
    scale: 0.96;
  }
  70% {
    opacity: 1;
    translate: 0 -2px;
    scale: 1.01;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes surfaceSheen {
  0%, 36%, 100% {
    translate: 0 0;
    opacity: 0;
  }
  44% {
    opacity: 1;
  }
  56% {
    translate: 420% 0;
    opacity: 0;
  }
}

@keyframes softFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes heroMediaFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes outputFloatA {
  0%, 100% { translate: 0 0; }
  50% { translate: -8px -15px; }
}

@keyframes outputFloatB {
  0%, 100% { translate: 0 0; }
  50% { translate: 9px -12px; }
}

@keyframes dashboardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 10px -8px; }
}

@keyframes scenePersonPulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.025; }
}

@keyframes chartBreathe {
  0%, 100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.22);
  }
}

.landing-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--landing-muted);
  font-size: 0.9rem;
}

.landing-footer-grid div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.landing-footer-grid a {
  color: var(--landing-muted);
  text-decoration: none;
}

.landing-footer-grid a:hover {
  color: var(--landing-ink);
}

@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;
  }
}

@media (max-width: 1080px) {
  .landing-links {
    display: none;
  }

  .landing-hero-grid,
  .platform-grid,
  .operations-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero h1 {
    max-width: 12ch;
  }

  .landing-hero-visual {
    min-height: 580px;
  }

  .workflow-grid,
  .benefit-grid,
  .outputs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip-grid,
  .landing-footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-tags,
  .landing-footer-grid div {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .landing-shell {
    width: min(calc(100% - 1rem), var(--landing-max));
  }

  .landing-nav {
    min-height: 68px;
  }

  .landing-brand .brand-subtitle,
  .landing-login {
    display: none;
  }

  .landing-hero {
    padding-top: 2.8rem;
  }

  .landing-hero h1 {
    max-width: none;
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .landing-actions,
  .final-cta .landing-actions {
    width: 100%;
  }

  .landing-btn {
    width: 100%;
  }

  .landing-hero-visual {
    min-height: auto;
    display: grid;
    gap: 0.8rem;
  }

  .activation-frame,
  .output-card,
  .mini-dashboard {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .activation-frame {
    min-height: 420px;
  }

  .output-card {
    min-height: 190px;
  }

  .mini-dashboard {
    width: auto;
  }

  .workflow-grid,
  .benefit-grid,
  .outputs-grid,
  .metric-row,
  .dashboard-metrics,
  .final-cta-card {
    grid-template-columns: 1fr;
  }

  .output-tile.wide {
    grid-column: auto;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-layout aside {
    display: none;
  }

  .final-cta .landing-actions {
    justify-content: flex-start;
  }
}
