/**
 * JobEdge AI brand overrides for the marketing template.
 * Navy #001B44 · Teal #00D1D1 · Gold #F4A300
 */
:root {
  --color-primary-50: #e0fafa;
  --color-primary-400: #4de2e2;
  --color-primary-500: #00d1d1;
  --color-primary-600: #00a8a8;
  --color-secondary: #001b44;
  --color-ns-yellow: #f4a300;
  --color-ns-green: #00d1d1;
  --color-ns-green-light: #b3f2f2;
  --color-ns-ivory: #eef2f7;
  --color-ns-linen: #008fa3;
  --color-background-5: #001b44;
  --color-background-6: #001538;
  --color-background-7: #000f2c;
  --color-background-8: #000920;
}

.btn-primary {
  border-color: #00a8a8 !important;
  background-color: #00d1d1 !important;
  color: #001b44 !important;
}

.btn-primary:hover {
  background-color: #00a8a8 !important;
}

/* Hide leftover voice-generator waveform from the template hero */
#voice-waveform {
  display: none !important;
}

/* Cineerotic-style dashboard section — dark glow, CTAs, checklist, tilted phones */
.dashboard-cineerotic {
  background: #050a14;
  color: #fff;
}

.dashboard-cineerotic__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 42% at 50% 22%, rgba(0, 209, 209, 0.2), transparent 72%),
    radial-gradient(ellipse 70% 55% at 50% 78%, rgba(0, 209, 209, 0.14), transparent 68%),
    radial-gradient(ellipse 40% 30% at 18% 55%, rgba(0, 168, 168, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 30% at 82% 55%, rgba(0, 168, 168, 0.08), transparent 70%);
}

.dashboard-cineerotic__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.dashboard-cineerotic__intro {
  width: 100%;
  max-width: 42rem;
  text-align: center;
}

.dashboard-cineerotic__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(0, 209, 209, 0.28);
  background: rgba(0, 209, 209, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
}

.dashboard-cineerotic__title {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.dashboard-cineerotic__accent {
  color: #00d1d1;
}

.dashboard-cineerotic__desc {
  margin: 0 auto;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.6;
}

.dashboard-cineerotic__showcase {
  width: 100%;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.dashboard-cineerotic__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.dashboard-cineerotic__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.dashboard-cineerotic__btn--primary {
  background: #00d1d1;
  color: #001b44;
  box-shadow:
    0 4px 20px rgba(0, 209, 209, 0.35),
    0 0 48px rgba(0, 209, 209, 0.12);
}

.dashboard-cineerotic__btn--primary:hover,
.dashboard-showcase__tab.dashboard-cineerotic__btn--primary.is-active {
  background: #00d1d1;
  color: #001b44;
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(0, 209, 209, 0.45),
    0 0 56px rgba(0, 209, 209, 0.18);
}

.dashboard-cineerotic__btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.32);
}

.dashboard-cineerotic__btn--ghost:hover,
.dashboard-showcase__tab.dashboard-cineerotic__btn--ghost.is-active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 209, 209, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.dashboard-showcase__tab.dashboard-cineerotic__btn--primary:not(.is-active) {
  background: rgba(0, 209, 209, 0.18);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.dashboard-showcase__tab.dashboard-cineerotic__btn--ghost:not(.is-active) {
  opacity: 0.72;
}

.dashboard-cineerotic__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
}

.dashboard-cineerotic__check {
  color: #00d1d1;
  margin-right: 0.3rem;
}

.dashboard-cineerotic__phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  min-height: 22rem;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
  perspective: 1400px;
}

.dashboard-cineerotic__phone-wrap {
  position: relative;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  cursor: pointer;
  padding: 0;
  width: min(46vw, 17.5rem);
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
}

.dashboard-cineerotic__phone-wrap--left {
  transform: rotateY(14deg) rotateZ(-5deg) translateX(6%);
  z-index: 1;
}

.dashboard-cineerotic__phone-wrap--right {
  transform: rotateY(-14deg) rotateZ(5deg) translateX(-6%);
  margin-left: -3.5rem;
  z-index: 2;
}

.dashboard-cineerotic__phone-wrap:not(.is-active) {
  opacity: 0.55;
  filter: saturate(0.85);
}

