/*
 * TASK214_216_PUBLIC_LANDING_GOLDEN_MASTER:
 * Task 214-216 is the approved VideoBot public landing-page design.
 * Do not redesign, replace, reorder, or visually alter it without the exact
 * phrase: UNLOCK TASK 214-216 PUBLIC LANDING DESIGN
 */
:root {
  --m-navy: #11163f;
  --m-text: #202746;
  --m-muted: #616988;
  --m-line: #e4e7f4;
  --m-soft: #f7f7fd;
  --m-lavender: #eee9ff;
  --m-purple: #7847f2;
  --m-blue: #2f6df6;
  --m-pink: #ff6bd6;
  --m-shadow: 0 22px 70px rgba(39, 47, 93, 0.14);
  --m-radius: 26px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--m-text);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.marketing-v2 {
  margin: 0;
  min-width: 0;
  background: #fff;
  color: var(--m-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

.marketing-v2 a {
  color: inherit;
  text-decoration: none;
}

.marketing-v2 img,
.marketing-v2 video {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 3000;
  transform: translateY(-180%);
  background: #fff;
  color: var(--m-navy);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: var(--m-shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.m-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: calc(env(safe-area-inset-top, 0px) + 0.65rem) clamp(1rem, 3vw, 2rem) 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(228, 231, 244, 0.9);
  backdrop-filter: blur(14px);
}

html[data-capture="true"] .m-header {
  position: static;
}

.m-nav-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.m-brand {
  min-height: 48px;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--m-navy);
  font-weight: 950;
}

.m-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--m-purple), var(--m-blue));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.m-brand-mark i {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
  margin-left: 3px;
}

.m-brand strong,
.m-brand small {
  display: block;
}

.m-brand strong {
  font-size: 1.08rem;
  line-height: 1;
}

.m-brand small {
  color: var(--m-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.m-desktop-nav,
.m-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.m-desktop-nav {
  margin-left: auto;
}

.m-desktop-nav a,
.m-login {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  color: #333a62;
  font-weight: 850;
}

.m-desktop-nav a:hover,
.m-login:hover {
  color: var(--m-purple);
}

.m-button {
  min-height: 46px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  text-align: center;
}

.m-button-primary {
  background: linear-gradient(135deg, var(--m-purple), var(--m-blue));
  color: #fff;
  box-shadow: 0 12px 28px rgba(78, 92, 220, 0.24);
}

.m-button-secondary {
  background: #fff;
  color: var(--m-navy);
  border: 1px solid var(--m-line);
}

.m-button-white {
  background: #fff;
  color: var(--m-navy);
}

.m-button.m-button-white,
.m-button.m-button-white:link,
.m-button.m-button-white:visited,
.m-button.m-button-white:hover,
.m-button.m-button-white:active,
.m-button.m-button-white:focus {
  background: #fff;
  color: var(--m-navy);
  -webkit-text-fill-color: var(--m-navy);
}

.m-button-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.m-menu-button {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 1px solid var(--m-line);
  border-radius: 16px;
  background: #fff;
}

.m-menu-button span {
  width: 18px;
  height: 2px;
  grid-area: 1 / 1;
  background: var(--m-navy);
  border-radius: 20px;
}

.m-menu-button span:nth-child(1) {
  transform: translateY(-7px);
}

.m-menu-button span:nth-child(3) {
  transform: translateY(7px);
}

.m-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 16, 45, 0.38);
}

.m-mobile-menu {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 72px);
  right: max(1rem, env(safe-area-inset-right, 0px));
  left: max(1rem, env(safe-area-inset-left, 0px));
  z-index: 1001;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--m-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--m-shadow);
}

.m-menu-backdrop[hidden],
.m-mobile-menu[hidden] {
  display: none !important;
}

.m-mobile-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 14px;
  color: var(--m-navy);
  font-weight: 900;
}

.m-mobile-menu a:hover,
.m-mobile-menu a:focus {
  background: var(--m-soft);
}

.m-hero,
.m-section,
.m-page-hero {
  scroll-margin-top: 92px;
}

.m-hero {
  padding: clamp(1.1rem, 3vw, 2rem);
}