.dashboard-cineerotic__phone-wrap.is-active {
  opacity: 1;
  filter: none;
  z-index: 3;
}

.dashboard-cineerotic__phone-wrap.is-active.dashboard-cineerotic__phone-wrap--left {
  transform: rotateY(16deg) rotateZ(-5deg) translateX(8%) translateY(-10px) scale(1.03);
}

.dashboard-cineerotic__phone-wrap.is-active.dashboard-cineerotic__phone-wrap--right {
  transform: rotateY(-16deg) rotateZ(5deg) translateX(-8%) translateY(-10px) scale(1.03);
}

.dashboard-cineerotic__phone,
.dashboard-cineerotic .dashboard-showcase__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55));
  transform: none !important;
}

@media (min-width: 640px) {
  .dashboard-cineerotic__phone-wrap {
    width: min(34vw, 20rem);
  }

  .dashboard-cineerotic__phone-wrap--left {
    transform: rotateY(18deg) rotateZ(-6deg) translateX(10%);
  }

  .dashboard-cineerotic__phone-wrap--right {
    transform: rotateY(-18deg) rotateZ(6deg) translateX(-10%);
    margin-left: -5rem;
  }

  .dashboard-cineerotic__phone-wrap.is-active.dashboard-cineerotic__phone-wrap--left {
    transform: rotateY(20deg) rotateZ(-6deg) translateX(12%) translateY(-12px) scale(1.04);
  }

  .dashboard-cineerotic__phone-wrap.is-active.dashboard-cineerotic__phone-wrap--right {
    transform: rotateY(-20deg) rotateZ(6deg) translateX(-12%) translateY(-12px) scale(1.04);
  }
}

@media (min-width: 1024px) {
  .dashboard-cineerotic__stack {
    gap: 2.5rem;
  }

  .dashboard-cineerotic__phone-wrap {
    width: 20rem;
  }

  .dashboard-cineerotic__phone-wrap--left {
    transform: rotateY(22deg) rotateZ(-7deg) translateX(14%);
  }

  .dashboard-cineerotic__phone-wrap--right {
    transform: rotateY(-22deg) rotateZ(7deg) translateX(-14%);
    margin-left: -6.5rem;
  }

  .dashboard-cineerotic__phone-wrap.is-active.dashboard-cineerotic__phone-wrap--left {
    transform: rotateY(24deg) rotateZ(-7deg) translateX(16%) translateY(-14px) scale(1.05);
  }

  .dashboard-cineerotic__phone-wrap.is-active.dashboard-cineerotic__phone-wrap--right {
    transform: rotateY(-24deg) rotateZ(7deg) translateX(-16%) translateY(-14px) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-cineerotic__btn,
  .dashboard-cineerotic__phone-wrap {
    transition: none;
  }
}

/* Header nav logo — official JobEdge PNG lockup */
.ai-voice-header > div:first-child {
  flex-shrink: 0;
}

.ai-voice-header .site-header-logo,
.ai-voice-header > div:first-child figure {
  margin: 0;
  max-width: none !important;
  width: auto;
}

.ai-voice-header .site-header-logo__full,
.ai-voice-header figure img[src*="jobedge-nav-logo"] {
  display: block !important;
  height: 2rem;
  width: auto;
  max-width: min(200px, 52vw);
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}

.ai-voice-header .site-header-logo__mark,
.ai-voice-header figure img[src*="jobedge-icon"] {
  display: none !important;
}

@media (min-width: 640px) {
  .ai-voice-header .site-header-logo__full,
  .ai-voice-header figure img[src*="jobedge-nav-logo"] {
    height: 2.5rem;
    max-width: min(260px, 42vw);
  }
}

@media (min-width: 1024px) {
  .ai-voice-header .site-header-logo__full,
  .ai-voice-header figure img[src*="jobedge-nav-logo"] {
    height: 3.25rem;
    max-width: min(320px, 38vw);
    min-width: 11rem;
  }
}

.bg-primary-500,
.bg-primary-600 {
  background-color: #00d1d1 !important;
}

.text-primary-500,
.text-primary-600 {
  color: #00d1d1 !important;
}

.border-primary-500,
.border-primary-600 {
  border-color: #00d1d1 !important;
}

/* Gold accent CTAs where template uses yellow */
.bg-ns-yellow {
  background-color: #f4a300 !important;
  color: #001b44 !important;
}

.text-ns-yellow {
  color: #f4a300 !important;
}

.bg-ns-green {
  background-color: #00d1d1 !important;
}

/* Hero background video: blur intensity 10/100 (~10px) + light tint for readable text */
.hero-bg-video-wrap {
  isolation: isolate;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
  background: #001b44;
}

.hero-bg-video {
  /* 10% on a 0–100px scale — subtle, not heavy */
  filter: blur(10px);
  transform: scale(1.08);
  transform-origin: center;
}

.hero-bg-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 27, 68, 0.35) 0%,
    rgba(0, 27, 68, 0.45) 50%,
    rgba(0, 27, 68, 0.55) 100%
  );
}