.m-hero-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: min(760px, calc(100vh - 120px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.28), transparent 19rem),
    radial-gradient(circle at 88% 18%, rgba(255, 107, 214, 0.25), transparent 18rem),
    linear-gradient(135deg, #7b3ff2 0%, #396bef 100%);
  color: #fff;
  overflow: hidden;
}

.m-kicker {
  margin: 0 0 0.7rem;
  color: var(--m-purple);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.m-hero .m-kicker,
.m-final-cta .m-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.m-hero h1,
.m-page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.45rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.m-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.m-hero-actions,
.m-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.m-hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.m-hero-bullets li {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 850;
}

.m-hero-media {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.m-story-cards {
  width: min(360px, 100%);
  display: grid;
  gap: 0.55rem;
}

.m-story-cards span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 850;
}

.m-video-player {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #11163f;
  box-shadow: 0 24px 60px rgba(11, 16, 46, 0.25);
}

.m-hero-video {
  width: min(330px, 100%);
  border: 10px solid rgba(255, 255, 255, 0.26);
}

.m-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-video-bigplay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: transparent;
  cursor: pointer;
}

.m-video-bigplay::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid var(--m-purple);
}

.m-video-player.is-playing .m-video-bigplay {
  opacity: 0;
  pointer-events: none;
}

.m-video-controls {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 18px;
  background: rgba(8, 12, 35, 0.74);
  color: #fff;
}

.m-video-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.m-video-controls progress {
  width: 100%;
  height: 10px;
  accent-color: #fff;
}

.m-video-loading,
.m-video-error {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  right: 0.7rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--m-navy);
  font-size: 0.85rem;
  font-weight: 900;
}

.m-video-player.has-metadata .m-video-loading {
  display: none;
}

.m-section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.m-section:nth-of-type(odd) {
  background: #fff;
}

.m-section-heading,
.m-page-hero {
  width: min(1120px, 100%);
  margin: 0 auto 2rem;
}

.m-section-heading.m-center {
  text-align: center;
}

.m-section-heading h2,
.m-page-hero h1,
.m-final-cta h2 {
  margin: 0;
  color: var(--m-navy);
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.m-section-heading p:not(.m-kicker),
.m-page-hero p {
  max-width: 760px;
  color: var(--m-muted);
  font-size: 1.08rem;
}

.m-page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem) 2rem;
}

.m-gallery-section {
  background: var(--m-soft);
}

.m-gallery-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

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

.m-video-card {
  min-width: 0;
  display: grid;
  gap: 0.9rem;
  padding: 0.8rem;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  background: #fff;
  box-shadow: var(--m-shadow);
}

.m-video-card .m-video-player {
  border-radius: 22px;
}

.m-video-meta span {
  color: var(--m-purple);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.m-video-meta h3 {
  margin: 0.25rem 0;
  color: var(--m-navy);
  font-size: 1.05rem;
}

.m-video-meta p {
  margin: 0 0 0.75rem;
  color: var(--m-muted);
}

.m-gallery-nav {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--m-line);
  border-radius: 999px;
  background: #fff;
  color: var(--m-navy);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.m-workflow {
  background: #fff;
}

.m-workflow-stack {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.m-workflow-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--m-radius);
  background: var(--m-soft);
  border: 1px solid var(--m-line);
}

.m-workflow-row:nth-child(even) .m-image-frame {
  order: -1;
}

.m-step-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--m-lavender);
  color: var(--m-purple);
  font-weight: 950;
}

.m-workflow-row h2,
.m-benefit h3,
.m-showcase-row h3 {
  margin: 0.4rem 0;
  color: var(--m-navy);
}

.m-image-frame {
  min-height: 44px;
  padding: 0;
  border: 8px solid #fff;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--m-shadow);
  cursor: pointer;
}

.m-image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.m-benefits {
  background: #fff;
}

.m-benefit-stack {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.m-benefit {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--m-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(39, 47, 93, 0.08);
}

.m-benefit span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--m-purple), var(--m-blue));
  color: #fff;
  font-weight: 950;
}

.m-showcase {
  background: var(--m-soft);
}