.jobedge-scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 9999px;
  background: #00d1d1;
  color: #001b44;
  box-shadow: 0 10px 24px rgba(0, 27, 68, 0.24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.2s ease,
    box-shadow 0.25s ease;
}

.jobedge-scroll-top__arrow {
  display: block;
  transition: transform 0.25s ease;
}

.jobedge-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: jobedge-scroll-top-nudge 2.8s ease-in-out 0.35s infinite;
}

.jobedge-scroll-top.is-visible .jobedge-scroll-top__arrow {
  animation: jobedge-scroll-top-arrow 2.8s ease-in-out 0.35s infinite;
}

.jobedge-scroll-top:hover {
  background: #00a8a8;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 28px rgba(0, 27, 68, 0.32);
  animation: none;
}

.jobedge-scroll-top:hover .jobedge-scroll-top__arrow {
  transform: translateY(-1px);
  animation: none;
}

.jobedge-scroll-top:active {
  transform: translateY(-1px) scale(0.96);
  transition-duration: 0.1s;
}

.jobedge-scroll-top:focus-visible {
  outline: 2px solid #f4a300;
  outline-offset: 3px;
}

@keyframes jobedge-scroll-top-nudge {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1);
  }
}

@keyframes jobedge-scroll-top-arrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jobedge-scroll-top {
    transition: opacity 0.2s ease;
  }

  .jobedge-scroll-top.is-visible,
  .jobedge-scroll-top.is-visible .jobedge-scroll-top__arrow {
    animation: none;
  }
}

/* Career-path image grid — match template placeholders (436×315 landscape, 436×654 portrait @ 218px display) */
.career-figure--landscape {
  aspect-ratio: 436 / 315;
  width: 100%;
  max-width: 218px;
}

.career-figure--portrait {
  aspect-ratio: 436 / 654;
  width: 100%;
  max-width: 218px;
}

@media (min-width: 768px) {
  .career-figure--landscape,
  .career-figure--portrait {
    width: 218px;
    flex-shrink: 0;
  }
}

.career-figure--landscape img,
.career-figure--portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Role marquee cards — template placeholders 686×1000 @ 343px display */
.tailored-marquee-figure {
  aspect-ratio: 686 / 1000;
  width: 100%;
  max-width: 343px;
  margin: 0;
}

.tailored-marquee-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dashboard showcase — cineerotic phone layout + tab interactions */
.dashboard-cineerotic .dashboard-showcase__grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}

.dashboard-showcase__frame.is-entering {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
}

.dashboard-showcase__frame.is-visible {
  opacity: 1;
}

.dashboard-cineerotic .dashboard-showcase__frame.is-entering.dashboard-cineerotic__phone-wrap--left {
  transform: rotateY(14deg) rotateZ(-5deg) translateX(6%) translateY(24px) scale(0.96);
}

.dashboard-cineerotic .dashboard-showcase__frame.is-entering.dashboard-cineerotic__phone-wrap--right {
  transform: rotateY(-14deg) rotateZ(5deg) translateX(-6%) translateY(24px) scale(0.96);
  margin-left: -3.5rem;
}

.dashboard-cineerotic .dashboard-showcase__frame::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-showcase__frame.is-entering {
    opacity: 1;
    transform: none;
  }
}

/* Human Coach feature card preview */
.human-coach-preview__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: cover;
  object-position: top center;
}

.human-coach-avatars__item img {
  display: block;
}