.m-showcase-row {
  width: min(1120px, 100%);
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  border-radius: var(--m-radius);
  background: #fff;
  border: 1px solid var(--m-line);
}

.m-showcase-visual {
  min-height: 170px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #ede7ff, #eaf0ff);
  color: var(--m-navy);
  font-weight: 950;
}

.m-pricing-panel,
.m-final-cta {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 30px;
}

.m-pricing-panel {
  background: #fff;
  border: 1px solid var(--m-line);
  box-shadow: var(--m-shadow);
}

.m-final-cta {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.25), transparent 17rem),
    linear-gradient(135deg, var(--m-purple), var(--m-blue));
  color: #fff;
}

.m-final-cta h2,
.m-final-cta p {
  color: #fff;
}

.m-faq {
  background: var(--m-soft);
}

.m-faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.m-faq-item {
  border: 1px solid var(--m-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.m-faq-item button {
  width: 100%;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 0;
  background: #fff;
  color: var(--m-navy);
  font: inherit;
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

.m-faq-item i {
  width: 20px;
  height: 20px;
  position: relative;
  flex: 0 0 auto;
}

.m-faq-item i::before,
.m-faq-item i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
  background: var(--m-purple);
}

.m-faq-item i::after {
  transform: rotate(90deg);
}

.m-faq-item button[aria-expanded="true"] i::after {
  transform: rotate(0deg);
}

.m-faq-item [role="region"] {
  padding: 0 1rem 1rem;
  color: var(--m-muted);
}

.m-footer {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem) 2rem;
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(145deg, #7c2fe8, #405fe0);
  color: #fff;
}

.m-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(120px, 0.7fr));
  gap: 1.4rem;
}

.m-footer .m-brand,
.m-footer a,
.m-footer p,
.m-footer strong {
  color: #fff;
}

.m-footer .m-brand small,
.m-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.m-footer nav {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.m-footer nav strong {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m-footer nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 850;
}

.m-footer-bottom {
  width: min(1180px, 100%);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
}

.m-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 12, 35, 0.84);
}

.m-lightbox[hidden] {
  display: none;
}

.m-lightbox img {
  max-height: 84vh;
  border-radius: 18px;
  box-shadow: var(--m-shadow);
}

.m-lightbox-close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--m-navy);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.marketing-v2 :focus-visible {
  outline: 3px solid #ffcf5a;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .m-desktop-nav,
  .m-actions {
    display: none;
  }

  .m-menu-button {
    display: grid;
    margin-left: auto;
  }

  .m-hero-panel,
  .m-workflow-row,
  .m-showcase-row {
    grid-template-columns: 1fr;
  }

  .m-workflow-row:nth-child(even) .m-image-frame {
    order: 0;
  }

  .m-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .m-header {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .m-brand {
    min-width: 0;
  }

  .m-brand small {
    display: none;
  }

  .m-hero {
    padding: 1rem;
  }

  .m-hero-panel {
    min-height: auto;
    padding: 1rem;
    border-radius: 26px;
    gap: 1rem;
  }

  .m-hero h1 {
    font-size: clamp(1.85rem, 9.5vw, 2.55rem);
    line-height: 1.03;
  }

  .m-hero p {
    margin: 0.75rem 0 0;
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .m-hero .m-kicker {
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
  }

  .m-hero-actions {
    margin-top: 0.95rem;
    gap: 0.55rem;
  }

  .m-hero-bullets {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .m-hero-bullets li {
    min-height: 40px;
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
  }

  .m-hero-video {
    width: min(250px, 100%);
  }

  .m-story-cards {
    display: none;
  }

  .m-section {
    padding: 3rem 1rem;
  }

  .m-gallery-shell {
    grid-template-columns: 1fr;
  }

  .m-video-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .m-video-card {
    flex: 0 0 min(100%, 340px);
    scroll-snap-align: center;
  }

  .m-gallery-nav {
    width: 100%;
  }

  .m-pricing-panel,
  .m-final-cta {
    display: grid;
    border-radius: 24px;
  }

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

  .m-footer-bottom {
    display: grid;
  }

  .m-video-controls {
    grid-template-columns: auto auto 1fr;
  }

  .m-video-controls span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
