:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #1c2331;
  --muted: #6d7685;
  --line: #d9dee7;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --green: #0f8a5f;
  --amber: #a56207;
  --shadow: 0 12px 30px rgba(28, 35, 49, 0.08);
}

body[data-plan="free"] .brand::after {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(129, 207, 248, 0.38);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.22);
  color: #c7d2fe;
  content: "FREE";
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-left: auto;
  padding: 0 9px;
}

.side-nav button.plan-locked,
.mobile-nav button.plan-locked {
  opacity: 0.62;
}

.side-nav button.plan-locked::after,
.mobile-nav button.plan-locked::after {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(199, 210, 254, 0.22);
  border-radius: 999px;
  background: rgba(7, 6, 18, 0.72);
  color: #f8e7c5;
  content: "🔒";
  font-size: 12px;
  box-shadow: 0 0 22px rgba(141, 91, 255, 0.24);
}

.mobile-nav button.plan-locked::after {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 20px;
  height: 20px;
  font-size: 10px;
}

body[data-authenticated="false"] {
  overflow: auto;
}

body[data-authenticated="false"] .app-shell,
body[data-authenticated="false"] .mobile-nav {
  display: none;
}

.auth-gate {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  min-height: 100vh;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 8%, rgba(118, 91, 255, 0.24), transparent 34%),
    radial-gradient(circle at 16% 46%, rgba(52, 211, 153, 0.08), transparent 30%),
    linear-gradient(180deg, #030209 0%, #07061a 38%, #030209 100%);
  color: #f8f7ff;
  padding: 32px;
}

body[data-authenticated="false"] .auth-gate {
  display: block;
}

.landing-nav {
  position: sticky;
  top: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 6, 18, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  padding: 12px 14px;
}

.landing-nav .auth-gate-brand {
  margin: 0 auto 0 0;
  color: #f8f7ff;
  text-decoration: none;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.landing-nav nav a {
  color: #d8d5ff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.landing-page {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.landing-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: auto;
  padding: 92px 0 34px;
  text-align: center;
  overflow: hidden;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
}

.landing-radar {
  position: absolute;
  top: 56%;
  left: 50%;
  width: min(760px, 92vw);
  aspect-ratio: 1;
  border: 1px solid rgba(139, 140, 255, 0.16);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(139, 140, 255, 0.1) 0 1px, transparent 1px 92px),
    conic-gradient(from 0deg, transparent 0 285deg, rgba(52, 211, 153, 0.0) 286deg, rgba(52, 211, 153, 0.32) 330deg, rgba(139, 140, 255, 0.52) 358deg, transparent 360deg);
  filter: drop-shadow(0 0 52px rgba(118, 91, 255, 0.25));
  opacity: 0.72;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.landing-radar::before,
.landing-radar::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.landing-radar::before {
  inset: 50%;
  width: 10px;
  height: 10px;
  background: #34d399;
  box-shadow:
    0 0 24px rgba(52, 211, 153, 0.9),
    190px -114px 0 -2px rgba(248, 199, 138, 0.9),
    -222px 66px 0 -3px rgba(139, 140, 255, 0.9),
    118px 220px 0 -3px rgba(52, 211, 153, 0.86);
  transform: translate(-50%, -50%);
  animation: radarDots 3.8s ease-in-out infinite;
}

.landing-radar::after {
  inset: 18%;
  border: 1px solid rgba(52, 211, 153, 0.2);
  box-shadow: inset 0 0 42px rgba(52, 211, 153, 0.08);
}

.landing-radar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 305deg, rgba(52, 211, 153, 0.12), rgba(139, 140, 255, 0.48), transparent 360deg);
  animation: radarSweep 5.6s linear infinite;
}

.landing-radar span:nth-child(2) {
  inset: 12%;
  border: 1px solid rgba(139, 140, 255, 0.14);
  animation-duration: 7.4s;
}

.landing-radar span:nth-child(3) {
  inset: 26%;
  border: 1px solid rgba(52, 211, 153, 0.12);
  animation-duration: 9.2s;
  animation-direction: reverse;
}

.landing-kicker {
  color: #8b8cff;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2 {
  margin: 14px 0 18px;
  color: #ffffff;
  letter-spacing: 0;
}

.landing-hero h1 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
}

.landing-hero p,
.landing-pricing p {
  margin-right: auto;
  margin-left: auto;
  max-width: 660px;
  color: #b6b2d6;
  font-size: 20px;
  line-height: 1.55;
}

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

.landing-auth-button {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 1000;
  padding: 0 22px;
}

.landing-auth-button.primary {
  background: linear-gradient(135deg, #765bff, #9a8cff);
  box-shadow: 0 20px 60px rgba(118, 91, 255, 0.38);
}

.landing-auth-button.secondary,
.landing-auth-button.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.landing-proof {
  display: grid;
  grid-template-columns: repeat(3, auto 1fr);
  gap: 6px 10px;
  max-width: 720px;
  margin-top: 36px;
  margin-right: auto;
  margin-left: auto;
  color: #9f9aba;
  font-weight: 800;
}

.landing-proof strong {
  color: #34d399;
}

.landing-dashboard-showcase {
  position: relative;
  margin: 22px 0 44px;
}

.showcase-shell {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  min-height: 560px;
  border: 1px solid rgba(139, 140, 255, 0.32);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(118, 91, 255, 0.26), transparent 38%),
    linear-gradient(180deg, rgba(18, 16, 48, 0.96), rgba(5, 4, 18, 0.98));
  box-shadow: 0 54px 160px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 20px;
}

.showcase-radar {
  position: absolute;
  right: -110px;
  top: -160px;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(52, 211, 153, 0.15) 0 1px, transparent 1px 56px),
    conic-gradient(from 0deg, transparent 0 292deg, rgba(52, 211, 153, 0.36), rgba(139, 140, 255, 0.42), transparent 360deg);
  filter: blur(0.2px) drop-shadow(0 0 42px rgba(52, 211, 153, 0.22));
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}

.showcase-radar::before,
.showcase-radar::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.showcase-radar::before {
  inset: 28%;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.showcase-radar::after {
  top: 43%;
  left: 20%;
  width: 12px;
  height: 12px;
  background: #34d399;
  box-shadow:
    132px 54px 0 -2px rgba(248, 199, 138, 0.86),
    70px -94px 0 -3px rgba(139, 140, 255, 0.9);
  animation: radarDots 3.2s ease-in-out infinite;
}

.showcase-radar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: radarSweep 4.8s linear infinite;
}

.showcase-radar span:first-child {
  background: conic-gradient(from 0deg, transparent 0 300deg, rgba(52, 211, 153, 0.32), rgba(139, 140, 255, 0.34), transparent 360deg);
}

.showcase-radar span:last-child {
  inset: 18%;
  border: 1px solid rgba(139, 140, 255, 0.12);
  animation-duration: 6.6s;
  animation-direction: reverse;
}

.showcase-shell::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(139, 140, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 140, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

.showcase-shell aside,
.showcase-main {
  position: relative;
  z-index: 1;
}

.showcase-shell aside {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(3, 2, 12, 0.58);
  padding: 18px;
}

.showcase-shell aside strong {
  margin-bottom: 16px;
  color: #fff;
  font-size: 20px;
}

.showcase-shell aside span {
  border-radius: 16px;
  color: #aaa5c8;
  font-weight: 900;
  padding: 13px 14px;
}

.showcase-shell aside span.active {
  background: rgba(118, 91, 255, 0.28);
  color: #ffffff;
}

.showcase-main {
  display: grid;
  gap: 18px;
  align-content: start;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(3, 2, 12, 0.52);
  padding: 22px;
}

.showcase-header small {
  color: #8b8cff;
  font-weight: 1000;
  text-transform: uppercase;
}

.showcase-header strong {
  display: block;
  color: #fff;
  font-size: 26px;
  margin-top: 6px;
}

.showcase-header button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #765bff, #9a8cff);
  color: #fff;
  font-weight: 1000;
  padding: 0 18px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.showcase-grid article,
.showcase-trend {
  display: grid;
  gap: 12px;
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 0%, rgba(52, 211, 153, 0.1), transparent 38%),
    rgba(9, 8, 25, 0.74);
  padding: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.showcase-grid em {
  width: max-content;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
  font-style: normal;
  font-weight: 1000;
  padding: 7px 10px;
}

.showcase-grid strong {
  color: #ffffff;
  font-size: 22px;
}

.showcase-grid span {
  color: #f8c78a;
  font-weight: 1000;
}

.showcase-trend {
  min-height: 190px;
  background:
    radial-gradient(circle at 15% 20%, rgba(118, 91, 255, 0.22), transparent 36%),
    rgba(9, 8, 25, 0.74);
}

.showcase-trend span {
  color: #8b8cff;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-trend strong {
  max-width: 580px;
  color: #fff;
  font-size: 30px;
}

.showcase-trend i {
  display: block;
  width: 100%;
  height: 72px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 15% 50%, #34d399 0 10px, transparent 11px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.85), rgba(118, 91, 255, 0.9));
  clip-path: polygon(0 62%, 16% 44%, 31% 52%, 44% 24%, 60% 34%, 76% 18%, 100% 28%, 100% 100%, 0 100%);
  opacity: 0.9;
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarDots {
  0%,
  100% {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(0.88);
  }

  45%,
  65% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.landing-section {
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 0%, rgba(118, 91, 255, 0.14), transparent 36%),
    rgba(10, 9, 25, 0.82);
  padding: 34px;
}

.landing-logos {
  display: grid;
  gap: 18px;
  text-align: center;
}

.landing-logos span {
  color: #aaa5c8;
  font-size: 15px;
  font-weight: 900;
}

.landing-logos div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.landing-logos em {
  border: 1px solid rgba(199, 210, 254, 0.14);
  border-radius: 999px;
  color: #dfe4ff;
  font-style: normal;
  font-weight: 1000;
  padding: 10px 14px;
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
}

.landing-section h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
}

.landing-feature-grid,
.landing-step-grid {
  display: grid;
  gap: 14px;
}

.landing-feature-grid article,
.landing-step-grid article {
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 22px;
  background: rgba(7, 6, 26, 0.58);
  padding: 22px;
}

.landing-feature-grid strong,
.landing-step-grid strong {
  color: #ffffff;
  font-size: 20px;
}

.landing-feature-grid p,
.landing-step-grid p {
  color: #aaa5c8;
  line-height: 1.5;
}

.landing-section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.landing-step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.landing-step-grid span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #ffffff;
  font-weight: 1000;
  margin-bottom: 18px;
}

.landing-testimonials {
  background:
    radial-gradient(circle at 15% 0%, rgba(52, 211, 153, 0.1), transparent 34%),
    radial-gradient(circle at 84% 14%, rgba(129, 140, 248, 0.22), transparent 38%),
    rgba(13, 11, 31, 0.78);
}

.landing-creative-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
}

.landing-creative-band p {
  max-width: 620px;
  color: #b6b2d6;
  font-size: 18px;
  line-height: 1.55;
}

.creative-stack {
  position: relative;
  min-height: 320px;
}

.creative-stack article {
  position: absolute;
  display: grid;
  place-items: end start;
  width: 76%;
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 20%, rgba(52, 211, 153, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(118, 91, 255, 0.28), rgba(8, 7, 20, 0.96));
  color: #ffffff;
  font-size: 22px;
  font-weight: 1000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  padding: 22px;
}

.creative-stack article:nth-child(1) {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}

.creative-stack article:nth-child(2) {
  top: 70px;
  right: 0;
  transform: rotate(4deg);
}

.creative-stack article:nth-child(3) {
  bottom: 0;
  left: 18%;
  transform: rotate(-2deg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-grid article {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 250px;
  border: 1px solid rgba(199, 210, 254, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(30, 27, 58, 0.9), rgba(7, 6, 26, 0.76)),
    rgba(7, 6, 26, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  padding: 24px;
  overflow: hidden;
}

.testimonial-grid article::before {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(129, 140, 248, 0.35);
  content: "”";
  font-size: 76px;
  font-weight: 1000;
  line-height: 0.8;
}

.testimonial-grid p {
  position: relative;
  margin: 0;
  color: #f8f7ff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
}

.testimonial-grid div {
  display: grid;
  gap: 4px;
  margin-top: 26px;
}

.testimonial-grid strong {
  color: #34d399;
  font-size: 16px;
}

.testimonial-grid span {
  color: #aaa5c8;
  font-weight: 800;
}

.landing-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 80px;
}

.auth-modal {
  position: fixed;
  z-index: 8;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(2, 1, 12, 0.68);
  backdrop-filter: blur(18px);
  padding: 24px;
}

.auth-gate.auth-modal-open .auth-modal {
  display: grid;
}

.auth-gate.auth-modal-open .landing-page,
.auth-gate.auth-modal-open .landing-nav {
  filter: blur(10px);
  transform: scale(0.985);
  pointer-events: none;
}

.auth-modal .auth-gate-card {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  gap: 16px;
  border-radius: 30px;
  padding: 34px;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  min-height: 38px !important;
  place-items: center;
  border: 1px solid rgba(199, 210, 254, 0.18) !important;
  border-radius: 13px !important;
  background: rgba(7, 6, 26, 0.76) !important;
  color: #ffffff !important;
  font-size: 26px;
  box-shadow: none !important;
}

.auth-modal .landing-kicker {
  padding-right: 48px;
}

.auth-gate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto 34px;
  font-size: 18px;
  font-weight: 1000;
}

.auth-gate-brand span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #dfe4ff;
  font-size: 14px;
  box-shadow: 0 18px 50px rgba(79, 70, 229, 0.35);
}

.auth-gate-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 440px);
  align-items: center;
  gap: 48px;
  width: min(1180px, 100%);
  min-height: calc(100vh - 150px);
  margin: 0 auto;
}

.auth-gate-copy > span {
  color: #818cf8;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-gate-copy h1 {
  max-width: 720px;
  margin: 14px 0 18px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
}

.auth-gate-copy p {
  max-width: 620px;
  color: #c7d2fe;
  font-size: 20px;
  line-height: 1.55;
}

.auth-gate-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.auth-gate-pills em {
  border: 1px solid rgba(199, 210, 254, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dfe4ff;
  font-style: normal;
  font-weight: 900;
  padding: 10px 14px;
}

.auth-gate-card,
.password-recovery-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 8%, rgba(129, 140, 248, 0.2), transparent 30%),
    rgba(13, 11, 31, 0.86);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 28px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 18px;
  background: rgba(7, 6, 26, 0.7);
  padding: 5px;
}

.auth-tabs button,
.google-auth-button,
.auth-gate-card > button,
.password-recovery-card > button[type="submit"] {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  color: #f8f7ff;
  cursor: pointer;
  font-weight: 1000;
}

.auth-tabs button {
  background: transparent;
  color: #a9a4c4;
}

.auth-tabs button.active {
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #ffffff;
}

.google-auth-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 64px;
  border: 1px solid rgba(199, 210, 254, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(129, 140, 248, 0.13)),
    #2b2948;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.18);
}

.google-auth-button span {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #4f46e5;
  font-size: 24px;
  font-weight: 1000;
}

.google-auth-button strong {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 21px;
  font-weight: 1000;
  line-height: 1;
}

.google-auth-button span {
  position: relative;
  z-index: 1;
}

.google-official-overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: stretch;
  opacity: 0.01;
  overflow: hidden;
}

.google-official-overlay > div,
.google-official-overlay iframe {
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
}

.google-auth-button.is-custom-ready:hover {
  border-color: rgba(129, 140, 248, 0.38);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 56px rgba(79, 70, 229, 0.22);
}

.google-auth-button.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: #928caf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: rgba(199, 210, 254, 0.14);
  content: "";
}

.auth-gate-card label,
.password-recovery-card label {
  display: grid;
  gap: 8px;
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-gate-card input,
.password-recovery-card input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(199, 210, 254, 0.14);
  border-radius: 14px;
  outline: 0;
  background: rgba(7, 6, 26, 0.78);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 0 14px;
}

.auth-gate-card input::placeholder,
.password-recovery-card input::placeholder {
  color: #766f91;
}

.auth-gate-card > button[type="submit"],
.password-recovery-card > button[type="submit"] {
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  box-shadow: 0 18px 46px rgba(79, 70, 229, 0.28);
}

.forgot-password-button {
  background: transparent !important;
  color: #c7d2fe !important;
  box-shadow: none !important;
}

.auth-gate-status {
  min-height: 22px;
  margin: 0;
  color: #34d399;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.password-recovery-panel {
  position: fixed;
  z-index: 140;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(2, 1, 12, 0.76);
  padding: 24px;
}

.password-recovery-panel.open {
  display: grid;
}

.password-recovery-card {
  position: relative;
  width: min(430px, 100%);
}

.password-recovery-card > span {
  color: #818cf8;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.password-recovery-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
}

.password-recovery-card p {
  margin: 0;
  color: #c7d2fe;
}

#closeRecoveryButton {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(199, 210, 254, 0.16);
  border-radius: 12px;
  background: rgba(7, 6, 26, 0.68);
  color: #ffffff;
  cursor: pointer;
  font-size: 26px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .auth-gate {
    padding: 14px;
  }

  .landing-nav {
    top: 10px;
    gap: 10px;
    border-radius: 18px;
  }

  .landing-nav nav {
    display: none;
  }

  .landing-nav .auth-gate-brand strong {
    display: none;
  }

  .landing-hero,
  .landing-split,
  .landing-creative-band,
  .landing-step-grid,
  .testimonial-grid,
  .showcase-grid,
  .showcase-shell {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
    padding: 44px 0 26px;
  }

  .landing-hero h1 {
    font-size: 46px;
  }

  .landing-hero p,
  .landing-pricing p {
    font-size: 16px;
  }

  .showcase-shell {
    min-height: auto;
    border-radius: 24px;
    padding: 14px;
  }

  .showcase-shell aside {
    display: none;
  }

  .showcase-header {
    display: grid;
  }

  .showcase-header strong,
  .showcase-trend strong {
    font-size: 22px;
  }

  .landing-creative-band {
    gap: 18px;
  }

  .creative-stack {
    min-height: 280px;
  }

  .creative-stack article {
    width: 84%;
    min-height: 140px;
  }

  .landing-proof {
    grid-template-columns: auto 1fr;
  }

  .landing-section,
  .landing-pricing {
    padding: 22px;
  }

  .landing-pricing {
    display: grid;
  }

  .auth-modal {
    padding: 14px;
  }

  .auth-modal .auth-gate-card {
    padding: 20px;
  }
}

.winner-locked-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(129, 140, 248, 0.4) !important;
  cursor: pointer;
}

.winner-locked-card > :not(.winner-lock-overlay) {
  filter: blur(9px) saturate(0.65) brightness(0.72);
  opacity: 0.52;
  transform: scale(0.985);
  user-select: none;
}

.winner-lock-overlay {
  position: absolute;
  z-index: 6;
  inset: 14px;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.3), transparent 52%),
    rgba(7, 6, 18, 0.78);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 55px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(6px);
  padding: 18px;
}

.winner-lock-overlay strong {
  font-size: 16px;
  line-height: 1.2;
}

.winner-lock-overlay small {
  color: #c7d2fe;
  font-size: 12px;
  line-height: 1.35;
}

.upgrade-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: min(460px, calc(100vw - 32px));
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(19, 17, 58, 0.96), rgba(7, 6, 18, 0.96)),
    #07061a;
  color: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48), 0 0 42px rgba(79, 70, 229, 0.2);
  opacity: 0;
  padding: 16px;
  transform: translateY(18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.upgrade-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.upgrade-toast span {
  display: block;
  color: #818cf8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.upgrade-toast strong {
  display: block;
  font-size: 16px;
}

.upgrade-toast p {
  color: #c7d2fe;
  font-size: 13px;
  line-height: 1.35;
  margin: 4px 0 0;
}

.upgrade-toast button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0 14px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .upgrade-toast {
    right: 12px;
    bottom: 92px;
    left: 12px;
    max-width: none;
  }
}

/* Final reference-dark SaaS lock. Keep this at the end. */
html,
body,
body[data-authenticated="true"],
.app-shell,
.main {
  background: #0f1011 !important;
  color: #eeeeee !important;
}

.app-shell {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) 390px !important;
  height: 100vh !important;
  overflow: hidden !important;
}

.sidebar,
.detail-panel {
  height: 100vh !important;
  overflow: auto !important;
  background: #111213 !important;
  color: #eeeeee !important;
  border-color: #242629 !important;
  box-shadow: none !important;
}

.main {
  height: 100vh !important;
  overflow: auto !important;
  padding: 30px 28px !important;
}

body::before,
body::after,
.app-shell::before,
.app-shell::after,
.main::before,
.main::after,
.product-card::before,
.side-nav button.active::before {
  display: none !important;
  content: none !important;
}

.brand,
.topbar,
.main-header,
.header-card,
.drawer-header,
.favorites-header,
.chat-form {
  background: #111213 !important;
  border-color: #242629 !important;
  box-shadow: none !important;
}

.topbar,
.main-header,
.header-card {
  margin: -30px -28px 26px !important;
  padding: 18px 28px !important;
  border-radius: 0 !important;
  border-width: 0 0 1px !important;
}

.brand-mark,
.logo-mark {
  background: #3b3c3f !important;
  color: #f4f4f4 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.account-card,
.country-panel,
.category-panel,
.winner-finder,
.stock-trends-view,
.test-lab-view,
.ads-studio-card,
.ads-studio-hero,
.product-card,
.detail-card,
.signal-card,
.potential-card,
.stock-card,
.trend-row,
.test-lab-product,
.generated-ad-card,
.favorite-item,
.plan-card,
.modal-card,
.drawer-panel,
.favorites-panel,
.image-upload-zone,
.generated-ad-preview,
.ads-result-card,
.empty,
.empty-detail,
.empty-card,
.loading-card {
  background: #121314 !important;
  color: #eeeeee !important;
  border: 1px solid #242629 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.side-nav button,
.category-button,
.country-button {
  min-height: 38px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #b8bbc1 !important;
  box-shadow: none !important;
  transform: none !important;
}

.side-nav button span,
.category-button span,
.country-button span {
  background: transparent !important;
  border: 0 !important;
  color: #a3a7ae !important;
  box-shadow: none !important;
}

.side-nav button:hover,
.category-button:hover,
.country-button:hover {
  background: #191a1c !important;
  color: #f0f0f0 !important;
}

.side-nav button.active,
.category-button.active,
.country-button.active {
  background: #222326 !important;
  color: #f4f4f4 !important;
  border: 0 !important;
}

#sideChatButton:not(.active) strong {
  color: #5cc7dc !important;
}

.section-title,
.muted,
.seller,
.tag,
.meta,
.topbar p,
.main-header p,
.header-card p,
.drawer-header p,
.favorites-header p,
.winner-finder span,
.product-card p,
.detail-row span:first-child,
.detail-meta,
.empty,
.empty-detail {
  color: #90949c !important;
}

.side-nav button em,
#favoritesCount,
#testLabCount,
.pill,
.count-pill,
.country-status,
.plan-badge,
.source-badge,
.winner-badge,
.stock-chip,
.detail-source-badge,
.risk-chip,
.status-chip {
  background: #25272a !important;
  color: #e7e7e7 !important;
  border: 1px solid #303236 !important;
  box-shadow: none !important;
}

.toolbar,
.filters-card,
.finder-controls {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.search-box,
.field,
.category-toggle,
.select-control,
input,
select,
textarea {
  background: #131415 !important;
  color: #eeeeee !important;
  border: 1px solid #242629 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: #727780 !important;
}

input:focus,
select:focus,
textarea:focus,
.search-box:focus-within,
.field:focus-within {
  border-color: #4a4d52 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06) !important;
}

button,
.button,
.icon-button,
.text-button,
.menu-button,
.nav-icon-button,
.llm-button,
.account-card button,
.plan-card button,
.pager button,
.detail-action,
.download-button {
  background: #171819 !important;
  color: #f1f1f1 !important;
  border: 1px solid #2a2c30 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.winner-finder button,
.generate-button,
.chat-form button,
.auth-actions .primary,
.ads-studio-hero button,
.ads-studio-empty button {
  background: #f2f2f2 !important;
  color: #111213 !important;
  border-color: #f2f2f2 !important;
}

.product-card:hover,
button:hover,
.icon-button:hover,
.text-button:hover,
.menu-button:hover,
.nav-icon-button:hover,
.pager button:hover,
.detail-action:hover {
  border-color: #3a3d42 !important;
  background-color: #202124 !important;
  transform: translateY(-1px) !important;
}

.thumb,
.product-image,
.detail-image,
.detail-thumb {
  background: #181a1c !important;
  border: 1px solid #242629 !important;
  color: #686d75 !important;
  border-radius: 8px !important;
}

.price,
.score-value,
.metric-value,
.trend-value,
.stock-value,
.topbar h1,
.main-header h1,
.header-card h1,
.product-card h2,
.detail-content h2,
.detail-content h3,
.drawer-header h2,
.favorites-header h2 {
  color: #f3f3f3 !important;
}

.favorite-button {
  background: #eeeeee !important;
  color: #111 !important;
  border: 0 !important;
}

.panel-backdrop.open,
.modal-backdrop.open {
  background: rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: none !important;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  .detail-panel {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block !important;
    height: auto !important;
    overflow: auto !important;
  }

  .sidebar,
  .main,
  .detail-panel {
    height: auto !important;
  }

  .main {
    padding: 18px 14px 92px !important;
  }
}

/* Final landing-test white canvas override. */
html:has(body[data-authenticated="false"]),
body[data-authenticated="false"] {
  background: #ffffff !important;
}

body[data-authenticated="false"] .auth-gate {
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(126, 86, 255, 0.16), transparent 28%),
    radial-gradient(circle at 91% 18%, rgba(49, 160, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 52%, #ffffff 100%) !important;
  color: #111528 !important;
}

body[data-authenticated="false"] .landing-nav {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(111, 93, 180, 0.12) !important;
  box-shadow: 0 18px 60px rgba(54, 43, 112, 0.12) !important;
}

body[data-authenticated="false"] .landing-auth-button,
body[data-authenticated="false"] .landing-auth-button:hover,
body[data-authenticated="false"] .auth-gate button,
body[data-authenticated="false"] .auth-gate button:hover {
  border-radius: 999px !important;
  text-shadow: none !important;
}

body[data-authenticated="false"] .landing-auth-button.primary,
body[data-authenticated="false"] .landing-nav .landing-auth-button.secondary,
body[data-authenticated="false"] .landing-pricing .landing-auth-button.primary,
body[data-authenticated="false"] .landing-auth-button.primary:hover,
body[data-authenticated="false"] .landing-nav .landing-auth-button.secondary:hover,
body[data-authenticated="false"] .landing-pricing .landing-auth-button.primary:hover {
  border: 0 !important;
  background: linear-gradient(135deg, #775bff, #4f35d6) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(107, 81, 255, 0.28) !important;
}

body[data-authenticated="false"] .landing-auth-button.ghost,
body[data-authenticated="false"] .landing-auth-button.ghost:hover {
  border: 0 !important;
  background: transparent !important;
  color: #242942 !important;
}

body[data-authenticated="false"] .landing-hero h1,
body[data-authenticated="false"] .landing-section h2,
body[data-authenticated="false"] .feature-directory-card strong,
body[data-authenticated="false"] .workflow-panel .landing-step-grid strong,
body[data-authenticated="false"] .insight-grid .testimonial-grid strong,
body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  color: #15182b !important;
}

body[data-authenticated="false"] .landing-hero p,
body[data-authenticated="false"] .feature-directory-card p,
body[data-authenticated="false"] .feature-directory-card li,
body[data-authenticated="false"] .workflow-panel .landing-step-grid p,
body[data-authenticated="false"] .insight-grid .testimonial-grid span,
body[data-authenticated="false"] .landing-pricing p {
  color: #74798c !important;
}

/* Landing must scroll as a real page, not as a fixed screenshot panel. */
html:has(body[data-authenticated="false"]) {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

body[data-authenticated="false"] {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body[data-authenticated="false"] .auth-gate {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}

body[data-authenticated="false"] .landing-page {
  overflow: visible !important;
  padding-bottom: 80px !important;
}

body[data-authenticated="false"] .landing-dashboard-showcase,
body[data-authenticated="false"] .landing-product-preview {
  overflow: visible !important;
}

body[data-authenticated="false"] .landing-hero-copy {
  animation: landingFadeUp 0.8s ease both;
}

body[data-authenticated="false"] .landing-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(720px, 100%);
  margin: 6px auto 34px;
  animation: landingFadeUp 0.8s ease 0.12s both;
}

body[data-authenticated="false"] .landing-live-metrics article {
  border: 1px solid rgba(111, 93, 180, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(46, 42, 100, 0.07);
  padding: 16px 18px;
}

body[data-authenticated="false"] .landing-live-metrics span {
  display: block;
  color: #7b8095;
  font-size: 12px;
  font-weight: 850;
}

body[data-authenticated="false"] .landing-live-metrics strong {
  display: block;
  margin-top: 6px;
  color: #15182b;
  font-size: 28px;
  line-height: 1;
}

body[data-authenticated="false"] .landing-product-preview {
  animation: dashboardFloat 7s ease-in-out infinite;
}

body[data-authenticated="false"] .live-orbit {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(111, 93, 180, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #242942;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 18px 50px rgba(46, 42, 100, 0.16);
  padding: 0 14px;
  animation: orbitFloat 5.6s ease-in-out infinite;
}

body[data-authenticated="false"] .live-orbit::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #755bff;
  box-shadow: 0 0 18px rgba(117, 91, 255, 0.62);
  content: "";
  margin-right: 8px;
}

body[data-authenticated="false"] .live-orbit-one {
  top: 10%;
  right: -20px;
}

body[data-authenticated="false"] .live-orbit-two {
  left: -22px;
  top: 38%;
  animation-delay: 0.6s;
}

body[data-authenticated="false"] .live-orbit-three {
  right: 7%;
  bottom: 18%;
  animation-delay: 1.1s;
}

body[data-authenticated="false"] .feature-directory-card,
body[data-authenticated="false"] .workflow-panel .landing-step-grid article,
body[data-authenticated="false"] .insight-grid .testimonial-grid article,
body[data-authenticated="false"] .feature-showcase,
body[data-authenticated="false"] .ai-studio-band,
body[data-authenticated="false"] .landing-pricing,
body[data-authenticated="false"] .source-strip {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.25s ease,
    translate 0.25s ease;
}

body[data-authenticated="false"] .landing-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body[data-authenticated="false"] .feature-directory-card:hover,
body[data-authenticated="false"] .workflow-panel .landing-step-grid article:hover,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
  translate: 0 -6px;
  box-shadow: 0 30px 86px rgba(46, 42, 100, 0.14) !important;
}

body[data-authenticated="false"] #radar.source-strip em img {
  transition: filter 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

body[data-authenticated="false"] #radar.source-strip em:hover img {
  filter: grayscale(0) contrast(1) opacity(1) !important;
  transform: translateY(-2px);
}

body[data-authenticated="false"] .mock-products i {
  position: relative;
  overflow: hidden;
}

body[data-authenticated="false"] .mock-products i::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.62) 48%, transparent 100%);
  transform: translateX(-120%);
  animation: mockScan 3.4s ease-in-out infinite;
  content: "";
}

body[data-authenticated="false"] .mock-products i:nth-child(2)::after {
  animation-delay: 0.35s;
}

body[data-authenticated="false"] .mock-products i:nth-child(3)::after {
  animation-delay: 0.7s;
}

body[data-authenticated="false"] .mock-products i:nth-child(4)::after {
  animation-delay: 1.05s;
}

@keyframes landingFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dashboardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes mockScan {
  0%,
  42% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 760px) {
  body[data-authenticated="false"] .landing-live-metrics {
    grid-template-columns: 1fr;
  }

  body[data-authenticated="false"] .live-orbit {
    display: none;
  }
}

/* Final landing-test white canvas override. */
html:has(body[data-authenticated="false"]),
body[data-authenticated="false"] {
  background: #ffffff !important;
}

body[data-authenticated="false"] .auth-gate {
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(126, 86, 255, 0.16), transparent 28%),
    radial-gradient(circle at 91% 18%, rgba(49, 160, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 52%, #ffffff 100%) !important;
  color: #111528 !important;
}

body[data-authenticated="false"] .landing-nav {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(111, 93, 180, 0.12) !important;
  box-shadow: 0 18px 60px rgba(54, 43, 112, 0.12) !important;
}

body[data-authenticated="false"] .landing-auth-button,
body[data-authenticated="false"] .landing-auth-button:hover,
body[data-authenticated="false"] .auth-gate button,
body[data-authenticated="false"] .auth-gate button:hover {
  border-radius: 999px !important;
  text-shadow: none !important;
}

body[data-authenticated="false"] .landing-auth-button.primary,
body[data-authenticated="false"] .landing-nav .landing-auth-button.secondary,
body[data-authenticated="false"] .landing-pricing .landing-auth-button.primary,
body[data-authenticated="false"] .landing-auth-button.primary:hover,
body[data-authenticated="false"] .landing-nav .landing-auth-button.secondary:hover,
body[data-authenticated="false"] .landing-pricing .landing-auth-button.primary:hover {
  border: 0 !important;
  background: linear-gradient(135deg, #775bff, #4f35d6) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(107, 81, 255, 0.28) !important;
}

body[data-authenticated="false"] .landing-auth-button.ghost,
body[data-authenticated="false"] .landing-auth-button.ghost:hover {
  border: 0 !important;
  background: transparent !important;
  color: #242942 !important;
}

body[data-authenticated="false"] .landing-hero h1,
body[data-authenticated="false"] .landing-section h2,
body[data-authenticated="false"] .feature-directory-card strong,
body[data-authenticated="false"] .workflow-panel .landing-step-grid strong,
body[data-authenticated="false"] .insight-grid .testimonial-grid strong,
body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  color: #15182b !important;
}

body[data-authenticated="false"] .landing-hero p,
body[data-authenticated="false"] .feature-directory-card p,
body[data-authenticated="false"] .feature-directory-card li,
body[data-authenticated="false"] .workflow-panel .landing-step-grid p,
body[data-authenticated="false"] .insight-grid .testimonial-grid span,
body[data-authenticated="false"] .landing-pricing p {
  color: #74798c !important;
}

/* Landing visual test: clean SaaS / Bizvance-inspired direction. */
body[data-authenticated="false"] {
  background: #191b24 !important;
}

body[data-authenticated="false"] .auth-gate {
  width: min(1180px, calc(100% - 44px)) !important;
  min-height: auto !important;
  margin: 22px auto 60px !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 7% 14%, rgba(126, 86, 255, 0.18), transparent 28%),
    radial-gradient(circle at 95% 16%, rgba(49, 160, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 46%, #ffffff 100%) !important;
  color: #111528 !important;
  padding: 26px 34px 64px !important;
  overflow: hidden !important;
}

body[data-authenticated="false"] .auth-gate::before {
  position: fixed !important;
  inset: auto !important;
  display: none !important;
  content: none !important;
}

body[data-authenticated="false"] .landing-blur-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(120, 87, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 35%, rgba(40, 174, 255, 0.11), transparent 26%),
    radial-gradient(circle at 50% 68%, rgba(117, 77, 255, 0.1), transparent 34%);
  filter: blur(0);
  pointer-events: none;
}

body[data-authenticated="false"] .landing-page,
body[data-authenticated="false"] .landing-nav,
body[data-authenticated="false"] .auth-modal {
  position: relative !important;
  z-index: 1 !important;
}

body[data-authenticated="false"] .landing-page {
  width: min(980px, 100%) !important;
}

body[data-authenticated="false"] .landing-nav {
  position: sticky !important;
  top: 18px !important;
  width: min(820px, 100%) !important;
  max-width: 820px !important;
  min-height: 58px !important;
  margin: 0 auto !important;
  border: 1px solid rgba(111, 93, 180, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 18px 60px rgba(54, 43, 112, 0.12) !important;
  backdrop-filter: blur(18px) !important;
  padding: 8px 10px !important;
}

body[data-authenticated="false"] .landing-nav .auth-gate-brand {
  color: #161a2d !important;
}

body[data-authenticated="false"] .landing-nav .auth-gate-brand span {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #8065ff, #4f35d6) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(105, 76, 255, 0.28) !important;
}

body[data-authenticated="false"] .landing-nav .auth-gate-brand strong {
  color: #15182b !important;
  font-size: 15px !important;
}

body[data-authenticated="false"] .landing-nav nav {
  gap: 24px !important;
}

body[data-authenticated="false"] .landing-nav nav a {
  color: #60657b !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body[data-authenticated="false"] .landing-auth-button {
  border-radius: 999px !important;
}

body[data-authenticated="false"] .landing-auth-button.primary,
body[data-authenticated="false"] .landing-nav .landing-auth-button.secondary,
body[data-authenticated="false"] .landing-pricing .landing-auth-button.primary {
  border: 0 !important;
  background: linear-gradient(135deg, #775bff, #4f35d6) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(107, 81, 255, 0.28) !important;
}

body[data-authenticated="false"] .landing-auth-button.ghost {
  border: 0 !important;
  background: transparent !important;
  color: #242942 !important;
}

body[data-authenticated="false"] .landing-hero {
  min-height: auto !important;
  padding: 78px 0 22px !important;
}

body[data-authenticated="false"] .landing-hero-copy {
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body[data-authenticated="false"] .landing-kicker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  border: 1px solid rgba(113, 91, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(116, 88, 255, 0.08) !important;
  color: #7056e8 !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  padding: 0 14px !important;
}

body[data-authenticated="false"] .landing-hero h1 {
  max-width: 760px !important;
  margin: 22px auto 0 !important;
  color: #111528 !important;
  font-size: clamp(42px, 5.8vw, 70px) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .landing-hero h1::first-letter {
  color: inherit;
}

body[data-authenticated="false"] .landing-hero p {
  max-width: 600px !important;
  margin: 18px auto 0 !important;
  color: #777d93 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

body[data-authenticated="false"] .landing-hero-actions {
  justify-content: center !important;
  margin-top: 24px !important;
}

body[data-authenticated="false"] .landing-dashboard-showcase {
  position: relative !important;
  width: min(910px, 100%) !important;
  margin: 10px auto 26px !important;
  padding: 0 !important;
}

body[data-authenticated="false"] .landing-dashboard-showcase::after {
  position: absolute;
  right: -2%;
  bottom: -6px;
  left: -2%;
  height: 34%;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 74%) !important;
  content: "";
  pointer-events: none;
}

body[data-authenticated="false"] .landing-product-preview {
  width: 100% !important;
  border-radius: 22px !important;
}

body[data-authenticated="false"] .landing-product-preview::before {
  inset: -26px -34px -42px !important;
  border-radius: 36px !important;
  background:
    radial-gradient(ellipse at 24% 12%, rgba(119, 91, 255, 0.24), transparent 46%),
    radial-gradient(ellipse at 72% 70%, rgba(72, 163, 255, 0.14), transparent 46%) !important;
  filter: blur(10px) !important;
}

body[data-authenticated="false"] .landing-product-preview::after {
  inset: auto 7% -34px !important;
  height: 90px !important;
  border-radius: 999px !important;
  background: rgba(122, 91, 255, 0.18) !important;
  filter: blur(28px) !important;
}

body[data-authenticated="false"] .landing-product-preview img {
  border: 1px solid rgba(95, 82, 150, 0.14) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow:
    0 32px 90px rgba(58, 48, 118, 0.18),
    0 8px 28px rgba(33, 35, 56, 0.08) !important;
}

body[data-authenticated="false"] #radar.source-strip {
  display: grid !important;
  grid-template-columns: 155px minmax(0, 1fr) !important;
  width: min(910px, 100%) !important;
  margin: 2px auto 76px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body[data-authenticated="false"] #radar.source-strip::before {
  display: none !important;
}

body[data-authenticated="false"] #radar.source-strip > span {
  max-width: 150px !important;
  color: #242942 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

body[data-authenticated="false"] #radar.source-strip > div {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: center !important;
  opacity: 0.72 !important;
}

body[data-authenticated="false"] #radar.source-strip em {
  display: flex !important;
  min-width: 0 !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

body[data-authenticated="false"] #radar.source-strip img {
  width: auto !important;
  max-width: 120px !important;
  height: 28px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  filter: grayscale(1) contrast(0.82) opacity(0.92) !important;
}

body[data-authenticated="false"] #radar.source-strip em:nth-child(2) img {
  height: 34px !important;
  max-width: 136px !important;
}

body[data-authenticated="false"] #radar.source-strip em:nth-child(3) img {
  height: 36px !important;
  max-width: 148px !important;
}

body[data-authenticated="false"] #radar.source-strip em:nth-child(4) img {
  height: 32px !important;
  max-width: 132px !important;
  border-radius: 0 !important;
}

body[data-authenticated="false"] .feature-overview {
  width: min(900px, 100%) !important;
  margin: 0 auto 96px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .feature-overview .landing-section-head,
body[data-authenticated="false"] .workflow-panel .landing-section-head,
body[data-authenticated="false"] .insight-grid .landing-section-head {
  max-width: 640px !important;
  margin: 0 auto 38px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .feature-overview .landing-section-head h2,
body[data-authenticated="false"] .workflow-panel .landing-section-head h2,
body[data-authenticated="false"] .insight-grid .landing-section-head h2,
body[data-authenticated="false"] .feature-showcase h2,
body[data-authenticated="false"] .ai-studio-band h2,
body[data-authenticated="false"] .landing-pricing h2 {
  color: #15182b !important;
  font-size: clamp(30px, 4.2vw, 48px) !important;
  line-height: 1.08 !important;
}

body[data-authenticated="false"] .feature-overview .landing-section-head p,
body[data-authenticated="false"] .workflow-panel .landing-section-head p,
body[data-authenticated="false"] .feature-showcase p,
body[data-authenticated="false"] .ai-studio-band p,
body[data-authenticated="false"] .landing-pricing p {
  color: #7b8095 !important;
}

body[data-authenticated="false"] .feature-directory {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body[data-authenticated="false"] .feature-directory-card,
body[data-authenticated="false"] .feature-directory-card.primary-feature {
  display: block !important;
  grid-row: auto !important;
  min-height: 260px !important;
  border: 1px solid rgba(103, 88, 170, 0.1) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 248, 255, 0.94)),
    radial-gradient(circle at 16% 0%, rgba(110, 88, 255, 0.1), transparent 38%) !important;
  box-shadow: 0 22px 70px rgba(46, 42, 100, 0.08) !important;
  padding: 24px !important;
}

body[data-authenticated="false"] .feature-directory-card:nth-child(n + 4) {
  display: none !important;
}

body[data-authenticated="false"] .feature-directory-card::before {
  display: none !important;
}

body[data-authenticated="false"] .feature-directory-card span {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #755bff, #5d3ee9) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(102, 78, 255, 0.2) !important;
  margin-bottom: 22px !important;
}

body[data-authenticated="false"] .feature-directory-card:nth-child(2) span {
  background: linear-gradient(135deg, #ff7b56, #ff5533) !important;
}

body[data-authenticated="false"] .feature-directory-card:nth-child(3) span {
  background: linear-gradient(135deg, #23b8d5, #1686df) !important;
}

body[data-authenticated="false"] .feature-directory-card strong {
  color: #171b2e !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
}

body[data-authenticated="false"] .feature-directory-card p,
body[data-authenticated="false"] .feature-directory-card li {
  color: #74798c !important;
  font-size: 13px !important;
}

body[data-authenticated="false"] .feature-directory-card ul {
  gap: 7px !important;
  margin-top: 18px !important;
}

body[data-authenticated="false"] .feature-directory-card li::before {
  background: #7560ff !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .feature-showcase,
body[data-authenticated="false"] .ai-studio-band {
  width: min(900px, 100%) !important;
  min-height: auto !important;
  margin: 0 auto 96px !important;
  border: 1px solid rgba(103, 88, 170, 0.1) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(107, 83, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff, #fbfaff) !important;
  box-shadow: 0 28px 90px rgba(46, 42, 100, 0.09) !important;
  padding: 48px !important;
}

body[data-authenticated="false"] .feature-mock-card {
  min-height: 280px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(242, 235, 255, 0.9)) !important;
  box-shadow: inset 0 0 0 1px rgba(111, 93, 180, 0.1) !important;
}

body[data-authenticated="false"] .mock-search {
  background: #ffffff !important;
  border-color: rgba(111, 93, 180, 0.1) !important;
}

body[data-authenticated="false"] .mock-products i {
  border: 0 !important;
  background:
    linear-gradient(180deg, rgba(117, 91, 255, 0.15), rgba(255, 255, 255, 0.7)) !important;
  box-shadow: inset 0 0 0 1px rgba(111, 93, 180, 0.08) !important;
}

body[data-authenticated="false"] .workflow-panel,
body[data-authenticated="false"] .insight-grid {
  width: min(900px, 100%) !important;
  margin: 0 auto 96px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid,
body[data-authenticated="false"] .insight-grid .testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid article:nth-child(4) {
  display: none !important;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid article,
body[data-authenticated="false"] .insight-grid .testimonial-grid article {
  min-height: 250px !important;
  border: 1px solid rgba(103, 88, 170, 0.1) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 70px rgba(46, 42, 100, 0.08) !important;
  padding: 24px !important;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid span {
  background: #7357ff !important;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid strong,
body[data-authenticated="false"] .insight-grid .testimonial-grid strong {
  color: #171b2e !important;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid p,
body[data-authenticated="false"] .insight-grid .testimonial-grid span {
  color: #74798c !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  color: #171b2e !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}

body[data-authenticated="false"] .creative-stack article {
  border: 0 !important;
  border-radius: 18px !important;
  background:
    linear-gradient(145deg, rgba(116, 88, 255, 0.92), rgba(82, 57, 215, 0.96)) !important;
  box-shadow: 0 22px 70px rgba(88, 65, 220, 0.18) !important;
}

body[data-authenticated="false"] .landing-pricing {
  width: min(900px, 100%) !important;
  margin: 0 auto 34px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(119, 91, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #ffffff, #faf8ff) !important;
  box-shadow: 0 28px 90px rgba(46, 42, 100, 0.09) !important;
  padding: 42px !important;
}

@media (max-width: 900px) {
  body[data-authenticated="false"] .auth-gate {
    width: calc(100% - 22px) !important;
    padding: 18px 18px 44px !important;
  }

  body[data-authenticated="false"] .landing-nav {
    position: relative !important;
    top: auto !important;
    border-radius: 24px !important;
  }

  body[data-authenticated="false"] .landing-nav nav {
    display: none !important;
  }

  body[data-authenticated="false"] #radar.source-strip,
  body[data-authenticated="false"] .feature-showcase,
  body[data-authenticated="false"] .ai-studio-band,
  body[data-authenticated="false"] .landing-pricing {
    grid-template-columns: 1fr !important;
  }

  body[data-authenticated="false"] #radar.source-strip > div,
  body[data-authenticated="false"] .feature-directory,
  body[data-authenticated="false"] .workflow-panel .landing-step-grid,
  body[data-authenticated="false"] .insight-grid .testimonial-grid {
    grid-template-columns: 1fr !important;
  }
}

body[data-authenticated="false"] .landing-auth-button,
body[data-authenticated="false"] .showcase-header button,
body[data-authenticated="false"] .auth-tabs button,
body[data-authenticated="false"] .auth-modal-close,
body[data-authenticated="false"] .auth-gate-card > button,
body[data-authenticated="false"] .password-recovery-card > button {
  border-radius: 999px !important;
  font-weight: 1000 !important;
  box-shadow: none;
  transform: none !important;
}

body[data-authenticated="false"] .landing-auth-button.primary,
body[data-authenticated="false"] .showcase-header button {
  background: #f2f2f2 !important;
  color: #111213 !important;
  border-color: #f2f2f2 !important;
}

body[data-authenticated="false"] .landing-auth-button.secondary,
body[data-authenticated="false"] .landing-auth-button.ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8f7ff !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

body[data-authenticated="false"] .landing-auth-button:hover,
body[data-authenticated="false"] .showcase-header button:hover {
  transform: translateY(-1px) !important;
}

body[data-authenticated="false"] .auth-gate input {
  border-radius: 12px !important;
}

body[data-authenticated="false"] #radar.landing-logos {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 32px !important;
  width: min(1160px, 100%) !important;
  margin: 58px auto 68px !important;
  border: 1px solid rgba(158, 139, 255, 0.12) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(90deg, rgba(8, 7, 15, 0.92), rgba(36, 28, 82, 0.52), rgba(8, 7, 15, 0.9)) !important;
  padding: 28px 34px !important;
  overflow: hidden !important;
}

body[data-authenticated="false"] #radar.landing-logos > span {
  max-width: 250px !important;
  color: rgba(232, 229, 255, 0.72) !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

body[data-authenticated="false"] #radar.landing-logos > div {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 26px !important;
  width: 100% !important;
  opacity: 1 !important;
}

body[data-authenticated="false"] #radar.landing-logos em {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 58px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

body[data-authenticated="false"] #radar.landing-logos img {
  width: auto !important;
  max-width: 100% !important;
  height: 38px !important;
  max-height: 38px !important;
  object-fit: contain !important;
}

body[data-authenticated="false"] #radar.landing-logos em:nth-child(1) img {
  height: 34px !important;
}

body[data-authenticated="false"] #radar.landing-logos em:nth-child(2) img {
  height: 42px !important;
  max-height: 42px !important;
  filter: brightness(1.45) contrast(1.08) !important;
}

body[data-authenticated="false"] #radar.landing-logos em:nth-child(3) img {
  height: 48px !important;
  max-height: 48px !important;
}

body[data-authenticated="false"] #radar.landing-logos em:nth-child(4) img {
  height: 44px !important;
  max-height: 44px !important;
  border-radius: 8px !important;
}

@media (max-width: 820px) {
  body[data-authenticated="false"] #radar.landing-logos {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  body[data-authenticated="false"] #radar.landing-logos > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

body[data-authenticated="false"] .auth-gate {
  background:
    linear-gradient(116deg, rgba(139, 123, 255, 0.48) 0%, rgba(139, 123, 255, 0.22) 10%, transparent 24%),
    linear-gradient(244deg, rgba(139, 123, 255, 0.5) 0%, rgba(139, 123, 255, 0.2) 12%, transparent 26%),
    radial-gradient(ellipse at 52% 19%, rgba(144, 118, 255, 0.18), transparent 42%),
    linear-gradient(180deg, #08080d 0%, #050508 48%, #080812 100%) !important;
  padding: 28px 32px !important;
}

body[data-authenticated="false"] .auth-gate::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(139, 123, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 123, 255, 0.04) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(180deg, transparent 0%, black 34%, black 72%, transparent 100%);
  content: "";
}

body[data-authenticated="false"] .landing-nav,
body[data-authenticated="false"] .landing-page,
body[data-authenticated="false"] .auth-modal {
  position: relative;
  z-index: 1;
}

body[data-authenticated="false"] .landing-nav {
  top: 16px;
  max-width: 980px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 10, 0.42);
  box-shadow: none;
  padding: 10px 12px;
}

body[data-authenticated="false"] .landing-nav nav {
  gap: 30px;
}

body[data-authenticated="false"] .landing-nav nav a {
  color: rgba(244, 242, 255, 0.72);
  font-size: 12px;
}

body[data-authenticated="false"] .landing-nav .auth-gate-brand span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #f5f2ff;
  color: #0b0b11;
  box-shadow: 0 0 28px rgba(139, 123, 255, 0.35);
}

body[data-authenticated="false"] .landing-nav .auth-gate-brand strong {
  font-size: 17px;
}

body[data-authenticated="false"] .landing-page {
  width: min(1040px, 100%);
}

body[data-authenticated="false"] .landing-hero {
  min-height: auto;
  padding: 84px 0 26px;
}

body[data-authenticated="false"] .landing-radar {
  display: none;
}

body[data-authenticated="false"] .landing-kicker {
  color: #aaa0ff;
  letter-spacing: 0.08em;
}

body[data-authenticated="false"] .landing-hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.02;
  text-wrap: balance;
}

body[data-authenticated="false"] .landing-hero p {
  max-width: 560px;
  color: rgba(232, 229, 255, 0.64);
  font-size: 16px;
}

body[data-authenticated="false"] .landing-auth-button.primary {
  min-height: 54px;
  border: 0 !important;
  background: linear-gradient(135deg, #6652ff, #8d7bff) !important;
  color: #ffffff !important;
  box-shadow: 0 0 48px rgba(116, 94, 255, 0.42) !important;
  padding: 0 24px;
}

body[data-authenticated="false"] .landing-auth-button.primary span {
  display: inline-block;
  margin-left: 8px;
}

body[data-authenticated="false"] .landing-dashboard-showcase {
  margin: 24px auto 70px;
  perspective: 1200px;
}

body[data-authenticated="false"] .landing-product-preview {
  position: relative;
  width: min(1160px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  isolation: isolate;
}

body[data-authenticated="false"] .landing-product-preview::before {
  position: absolute;
  z-index: -2;
  inset: -42px -58px -64px;
  border-radius: 44px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 123, 255, 0.68), transparent 52%),
    radial-gradient(ellipse at 50% 100%, rgba(139, 123, 255, 0.42), transparent 54%);
  filter: blur(22px);
  content: "";
}

body[data-authenticated="false"] .landing-product-preview::after {
  position: absolute;
  z-index: -1;
  inset: 10% 2% 4%;
  border-radius: 24px;
  background: rgba(94, 66, 255, 0.22);
  filter: blur(54px);
  content: "";
}

body[data-authenticated="false"] .landing-product-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(158, 139, 255, 0.32);
  border-radius: 18px;
  background: #050508;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 70px rgba(130, 105, 255, 0.44),
    0 46px 130px rgba(0, 0, 0, 0.78);
}

body[data-authenticated="false"] .showcase-shell {
  grid-template-columns: 160px minmax(0, 1fr) 220px;
  gap: 14px;
  width: min(870px, 100%);
  min-height: 470px;
  margin: 0 auto;
  border-color: rgba(158, 139, 255, 0.38);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 13, 30, 0.98), rgba(5, 5, 11, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 60px rgba(130, 105, 255, 0.54),
    0 42px 120px rgba(0, 0, 0, 0.76);
  padding: 14px;
  transform: rotateX(2deg);
}

body[data-authenticated="false"] .showcase-shell::after {
  position: absolute;
  right: 18px;
  top: 58px;
  bottom: 18px;
  width: 206px;
  border: 1px solid rgba(158, 139, 255, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 74% 24%, rgba(139, 123, 255, 0.4), transparent 42%),
    rgba(15, 13, 32, 0.88);
  content: "";
}

body[data-authenticated="false"] .showcase-radar {
  display: none;
}

body[data-authenticated="false"] .showcase-shell aside {
  border-radius: 12px;
  background: rgba(3, 3, 9, 0.82);
  padding: 14px 10px;
}

body[data-authenticated="false"] .showcase-shell aside strong {
  font-size: 13px;
}

body[data-authenticated="false"] .showcase-shell aside span {
  border-radius: 8px;
  color: rgba(232, 229, 255, 0.58);
  font-size: 11px;
  padding: 9px 10px;
}

body[data-authenticated="false"] .showcase-shell aside span.active {
  background: rgba(130, 105, 255, 0.36);
}

body[data-authenticated="false"] .showcase-main {
  grid-column: 2 / 3;
  gap: 14px;
}

body[data-authenticated="false"] .showcase-header {
  border-radius: 12px;
  background: rgba(10, 9, 22, 0.82);
  padding: 14px;
}

body[data-authenticated="false"] .showcase-header strong {
  font-size: 22px;
}

body[data-authenticated="false"] .showcase-header button {
  min-height: 34px;
  border-radius: 8px !important;
  background: #816dff !important;
  color: #fff !important;
  font-size: 12px;
  padding: 0 12px;
}

body[data-authenticated="false"] .showcase-chart {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  min-height: 165px;
  border: 1px solid rgba(158, 139, 255, 0.12);
  border-radius: 14px;
  background: rgba(13, 12, 27, 0.82);
  padding: 20px;
}

body[data-authenticated="false"] .showcase-chart span {
  display: inline-flex;
  width: max-content;
  border-radius: 8px;
  background: rgba(129, 109, 255, 0.24);
  color: #dcd6ff;
  font-size: 12px;
  font-weight: 1000;
  padding: 8px 10px;
}

body[data-authenticated="false"] .showcase-chart strong {
  display: block;
  margin-top: 16px;
  color: #ffffff;
  font-size: 34px;
}

body[data-authenticated="false"] .showcase-chart small {
  color: #55e7aa;
  font-weight: 900;
}

body[data-authenticated="false"] .showcase-chart svg {
  width: 100%;
  height: 160px;
  overflow: visible;
}

body[data-authenticated="false"] .showcase-chart path {
  fill: none;
  stroke: #8874ff;
  stroke-linecap: round;
  stroke-width: 7;
  filter: drop-shadow(0 0 18px rgba(136, 116, 255, 0.58));
}

body[data-authenticated="false"] .showcase-chart path + path {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 5;
  filter: none;
}

body[data-authenticated="false"] .showcase-grid {
  grid-template-columns: repeat(3, 1fr);
}

body[data-authenticated="false"] .showcase-grid article,
body[data-authenticated="false"] .showcase-trend {
  min-height: 128px;
  border-radius: 12px;
  background: rgba(14, 13, 30, 0.78);
  padding: 14px;
}

body[data-authenticated="false"] .showcase-grid strong {
  font-size: 15px;
}

body[data-authenticated="false"] .showcase-grid span {
  color: rgba(232, 229, 255, 0.58);
  font-size: 12px;
}

body[data-authenticated="false"] .showcase-trend {
  position: absolute;
  z-index: 2;
  right: 34px;
  top: 82px;
  width: 176px;
  min-height: 178px;
  background:
    radial-gradient(circle at 50% 100%, rgba(139, 123, 255, 0.42), transparent 56%),
    rgba(15, 13, 32, 0.96);
}

body[data-authenticated="false"] .showcase-trend strong {
  font-size: 18px;
}

body[data-authenticated="false"] .showcase-trend i {
  height: 42px;
}

body[data-authenticated="false"] .landing-logos {
  grid-template-columns: 1fr 2fr;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

body[data-authenticated="false"] .landing-logos div {
  justify-content: space-between;
  gap: 18px;
  opacity: 0.72;
}

body[data-authenticated="false"] .landing-logos em {
  display: grid;
  place-items: center;
  min-width: 150px;
  min-height: 76px;
  border: 1px solid rgba(158, 139, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 100%, rgba(139, 123, 255, 0.16), transparent 54%),
    rgba(255, 255, 255, 0.035);
  padding: 14px 18px;
}

body[data-authenticated="false"] .landing-logos img {
  display: block;
  max-width: 150px;
  max-height: 44px;
  object-fit: contain;
}

body[data-authenticated="false"] .landing-logos em:nth-child(2) img {
  max-width: 170px;
  max-height: 52px;
  filter: brightness(1.35) contrast(1.08);
}

body[data-authenticated="false"] .landing-logos em:nth-child(3) img {
  max-width: 190px;
}

body[data-authenticated="false"] .landing-logos em:nth-child(4) {
  background:
    radial-gradient(circle at 50% 100%, rgba(139, 123, 255, 0.18), transparent 54%),
    rgba(255, 255, 255, 0.86);
}

body[data-authenticated="false"] .landing-logos em:nth-child(4) img {
  max-width: 174px;
  max-height: 48px;
}

body[data-authenticated="false"] .landing-section {
  border-color: rgba(158, 139, 255, 0.13);
  background:
    radial-gradient(circle at 86% 88%, rgba(139, 123, 255, 0.34), transparent 36%),
    rgba(10, 9, 20, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-authenticated="false"] .landing-split {
  display: block;
  border: 0;
  background: transparent;
  padding-top: 74px;
}

body[data-authenticated="false"] .landing-split .landing-section-head {
  margin: 0 auto 34px;
  text-align: center;
}

body[data-authenticated="false"] .landing-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  text-wrap: balance;
}

body[data-authenticated="false"] .landing-feature-grid {
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
}

body[data-authenticated="false"] .landing-feature-grid article {
  position: relative;
  min-height: 240px;
  border-color: rgba(158, 139, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 100%, rgba(139, 123, 255, 0.52), transparent 40%),
    linear-gradient(145deg, rgba(27, 24, 52, 0.92), rgba(8, 8, 15, 0.95));
  overflow: hidden;
}

body[data-authenticated="false"] .landing-feature-grid article:nth-child(2) {
  min-height: 240px;
}

body[data-authenticated="false"] .landing-feature-grid article:nth-child(3),
body[data-authenticated="false"] .landing-feature-grid article:nth-child(4) {
  min-height: 220px;
}

body[data-authenticated="false"] .landing-feature-grid article span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: rgba(130, 105, 255, 0.28);
  color: #ffffff;
  font-weight: 1000;
  margin-bottom: 70px;
}

body[data-authenticated="false"] .landing-feature-grid article:nth-child(2) span {
  margin-left: auto;
}

body[data-authenticated="false"] .landing-feature-grid article strong {
  font-size: 20px;
}

body[data-authenticated="false"] .landing-feature-grid article p {
  max-width: 420px;
  color: rgba(232, 229, 255, 0.58);
}

@media (max-width: 820px) {
  body[data-authenticated="false"] .auth-gate {
    padding: 14px !important;
  }

  body[data-authenticated="false"] .landing-hero {
    padding-top: 56px;
  }

  body[data-authenticated="false"] .landing-hero h1 {
    font-size: 42px;
  }

  body[data-authenticated="false"] .showcase-shell {
    grid-template-columns: 1fr;
    transform: none;
  }

  body[data-authenticated="false"] .showcase-shell::after,
  body[data-authenticated="false"] .showcase-trend {
    position: static;
    width: auto;
  }

  body[data-authenticated="false"] .showcase-chart,
  body[data-authenticated="false"] .landing-feature-grid,
  body[data-authenticated="false"] .landing-logos {
    grid-template-columns: 1fr;
  }

  body[data-authenticated="false"] .showcase-grid {
    grid-template-columns: 1fr;
  }
}

body[data-authenticated="false"] .source-strip {
  position: relative !important;
  grid-template-columns: 270px minmax(0, 1fr) !important;
  margin: 54px auto 44px !important;
  border: 1px solid rgba(169, 141, 255, 0.16) !important;
  background:
    linear-gradient(90deg, rgba(10, 8, 22, 0.94), rgba(33, 26, 72, 0.7), rgba(10, 8, 22, 0.92)),
    radial-gradient(circle at 86% 50%, rgba(255, 96, 28, 0.14), transparent 34%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.36) !important;
}

body[data-authenticated="false"] .source-strip::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(139, 123, 255, 0.16), transparent),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 18px;
  opacity: 0.65;
  content: "";
}

body[data-authenticated="false"] .source-strip > span,
body[data-authenticated="false"] .source-strip > div {
  position: relative;
}

body[data-authenticated="false"] .source-strip > span {
  color: rgba(245, 242, 255, 0.8) !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

body[data-authenticated="false"] .source-strip > div {
  gap: 34px !important;
}

body[data-authenticated="false"] .feature-overview {
  width: min(1160px, 100%);
  margin: 72px auto 30px;
  padding: 22px 0 0 !important;
}

body[data-authenticated="false"] .feature-overview .landing-section-head,
body[data-authenticated="false"] .workflow-panel .landing-section-head,
body[data-authenticated="false"] .insight-grid .landing-section-head {
  max-width: 780px;
}

body[data-authenticated="false"] .feature-overview .landing-section-head p,
body[data-authenticated="false"] .workflow-panel .landing-section-head p {
  margin: 14px auto 0;
  color: rgba(232, 229, 255, 0.62);
  font-size: 17px;
  line-height: 1.6;
}

body[data-authenticated="false"] .feature-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body[data-authenticated="false"] .feature-directory-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 330px;
  border: 1px solid rgba(169, 141, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 96, 28, 0.16), transparent 32%),
    radial-gradient(circle at 18% 100%, rgba(139, 123, 255, 0.4), transparent 44%),
    linear-gradient(150deg, rgba(26, 22, 52, 0.95), rgba(7, 7, 13, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 90px rgba(0, 0, 0, 0.32);
  padding: 28px;
  overflow: hidden;
}

body[data-authenticated="false"] .feature-directory-card::before {
  position: absolute;
  inset: 22px 22px auto auto;
  width: 122px;
  height: 122px;
  border: 1px solid rgba(169, 141, 255, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px),
    rgba(255, 255, 255, 0.02);
  background-size: 18px 18px;
  opacity: 0.7;
  content: "";
}

body[data-authenticated="false"] .feature-directory-card.primary-feature {
  grid-row: span 2;
  min-height: 678px;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 96, 28, 0.2), transparent 34%),
    radial-gradient(circle at 22% 90%, rgba(139, 123, 255, 0.54), transparent 48%),
    linear-gradient(150deg, rgba(31, 25, 66, 0.96), rgba(7, 7, 13, 0.98));
}

body[data-authenticated="false"] .feature-directory-card span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(169, 141, 255, 0.28);
  border-radius: 14px;
  background: rgba(129, 109, 255, 0.18);
  color: #dcd5ff;
  font-weight: 1000;
  margin-bottom: 24px;
}

body[data-authenticated="false"] .feature-directory-card strong {
  position: relative;
  color: #ffffff;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.04;
}

body[data-authenticated="false"] .feature-directory-card p {
  position: relative;
  max-width: 520px;
  color: rgba(232, 229, 255, 0.65);
  font-size: 16px;
  line-height: 1.55;
  margin: 14px 0 0;
}

body[data-authenticated="false"] .feature-directory-card ul {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

body[data-authenticated="false"] .feature-directory-card li {
  color: rgba(245, 242, 255, 0.82);
  font-size: 14px;
  font-weight: 850;
}

body[data-authenticated="false"] .feature-directory-card li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff6a2a;
  box-shadow: 0 0 18px rgba(255, 106, 42, 0.62);
  content: "";
  margin-right: 10px;
  vertical-align: 1px;
}

body[data-authenticated="false"] .feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  align-items: center;
  gap: 40px;
  width: min(1160px, 100%);
  min-height: 520px;
  margin: 28px auto;
  border: 1px solid rgba(169, 141, 255, 0.16);
  background:
    radial-gradient(circle at 82% 64%, rgba(139, 123, 255, 0.42), transparent 34%),
    linear-gradient(145deg, rgba(12, 10, 24, 0.98), rgba(5, 5, 10, 0.96));
  padding: 44px;
  overflow: hidden;
}

body[data-authenticated="false"] .feature-showcase h2 {
  font-size: clamp(34px, 4vw, 58px);
}

body[data-authenticated="false"] .feature-showcase p {
  max-width: 520px;
  color: rgba(232, 229, 255, 0.62);
  font-size: 17px;
  line-height: 1.6;
}

body[data-authenticated="false"] .feature-mock-card {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(169, 141, 255, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 96, 28, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(20, 16, 42, 0.94), rgba(5, 5, 11, 0.94));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.45);
  padding: 22px;
}

body[data-authenticated="false"] .mock-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

body[data-authenticated="false"] .mock-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

body[data-authenticated="false"] .mock-toolbar span:nth-child(1) {
  background: #ff6a2a;
}

body[data-authenticated="false"] .mock-toolbar span:nth-child(2) {
  background: #8d7bff;
}

body[data-authenticated="false"] .mock-search {
  height: 46px;
  border: 1px solid rgba(169, 141, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  margin-bottom: 18px;
}

body[data-authenticated="false"] .mock-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

body[data-authenticated="false"] .mock-products i {
  display: block;
  min-height: 104px;
  border: 1px solid rgba(169, 141, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(139, 123, 255, 0.24), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

body[data-authenticated="false"] .workflow-panel {
  width: min(1160px, 100%);
  margin: 28px auto;
  padding: 44px !important;
}

body[data-authenticated="false"] .workflow-panel .landing-section-head {
  margin: 0 0 30px;
  text-align: left;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body[data-authenticated="false"] .workflow-panel .landing-step-grid article {
  min-height: 260px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 100%, rgba(139, 123, 255, 0.3), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

body[data-authenticated="false"] .ai-studio-band {
  width: min(1160px, 100%);
  min-height: 500px;
  margin: 28px auto;
  border: 1px solid rgba(169, 141, 255, 0.16);
  background:
    radial-gradient(circle at 86% 78%, rgba(139, 123, 255, 0.46), transparent 36%),
    radial-gradient(circle at 12% 16%, rgba(255, 96, 28, 0.14), transparent 30%),
    rgba(9, 8, 18, 0.92);
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article {
  align-content: end;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article span {
  display: inline-grid;
  width: 38px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 10px;
}

body[data-authenticated="false"] .insight-grid {
  width: min(1160px, 100%);
  margin: 28px auto;
  padding: 44px !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head {
  margin: 0 0 30px;
  text-align: left;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article {
  min-height: 300px;
  border-radius: 24px;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
  content: "";
}

body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  font-size: 22px;
  line-height: 1.24;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] .source-strip,
  body[data-authenticated="false"] .feature-showcase,
  body[data-authenticated="false"] .workflow-panel .landing-step-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-authenticated="false"] .source-strip > div,
  body[data-authenticated="false"] #radar.landing-logos > div {
    grid-template-columns: repeat(4, minmax(72px, 1fr)) !important;
    gap: 14px !important;
  }

  body[data-authenticated="false"] .feature-directory {
    grid-template-columns: 1fr;
  }

  body[data-authenticated="false"] .feature-directory-card.primary-feature {
    grid-row: auto;
    min-height: 420px;
  }

  body[data-authenticated="false"] .feature-showcase,
  body[data-authenticated="false"] .workflow-panel,
  body[data-authenticated="false"] .ai-studio-band,
  body[data-authenticated="false"] .insight-grid {
    padding: 28px !important;
  }
}

@media (max-width: 620px) {
  body[data-authenticated="false"] .source-strip > div,
  body[data-authenticated="false"] #radar.landing-logos > div,
  body[data-authenticated="false"] .mock-products,
  body[data-authenticated="false"] .insight-grid .testimonial-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-authenticated="false"] .feature-directory-card,
  body[data-authenticated="false"] .feature-directory-card.primary-feature,
  body[data-authenticated="false"] .feature-mock-card {
    min-height: auto;
  }
}

/* Final product detail placement override. */
body[data-authenticated="true"]:not(.product-detail-open) .app-shell {
  grid-template-columns: 320px minmax(0, 1fr) 0 !important;
}

body[data-authenticated="true"]:not(.product-detail-open) .detail-panel {
  display: none !important;
}

body[data-authenticated="true"].product-detail-open .app-shell {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) 430px !important;
}

body[data-authenticated="true"].product-detail-open .detail-panel {
  position: sticky !important;
  inset: auto !important;
  top: 0 !important;
  right: auto !important;
  z-index: 3 !important;
  display: block !important;
  width: auto !important;
  height: 100vh !important;
  padding: 18px !important;
  overflow: auto !important;
  border-width: 0 0 0 1px !important;
  border-style: solid !important;
  border-color: #242629 !important;
  background: #111213 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .detail-content {
  width: 100% !important;
  margin: 0 !important;
  padding: 84px 0 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .close-button {
  position: sticky !important;
  top: 0 !important;
  right: auto !important;
  z-index: 7 !important;
  display: grid !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 0 -64px auto !important;
  border: 1px solid #2a2c30 !important;
  border-radius: 12px !important;
  background: #171819 !important;
  color: #f1f1f1 !important;
  font-size: 34px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-hero {
  width: 100% !important;
  max-width: 330px !important;
  margin: 0 auto 24px !important;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid #242629 !important;
  border-radius: 8px !important;
  background: #0f1011 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-body .detail-source-badge {
  background: #25272a !important;
  color: #e7e7e7 !important;
  border: 1px solid #303236 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-body h2 {
  color: #f3f3f3 !important;
  font-size: 30px !important;
  line-height: 1.08 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-body .price {
  color: #f3f3f3 !important;
  font-size: 29px !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-lines .detail-line {
  min-height: 58px !important;
  border-top: 1px solid #242629 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-lines .detail-line span:first-child {
  color: #90949c !important;
  font-size: 18px !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-lines .detail-line span:last-child {
  color: #f1f1f1 !important;
  font-size: 19px !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-note {
  color: #90949c !important;
  font-size: 18px !important;
}

body[data-authenticated="true"].product-detail-open .detail-actions {
  grid-template-columns: 1fr !important;
}

body[data-authenticated="true"].product-detail-open .favorite-detail-button,
body[data-authenticated="true"].product-detail-open .test-lab-detail-button,
body[data-authenticated="true"].product-detail-open .ads-from-product-button,
body[data-authenticated="true"].product-detail-open .llm-button,
body[data-authenticated="true"].product-detail-open .external-link {
  background: #171819 !important;
  color: #f1f1f1 !important;
  border: 1px solid #2a2c30 !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .favorite-detail-button.active,
body[data-authenticated="true"].product-detail-open .test-lab-detail-button.active,
body[data-authenticated="true"].product-detail-open .external-link:hover,
body[data-authenticated="true"].product-detail-open .ads-from-product-button:hover,
body[data-authenticated="true"].product-detail-open .llm-button:hover {
  background: #202124 !important;
  color: #f3f3f3 !important;
  border-color: #3a3d42 !important;
}

body[data-authenticated="true"].product-detail-open .llm-section,
body[data-authenticated="true"].product-detail-open .opportunity-card,
body[data-authenticated="true"].product-detail-open .insight-section,
body[data-authenticated="true"].product-detail-open .offer-field {
  background: #131415 !important;
  border: 1px solid #242629 !important;
  color: #eeeeee !important;
}

@media (max-width: 1180px) {
  body[data-authenticated="true"].product-detail-open .app-shell,
  body[data-authenticated="true"]:not(.product-detail-open) .app-shell {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  body[data-authenticated="true"].product-detail-open .detail-panel {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(430px, 100vw) !important;
    z-index: 20 !important;
  }
}

/* Product detail: right-side panel, aligned with the main dark UI. */
body[data-authenticated="true"]:not(.product-detail-open) .app-shell {
  grid-template-columns: 320px minmax(0, 1fr) 0 !important;
}

body[data-authenticated="true"]:not(.product-detail-open) .detail-panel {
  display: none !important;
}

body[data-authenticated="true"].product-detail-open .app-shell {
  grid-template-columns: 320px minmax(0, 1fr) 430px !important;
}

body[data-authenticated="true"].product-detail-open .detail-panel {
  position: sticky !important;
  inset: auto !important;
  top: 0 !important;
  z-index: 3 !important;
  display: block !important;
  width: auto !important;
  height: 100vh !important;
  padding: 18px !important;
  overflow: auto !important;
  border-width: 0 0 0 1px !important;
  border-style: solid !important;
  border-color: #242629 !important;
  background: #111213 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .detail-content {
  width: 100% !important;
  margin: 0 !important;
  padding: 84px 0 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .close-button {
  position: sticky !important;
  top: 0 !important;
  right: auto !important;
  z-index: 7 !important;
  display: grid !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 0 -64px auto !important;
  border: 1px solid #2a2c30 !important;
  border-radius: 12px !important;
  background: #171819 !important;
  color: #f1f1f1 !important;
  font-size: 34px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-hero {
  width: 100% !important;
  max-width: 330px !important;
  margin: 0 auto 24px !important;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid #242629 !important;
  border-radius: 8px !important;
  background: #0f1011 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-body .detail-source-badge {
  background: #25272a !important;
  color: #e7e7e7 !important;
  border: 1px solid #303236 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-body h2 {
  color: #f3f3f3 !important;
  font-size: 30px !important;
  line-height: 1.08 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-body .price {
  color: #f3f3f3 !important;
  font-size: 29px !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-lines .detail-line {
  min-height: 58px !important;
  border-top: 1px solid #242629 !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-lines .detail-line span:first-child {
  color: #90949c !important;
  font-size: 18px !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-lines .detail-line span:last-child {
  color: #f1f1f1 !important;
  font-size: 19px !important;
}

body[data-authenticated="true"].product-detail-open .detail-modal-note {
  color: #90949c !important;
  font-size: 18px !important;
}

body[data-authenticated="true"].product-detail-open .detail-actions {
  grid-template-columns: 1fr !important;
}

body[data-authenticated="true"].product-detail-open .favorite-detail-button,
body[data-authenticated="true"].product-detail-open .test-lab-detail-button,
body[data-authenticated="true"].product-detail-open .ads-from-product-button,
body[data-authenticated="true"].product-detail-open .llm-button,
body[data-authenticated="true"].product-detail-open .external-link {
  background: #171819 !important;
  color: #f1f1f1 !important;
  border: 1px solid #2a2c30 !important;
  box-shadow: none !important;
}

body[data-authenticated="true"].product-detail-open .favorite-detail-button.active,
body[data-authenticated="true"].product-detail-open .test-lab-detail-button.active,
body[data-authenticated="true"].product-detail-open .external-link:hover,
body[data-authenticated="true"].product-detail-open .ads-from-product-button:hover,
body[data-authenticated="true"].product-detail-open .llm-button:hover {
  background: #202124 !important;
  color: #f3f3f3 !important;
  border-color: #3a3d42 !important;
}

body[data-authenticated="true"].product-detail-open .llm-section,
body[data-authenticated="true"].product-detail-open .opportunity-card,
body[data-authenticated="true"].product-detail-open .insight-section,
body[data-authenticated="true"].product-detail-open .offer-field {
  background: #131415 !important;
  border: 1px solid #242629 !important;
  color: #eeeeee !important;
}

@media (max-width: 1180px) {
  body[data-authenticated="true"].product-detail-open .app-shell,
  body[data-authenticated="true"]:not(.product-detail-open) .app-shell {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  body[data-authenticated="true"].product-detail-open .detail-panel {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(430px, 100vw) !important;
    z-index: 20 !important;
  }
}

body[data-authenticated="true"]:not(.product-detail-open) .app-shell {
  grid-template-columns: 320px minmax(0, 1fr) 0 !important;
}

body[data-authenticated="true"]:not(.product-detail-open) .detail-panel {
  display: none !important;
}

body[data-authenticated="true"].product-detail-open .app-shell {
  grid-template-columns: 320px minmax(0, 1fr) 390px !important;
}

body[data-authenticated="true"].product-detail-open .detail-panel {
  display: block !important;
}

.offer-result {
  gap: 14px;
}

.offer-fields {
  display: grid;
  gap: 10px;
}

.offer-field {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #242629;
  border-radius: 8px;
  background: #181a1c;
}

.offer-field span {
  color: #8c929c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-field p {
  margin: 0;
}

.offer-prompt {
  max-height: 180px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid #242629;
  border-radius: 8px;
  background: #0f1011;
  color: inherit;
  white-space: pre-wrap;
}

@media (max-width: 1180px) {
  body[data-authenticated="true"]:not(.product-detail-open) .app-shell,
  body[data-authenticated="true"].product-detail-open .app-shell {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  body[data-authenticated="true"].product-detail-open .detail-panel {
    display: block !important;
  }
}

body[data-authenticated="true"].product-detail-open .app-shell {
  grid-template-columns: 320px minmax(0, 1fr) !important;
}

body[data-authenticated="true"].product-detail-open .detail-panel {
  position: fixed !important;
  inset: 0 !important;
  z-index: 90 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 26px 20px 50px !important;
  overflow: auto !important;
  border: 0 !important;
  background: rgba(0, 0, 0, 0.68) !important;
  backdrop-filter: blur(5px) !important;
}

body[data-authenticated="true"].product-detail-open .detail-content {
  width: min(680px, calc(100vw - 34px)) !important;
  margin: 0 auto !important;
  padding: 32px !important;
  border: 1px solid #242629 !important;
  border-radius: 18px !important;
  background: #111213 !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55) !important;
}

body[data-authenticated="true"].product-detail-open .close-button {
  position: fixed !important;
  top: 34px !important;
  right: max(30px, calc((100vw - 680px) / 2 + 24px)) !important;
  z-index: 92 !important;
  display: grid !important;
  width: 62px !important;
  height: 62px !important;
  border: 1px solid #2f3236 !important;
  border-radius: 14px !important;
  background: #171819 !important;
  color: #f3f3f3 !important;
  font-size: 38px !important;
  line-height: 1 !important;
}

.detail-modal-hero {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  max-width: 430px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 80px auto 28px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #0a0b0c !important;
  overflow: hidden !important;
}

.detail-modal-hero img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.detail-modal-body {
  display: grid;
  gap: 12px;
}

.detail-modal-body .detail-source-badge {
  width: max-content;
  border: 0 !important;
  border-radius: 999px !important;
  background: #222426 !important;
  color: #d7d9dd !important;
  padding: 10px 16px !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.detail-modal-body h2 {
  margin: 0 !important;
  color: #d9dadd !important;
  font-size: clamp(30px, 4vw, 42px) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.detail-modal-body .price {
  color: #f3f3f3 !important;
  font-size: 31px !important;
  font-weight: 950 !important;
}

.detail-modal-lines {
  display: grid;
  margin-top: 18px;
}

.detail-modal-lines .detail-line {
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 20px !important;
  min-height: 78px !important;
  border-top: 1px solid #2a2c30 !important;
  padding: 0 !important;
  background: transparent !important;
}

.detail-modal-lines .detail-line span:first-child {
  color: #9a9da3 !important;
  font-size: 27px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.detail-modal-lines .detail-line span:last-child {
  color: #f2f3f5 !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  text-align: right !important;
}

.detail-modal-note {
  margin: 22px 0 0 !important;
  color: #a9acb2 !important;
  font-size: 25px !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
}

body[data-authenticated="true"].product-detail-open .detail-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-top: 28px !important;
}

body[data-authenticated="true"].product-detail-open .detail-actions > * {
  min-height: 48px !important;
  border-radius: 10px !important;
}

body[data-authenticated="true"].product-detail-open .llm-section,
body[data-authenticated="true"].product-detail-open .opportunity-card,
body[data-authenticated="true"].product-detail-open .insight-section {
  margin-top: 18px !important;
}

@media (max-width: 760px) {
  body[data-authenticated="true"].product-detail-open .detail-panel {
    padding: 10px 12px 26px !important;
  }

  body[data-authenticated="true"].product-detail-open .detail-content {
    width: 100% !important;
    padding: 28px 28px 34px !important;
    border-radius: 16px !important;
  }

  body[data-authenticated="true"].product-detail-open .close-button {
    top: 24px !important;
    right: 24px !important;
    width: 58px !important;
    height: 58px !important;
  }

  .detail-modal-hero {
    margin-top: 84px !important;
    max-width: 370px !important;
  }

  .detail-modal-body h2 {
    font-size: 36px !important;
  }

  .detail-modal-lines .detail-line span:first-child,
  .detail-modal-lines .detail-line span:last-child {
    font-size: 25px !important;
  }

  body[data-authenticated="true"].product-detail-open .detail-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Panel SaaS minimal */
.dashboard-panel-view {
  display: none;
  color: #e8e8e8;
  padding: 14px 0 40px;
}

.dashboard-panel-view.visible {
  display: block;
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 22px 0 34px;
}

.dashboard-panel-head h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.03em;
  color: #f4f4f5;
}

.dashboard-panel-head p,
.dashboard-widget-label,
.dashboard-helper {
  margin: 0;
  color: #8d939c;
  font-size: 1rem;
}

.dashboard-head-actions,
.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-head-actions button,
.dashboard-controls button {
  border: 1px solid #24272b !important;
  background: #121314 !important;
  color: #e7e7e7 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-weight: 700;
  box-shadow: none !important;
}

.dashboard-head-actions button.light {
  background: #f1f1f1 !important;
  color: #111 !important;
}

.dashboard-controls {
  display: grid;
  grid-template-columns: max-content max-content max-content 1fr max-content max-content max-content;
  margin-bottom: 24px;
}

.dashboard-controls span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 7px;
  background: #2c2d2f;
}

.dashboard-controls em {
  color: #777;
  font-style: normal;
  margin-left: 8px;
}

.dashboard-widget-label {
  display: block;
  margin-bottom: 14px;
  color: #d8d8d8;
  font-weight: 800;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-metrics article,
.dashboard-chart-grid article {
  background: #101112 !important;
  border: 1px solid #242629 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.dashboard-metrics article {
  min-height: 136px;
  padding: 24px;
}

.dashboard-metrics span {
  display: block;
  color: #8f959d;
  font-weight: 700;
  margin-bottom: 22px;
}

.dashboard-metrics strong {
  color: #f3f3f3;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

.dashboard-metrics small {
  color: #767c84;
  margin-left: 14px;
  font-weight: 700;
}

.dashboard-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.dashboard-chart-grid article {
  min-height: 340px;
  padding: 28px;
}

.dashboard-chart-grid header {
  color: #e4e4e4;
  font-weight: 900;
  margin-bottom: 24px;
}

.dashboard-chart-grid div {
  min-height: 250px;
  display: grid;
  place-items: center;
  color: #777d85;
  font-weight: 700;
}

.dashboard-helper {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .dashboard-controls,
  .dashboard-metrics,
  .dashboard-chart-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-controls > div {
    display: none;
  }
}

@media (max-width: 760px) {
  .dashboard-panel-head,
  .dashboard-head-actions {
    display: block;
  }

  .dashboard-head-actions button {
    margin-top: 10px;
  }

  .dashboard-controls,
  .dashboard-metrics,
  .dashboard-chart-grid {
    grid-template-columns: 1fr;
  }
}

/* Reference dark SaaS interface override */
:root {
  color-scheme: dark;
  --bg: #0f1011;
  --surface: #111213;
  --surface-2: #151617;
  --surface-3: #1d1e20;
  --line: #242629;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #eeeeee;
  --muted: #90949c;
  --muted-2: #676c74;
  --accent: #5cc7dc;
  --accent-soft: rgba(92, 199, 220, 0.12);
}

html,
body {
  background: #0f1011 !important;
  color: var(--text) !important;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body::before,
body::after,
.app-shell::before,
.app-shell::after,
.main::before,
.main::after,
.product-card::before,
.side-nav button.active::before {
  display: none !important;
  content: none !important;
}

body[data-authenticated="true"],
.app-shell {
  min-height: 100vh !important;
  background: #0f1011 !important;
}

.app-shell {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) 390px !important;
  height: 100vh !important;
  overflow: hidden !important;
}

.sidebar,
.main,
.detail-panel {
  min-height: 0 !important;
  height: 100vh !important;
}

.sidebar {
  position: relative !important;
  overflow: auto !important;
  padding: 20px 12px !important;
  border-right: 1px solid var(--line) !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.main {
  overflow: auto !important;
  padding: 30px 28px !important;
  background: #0f1011 !important;
}

.detail-panel {
  position: relative !important;
  overflow: auto !important;
  padding: 20px !important;
  border-left: 1px solid var(--line) !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.brand {
  gap: 10px !important;
  margin: 0 0 18px !important;
  padding: 0 8px 18px !important;
  border-bottom: 1px solid var(--line) !important;
}

.brand-mark,
.logo-mark {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #3b3c3f !important;
  color: #f5f5f5 !important;
  box-shadow: none !important;
}

.brand strong,
.brand h1,
.brand span {
  color: #f1f1f1 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

.brand small,
.brand p {
  color: var(--muted) !important;
}

.account-card,
.country-panel,
.category-panel,
.winner-finder,
.stock-trends-view,
.test-lab-view,
.ads-studio-card,
.ads-studio-hero,
.product-card,
.detail-card,
.signal-card,
.potential-card,
.stock-card,
.trend-row,
.test-lab-product,
.generated-ad-card,
.favorite-item,
.plan-card,
.modal-card {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.account-card {
  padding: 14px !important;
  margin: 0 8px 18px !important;
}

.account-card span,
.account-card small,
.credit-label,
.meta,
.muted,
.seller,
.product-card p,
.detail-row span:first-child,
.detail-meta,
.toolbar label,
.field span,
.empty-state,
.winner-finder span,
.test-lab-product small,
.ads-studio-card small,
.generated-ad-card small {
  color: var(--muted) !important;
}

.credit-bar-track,
.account-card .credit-bar-track {
  height: 5px !important;
  border-radius: 999px !important;
  background: #242629 !important;
  overflow: hidden !important;
}

.credit-bar-fill,
.account-card .credit-bar-fill {
  background: #e9e9e9 !important;
  box-shadow: none !important;
}

.section-title {
  margin: 22px 8px 8px !important;
  color: #858a92 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.side-nav {
  gap: 4px !important;
}

.side-nav button,
.category-button,
.country-button {
  min-height: 38px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #b8bbc1 !important;
  padding: 7px 8px !important;
  box-shadow: none !important;
  transform: none !important;
}

.side-nav button span,
.category-button span,
.country-button span {
  width: 22px !important;
  height: 22px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #a3a7ae !important;
  box-shadow: none !important;
}

.side-nav button strong,
.category-button strong,
.country-button strong {
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.side-nav button:hover,
.category-button:hover,
.country-button:hover {
  background: #191a1c !important;
  color: #f0f0f0 !important;
}

.side-nav button.active,
.category-button.active,
.country-button.active {
  background: #222326 !important;
  color: #f4f4f4 !important;
}

.side-nav button.active span,
.category-button.active span,
.country-button.active span {
  color: #f4f4f4 !important;
}

#sideChatButton:not(.active) strong {
  color: var(--accent) !important;
}

.side-nav button em,
#favoritesCount,
#testLabCount,
.pill,
.count-pill,
.country-status,
.plan-badge {
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: #25272a !important;
  color: #e7e7e7 !important;
  box-shadow: none !important;
}

.topbar,
.main-header,
.header-card {
  margin: -30px -28px 26px !important;
  padding: 18px 28px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: var(--surface) !important;
  box-shadow: none !important;
}

.topbar h1,
.main-header h1,
.header-card h1,
.section-hero h2,
.product-card h2,
.detail-content h2,
.detail-content h3,
.drawer-header h2,
.plans-panel h2,
.auth-panel h2 {
  color: #f3f3f3 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.topbar p,
.main-header p,
.header-card p,
.section-hero p,
.drawer-header p {
  color: var(--muted) !important;
}

.toolbar,
.filters-card,
.finder-controls {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.search-box,
.field,
.category-toggle,
.select-control,
input,
select,
textarea {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #131415 !important;
  color: #eeeeee !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: #727780 !important;
}

input:focus,
select:focus,
textarea:focus,
.search-box:focus-within,
.field:focus-within {
  border-color: #4a4d52 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06) !important;
}

button,
.button,
.icon-button,
.text-button,
.menu-button,
.nav-icon-button,
.winner-finder button,
.llm-button,
.generate-button,
.account-card button,
.plan-card button,
.chat-form button,
.auth-actions button,
.ads-studio-hero button,
.ads-studio-empty button,
.pager button,
.detail-action,
.download-button {
  border: 1px solid #2a2c30 !important;
  border-radius: 8px !important;
  background: #171819 !important;
  color: #f1f1f1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
}

button:hover,
.button:hover,
.icon-button:hover,
.text-button:hover,
.menu-button:hover,
.nav-icon-button:hover,
.pager button:hover,
.detail-action:hover,
.download-button:hover {
  border-color: #3a3d42 !important;
  background: #202124 !important;
  transform: translateY(-1px) !important;
}

.winner-finder button,
.generate-button,
.chat-form button,
.auth-actions .primary,
.plan-card .primary,
.ads-studio-hero button.primary,
.ads-studio-empty button.primary {
  border-color: #f2f2f2 !important;
  background: #f2f2f2 !important;
  color: #111213 !important;
}

.product-grid {
  gap: 14px !important;
}

.product-card {
  overflow: hidden !important;
  padding: 12px !important;
  background: #121314 !important;
  transform: none !important;
}

.product-card:hover {
  border-color: #3a3d42 !important;
  transform: translateY(-1px) !important;
}

.thumb,
.product-image,
.detail-image {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #181a1c !important;
  color: #686d75 !important;
}

.price,
.score-value,
.metric-value,
.trend-value,
.stock-value {
  color: #f0f0f0 !important;
}

.source-badge,
.winner-badge,
.stock-chip,
.detail-source-badge,
.risk-chip,
.status-chip,
.tag {
  border: 1px solid #303236 !important;
  border-radius: 999px !important;
  background: #191a1c !important;
  color: #e6e6e6 !important;
  box-shadow: none !important;
}

.favorite-button {
  border: 0 !important;
  background: #eeeeee !important;
  color: #111 !important;
  box-shadow: none !important;
}

.detail-content,
.detail-empty {
  color: var(--text) !important;
}

.detail-empty,
.empty-card,
.loading-card {
  border: 1px dashed #2a2c30 !important;
  border-radius: 12px !important;
  background: #121314 !important;
  color: #9a9ea6 !important;
}

.drawer-panel,
.favorites-panel,
.image-panel,
.chat-panel,
.plans-panel,
.auth-panel {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-left: 1px solid var(--line) !important;
  box-shadow: none !important;
}

.drawer-header,
.panel-header,
.modal-header {
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
}

.chat-message.assistant,
.chat-message.user,
.generated-ad-preview,
.image-upload-zone,
.ads-result-card {
  border: 1px solid #282a2e !important;
  border-radius: 10px !important;
  background: #18191b !important;
  color: #ededed !important;
}

.chat-form,
.panel-footer {
  border-top: 1px solid var(--line) !important;
  background: var(--surface) !important;
}

.panel-backdrop.open,
.modal-backdrop.open {
  background: rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: none !important;
}

.upgrade-toast {
  border: 1px solid #2b2d31 !important;
  border-radius: 12px !important;
  background: #151617 !important;
  color: #ededed !important;
  box-shadow: none !important;
}

.upgrade-toast span,
.upgrade-toast p {
  color: var(--muted) !important;
}

.upgrade-toast button {
  border: 1px solid #f2f2f2 !important;
  background: #f2f2f2 !important;
  color: #111 !important;
}

.stock-trends-table,
.trend-table,
table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: var(--text) !important;
}

th,
td {
  border-color: var(--line) !important;
}

th {
  color: #aeb2ba !important;
  background: #151617 !important;
}

td {
  background: #111213 !important;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  .detail-panel {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block !important;
    height: auto !important;
    overflow: auto !important;
  }

  .sidebar,
  .main,
  .detail-panel {
    height: auto !important;
    min-height: 0 !important;
  }

  .main {
    padding: 18px 14px 92px !important;
  }

  .topbar,
  .main-header,
  .header-card {
    margin: -18px -14px 18px !important;
    padding: 16px 14px !important;
  }
}

/* Account and auth */
.account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 10px 12px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(7, 6, 18, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 42px rgba(0, 0, 0, 0.24);
  padding: 12px;
}

.account-card span,
.account-card small {
  display: block;
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-card strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  margin: 3px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-card small {
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.account-card button {
  min-height: 34px;
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.3);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  padding: 0 10px;
}

.account-card #accountActionButton,
.account-card #accountPlansButton,
.account-card #logoutButton {
  grid-column: 2;
}

.account-card #logoutButton {
  background: rgba(255, 255, 255, 0.06);
}

.credit-bars {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.credit-meter {
  display: grid;
  gap: 5px;
}

.credit-meter div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.credit-meter span,
.credit-meter strong {
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.credit-meter strong {
  color: #fff;
}

.credit-meter em {
  display: block;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.26);
  border-radius: 999px;
  background: rgba(7, 6, 18, 0.72);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.45);
}

.credit-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f46e5, #818cf8);
  box-shadow: 0 0 18px rgba(129, 140, 248, 0.55);
  transition: width 0.28s ease;
}

.credit-meter.ads i {
  background: linear-gradient(90deg, #f47b3f, #b564ff);
  box-shadow: 0 0 18px rgba(244, 123, 63, 0.45);
}

.auth-panel {
  width: min(430px, 100vw);
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label span {
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-form input {
  min-height: 44px;
  border: 1px solid rgba(199, 210, 254, 0.16);
  border-radius: 9px;
  background: #0d0b1f;
  color: #f4f3ff;
  padding: 0 12px;
}

.auth-form input::placeholder {
  color: #928caf;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-actions button {
  min-height: 44px;
  border: 1px solid rgba(129, 140, 248, 0.34);
  border-radius: 9px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.auth-actions button + button {
  background: rgba(255, 255, 255, 0.06);
}

.auth-status {
  min-height: 20px;
  color: #c7d2fe;
  font-size: 13px;
  margin: 0;
}

.plans-panel {
  width: min(520px, 100vw);
  max-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.plans-panel .drawer-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(23, 14, 36, 0.98), rgba(8, 6, 14, 0.96));
  backdrop-filter: blur(18px);
}

.plans-list {
  display: grid;
  gap: 14px;
  padding: 16px 16px 28px;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(19, 17, 58, 0.92), rgba(13, 11, 31, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  padding: 16px;
}

.plan-card.recommended {
  border-color: rgba(52, 211, 153, 0.44);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.1), 0 22px 62px rgba(52, 211, 153, 0.12);
}

.plan-card.recommended::after {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  content: "Prueba pasarela";
  font-size: 11px;
  font-weight: 1000;
  padding: 7px 10px;
}

.plan-card.active {
  border-color: rgba(244, 123, 63, 0.52);
  box-shadow: 0 0 0 1px rgba(244, 123, 63, 0.12), 0 22px 62px rgba(79, 70, 229, 0.26);
}

.plan-card span {
  color: #818cf8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  margin-top: 6px;
}

.plan-card small {
  color: #c7d2fe;
}

.plan-card ul {
  display: grid;
  gap: 8px;
  color: #d8d5ff;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-card li::before {
  color: #34d399;
  content: "✓ ";
  font-weight: 900;
}

.plan-card button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.plan-card button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.plan-card.active button {
  background: rgba(255, 255, 255, 0.08);
  color: #c7d2fe;
}

.trend-row[role="button"] {
  cursor: pointer;
}

.trend-row[role="button"]:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 3px;
}

.trend-row[role="button"] .trend-main h3::after {
  color: #818cf8;
  content: "  Ver ficha";
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.trend-row[role="button"]:hover .trend-main h3::after,
.trend-row[role="button"]:focus-visible .trend-main h3::after {
  opacity: 1;
}

/* Futuristic dark interface */
:root {
  color-scheme: dark;
  --bg: #07050d;
  --panel: rgba(21, 13, 32, 0.86);
  --ink: #fbf7ff;
  --muted: #b7a9cc;
  --line: rgba(185, 117, 255, 0.24);
  --blue: #8d5bff;
  --blue-soft: rgba(108, 67, 194, 0.24);
  --green: #f47b3f;
  --amber: #ffb15f;
  --violet: #7d38ff;
  --violet-hot: #b564ff;
  --orange: #ff7a3d;
  --glass: rgba(19, 12, 30, 0.72);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --neon-shadow: 0 0 0 1px rgba(181, 100, 255, 0.24), 0 18px 48px rgba(105, 43, 201, 0.22), 0 8px 28px rgba(255, 122, 61, 0.12);
}

body {
  background: linear-gradient(135deg, #06040b 0%, #120a1d 36%, #241034 66%, #512614 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
  content: "";
}

.app-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%);
}

.sidebar {
  background: linear-gradient(180deg, rgba(15, 10, 24, 0.96), rgba(8, 6, 14, 0.98)), #090610;
  border-color: rgba(255, 122, 61, 0.16);
  box-shadow: 16px 0 44px rgba(0, 0, 0, 0.36);
}

.brand {
  border-color: rgba(181, 100, 255, 0.18);
}

.brand-mark {
  background: linear-gradient(145deg, var(--violet-hot), var(--orange));
  box-shadow: 0 18px 32px rgba(125, 56, 255, 0.26), 0 0 28px rgba(255, 122, 61, 0.22);
}

.section-title,
.brand span {
  color: rgba(251, 247, 255, 0.58);
}

.side-nav button,
.category-button {
  color: rgba(251, 247, 255, 0.72);
}

.side-nav button span {
  border-color: rgba(181, 100, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.side-nav button:hover,
.category-button:hover {
  background: rgba(181, 100, 255, 0.1);
  color: #fff;
}

.side-nav button.active,
.category-button.active {
  background: linear-gradient(105deg, rgba(125, 56, 255, 0.34), rgba(255, 122, 61, 0.18));
  border-color: rgba(255, 122, 61, 0.48);
  color: #fff;
  box-shadow: 0 18px 42px rgba(125, 56, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.side-nav button.active::before {
  background: linear-gradient(180deg, var(--violet-hot), var(--orange));
  box-shadow: 0 0 18px rgba(255, 122, 61, 0.72);
}

.side-nav button.active span {
  border-color: rgba(255, 122, 61, 0.54);
  background: rgba(255, 122, 61, 0.16);
  color: #ffd7bf;
}

.main {
  background: rgba(6, 4, 11, 0.24);
}

.topbar,
.toolbar,
.winner-finder,
.trend-hero,
.trend-note,
.empty,
.empty-detail,
.trend-empty {
  border: 1px solid rgba(181, 100, 255, 0.24);
  border-radius: 10px;
  background: rgba(16, 10, 26, 0.62);
  box-shadow: var(--neon-shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  padding: 14px 16px;
}

.topbar p,
.winner-finder span,
.trend-hero p,
.trend-main p,
.trend-stock small,
.tag,
.seller,
.field span,
.trend-hero span,
.trend-metric span,
.trend-stock span,
.detail-line span:first-child,
.insight-section p,
.insight-section li,
.llm-section p,
.llm-result p {
  color: var(--muted);
}

.icon-button,
.text-button,
.nav-icon-button,
.menu-button,
.search-box,
.field,
.chat-form input,
.image-form textarea,
.image-form select {
  border-color: rgba(181, 100, 255, 0.24);
  background: rgba(12, 8, 20, 0.82);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.icon-button:hover,
.text-button:hover,
.nav-icon-button:hover,
.menu-button:hover {
  border-color: rgba(255, 122, 61, 0.62);
  box-shadow: 0 0 26px rgba(255, 122, 61, 0.18), var(--shadow);
}

.winner-finder,
.trend-hero {
  background: linear-gradient(135deg, rgba(88, 40, 151, 0.42), rgba(255, 122, 61, 0.16));
}

.winner-finder button,
.llm-button,
.generate-button,
.external-link {
  border: 1px solid rgba(255, 177, 95, 0.58);
  background: linear-gradient(135deg, var(--orange), var(--violet));
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 122, 61, 0.22), 0 0 26px rgba(125, 56, 255, 0.2);
}

.product-grid,
.trend-list {
  perspective: 1400px;
}

.product-card,
.trend-row,
.favorite-item,
.llm-section,
.insight-section,
.potential-card,
.signal-card,
.stock-card,
.stock-trend-card {
  border: 1px solid rgba(181, 100, 255, 0.22);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(41, 22, 62, 0.92), rgba(12, 8, 20, 0.94)), var(--panel);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.38),
    0 12px 24px rgba(79, 35, 148, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.product-card::before,
.trend-row::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28%, rgba(255, 122, 61, 0.1));
  content: "";
}

.product-card,
.trend-row {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  border-color: rgba(255, 122, 61, 0.64);
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.5),
    0 0 38px rgba(125, 56, 255, 0.28),
    0 0 28px rgba(255, 122, 61, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-7px) rotateX(3deg) rotateY(-3deg);
}

.trend-row:hover {
  border-color: rgba(255, 122, 61, 0.58);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(125, 56, 255, 0.26),
    0 0 26px rgba(255, 122, 61, 0.16);
  transform: translateY(-5px) rotateX(2deg);
}

.thumb,
.detail-thumb,
.favorite-item-thumb,
.upload-preview,
.image-preview {
  background: linear-gradient(145deg, rgba(84, 42, 134, 0.48), rgba(20, 12, 31, 0.9));
  border: 1px solid rgba(181, 100, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.thumb img,
.detail-thumb img,
.favorite-item-thumb img {
  filter: saturate(1.08) contrast(1.03);
}

.price,
.trend-main span,
.trend-metric strong,
.stock-card strong,
.stock-chip,
.winner-badge {
  color: #ffb15f;
}

.winner-badge,
.stock-chip,
.source-badge,
.detail-source-badge,
.trend-rank,
.potential-card em {
  border-color: rgba(255, 122, 61, 0.42);
  background: rgba(255, 122, 61, 0.13);
  box-shadow: 0 0 22px rgba(255, 122, 61, 0.13);
}

.source-badge.dropi,
.detail-source-badge.dropi,
.source-badge.amazon,
.detail-source-badge.amazon,
.source-badge.aliexpress,
.detail-source-badge.aliexpress,
.source-badge.shein,
.detail-source-badge.shein,
.source-badge.tiktok,
.detail-source-badge.tiktok {
  color: #fff;
}

.source-badge.dropi,
.detail-source-badge.dropi {
  background: rgba(125, 56, 255, 0.32);
}

.source-badge.amazon,
.detail-source-badge.amazon {
  background: rgba(255, 122, 61, 0.24);
}

.source-badge.aliexpress,
.detail-source-badge.aliexpress {
  background: rgba(181, 100, 255, 0.28);
}

.source-badge.tiktok,
.detail-source-badge.tiktok {
  background: rgba(45, 212, 191, 0.22);
}

.trend-rank {
  color: #fff;
  background: linear-gradient(145deg, var(--violet), var(--orange));
}

.detail-panel,
.drawer-panel,
.favorites-panel {
  background: linear-gradient(180deg, rgba(23, 14, 36, 0.95), rgba(8, 6, 14, 0.98)), #090610;
  border-color: rgba(181, 100, 255, 0.24);
  color: var(--ink);
  box-shadow: -18px 0 54px rgba(0, 0, 0, 0.34);
}

.drawer-header,
.favorites-header,
.detail-line {
  border-color: rgba(181, 100, 255, 0.18);
}

.chat-message.assistant,
.favorite-item {
  background: rgba(255, 255, 255, 0.055);
}

.chat-message.user {
  background: linear-gradient(135deg, var(--orange), var(--violet));
}

.mobile-nav {
  background: rgba(15, 9, 25, 0.92);
  border-color: rgba(255, 122, 61, 0.5);
  box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.42), 0 0 32px rgba(125, 56, 255, 0.24);
  backdrop-filter: blur(20px);
}

.mobile-nav button {
  color: rgba(251, 247, 255, 0.82);
}

@media (max-width: 760px) {
  .detail-actions {
    background: linear-gradient(to top, rgba(9, 6, 16, 0.98) 78%, rgba(9, 6, 16, 0));
  }

  .close-button {
    background: rgba(15, 9, 25, 0.94);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 360px;
  min-height: 100vh;
}

.sidebar,
.detail-panel {
  background: var(--panel);
  border-color: var(--line);
  border-style: solid;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-width: 0 1px 0 0;
  background: #07130d;
  color: #f7fff9;
  padding: 22px 18px;
  overflow: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #19d66b;
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: rgba(247, 255, 249, 0.6);
  font-size: 13px;
  margin-top: 2px;
}

.sidebar-section {
  margin-top: 22px;
}

.section-title {
  color: rgba(247, 255, 249, 0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.category-list {
  display: grid;
  gap: 6px;
}

.category-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: rgba(247, 255, 249, 0.86);
  cursor: pointer;
  padding: 9px 10px;
  text-align: left;
}

.category-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.category-button.active {
  background: rgba(25, 214, 107, 0.14);
  border-color: rgba(25, 214, 107, 0.42);
  color: #34f08a;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.side-group-title {
  margin-top: 18px;
}

.side-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(247, 255, 249, 0.68);
  cursor: pointer;
  padding: 6px 10px;
  text-align: left;
}

.side-nav button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-weight: 800;
}

.side-nav button strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-nav button em {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff7e8;
  color: #7a4b00;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.side-nav button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.side-nav button.active {
  border-color: rgba(25, 214, 107, 0.36);
  background: linear-gradient(90deg, rgba(25, 214, 107, 0.24), rgba(25, 214, 107, 0.06));
  color: #fff;
  box-shadow: 0 12px 34px rgba(25, 214, 107, 0.12);
}

.side-nav button.active::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -10px;
  width: 4px;
  border-radius: 999px;
  background: #19d66b;
  content: "";
}

.side-nav button.active span {
  border-color: rgba(25, 214, 107, 0.52);
  background: rgba(25, 214, 107, 0.16);
  color: #34f08a;
}

.main {
  min-width: 0;
  padding: 24px;
  overflow: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h1 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 5px;
}

.topbar p {
  color: var(--muted);
  margin: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.hidden {
  display: none !important;
}

.mode-switch button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  padding: 9px 12px;
  text-align: left;
  font-weight: 800;
}

.mode-switch button span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.mode-switch button.active {
  border-color: #9bb7ff;
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-button,
.text-button,
.menu-button,
.nav-icon-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.icon-button:hover,
.text-button:hover,
.menu-button:hover,
.nav-icon-button:hover {
  border-color: #b8c2d3;
  box-shadow: var(--shadow);
}

.nav-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
  font-weight: 800;
}

.menu-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-button strong {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border: 2px solid var(--panel);
  border-radius: 999px;
  background: #7a4b00;
  color: #fff;
  font-size: 11px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px) 150px 150px;
  gap: 10px;
  margin-bottom: 18px;
}

.winner-finder {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid #bdebd9;
  border-radius: 8px;
  background: #f0fff8;
  padding: 13px 14px;
}

.winner-finder.visible {
  display: flex;
}

.winner-finder strong,
.winner-finder span {
  display: block;
}

.winner-finder span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.winner-finder button {
  min-height: 42px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 15px;
  white-space: nowrap;
}

.winner-finder button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.search-box,
.field {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.search-box {
  gap: 8px;
  padding: 0 13px;
}

.search-box span {
  color: var(--muted);
  font-size: 20px;
}

.search-box input,
.field input,
.field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.field {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 5px 11px;
}

.field span {
  color: var(--muted);
  font-size: 11px;
}

.field select {
  min-height: 24px;
  cursor: pointer;
  font-weight: 800;
}

.field select option {
  background: #0d0b1f;
  color: #f4f3ff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.stock-trends-view {
  display: none;
}

.stock-trends-view.visible {
  display: grid;
  gap: 14px;
}

.trend-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #bdebd9;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fff8, #f5f8ff);
  padding: 18px;
}

.trend-hero span,
.trend-metric span,
.trend-stock span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.trend-hero h2 {
  margin: 4px 0 4px;
  font-size: 28px;
  line-height: 1.1;
}

.trend-hero p {
  margin: 0;
  color: #465064;
}

.trend-hero > strong {
  display: grid;
  place-items: center;
  min-width: 100px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
}

.trend-list {
  display: grid;
  gap: 10px;
}

.trend-note {
  border: 1px solid #f0cf8b;
  border-radius: 8px;
  background: #fff7e8;
  color: #7a4b00;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 14px;
}

.trend-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 140px 150px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 12px 14px;
}

.trend-row.hot {
  border-color: #bdebd9;
}

.trend-rank {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e8fff5;
  color: var(--green);
  font-weight: 900;
}

.trend-main {
  min-width: 0;
}

.trend-main h3 {
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-main p {
  margin: 0 0 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-main span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.trend-metric,
.trend-stock {
  text-align: right;
}

.trend-metric strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.trend-stock strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.trend-stock small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.trend-empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.trend-empty strong,
.trend-empty span {
  display: block;
}

.trend-empty strong {
  color: var(--ink);
  margin-bottom: 6px;
}

.product-card {
  position: relative;
  min-height: 208px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  padding: 12px;
  text-align: left;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.product-card:hover {
  border-color: #b8c2d3;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.favorite-button {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6d7685;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(28, 35, 49, 0.12);
  z-index: 1;
}

.favorite-button:hover,
.favorite-button.active {
  color: #b56b00;
  background: #fff5dc;
  border-color: #f1c36a;
}

.source-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  max-width: calc(100% - 70px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(28, 35, 49, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 10px;
  box-shadow: 0 8px 18px rgba(28, 35, 49, 0.14);
}

.source-badge.dropi,
.detail-source-badge.dropi {
  background: #e8fff5;
  border-color: #bdebd9;
  color: var(--green);
}

.source-badge.amazon,
.detail-source-badge.amazon {
  background: #fff7e8;
  border-color: #f0cf8b;
  color: #7a4b00;
}

.source-badge.aliexpress,
.detail-source-badge.aliexpress {
  background: #fff0f2;
  border-color: #ffc4ce;
  color: #b4233c;
}

.source-badge.shein,
.detail-source-badge.shein {
  background: #f1f3f6;
  border-color: #c8ced8;
  color: var(--ink);
}

.source-badge.tiktok,
.detail-source-badge.tiktok {
  background: #ecfeff;
  border-color: #a5f3fc;
  color: #155e75;
}

.thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: #eef1f5;
  color: var(--muted);
  font-weight: 800;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 25px;
  margin-top: 9px;
  border: 1px solid #bdebd9;
  border-radius: 999px;
  background: #e8fff5;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
}

.product-card h2 {
  display: -webkit-box;
  min-height: 42px;
  margin: 9px 0 8px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.price {
  color: var(--green);
  font-weight: 800;
}

.tag,
.seller {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  max-width: 130px;
  color: var(--amber);
}

.stock-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  margin-top: 9px;
  border: 1px solid #bdebd9;
  border-radius: 999px;
  background: #e8fff5;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  padding: 6px 10px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 8px;
}

.text-button {
  min-height: 38px;
  padding: 0 14px;
}

.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.detail-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  border-width: 0 0 0 1px;
  padding: 18px;
  overflow: auto;
}

.detail-panel.muted-panel .detail-content {
  opacity: 0.72;
}

.close-button {
  display: none;
  margin-left: auto;
}

.detail-content h2 {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.detail-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.detail-source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 62%;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  padding: 6px 10px;
  text-align: right;
}

.potential-card,
.signal-card,
.stock-card,
.insight-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.potential-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
}

.potential-card span,
.stock-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.potential-card strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.potential-card em {
  border-radius: 999px;
  background: #e8fff5;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
  padding: 7px 11px;
}

.signal-card {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 13px 14px;
}

.signal-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-card strong {
  color: var(--amber);
}

.insight-section {
  margin-top: 12px;
  padding: 14px;
}

.insight-section h3 {
  margin: 0 0 9px;
  font-size: 15px;
}

.insight-section p {
  margin: 0;
  color: #465064;
  line-height: 1.45;
}

.insight-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.insight-section li {
  color: #465064;
  line-height: 1.35;
}

.llm-section {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid #c4d4ff;
  border-radius: 8px;
  background: #f5f8ff;
  padding: 14px;
}

.llm-section h3,
.llm-result h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.llm-section p,
.llm-result p {
  margin: 0;
  color: #465064;
  line-height: 1.45;
}

.llm-button {
  min-height: 40px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.llm-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.llm-result {
  display: grid;
  gap: 9px;
  border-top: 1px solid #c4d4ff;
  padding-top: 12px;
}

.llm-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.llm-score-row span {
  color: var(--blue);
  font-weight: 800;
}

.llm-score-row strong {
  color: var(--ink);
  font-size: 28px;
}

.llm-result ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.empty-detail.small {
  min-height: 82px;
  background: #fff;
}

.stock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 13px 14px;
}

.stock-card strong {
  color: var(--green);
  text-align: right;
}

.stock-trend-card {
  display: grid;
  gap: 11px;
  margin-top: 12px;
  border: 1px solid #bdebd9;
  border-radius: 8px;
  background: #f0fff8;
  padding: 13px 14px;
}

.stock-trend-card.restocked {
  border-color: #c4d4ff;
  background: #f5f8ff;
}

.stock-trend-card.sold {
  border-color: #f0cf8b;
  background: #fff7e8;
}

.stock-trend-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stock-trend-card strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  line-height: 1.25;
}

.stock-trend-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stock-trend-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(15, 138, 95, 0.18);
  padding-top: 7px;
}

.stock-trend-card li strong {
  margin: 0;
  color: var(--green);
  text-align: right;
}

.stock-trend-card p {
  margin: 0;
  color: #465064;
  line-height: 1.4;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.favorite-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid #f0cf8b;
  border-radius: 8px;
  background: #fff7e8;
  color: #7a4b00;
  cursor: pointer;
  font-weight: 800;
}

.favorite-detail-button.active {
  background: #ffefcc;
  border-color: #e8b44c;
}

.detail-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #eef1f5;
  color: var(--muted);
  font-size: 36px;
  font-weight: 800;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.detail-line span:first-child {
  color: var(--muted);
}

.detail-line span:last-child {
  overflow-wrap: anywhere;
  text-align: right;
}

.external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.external-link.disabled {
  background: #e8ecf2;
  color: var(--muted);
}

.empty,
.empty-detail {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 35, 49, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 30;
}

.panel-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel,
.favorites-panel {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100vh;
  background: var(--panel);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 180ms ease;
  z-index: 40;
}

.drawer-panel.open,
.favorites-panel.open {
  transform: translateX(0);
}

.drawer-header,
.favorites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.drawer-header h2,
.favorites-header h2 {
  margin: 0 0 3px;
  font-size: 22px;
}

.drawer-header p,
.favorites-header p {
  margin: 0;
  color: var(--muted);
}

.chat-panel {
  height: 100vh;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  flex: 1;
  overflow: auto;
  padding: 14px;
}

.chat-message {
  max-width: 88%;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.35;
}

.chat-message.assistant {
  justify-self: start;
  background: #f1f3f6;
}

.chat-message.user {
  justify-self: end;
  background: var(--blue);
  color: #fff;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
}

.chat-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 0 12px;
}

.chat-form button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 14px;
}

.image-panel {
  height: 100vh;
}

.image-form {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 14px;
}

.image-form label {
  display: grid;
  gap: 7px;
}

.image-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.image-form textarea,
.image-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 10px 12px;
}

.image-form textarea {
  resize: vertical;
}

.upload-box input {
  display: none;
}

.upload-preview {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  cursor: pointer;
  overflow: hidden;
  padding: 12px;
  text-align: center;
}

.upload-preview:hover {
  border-color: #b8c2d3;
  background: #f3f6fb;
}

.upload-preview strong {
  color: var(--ink);
}

.upload-preview small {
  color: var(--muted);
}

.upload-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.image-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.generate-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.image-preview {
  display: grid;
  place-items: center;
  flex: 1;
  margin: 14px;
  min-height: 260px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}

.image-preview strong,
.generated-placeholder strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 6px;
}

.generated-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 240px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 138, 95, 0.14)),
    #fff;
  padding: 20px;
}

.generated-placeholder p {
  max-width: 32ch;
  margin: 0 0 10px;
  color: var(--ink);
}

.generated-placeholder span {
  color: var(--muted);
  font-size: 13px;
}

.favorites-list {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding: 14px;
}

.favorite-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.favorite-item-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.favorite-item-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: #eef1f5;
  color: var(--muted);
  font-weight: 800;
}

.favorite-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favorite-item h3 {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.favorite-item p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-remove {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
}

.favorite-remove:hover {
  border-color: #e8b44c;
  background: #fff7e8;
  color: #7a4b00;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .detail-panel {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(390px, 100%);
    transform: translateX(100%);
    transition: transform 160ms ease;
    z-index: 10;
  }

  .detail-panel.open {
    transform: translateX(0);
    box-shadow: var(--shadow);
  }

  .close-button {
    display: grid;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
    padding-bottom: 78px;
  }

  .sidebar {
    border-width: 0 0 1px;
    max-height: 260px;
  }

  .main {
    padding: 18px;
  }

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

  .winner-finder {
    align-items: stretch;
    flex-direction: column;
  }

  .mode-switch {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .menu-button,
  .nav-icon-button {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    min-height: 62px;
    border: 1px solid #e8b44c;
    border-radius: 8px;
    background: #1c2331;
    color: #fff;
    box-shadow: 0 14px 34px rgba(28, 35, 49, 0.24);
    overflow: hidden;
    z-index: 25;
  }

  .mobile-nav button {
    position: relative;
    display: grid;
    place-items: center;
    gap: 2px;
    height: 62px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .mobile-nav button:last-child {
    border-right: 0;
  }

  .mobile-nav span {
    font-size: 19px;
    line-height: 1;
  }

  .mobile-nav strong {
    font-size: 12px;
  }

  .mobile-nav em {
    position: absolute;
    top: 7px;
    right: 18px;
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fff7e8;
    color: #7a4b00;
    font-size: 11px;
    font-style: normal;
  }

  .drawer-panel,
  .favorites-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(78vh, 680px);
    border-top: 1px solid var(--line);
    border-left: 0;
    border-radius: 12px 12px 0 0;
    transform: translateY(100%);
  }

  .drawer-panel.open,
  .favorites-panel.open {
    transform: translateY(0);
  }

  .chat-messages,
  .favorites-list {
    padding-bottom: 18px;
  }

  .image-panel {
    overflow: auto;
  }

  .image-preview {
    flex: none;
    min-height: 220px;
  }

  .detail-panel {
    position: fixed;
    inset: auto 10px 12px;
    display: flex;
    flex-direction: column;
    width: auto;
    height: min(86vh, 720px);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 18px 42px rgba(28, 35, 49, 0.26);
    overflow: hidden;
    padding: 0;
    transform: translateY(calc(100% + 24px));
    transition: transform 180ms ease;
    z-index: 60;
  }

  .detail-panel.open {
    transform: translateY(0);
  }

  .close-button {
    position: sticky;
    top: 0;
    align-self: end;
    flex: 0 0 auto;
    margin: 10px 10px 0 0;
    background: rgba(255, 255, 255, 0.94);
    z-index: 2;
  }

  .detail-content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0 18px 18px;
  }

  .detail-thumb {
    aspect-ratio: 1 / 1;
    max-height: 46vh;
  }

  .detail-thumb img {
    object-fit: contain;
    background: #f8fafc;
  }

  .detail-content h2 {
    font-size: 24px;
  }

  .detail-actions {
    position: sticky;
    bottom: 0;
    margin-right: -18px;
    margin-left: -18px;
    padding: 12px 18px 16px;
    background: linear-gradient(to top, #fff 78%, rgba(255, 255, 255, 0));
  }

  .image-options {
    grid-template-columns: 1fr;
  }
}

/* Final futuristic override layer */
body {
  background: linear-gradient(135deg, #06040b 0%, #120a1d 38%, #241034 68%, #512614 100%);
  color: var(--ink);
}

.sidebar {
  background: linear-gradient(180deg, rgba(15, 10, 24, 0.98), rgba(8, 6, 14, 0.98)), #090610;
  border-color: rgba(255, 122, 61, 0.18);
}

.main,
.detail-panel,
.drawer-panel,
.favorites-panel {
  background: linear-gradient(180deg, rgba(23, 14, 36, 0.95), rgba(8, 6, 14, 0.98)), #090610;
  color: var(--ink);
}

.topbar,
.toolbar,
.winner-finder,
.trend-hero,
.trend-note,
.empty,
.empty-detail,
.trend-empty,
.product-card,
.trend-row,
.favorite-item,
.llm-section,
.insight-section,
.potential-card,
.signal-card,
.stock-card,
.stock-trend-card,
.search-box,
.field {
  border-color: rgba(181, 100, 255, 0.24);
  background: linear-gradient(145deg, rgba(41, 22, 62, 0.9), rgba(12, 8, 20, 0.94));
  color: var(--ink);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.38),
    0 12px 24px rgba(79, 35, 148, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-card,
.trend-row {
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  border-color: rgba(255, 122, 61, 0.64);
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.5),
    0 0 38px rgba(125, 56, 255, 0.28),
    0 0 28px rgba(255, 122, 61, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-7px) rotateX(3deg) rotateY(-3deg);
}

.trend-row:hover {
  border-color: rgba(255, 122, 61, 0.58);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(125, 56, 255, 0.26),
    0 0 26px rgba(255, 122, 61, 0.16);
  transform: translateY(-5px) rotateX(2deg);
}

.thumb,
.detail-thumb,
.favorite-item-thumb,
.upload-preview,
.image-preview {
  background: linear-gradient(145deg, rgba(84, 42, 134, 0.48), rgba(20, 12, 31, 0.9));
  border: 1px solid rgba(181, 100, 255, 0.18);
}

.winner-finder,
.trend-hero {
  background: linear-gradient(135deg, rgba(88, 40, 151, 0.5), rgba(255, 122, 61, 0.18));
}

.winner-finder button,
.llm-button,
.generate-button,
.external-link {
  border: 1px solid rgba(255, 177, 95, 0.58);
  background: linear-gradient(135deg, var(--orange), var(--violet));
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 122, 61, 0.22), 0 0 26px rgba(125, 56, 255, 0.2);
}

.price,
.trend-main span,
.trend-metric strong,
.stock-card strong,
.stock-chip,
.winner-badge,
.tag {
  color: #ffb15f;
}

.winner-badge,
.stock-chip,
.source-badge,
.detail-source-badge,
.trend-rank,
.potential-card em {
  border-color: rgba(255, 122, 61, 0.42);
  background: rgba(255, 122, 61, 0.13);
  color: #ffd7bf;
  box-shadow: 0 0 22px rgba(255, 122, 61, 0.13);
}

.source-badge.dropi,
.detail-source-badge.dropi {
  background: rgba(125, 56, 255, 0.34);
  color: #fff;
}

.source-badge.amazon,
.detail-source-badge.amazon {
  background: rgba(255, 122, 61, 0.26);
  color: #fff;
}

.source-badge.aliexpress,
.detail-source-badge.aliexpress {
  background: rgba(181, 100, 255, 0.3);
  color: #fff;
}

.trend-rank,
.brand-mark {
  background: linear-gradient(145deg, var(--violet), var(--orange));
  color: #fff;
}

.topbar p,
.winner-finder span,
.trend-hero p,
.trend-main p,
.trend-stock small,
.seller,
.field span,
.trend-hero span,
.trend-metric span,
.trend-stock span,
.detail-line span:first-child,
.insight-section p,
.insight-section li,
.llm-section p,
.llm-result p {
  color: var(--muted);
}

.search-box input,
.field input,
.chat-form input,
.image-form textarea,
.image-form select {
  color: var(--ink);
}

.detail-actions {
  background: linear-gradient(to top, rgba(9, 6, 16, 0.98) 78%, rgba(9, 6, 16, 0));
}

/* SaaS dark identity override */
:root {
  --bg: #07061a;
  --panel: #0d0b1f;
  --ink: #f4f3ff;
  --muted: #928caf;
  --line: rgba(199, 210, 254, 0.12);
  --blue: #4f46e5;
  --blue-soft: rgba(79, 70, 229, 0.18);
  --green: #34d399;
  --amber: #818cf8;
  --violet: #4f46e5;
  --violet-hot: #818cf8;
  --orange: #818cf8;
  --glass: rgba(13, 11, 31, 0.78);
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
  --neon-shadow: 0 0 0 1px rgba(129, 140, 248, 0.12), 0 20px 48px rgba(0, 0, 0, 0.3);
}

body {
  background: #1b1b1a;
  color: var(--ink);
}

body::before {
  background:
    radial-gradient(circle at 22% 8%, rgba(79, 70, 229, 0.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(129, 140, 248, 0.12), transparent 30%);
  background-size: auto;
  mask-image: none;
}

.app-shell {
  background: #07061a;
}

.sidebar,
.main,
.detail-panel,
.drawer-panel,
.favorites-panel {
  background: #07061a;
  color: var(--ink);
}

.sidebar {
  border-color: rgba(199, 210, 254, 0.08);
  box-shadow: 18px 0 42px rgba(0, 0, 0, 0.28);
}

.brand {
  border-color: rgba(199, 210, 254, 0.1);
}

.brand-mark,
.trend-rank {
  background: linear-gradient(145deg, #4f46e5, #818cf8);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.26);
}

.side-group-title,
.sidebar-section > .section-title,
.section-title {
  color: #6d67dd;
  letter-spacing: 0.1em;
}

.side-group-title::after,
.sidebar-section > .section-title::after {
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.22), transparent);
}

.side-nav button,
.category-button {
  color: rgba(244, 243, 255, 0.72);
}

.side-nav button span {
  border-color: rgba(199, 210, 254, 0.1);
  background: #0d0b1f;
  box-shadow: inset 0 1px 0 rgba(199, 210, 254, 0.08), 0 12px 24px rgba(0, 0, 0, 0.24);
}

.side-nav button:hover,
.category-button:hover {
  background: rgba(30, 27, 58, 0.7);
  border-color: rgba(129, 140, 248, 0.2);
  color: #f4f3ff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.side-nav button.active,
.category-button.active {
  background: linear-gradient(135deg, rgba(19, 17, 58, 0.94), rgba(30, 27, 58, 0.92));
  border-color: rgba(79, 70, 229, 0.55);
  color: #f4f3ff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(199, 210, 254, 0.1);
}

.side-nav button.active::before {
  background: #4f46e5;
  box-shadow: 0 0 18px rgba(79, 70, 229, 0.65);
}

.side-nav button.active span {
  background: rgba(79, 70, 229, 0.22);
  border-color: rgba(129, 140, 248, 0.46);
  color: #c7d2fe;
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.22), inset 0 1px 0 rgba(199, 210, 254, 0.14);
}

.side-nav button em {
  background: #c7d2fe;
  color: #13113a;
  box-shadow: 0 12px 24px rgba(129, 140, 248, 0.2);
}

.topbar,
.toolbar,
.winner-finder,
.trend-hero,
.trend-note,
.empty,
.empty-detail,
.trend-empty,
.product-card,
.trend-row,
.favorite-item,
.llm-section,
.insight-section,
.potential-card,
.signal-card,
.stock-card,
.stock-trend-card,
.search-box,
.field {
  border-color: rgba(199, 210, 254, 0.1);
  background: #0d0b1f;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(199, 210, 254, 0.06);
}

.product-card,
.trend-row,
.potential-card,
.insight-section,
.llm-section,
.stock-card {
  background: linear-gradient(145deg, #13113a, #0d0b1f);
}

.product-card:hover,
.trend-row:hover {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 30px 68px rgba(0, 0, 0, 0.36), 0 0 28px rgba(79, 70, 229, 0.2);
}

.trend-hero,
.winner-finder {
  background: #0d0b1f;
}

.trend-note {
  background: rgba(30, 27, 58, 0.72);
  border-color: rgba(129, 140, 248, 0.18);
  color: #c7d2fe;
}

.winner-finder button,
.llm-button,
.generate-button,
.external-link {
  border-color: rgba(129, 140, 248, 0.45);
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.22);
}

.thumb,
.detail-thumb,
.favorite-item-thumb,
.upload-preview,
.image-preview {
  background: linear-gradient(145deg, #1e1b3a, #0d0b1f);
  border-color: rgba(199, 210, 254, 0.1);
}

.price,
.trend-main span,
.trend-metric strong,
.stock-card strong,
.stock-chip,
.winner-badge,
.tag {
  color: #34d399;
}

.winner-badge,
.stock-chip,
.source-badge,
.detail-source-badge,
.potential-card em {
  border-color: rgba(129, 140, 248, 0.28);
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
  box-shadow: none;
}

.source-badge.dropi,
.detail-source-badge.dropi,
.source-badge.amazon,
.detail-source-badge.amazon,
.source-badge.aliexpress,
.detail-source-badge.aliexpress,
.source-badge.shein,
.detail-source-badge.shein,
.source-badge.tiktok,
.detail-source-badge.tiktok {
  background: rgba(79, 70, 229, 0.22);
  color: #c7d2fe;
}

.trend-hero > strong {
  background: #1e1b3a;
  color: #c7d2fe;
}

.trend-stock strong {
  color: #f4f3ff;
}

.topbar p,
.winner-finder span,
.trend-hero p,
.trend-main p,
.trend-stock small,
.seller,
.field span,
.trend-hero span,
.trend-metric span,
.trend-stock span,
.detail-line span:first-child,
.insight-section p,
.insight-section li,
.llm-section p,
.llm-result p,
.brand span {
  color: #928caf;
}

.mobile-nav {
  background: #0d0b1f;
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.38);
}

.detail-actions {
  background: linear-gradient(to top, rgba(7, 6, 26, 0.98) 78%, rgba(7, 6, 26, 0));
}

/* Sidebar 3D control surface */
.sidebar {
  padding: 28px 18px 22px;
}

.side-nav {
  gap: 12px;
}

.side-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: rgba(251, 247, 255, 0.54);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.side-group-title::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(181, 100, 255, 0.24), transparent);
  content: "";
}

.side-nav button {
  min-height: 58px;
  border-radius: 12px;
  padding: 8px 12px;
  transform-style: preserve-3d;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.side-nav button span {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(17, 12, 25, 0.92);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.side-nav button strong {
  font-size: 16px;
}

.side-nav button:hover {
  border-color: rgba(181, 100, 255, 0.28);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), 0 0 24px rgba(125, 56, 255, 0.14);
  transform: translateY(-3px) rotateX(2deg);
}

.side-nav button.active {
  border-color: rgba(255, 122, 61, 0.54);
  background:
    linear-gradient(110deg, rgba(26, 218, 111, 0.15), rgba(125, 56, 255, 0.2) 52%, rgba(255, 122, 61, 0.12)),
    rgba(12, 8, 20, 0.88);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(125, 56, 255, 0.22),
    0 0 26px rgba(255, 122, 61, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.side-nav button.active span {
  background: linear-gradient(145deg, rgba(23, 219, 111, 0.28), rgba(125, 56, 255, 0.22));
  box-shadow:
    0 0 28px rgba(23, 219, 111, 0.2),
    0 16px 32px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.side-nav button em {
  background: linear-gradient(145deg, #fff6df, #ffd8a8);
  color: #4d260a;
  box-shadow: 0 12px 26px rgba(255, 177, 95, 0.22);
}

.sidebar-section {
  margin-top: 30px;
}

.sidebar-section > .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(251, 247, 255, 0.54);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sidebar-section > .section-title::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 61, 0.22), transparent);
  content: "";
}

.category-list {
  gap: 10px;
}

.category-button {
  min-height: 46px;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  transform-style: preserve-3d;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.category-button:hover {
  border-color: rgba(181, 100, 255, 0.3);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26), 0 0 22px rgba(125, 56, 255, 0.12);
  transform: translateY(-2px);
}

.category-button.active {
  border-color: rgba(255, 122, 61, 0.48);
  background:
    linear-gradient(105deg, rgba(23, 219, 111, 0.15), rgba(125, 56, 255, 0.18)),
    rgba(11, 22, 18, 0.92);
  color: #3dff91;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(23, 219, 111, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Opportunity detail card */
.opportunity-card {
  display: grid;
  gap: 13px;
  margin-top: 12px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, #13113a, #0d0b1f);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(199, 210, 254, 0.08);
  padding: 14px;
}

.opportunity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.opportunity-head span,
.opportunity-grid span {
  display: block;
  color: #928caf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.opportunity-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
  font-size: 13px;
  padding: 6px 10px;
  text-align: right;
}

.opportunity-card p {
  margin: 0;
  color: #c7c2df;
  line-height: 1.42;
}

.opportunity-grid {
  display: grid;
  gap: 10px;
}

.opportunity-grid div {
  border-top: 1px solid rgba(199, 210, 254, 0.1);
  padding-top: 10px;
}

.opportunity-grid strong {
  display: block;
  margin-top: 4px;
  color: #f4f3ff;
  line-height: 1.32;
}

.ads-from-product-button {
  min-height: 42px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.22);
}

.ads-from-product-button:hover {
  background: #5b54ee;
}

/* Winner scan transition */
.winner-scan-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(79, 70, 229, 0.24), transparent 34%),
    rgba(7, 6, 26, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 120;
  backdrop-filter: blur(18px);
}

.winner-scan-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.winner-scan-card {
  display: grid;
  place-items: center;
  width: min(560px, calc(100vw - 28px));
  min-height: min(50vh, 480px);
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(19, 17, 58, 0.96), rgba(13, 11, 31, 0.98)),
    #0d0b1f;
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(79, 70, 229, 0.22),
    inset 0 1px 0 rgba(199, 210, 254, 0.12);
  overflow: hidden;
  padding: 32px;
  text-align: center;
  transform: translateY(10px) scale(0.98);
  transition: transform 220ms ease;
}

.winner-scan-overlay.open .winner-scan-card {
  transform: translateY(0) scale(1);
}

.scan-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: min(430px, 100%);
  min-height: 170px;
  margin-bottom: 12px;
  perspective: 900px;
}

.scan-hologram {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(360px, 92%);
  min-height: 132px;
  border: 1px solid rgba(129, 140, 248, 0.46);
  border-radius: 18px;
  background: rgba(19, 17, 58, 0.52);
  box-shadow:
    0 0 36px rgba(79, 70, 229, 0.26),
    inset 0 1px 0 rgba(199, 210, 254, 0.18);
  opacity: 0;
  overflow: hidden;
  padding: 18px;
  text-align: center;
  transform: rotateX(64deg) rotateZ(-2deg) translateY(22px) scale(0.64);
  transform-origin: 50% 100%;
  animation: hologramOpen 3s ease-in-out forwards;
}

.scan-hologram::before {
  position: absolute;
  inset: auto 16% -26px;
  height: 44px;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.42), transparent 70%);
  content: "";
}

.holo-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(129, 140, 248, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.13) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.55;
  animation: holoGrid 1.1s linear infinite;
}

.scan-hologram strong,
.scan-hologram span {
  position: relative;
  z-index: 1;
}

.scan-hologram strong {
  color: #f4f3ff;
  font-size: 20px;
  line-height: 1.08;
}

.scan-hologram span {
  color: #818cf8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scan-copy span {
  color: #818cf8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scan-copy h2 {
  margin: 8px 0 8px;
  color: #f4f3ff;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.scan-copy p {
  max-width: 42ch;
  margin: 0;
  color: #928caf;
  line-height: 1.45;
}

.scan-curve {
  width: min(420px, 100%);
  margin-top: 22px;
}

.scan-curve svg {
  display: block;
  width: 100%;
  height: auto;
}

.scan-curve-base,
.scan-curve-live {
  fill: none;
  stroke-linecap: round;
  stroke-width: 8;
}

.scan-curve-base {
  stroke: rgba(199, 210, 254, 0.12);
}

.scan-curve-live {
  stroke: #818cf8;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  filter: drop-shadow(0 0 12px rgba(129, 140, 248, 0.7));
  animation: scanCurve 3s ease-in-out forwards;
}

.scan-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 18px;
}

.scan-steps span {
  min-height: 34px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 999px;
  background: rgba(30, 27, 58, 0.72);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.decision-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 2px;
}

.decision-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  border: 1px solid rgba(199, 210, 254, 0.16);
  border-radius: 999px;
  background: rgba(30, 27, 58, 0.68);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.decision-tag.ready {
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.13);
  color: #34d399;
}

.decision-tag.supplier {
  border-color: rgba(129, 140, 248, 0.46);
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
}

.decision-tag.validate {
  border-color: rgba(129, 140, 248, 0.34);
  background: rgba(129, 140, 248, 0.12);
  color: #aebaff;
}

.decision-tag.risk {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(248, 113, 113, 0.13);
  color: #fca5a5;
}

.chat-message.assistant {
  border: 1px solid rgba(199, 210, 254, 0.12);
  background: #f4f3ff;
  color: #13113a;
}

.chat-message.user {
  border: 1px solid rgba(129, 140, 248, 0.38);
  background: #4f46e5;
  color: #fff;
}

.chat-form input {
  background: #0d0b1f;
  color: #f4f3ff;
}

.chat-form input::placeholder {
  color: #928caf;
}

.generated-image-result {
  display: grid;
  gap: 10px;
  width: 100%;
}

.generated-image-result img {
  display: block;
  width: 100%;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 12px;
  background: #0d0b1f;
}

.generated-image-result span {
  color: #928caf;
  font-size: 12px;
  font-weight: 800;
}

.generated-placeholder.generating::before {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 3px solid rgba(199, 210, 254, 0.16);
  border-top-color: #818cf8;
  border-radius: 999px;
  content: "";
  animation: scanSpin 0.9s linear infinite;
}

.generated-image-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.generated-image-actions span {
  margin-right: auto;
}

.generated-image-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(129, 140, 248, 0.32);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 900;
  padding: 0 11px;
  text-decoration: none;
}

.generate-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ad-generation-progress {
  display: grid;
  gap: 14px;
  width: 100%;
}

.ad-generation-progress header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.ad-generation-progress header span,
.ad-progress-card span {
  display: block;
  color: #928caf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-generation-progress header strong {
  display: block;
  margin-top: 4px;
  color: #f4f3ff;
  font-size: 19px;
  line-height: 1.05;
}

.ad-generation-progress header small {
  color: #928caf;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.ad-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ad-progress-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border: 1px solid rgba(199, 210, 254, 0.14);
  border-radius: 12px;
  background: linear-gradient(145deg, #15133d, #0d0b1f);
  padding: 13px;
  box-shadow: inset 0 1px 0 rgba(199, 210, 254, 0.08);
}

.ad-progress-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(199, 210, 254, 0.1) 45%, transparent 78%);
  content: "";
  transform: translateX(-100%);
  animation: adProgressSweep 1.6s ease-in-out infinite;
}

.ad-progress-card strong,
.ad-progress-card p,
.ad-progress-card span {
  position: relative;
  z-index: 1;
}

.ad-progress-card strong {
  display: block;
  margin-top: 16px;
  color: #f4f3ff;
  font-size: 15px;
  line-height: 1.15;
}

.ad-progress-card p {
  margin: 9px 0 0;
  color: #aaa4c2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

@keyframes adProgressSweep {
  0% {
    transform: translateX(-110%);
  }
  55%, 100% {
    transform: translateX(110%);
  }
}

.generated-gallery-section {
  display: grid;
  gap: 10px;
  margin: 0 14px 14px;
  border: 1px solid rgba(199, 210, 254, 0.1);
  border-radius: 12px;
  background: #0d0b1f;
  padding: 12px;
}

.generated-gallery-section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.generated-gallery-section h3 {
  margin: 0;
  color: #f4f3ff;
  font-size: 15px;
}

.generated-gallery-section header span,
.generated-gallery-empty {
  color: #928caf;
  font-size: 12px;
}

.generated-images-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.generated-gallery-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid rgba(199, 210, 254, 0.1);
  border-radius: 12px;
  background: rgba(7, 6, 26, 0.72);
  padding: 8px;
}

.generated-gallery-item button {
  display: block;
  width: 82px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #13113a;
  cursor: pointer;
  padding: 0;
}

.generated-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.generated-gallery-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: #f4f3ff;
  font-size: 12px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.generated-gallery-item span {
  display: block;
  margin-top: 4px;
  color: #928caf;
  font-size: 11px;
}

.generated-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.generated-gallery-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.16);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 900;
  padding: 0 9px;
  text-decoration: none;
}

.ads-studio-view {
  display: none;
  gap: 14px;
}

.ads-studio-view.visible {
  display: grid;
}

.ads-studio-hero,
.ads-studio-tabs,
.ads-studio-empty,
.ads-studio-card {
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 0%, rgba(129, 140, 248, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(19, 17, 58, 0.96), rgba(13, 11, 31, 0.98));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(199, 210, 254, 0.08);
}

.ads-studio-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.ads-studio-hero span {
  color: #818cf8;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ads-studio-hero h2 {
  color: #f4f3ff;
  font-size: 30px;
  line-height: 1;
  margin: 5px 0 6px;
}

.ads-studio-hero p,
.ads-studio-empty p {
  color: #aaa4c6;
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
}

.ads-studio-hero button,
.ads-studio-empty button {
  min-height: 46px;
  border: 1px solid rgba(129, 140, 248, 0.44);
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 1000;
  padding: 0 18px;
}

.ads-studio-tabs {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.ads-studio-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(199, 210, 254, 0.1);
  border-radius: 10px;
  background: rgba(7, 6, 26, 0.62);
  color: #c7d2fe;
  cursor: pointer;
  font-weight: 1000;
  padding: 0 16px;
}

.ads-studio-tabs button.active {
  border-color: rgba(129, 140, 248, 0.64);
  background: rgba(79, 70, 229, 0.28);
  color: #f4f3ff;
}

.ads-studio-tabs span {
  display: grid;
  min-width: 26px;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(199, 210, 254, 0.13);
  color: #ffffff;
  font-size: 12px;
}

.ads-studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ads-studio-card {
  padding: 12px;
  transform: translateZ(0);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ads-studio-card:hover {
  border-color: rgba(129, 140, 248, 0.58);
  box-shadow: 0 28px 70px rgba(79, 70, 229, 0.2), inset 0 1px 0 rgba(199, 210, 254, 0.1);
  transform: translateY(-2px);
}

.ads-studio-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 12px;
  background: #07061a;
  cursor: pointer;
  padding: 0;
}

.ads-studio-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ads-studio-card-body {
  display: grid;
  gap: 6px;
  padding: 12px 2px 10px;
}

.ads-studio-card-body span {
  color: #34d399;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.ads-studio-card-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: #f4f3ff;
  font-size: 18px;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ads-studio-card-body small {
  color: #928caf;
  font-size: 12px;
  font-weight: 800;
}

.ads-studio-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ads-studio-actions a {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.16);
  color: #f4f3ff;
  font-size: 13px;
  font-weight: 1000;
  text-decoration: none;
}

.ads-studio-actions a:last-child {
  border-color: rgba(52, 211, 153, 0.36);
  background: rgba(52, 211, 153, 0.1);
  color: #a7f3d0;
}

.ads-studio-empty {
  display: grid;
  min-height: 320px;
  place-items: center;
  text-align: center;
  padding: 34px;
}

.ads-studio-empty strong {
  color: #f4f3ff;
  font-size: 24px;
  line-height: 1.1;
}

.ads-studio-empty p {
  max-width: 520px;
  margin: 10px auto 18px;
}

.decision-tag.lab {
  border-color: rgba(199, 210, 254, 0.46);
  background: rgba(129, 140, 248, 0.18);
  color: #f4f3ff;
}

.test-lab-view {
  display: none;
  gap: 14px;
}

.test-lab-view.visible {
  display: grid;
}

.test-lab-hero,
.test-lab-empty,
.test-lab-row {
  border: 1px solid rgba(199, 210, 254, 0.1);
  border-radius: 14px;
  background: linear-gradient(145deg, #13113a, #0d0b1f);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(199, 210, 254, 0.07);
}

.test-lab-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.test-lab-hero span,
.test-lab-empty span,
.test-lab-row label span,
.test-lab-margin span {
  display: block;
  color: #928caf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.test-lab-hero h2 {
  margin: 5px 0 5px;
  font-size: 30px;
  line-height: 1;
}

.test-lab-hero p,
.test-lab-empty p,
.test-lab-product p,
.test-lab-product span {
  margin: 0;
  color: #928caf;
}

.test-lab-hero > strong {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(79, 70, 229, 0.2);
  color: #c7d2fe;
  font-size: 26px;
  box-shadow: inset 0 1px 0 rgba(199, 210, 254, 0.08);
}

.test-lab-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  text-align: center;
}

.test-lab-empty strong {
  margin: 8px 0;
  color: #f4f3ff;
  font-size: 28px;
}

.test-lab-list {
  display: grid;
  gap: 12px;
}

.test-lab-loading {
  border: 1px dashed rgba(199, 210, 254, 0.16);
  border-radius: 14px;
  color: #928caf;
  padding: 22px;
  text-align: center;
}

.test-lab-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(5, minmax(105px, 0.7fr)) minmax(120px, 0.7fr) auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
}

.test-lab-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.test-lab-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(199, 210, 254, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, #1e1b3a, #0d0b1f);
  color: #928caf;
  font-weight: 900;
}

.format-pack {
  display: grid;
  gap: 6px;
  min-height: 48px;
  border: 1px solid rgba(199, 210, 254, 0.14);
  border-radius: 10px;
  background: rgba(7, 6, 26, 0.86);
  padding: 10px 12px;
}

.format-pack span {
  color: #928caf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.format-pack strong {
  color: #f4f3ff;
  font-size: 13px;
}

.generated-batch-result {
  display: grid;
  gap: 14px;
  width: 100%;
  max-height: min(72vh, 820px);
  overflow: auto;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(129, 140, 248, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(7, 6, 26, 0.96), rgba(30, 27, 58, 0.82));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  padding: 14px;
  text-align: left;
}

.generated-batch-result header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.generated-batch-result header span,
.generated-batch-result header small {
  color: #928caf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generated-batch-result header strong {
  margin: 3px 0 0;
  color: #f4f3ff;
  font-size: 20px;
}

.generated-batch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.generated-batch-card {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(19, 17, 58, 0.92), rgba(7, 6, 26, 0.92));
  padding: 9px;
}

.generated-batch-card button {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #07061a;
  cursor: pointer;
  padding: 0;
}

.generated-batch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.generated-batch-card strong {
  display: block;
  color: #f4f3ff;
  font-size: 12px;
  line-height: 1.2;
}

.generated-batch-card span {
  display: block;
  margin-top: 3px;
  color: #928caf;
  font-size: 11px;
}

.generated-batch-card nav {
  display: flex;
  gap: 6px;
}

.generated-batch-card a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.test-lab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-lab-product h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 3px 0 4px;
  color: #f4f3ff;
  font-size: 15px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.test-lab-row label {
  display: grid;
  gap: 6px;
}

.test-lab-row input,
.test-lab-row select,
.test-lab-row textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 10px;
  background: #07061a;
  color: #f4f3ff;
  padding: 0 10px;
}

.test-lab-row textarea {
  min-height: 64px;
  padding: 10px;
  resize: vertical;
}

.test-lab-margin {
  display: grid;
  gap: 6px;
  min-height: 56px;
  align-content: center;
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.08);
  padding: 8px 10px;
}

.test-lab-margin strong {
  color: #34d399;
}

.jeanka-calculator {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(199, 210, 254, 0.08);
  padding-top: 10px;
}

.jeanka-section {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 0%, rgba(129, 140, 248, 0.16), transparent 36%),
    rgba(7, 6, 26, 0.52);
  padding: 12px;
}

.jeanka-section header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.jeanka-section header span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 1000;
}

.jeanka-section header strong {
  color: #f4f3ff;
  font-size: 14px;
}

.jeanka-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.jeanka-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.jeanka-metrics div,
.jeanka-viability {
  display: grid;
  gap: 4px;
  min-height: 54px;
  align-content: center;
  border: 1px solid rgba(199, 210, 254, 0.1);
  border-radius: 10px;
  background: rgba(19, 17, 58, 0.7);
  padding: 8px 10px;
}

.jeanka-metrics span,
.jeanka-viability span {
  color: #aaa4c6;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jeanka-metrics strong,
.jeanka-viability strong {
  color: #f4f3ff;
  font-size: 14px;
  line-height: 1.12;
}

.jeanka-viability {
  border-color: rgba(129, 140, 248, 0.28);
  background: rgba(79, 70, 229, 0.14);
}

.jeanka-viability.good {
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.1);
}

.jeanka-viability.good strong {
  color: #34d399;
}

.jeanka-viability.warning {
  border-color: rgba(251, 191, 36, 0.42);
  background: rgba(251, 191, 36, 0.1);
}

.jeanka-viability.warning strong {
  color: #fbbf24;
}

.jeanka-viability.danger {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(248, 113, 113, 0.1);
}

.jeanka-viability.danger strong {
  color: #f87171;
}

.test-lab-validation,
.test-lab-results,
.test-lab-notes {
  grid-column: 1 / -1;
}

.test-lab-validation,
.test-lab-results {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 10px;
  align-items: end;
  border-top: 1px solid rgba(199, 210, 254, 0.08);
  padding-top: 10px;
}

.test-lab-results {
  grid-template-columns: repeat(6, minmax(110px, 1fr));
}

.test-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.test-check {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  min-height: 38px;
  border: 1px solid rgba(199, 210, 254, 0.1);
  border-radius: 10px;
  background: rgba(7, 6, 26, 0.72);
  color: #c7d2fe;
  cursor: pointer;
  padding: 8px 10px;
}

.test-check input {
  width: 16px;
  min-height: 16px;
  accent-color: #34d399;
}

.test-check span {
  color: #c7d2fe !important;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.test-lab-remove,
.test-lab-detail-button {
  min-height: 38px;
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
  cursor: pointer;
  font-weight: 900;
  padding: 0 12px;
}

.test-lab-detail-button {
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
}

.test-lab-detail-button.active {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

@media (max-width: 1180px) {
  .ads-studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jeanka-calculator {
    grid-template-columns: 1fr;
  }

  .test-lab-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .test-lab-product {
    grid-column: 1 / -1;
  }

  .test-lab-validation,
  .test-lab-results {
    grid-template-columns: 1fr 1fr;
  }

  .test-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .ads-studio-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .ads-studio-hero h2 {
    font-size: 25px;
  }

  .ads-studio-tabs {
    overflow-x: auto;
  }

  .ads-studio-tabs button {
    flex: 0 0 auto;
  }

  .ads-studio-grid {
    grid-template-columns: 1fr;
  }

  .test-lab-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .test-lab-row {
    grid-template-columns: 1fr;
  }

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

  .test-lab-validation,
  .test-lab-results,
  .test-checklist {
    grid-template-columns: 1fr;
  }
}

@keyframes scanSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes robotEnter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.9);
  }
  18%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  42%,
  70% {
    transform: translateY(-4px) scale(1.01);
  }
}

@keyframes robotEyes {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

@keyframes hologramOpen {
  0%,
  24% {
    opacity: 0;
    transform: rotateX(76deg) rotateZ(-2deg) translateY(26px) scale(0.42);
  }
  48%,
  100% {
    opacity: 1;
    transform: rotateX(0deg) rotateZ(-2deg) translateY(0) scale(1);
  }
}

@keyframes holoGrid {
  to {
    background-position: 0 18px, 18px 0;
  }
}

@keyframes scanCurve {
  0% {
    stroke-dashoffset: 520;
  }
  82%,
  100% {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 760px) {
  .winner-scan-card {
    min-height: 50vh;
    padding: 26px 18px;
  }

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

/* ADS IA contrast fixes */
.image-panel .image-form textarea,
.image-panel .image-form select {
  border-color: rgba(199, 210, 254, 0.16);
  background: #0d0b1f;
  color: #f4f3ff;
}

.image-panel .image-form textarea::placeholder {
  color: #928caf;
}

.image-panel .image-form select option {
  background: #0d0b1f;
  color: #f4f3ff;
}

.image-panel .upload-preview,
.image-panel .image-preview,
.image-panel .generated-placeholder {
  border-color: rgba(199, 210, 254, 0.14);
  background: linear-gradient(145deg, #13113a, #0d0b1f);
  color: #c7d2fe;
}

.image-panel .upload-preview strong,
.image-panel .image-preview strong,
.image-panel .generated-placeholder strong {
  color: #f4f3ff;
}

.image-panel .upload-preview small,
.image-panel .generated-placeholder span {
  color: #928caf;
}

.image-panel .generated-placeholder p {
  color: #c7d2fe;
}

/* Compact expandable categories */
.country-panel {
  margin-top: 22px;
}

.country-list {
  display: grid;
  gap: 8px;
}

.country-button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 13px;
  background: rgba(30, 27, 58, 0.44);
  color: #c7d2fe;
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.country-button:hover {
  border-color: rgba(129, 140, 248, 0.42);
  background: rgba(49, 46, 129, 0.36);
  transform: translateY(-1px);
}

.country-button.active {
  border-color: rgba(52, 211, 153, 0.48);
  background:
    radial-gradient(circle at 85% 20%, rgba(52, 211, 153, 0.18), transparent 42%),
    rgba(19, 17, 58, 0.88);
  color: #f4f3ff;
}

.country-button.locked {
  cursor: pointer;
  opacity: 0.62;
}

.country-button span {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 10px;
  background: rgba(7, 6, 26, 0.52);
  color: #f4f3ff;
  font-size: 12px;
  font-weight: 1000;
}

.country-button strong {
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-button em {
  border-radius: 999px;
  background: rgba(199, 210, 254, 0.1);
  color: #c7d2fe;
  font-size: 10px;
  font-style: normal;
  font-weight: 1000;
  padding: 4px 7px;
  text-transform: uppercase;
}

.country-button.locked em::before {
  content: "Lock ";
}

.category-panel {
  position: relative;
  margin-top: 26px;
}

.category-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(129, 140, 248, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 0%, rgba(129, 140, 248, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(19, 17, 58, 0.94), rgba(7, 6, 26, 0.96));
  color: #f4f3ff;
  cursor: pointer;
  padding: 12px 14px;
  text-align: left;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(199, 210, 254, 0.08);
}

.category-toggle small {
  display: block;
  color: #818cf8;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-toggle strong {
  display: block;
  overflow: hidden;
  color: #f4f3ff;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-toggle em {
  display: grid;
  min-width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(199, 210, 254, 0.12);
  color: #c7d2fe;
  font-size: 12px;
  font-style: normal;
  font-weight: 1000;
}

.category-toggle i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(79, 70, 229, 0.2);
  color: #c7d2fe;
  font-style: normal;
  transition: transform 0.18s ease;
}

.category-panel[data-expanded="true"] .category-toggle {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 24px 54px rgba(79, 70, 229, 0.18), inset 0 1px 0 rgba(199, 210, 254, 0.1);
}

.category-panel[data-expanded="true"] .category-toggle i {
  transform: rotate(180deg);
}

.category-popover {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.22s ease, opacity 0.18s ease, transform 0.18s ease, padding 0.18s ease;
}

.category-panel[data-expanded="true"] .category-popover {
  max-height: min(46vh, 460px);
  overflow: hidden;
  opacity: 1;
  padding-top: 10px;
  transform: translateY(0);
}

.category-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(199, 210, 254, 0.12);
  border-radius: 12px;
  background: rgba(7, 6, 26, 0.78);
  color: #928caf;
  padding: 0 12px;
}

.category-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f3ff;
  font-size: 14px;
  font-weight: 800;
}

.category-search input::placeholder {
  color: #928caf;
}

.category-panel .category-list {
  display: grid;
  gap: 8px;
  max-height: calc(min(46vh, 460px) - 62px);
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.category-panel .category-button {
  min-height: 40px;
  border-radius: 11px;
  font-size: 14px;
  padding: 8px 12px;
}

.category-panel .category-button[hidden] {
  display: none;
}

/* Free plan gates */
body[data-plan="free"] .brand::after {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(129, 207, 248, 0.38);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.22);
  color: #c7d2fe;
  content: "FREE";
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-left: auto;
  padding: 0 9px;
}

.side-nav button.plan-locked,
.mobile-nav button.plan-locked {
  opacity: 0.62;
}

.side-nav button.plan-locked::after,
.mobile-nav button.plan-locked::after {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(199, 210, 254, 0.22);
  border-radius: 999px;
  background: rgba(7, 6, 18, 0.72);
  color: #f8e7c5;
  content: "🔒";
  font-size: 12px;
  box-shadow: 0 0 22px rgba(141, 91, 255, 0.24);
}

.mobile-nav button.plan-locked {
  position: relative;
}

.mobile-nav button.plan-locked::after {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.product-card.winner-locked-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(129, 140, 248, 0.4);
  cursor: pointer;
}

.product-card.winner-locked-card > :not(.winner-lock-overlay) {
  filter: blur(9px) saturate(0.65) brightness(0.72);
  opacity: 0.52;
  transform: scale(0.985);
  user-select: none;
}

.winner-lock-overlay {
  position: absolute;
  z-index: 6;
  inset: 14px;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.3), transparent 52%),
    rgba(7, 6, 18, 0.78);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 55px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(6px);
  padding: 18px;
}

.winner-lock-overlay strong {
  font-size: 16px;
  line-height: 1.2;
}

.winner-lock-overlay small {
  color: #c7d2fe;
  font-size: 12px;
  line-height: 1.35;
}

.upgrade-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: min(460px, calc(100vw - 32px));
  border: 1px solid rgba(129, 140, 248, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(19, 17, 58, 0.96), rgba(7, 6, 18, 0.96)),
    #07061a;
  color: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48), 0 0 42px rgba(79, 70, 229, 0.2);
  opacity: 0;
  padding: 16px;
  transform: translateY(18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.upgrade-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.upgrade-toast span {
  display: block;
  color: #818cf8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.upgrade-toast strong {
  display: block;
  font-size: 16px;
}

.upgrade-toast p {
  color: #c7d2fe;
  font-size: 13px;
  line-height: 1.35;
  margin: 4px 0 0;
}

.upgrade-toast button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0 14px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .upgrade-toast {
    right: 12px;
    bottom: 92px;
    left: 12px;
    max-width: none;
  }
}

/* EOF reference dashboard skin */
html,
body,
body[data-authenticated="true"],
.app-shell,
.main {
  background: #0f1011 !important;
  color: #eeeeee !important;
}

.app-shell {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) 390px !important;
  height: 100vh !important;
  overflow: hidden !important;
}

.sidebar,
.detail-panel {
  height: 100vh !important;
  overflow: auto !important;
  background: #111213 !important;
  color: #eeeeee !important;
  border-color: #242629 !important;
  box-shadow: none !important;
}

.main {
  height: 100vh !important;
  overflow: auto !important;
  padding: 30px 28px !important;
}

body::before,
body::after,
.app-shell::before,
.app-shell::after,
.main::before,
.main::after,
.product-card::before,
.side-nav button.active::before {
  display: none !important;
  content: none !important;
}

.brand,
.topbar,
.main-header,
.header-card,
.drawer-header,
.favorites-header,
.chat-form {
  background: #111213 !important;
  border-color: #242629 !important;
  box-shadow: none !important;
}

.topbar,
.main-header,
.header-card {
  margin: -30px -28px 26px !important;
  padding: 18px 28px !important;
  border-radius: 0 !important;
  border-width: 0 0 1px !important;
}

.brand-mark,
.logo-mark {
  background: #3b3c3f !important;
  color: #f4f4f4 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.account-card,
.country-panel,
.category-panel,
.winner-finder,
.stock-trends-view,
.test-lab-view,
.ads-studio-card,
.ads-studio-hero,
.product-card,
.detail-card,
.signal-card,
.potential-card,
.stock-card,
.trend-row,
.test-lab-product,
.generated-ad-card,
.favorite-item,
.plan-card,
.modal-card,
.drawer-panel,
.favorites-panel,
.image-upload-zone,
.generated-ad-preview,
.ads-result-card,
.empty,
.empty-detail,
.empty-card,
.loading-card {
  background: #121314 !important;
  color: #eeeeee !important;
  border: 1px solid #242629 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.side-nav button,
.category-button,
.country-button {
  min-height: 38px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #b8bbc1 !important;
  box-shadow: none !important;
  transform: none !important;
}

.side-nav button span,
.category-button span,
.country-button span {
  background: transparent !important;
  border: 0 !important;
  color: #a3a7ae !important;
  box-shadow: none !important;
}

.side-nav button:hover,
.category-button:hover,
.country-button:hover {
  background: #191a1c !important;
  color: #f0f0f0 !important;
}

.side-nav button.active,
.category-button.active,
.country-button.active {
  background: #222326 !important;
  color: #f4f4f4 !important;
  border: 0 !important;
}

#sideChatButton:not(.active) strong {
  color: #5cc7dc !important;
}

.section-title,
.muted,
.seller,
.tag,
.meta,
.topbar p,
.main-header p,
.header-card p,
.drawer-header p,
.favorites-header p,
.winner-finder span,
.product-card p,
.detail-row span:first-child,
.detail-meta,
.empty,
.empty-detail {
  color: #90949c !important;
}

.side-nav button em,
#favoritesCount,
#testLabCount,
.pill,
.count-pill,
.country-status,
.plan-badge,
.source-badge,
.winner-badge,
.stock-chip,
.detail-source-badge,
.risk-chip,
.status-chip {
  background: #25272a !important;
  color: #e7e7e7 !important;
  border: 1px solid #303236 !important;
  box-shadow: none !important;
}

.toolbar,
.filters-card,
.finder-controls {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.search-box,
.field,
.category-toggle,
.select-control,
input,
select,
textarea {
  background: #131415 !important;
  color: #eeeeee !important;
  border: 1px solid #242629 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: #727780 !important;
}

input:focus,
select:focus,
textarea:focus,
.search-box:focus-within,
.field:focus-within {
  border-color: #4a4d52 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06) !important;
}

button,
.button,
.icon-button,
.text-button,
.menu-button,
.nav-icon-button,
.llm-button,
.account-card button,
.plan-card button,
.pager button,
.detail-action,
.download-button {
  background: #171819 !important;
  color: #f1f1f1 !important;
  border: 1px solid #2a2c30 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.winner-finder button,
.generate-button,
.chat-form button,
.auth-actions .primary,
.ads-studio-hero button,
.ads-studio-empty button {
  background: #f2f2f2 !important;
  color: #111213 !important;
  border-color: #f2f2f2 !important;
}

.product-card:hover,
button:hover,
.icon-button:hover,
.text-button:hover,
.menu-button:hover,
.nav-icon-button:hover,
.pager button:hover,
.detail-action:hover {
  border-color: #3a3d42 !important;
  background-color: #202124 !important;
  transform: translateY(-1px) !important;
}

.thumb,
.product-image,
.detail-image,
.detail-thumb {
  background: #181a1c !important;
  border: 1px solid #242629 !important;
  color: #686d75 !important;
  border-radius: 8px !important;
}

.price,
.score-value,
.metric-value,
.trend-value,
.stock-value,
.topbar h1,
.main-header h1,
.header-card h1,
.product-card h2,
.detail-content h2,
.detail-content h3,
.drawer-header h2,
.favorites-header h2 {
  color: #f3f3f3 !important;
}

.favorite-button {
  background: #eeeeee !important;
  color: #111 !important;
  border: 0 !important;
}

.panel-backdrop.open,
.modal-backdrop.open {
  background: rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: none !important;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  .detail-panel {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block !important;
    height: auto !important;
    overflow: auto !important;
  }

  .sidebar,
  .main,
  .detail-panel {
    height: auto !important;
  }

  .main {
    padding: 18px 14px 92px !important;
  }
}

/* Final landing-test white canvas override. */
html:has(body[data-authenticated="false"]),
body[data-authenticated="false"] {
  background: #ffffff !important;
}

body[data-authenticated="false"] .auth-gate {
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(126, 86, 255, 0.16), transparent 28%),
    radial-gradient(circle at 91% 18%, rgba(49, 160, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 52%, #ffffff 100%) !important;
  color: #111528 !important;
}

body[data-authenticated="false"] .landing-nav {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(111, 93, 180, 0.12) !important;
  box-shadow: 0 18px 60px rgba(54, 43, 112, 0.12) !important;
}

body[data-authenticated="false"] .landing-auth-button,
body[data-authenticated="false"] .landing-auth-button:hover,
body[data-authenticated="false"] .auth-gate button,
body[data-authenticated="false"] .auth-gate button:hover {
  border-radius: 999px !important;
  text-shadow: none !important;
}

body[data-authenticated="false"] .landing-auth-button.primary,
body[data-authenticated="false"] .landing-nav .landing-auth-button.secondary,
body[data-authenticated="false"] .landing-pricing .landing-auth-button.primary,
body[data-authenticated="false"] .landing-auth-button.primary:hover,
body[data-authenticated="false"] .landing-nav .landing-auth-button.secondary:hover,
body[data-authenticated="false"] .landing-pricing .landing-auth-button.primary:hover {
  border: 0 !important;
  background: linear-gradient(135deg, #775bff, #4f35d6) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(107, 81, 255, 0.28) !important;
}

body[data-authenticated="false"] .landing-auth-button.ghost,
body[data-authenticated="false"] .landing-auth-button.ghost:hover {
  border: 0 !important;
  background: transparent !important;
  color: #242942 !important;
}

body[data-authenticated="false"] .landing-hero h1,
body[data-authenticated="false"] .landing-section h2,
body[data-authenticated="false"] .feature-directory-card strong,
body[data-authenticated="false"] .workflow-panel .landing-step-grid strong,
body[data-authenticated="false"] .insight-grid .testimonial-grid strong,
body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  color: #15182b !important;
}

body[data-authenticated="false"] .landing-hero p,
body[data-authenticated="false"] .feature-directory-card p,
body[data-authenticated="false"] .feature-directory-card li,
body[data-authenticated="false"] .workflow-panel .landing-step-grid p,
body[data-authenticated="false"] .insight-grid .testimonial-grid span,
body[data-authenticated="false"] .landing-pricing p {
  color: #74798c !important;
}

/* Final scroll behavior for the landing test. */
html:has(body[data-authenticated="false"]) {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
  background: #ffffff !important;
}

body[data-authenticated="false"] {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #ffffff !important;
}

body[data-authenticated="false"] .auth-gate {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  margin: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(126, 86, 255, 0.16), transparent 28%),
    radial-gradient(circle at 91% 18%, rgba(49, 160, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 52%, #ffffff 100%) !important;
}

body[data-authenticated="false"] .landing-page {
  position: relative !important;
  min-height: 100vh !important;
  height: auto !important;
  overflow: visible !important;
  padding-bottom: 84px !important;
}

body[data-authenticated="false"] .landing-dashboard-showcase,
body[data-authenticated="false"] .landing-product-preview,
body[data-authenticated="false"] .landing-section {
  overflow: visible !important;
}

/* Final source bar clarity pass. */
body[data-authenticated="false"] #radar.landing-logos,
body[data-authenticated="false"] #radar.source-strip {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(520px, 1.7fr) !important;
  align-items: center !important;
  gap: 34px !important;
  width: min(1380px, calc(100% - 48px)) !important;
  margin: 38px auto 76px !important;
  padding: 38px 44px !important;
  border: 1px solid rgba(124, 102, 236, 0.2) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(122, 95, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 20%, rgba(77, 143, 255, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 255, 0.88)) !important;
  box-shadow: 0 28px 86px rgba(76, 62, 147, 0.16) !important;
  color: #17172e !important;
}

body[data-authenticated="false"] #radar.landing-logos > span,
body[data-authenticated="false"] #radar.source-strip > span {
  max-width: 360px !important;
  color: #272348 !important;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
}

body[data-authenticated="false"] #radar.landing-logos > div,
body[data-authenticated="false"] #radar.source-strip > div {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

body[data-authenticated="false"] #radar.landing-logos em,
body[data-authenticated="false"] #radar.source-strip em {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 92px !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(111, 93, 180, 0.16) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 42px rgba(62, 50, 118, 0.1) !important;
  opacity: 1 !important;
  filter: none !important;
}

body[data-authenticated="false"] #radar.landing-logos img,
body[data-authenticated="false"] #radar.source-strip img {
  display: block !important;
  width: auto !important;
  max-width: 150px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}

body[data-authenticated="false"] #radar.landing-logos em:nth-child(1) img,
body[data-authenticated="false"] #radar.source-strip em:nth-child(1) img {
  max-width: 136px !important;
}

body[data-authenticated="false"] #radar.landing-logos em:nth-child(4),
body[data-authenticated="false"] #radar.source-strip em:nth-child(4) {
  background: #ffffff !important;
}

body[data-authenticated="false"] #radar.landing-logos em:nth-child(4) img,
body[data-authenticated="false"] #radar.source-strip em:nth-child(4) img {
  max-width: 132px !important;
}

@media (max-width: 920px) {
  body[data-authenticated="false"] #radar.landing-logos,
  body[data-authenticated="false"] #radar.source-strip {
    grid-template-columns: 1fr !important;
    width: min(100% - 28px, 720px) !important;
    padding: 28px 22px !important;
  }

  body[data-authenticated="false"] #radar.landing-logos > div,
  body[data-authenticated="false"] #radar.source-strip > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final persuasive pricing section. */
body[data-authenticated="false"] .landing-pricing {
  display: block !important;
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto 96px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .pricing-head {
  max-width: 760px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .pricing-head h2 {
  margin-bottom: 14px !important;
}

body[data-authenticated="false"] .landing-plan-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

body[data-authenticated="false"] .landing-plan-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  padding: 28px !important;
  border: 1px solid rgba(103, 88, 170, 0.14) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(123, 96, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 255, 0.96)) !important;
  box-shadow: 0 24px 76px rgba(46, 42, 100, 0.1) !important;
  color: #17182d !important;
}

body[data-authenticated="false"] .landing-plan-card.featured-plan {
  border-color: rgba(111, 85, 255, 0.42) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(122, 95, 255, 0.22), transparent 38%),
    linear-gradient(180deg, #ffffff, #f4f0ff) !important;
  box-shadow: 0 32px 96px rgba(91, 68, 220, 0.22) !important;
  transform: translateY(-10px) !important;
}

body[data-authenticated="false"] .plan-badge {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  background: #171334 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

body[data-authenticated="false"] .plan-eyebrow {
  display: inline-flex !important;
  width: fit-content !important;
  margin-bottom: 14px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  background: rgba(114, 91, 255, 0.1) !important;
  color: #6851df !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

body[data-authenticated="false"] .landing-plan-card h3 {
  margin: 0 0 12px !important;
  color: #15182b !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] .plan-price {
  display: flex !important;
  align-items: flex-end !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

body[data-authenticated="false"] .plan-price strong {
  color: #15182b !important;
  font-size: 44px !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
}

body[data-authenticated="false"] .plan-price small {
  margin-bottom: 5px !important;
  color: #7b8095 !important;
  font-weight: 850 !important;
}

body[data-authenticated="false"] .landing-plan-card p {
  min-height: 72px !important;
  margin: 0 0 20px !important;
  color: #686e83 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body[data-authenticated="false"] .landing-plan-card ul {
  display: grid !important;
  gap: 11px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  list-style: none !important;
}

body[data-authenticated="false"] .landing-plan-card li {
  position: relative !important;
  padding-left: 26px !important;
  color: #272b42 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body[data-authenticated="false"] .landing-plan-card li::before {
  position: absolute !important;
  top: 1px !important;
  left: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #775bff, #39d0b0) !important;
  color: #ffffff !important;
  content: "✓" !important;
  font-size: 11px !important;
  font-weight: 1000 !important;
}

body[data-authenticated="false"] .landing-plan-card .landing-auth-button {
  width: 100% !important;
  margin-top: auto !important;
  justify-content: center !important;
}

body[data-authenticated="false"] .landing-plan-card .landing-auth-button.ghost {
  border: 1px solid rgba(104, 81, 223, 0.22) !important;
  background: #ffffff !important;
  color: #241b59 !important;
  box-shadow: 0 14px 38px rgba(64, 52, 130, 0.08) !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] .landing-plan-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-authenticated="false"] .landing-plan-card.featured-plan {
    transform: none !important;
  }
}

/* Final pre-login boundary: never show the dashboard on the landing. */
body[data-authenticated="false"] .app-shell,
body[data-authenticated="false"] .mobile-nav,
body[data-authenticated="false"] .detail-panel,
body[data-authenticated="false"] .drawer-panel,
body[data-authenticated="false"] .panel-backdrop,
body[data-authenticated="false"] .modal-backdrop,
body[data-authenticated="false"] .winner-scan-overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-authenticated="false"] #authGate {
  display: block !important;
  visibility: visible !important;
}

/* Final brand logo placement. */
body[data-authenticated="false"] .landing-nav .auth-gate-brand {
  min-width: 128px !important;
  padding: 8px 12px !important;
  border-radius: 14px !important;
  background: #111111 !important;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.14) !important;
}

body[data-authenticated="false"] .landing-nav .auth-gate-brand img {
  display: block !important;
  width: 112px !important;
  height: auto !important;
  object-fit: contain !important;
}

.app-brand-logo {
  display: block;
  width: 76px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #111111;
}

/* Free-plan product previews: show depth without revealing the product. */
.product-card.winner-locked-card {
  overflow: hidden !important;
}

.product-card.winner-locked-card > :not(.winner-lock-overlay) {
  filter: blur(12px) saturate(0.35) brightness(0.62) !important;
  opacity: 0.48 !important;
  transform: scale(1.015) !important;
  pointer-events: none !important;
  user-select: none !important;
}

.product-card.winner-locked-card .winner-lock-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 9 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 22px !important;
  text-align: center !important;
  background: radial-gradient(circle at center, rgba(18, 14, 36, 0.72), rgba(8, 8, 12, 0.38)) !important;
  backdrop-filter: blur(3px) !important;
}

.product-card.winner-locked-card .winner-lock-overlay strong {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #141525 !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28) !important;
}

.product-card.winner-locked-card .winner-lock-overlay small {
  max-width: 220px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

/* PHP pre-login access popup: keep auth centered without jumping to the page end. */
body.auth-popup-open {
  overflow: hidden !important;
}

body[data-authenticated="false"] .auth-gate.auth-modal-open {
  overflow: visible !important;
}

body[data-authenticated="false"] .auth-gate.auth-modal-open .auth-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: grid !important;
  place-items: center !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  padding: clamp(16px, 4vw, 32px) !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  background: rgba(7, 7, 12, 0.66) !important;
  backdrop-filter: blur(18px) !important;
}

body[data-authenticated="false"] .auth-gate.auth-modal-open .auth-gate-card {
  width: min(440px, calc(100vw - 32px)) !important;
  max-height: min(760px, calc(100dvh - 32px)) !important;
  margin: 0 !important;
  overflow: auto !important;
  transform: none !important;
}

/* Lighter feature directory: less visual weight, clearer scanning. */
body[data-authenticated="false"] .feature-overview {
  display: block !important;
  width: min(1340px, calc(100% - 48px)) !important;
  margin: 34px auto 82px !important;
  padding: 0 !important;
}

body[data-authenticated="false"] .feature-overview .landing-section-head {
  max-width: 720px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .feature-overview .landing-section-head h2 {
  max-width: 780px !important;
  margin: 8px auto 0 !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card,
body[data-authenticated="false"] .feature-overview .feature-directory-card.primary-feature {
  position: relative !important;
  display: flex !important;
  min-height: 0 !important;
  grid-row: auto !important;
  flex-direction: column !important;
  align-content: start !important;
  padding: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(99, 83, 176, 0.12) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 251, 255, 0.84)) !important;
  box-shadow:
    0 18px 48px rgba(41, 38, 91, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card::before {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #7357ff, #33c5b2) !important;
  opacity: 0.62 !important;
  content: "" !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card:nth-child(2)::before {
  background: linear-gradient(180deg, #ff744f, #7357ff) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card:nth-child(3)::before {
  background: linear-gradient(180deg, #25a7df, #33c5b2) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card:nth-child(4)::before {
  background: linear-gradient(180deg, #7357ff, #ff744f) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 32px !important;
  align-self: flex-start !important;
  margin: 0 0 16px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(115, 87, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(115, 87, 255, 0.08) !important;
  color: #5a45db !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card strong {
  max-width: 260px !important;
  color: #15182b !important;
  font-size: clamp(20px, 1.5vw, 24px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card p {
  max-width: none !important;
  margin: 14px 0 0 !important;
  color: #74798c !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 650 !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card ul {
  display: grid !important;
  gap: 9px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  color: #4e5368 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card li::before {
  flex: 0 0 auto !important;
  width: 7px !important;
  height: 7px !important;
  margin: 6px 0 0 !important;
  border-radius: 999px !important;
  background: #7357ff !important;
  box-shadow: none !important;
  content: "" !important;
}

@media (max-width: 1180px) {
  body[data-authenticated="false"] .feature-overview .feature-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] .feature-overview {
    width: min(100% - 28px, 560px) !important;
    margin-bottom: 58px !important;
  }

  body[data-authenticated="false"] .feature-overview .feature-directory {
    grid-template-columns: 1fr !important;
  }
}

/* Timeline Premium: connected product journey instead of heavy cards. */
body[data-authenticated="false"] .feature-overview {
  width: min(1320px, calc(100% - 56px)) !important;
  margin: 48px auto 92px !important;
}

body[data-authenticated="false"] .feature-overview .landing-section-head {
  max-width: 760px !important;
  margin-bottom: 44px !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 16px 0 0 !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory::before {
  position: absolute !important;
  top: 39px !important;
  left: 7% !important;
  right: 7% !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(112, 91, 224, 0.34), rgba(51, 197, 178, 0.28), transparent) !important;
  content: "" !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card,
body[data-authenticated="false"] .feature-overview .feature-directory-card.primary-feature {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto auto auto 1fr !important;
  min-height: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card::before {
  position: absolute !important;
  top: 19px !important;
  left: 0 !important;
  width: 1px !important;
  height: calc(100% - 18px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(115, 87, 255, 0.22), transparent) !important;
  opacity: 1 !important;
  content: "" !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card:first-child::before {
  display: none !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card span {
  position: relative !important;
  z-index: 1 !important;
  display: inline-grid !important;
  width: 48px !important;
  height: 48px !important;
  place-items: center !important;
  align-self: start !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 1px solid rgba(115, 87, 255, 0.16) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, rgba(115, 87, 255, 0.16), rgba(51, 197, 178, 0.12)) !important;
  color: #35218f !important;
  font-size: 14px !important;
  font-weight: 1000 !important;
  box-shadow:
    0 18px 42px rgba(90, 69, 219, 0.16),
    0 0 0 8px rgba(255, 255, 255, 0.86) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card:nth-child(2) span {
  color: #a1462c !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.44)),
    linear-gradient(135deg, rgba(255, 116, 79, 0.18), rgba(115, 87, 255, 0.1)) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card:nth-child(3) span {
  color: #116f88 !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.44)),
    linear-gradient(135deg, rgba(37, 167, 223, 0.17), rgba(51, 197, 178, 0.13)) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card:nth-child(4) span {
  color: #4e2fa8 !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.44)),
    linear-gradient(135deg, rgba(115, 87, 255, 0.16), rgba(255, 116, 79, 0.13)) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card strong {
  max-width: 250px !important;
  color: #14172a !important;
  font-size: clamp(22px, 1.65vw, 28px) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card p {
  max-width: 270px !important;
  margin: 14px 0 0 !important;
  color: #72788c !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card li {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  gap: 0 !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(116, 91, 230, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.68) !important;
  color: #53596e !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 28px rgba(37, 34, 84, 0.05) !important;
}

body[data-authenticated="false"] .feature-overview .feature-directory-card li::before {
  display: none !important;
}

@media (max-width: 1180px) {
  body[data-authenticated="false"] .feature-overview .feature-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px 0 !important;
  }

  body[data-authenticated="false"] .feature-overview .feature-directory::before {
    display: none !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] .feature-overview {
    width: min(100% - 30px, 560px) !important;
    margin: 34px auto 64px !important;
  }

  body[data-authenticated="false"] .feature-overview .feature-directory {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-left: 18px !important;
  }

  body[data-authenticated="false"] .feature-overview .feature-directory-card,
  body[data-authenticated="false"] .feature-overview .feature-directory-card.primary-feature {
    padding: 0 0 34px 28px !important;
  }

  body[data-authenticated="false"] .feature-overview .feature-directory-card::before,
  body[data-authenticated="false"] .feature-overview .feature-directory-card:first-child::before {
    display: block !important;
    top: 24px !important;
    left: 0 !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(115, 87, 255, 0.28), rgba(115, 87, 255, 0.04)) !important;
  }

  body[data-authenticated="false"] .feature-overview .feature-directory-card:last-child::before {
    height: 24px !important;
  }

  body[data-authenticated="false"] .feature-overview .feature-directory-card span {
    margin-left: -52px !important;
  }
}

/* Real commercial intelligence preview. */
body[data-authenticated="false"] .feature-showcase {
  width: min(1320px, calc(100% - 56px)) !important;
  grid-template-columns: minmax(280px, 0.64fr) minmax(520px, 1.36fr) !important;
  gap: 44px !important;
  min-height: 0 !important;
  margin: 36px auto 92px !important;
  padding: clamp(28px, 4vw, 54px) !important;
  border: 1px solid rgba(125, 101, 255, 0.22) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 20% 16%, rgba(126, 86, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 44%, rgba(28, 188, 255, 0.14), transparent 34%),
    linear-gradient(145deg, #070916, #101124 58%, #070812) !important;
  box-shadow:
    0 34px 90px rgba(34, 31, 84, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body[data-authenticated="false"] .feature-showcase h2 {
  color: #ffffff !important;
  font-size: clamp(34px, 3.2vw, 54px) !important;
}

body[data-authenticated="false"] .feature-showcase p {
  color: rgba(235, 239, 255, 0.72) !important;
}

body[data-authenticated="false"] .feature-dashboard-frame {
  position: relative !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(141, 123, 255, 0.3) !important;
  border-radius: 26px !important;
  background:
    linear-gradient(135deg, rgba(124, 101, 255, 0.26), rgba(35, 210, 255, 0.12)),
    rgba(255, 255, 255, 0.035) !important;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    0 0 64px rgba(110, 76, 255, 0.16) !important;
  overflow: hidden !important;
}

body[data-authenticated="false"] .feature-dashboard-frame::before {
  position: absolute !important;
  inset: -1px !important;
  border-radius: inherit !important;
  background:
    linear-gradient(120deg, rgba(116, 91, 255, 0.48), transparent 34%, rgba(38, 202, 255, 0.3)) !important;
  content: "" !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
}

body[data-authenticated="false"] .feature-dashboard-frame img {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 18px !important;
  background: #080a16 !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] .feature-showcase {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] .feature-showcase {
    width: min(100% - 30px, 560px) !important;
    padding: 24px !important;
    border-radius: 26px !important;
  }

  body[data-authenticated="false"] .feature-dashboard-frame {
    padding: 7px !important;
    border-radius: 20px !important;
  }

  body[data-authenticated="false"] .feature-dashboard-frame img {
    border-radius: 14px !important;
  }
}

/* Split Premium workflow: editorial copy + precise operating steps. */
body[data-authenticated="false"] #workflow.workflow-panel {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.74fr) minmax(520px, 1.26fr) !important;
  align-items: center !important;
  gap: clamp(34px, 5vw, 76px) !important;
  width: min(1240px, calc(100% - 56px)) !important;
  margin: 32px auto 96px !important;
  padding: clamp(18px, 3vw, 32px) 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] #workflow .landing-section-head {
  position: sticky !important;
  top: 96px !important;
  max-width: 500px !important;
  margin: 0 !important;
  text-align: left !important;
}

body[data-authenticated="false"] #workflow .landing-section-head h2 {
  max-width: 520px !important;
  margin: 10px 0 0 !important;
  color: #15182b !important;
  font-size: clamp(38px, 4.4vw, 64px) !important;
  line-height: 0.98 !important;
}

body[data-authenticated="false"] #workflow .landing-section-head p {
  max-width: 440px !important;
  margin: 18px 0 0 !important;
  color: #74798c !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  line-height: 1.65 !important;
}

body[data-authenticated="false"] #workflow .workflow-proof {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 26px !important;
}

body[data-authenticated="false"] #workflow .workflow-proof span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(115, 87, 255, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  color: #3f4260 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 30px rgba(41, 38, 91, 0.06) !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 22px 0 !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid::before {
  position: absolute !important;
  top: 38px !important;
  bottom: 38px !important;
  left: 31px !important;
  width: 1px !important;
  background: linear-gradient(180deg, rgba(115, 87, 255, 0.12), rgba(115, 87, 255, 0.42), rgba(51, 197, 178, 0.16)) !important;
  content: "" !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 20px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article::after {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 84px !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(115, 87, 255, 0.16), transparent) !important;
  content: "" !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article:last-child::after {
  display: none !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid span {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  width: 62px !important;
  height: 62px !important;
  place-items: center !important;
  margin: 0 !important;
  border: 1px solid rgba(115, 87, 255, 0.16) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 30% 20%, #ffffff, rgba(255, 255, 255, 0.74)),
    linear-gradient(135deg, rgba(115, 87, 255, 0.14), rgba(51, 197, 178, 0.08)) !important;
  color: #4f39c8 !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  box-shadow:
    0 18px 42px rgba(71, 55, 170, 0.12),
    0 0 0 9px #ffffff !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid strong {
  display: block !important;
  margin-top: 3px !important;
  color: #15182b !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.05 !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid p {
  max-width: 560px !important;
  margin: 10px 0 0 !important;
  color: #74798c !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.6 !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] #workflow.workflow-panel {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body[data-authenticated="false"] #workflow .landing-section-head {
    position: static !important;
    max-width: 720px !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  body[data-authenticated="false"] #workflow .landing-section-head p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body[data-authenticated="false"] #workflow .workflow-proof {
    justify-content: center !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] #workflow.workflow-panel {
    width: min(100% - 30px, 560px) !important;
    margin-bottom: 64px !important;
  }

  body[data-authenticated="false"] #workflow .landing-step-grid article {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body[data-authenticated="false"] #workflow .landing-step-grid span {
    width: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
  }

  body[data-authenticated="false"] #workflow .landing-step-grid::before {
    left: 26px !important;
  }

  body[data-authenticated="false"] #workflow .landing-step-grid article::after {
    left: 70px !important;
  }
}

/* Bento Minimal workflow: one hero process card, three compact support cards. */
body[data-authenticated="false"] #workflow.workflow-panel {
  display: block !important;
  width: min(1240px, calc(100% - 56px)) !important;
  margin: 30px auto 96px !important;
  padding: 0 !important;
}

body[data-authenticated="false"] #workflow .landing-section-head {
  position: static !important;
  max-width: 740px !important;
  margin: 0 auto 36px !important;
  text-align: center !important;
}

body[data-authenticated="false"] #workflow .landing-section-head h2 {
  max-width: 820px !important;
  margin: 10px auto 0 !important;
  color: #15182b !important;
  font-size: clamp(36px, 4.2vw, 60px) !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] #workflow .landing-section-head p {
  max-width: 640px !important;
  margin: 16px auto 0 !important;
  color: #74798c !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  line-height: 1.62 !important;
}

body[data-authenticated="false"] #workflow .workflow-proof {
  justify-content: center !important;
  margin-top: 22px !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr) !important;
  grid-template-rows: repeat(3, minmax(150px, auto)) !important;
  gap: 16px !important;
  padding: 0 !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid::before {
  display: none !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article,
body[data-authenticated="false"] #workflow .landing-step-grid article:nth-child(4) {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  padding: 26px !important;
  overflow: hidden !important;
  border: 1px solid rgba(103, 84, 204, 0.12) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(119, 91, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 255, 0.88)) !important;
  box-shadow:
    0 24px 70px rgba(39, 35, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article::after {
  display: none !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article:first-child {
  grid-row: 1 / span 3 !important;
  min-height: 492px !important;
  padding: clamp(30px, 4vw, 48px) !important;
  border-color: rgba(122, 95, 255, 0.2) !important;
  background:
    radial-gradient(circle at 76% 16%, rgba(116, 91, 255, 0.2), transparent 34%),
    radial-gradient(circle at 18% 88%, rgba(34, 211, 238, 0.12), transparent 38%),
    linear-gradient(145deg, #ffffff, #f7f5ff 72%, #ffffff) !important;
  box-shadow:
    0 32px 90px rgba(74, 58, 177, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article:first-child::before {
  position: absolute !important;
  right: -90px !important;
  bottom: -90px !important;
  width: 260px !important;
  height: 260px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(115, 87, 255, 0.18), transparent 67%) !important;
  content: "" !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid span {
  display: inline-flex !important;
  width: auto !important;
  height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 18px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(115, 87, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(115, 87, 255, 0.08) !important;
  color: #5a45db !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article:first-child span {
  height: 38px !important;
  padding: 0 14px !important;
  background: #15182b !important;
  color: #ffffff !important;
  border-color: rgba(21, 24, 43, 0.08) !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid strong {
  display: block !important;
  max-width: 360px !important;
  color: #15182b !important;
  font-size: clamp(21px, 2vw, 28px) !important;
  line-height: 1.08 !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article:first-child strong {
  max-width: 500px !important;
  font-size: clamp(32px, 4vw, 58px) !important;
  line-height: 0.98 !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid p {
  max-width: 360px !important;
  margin: 12px 0 0 !important;
  color: #74798c !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}

body[data-authenticated="false"] #workflow .landing-step-grid article:first-child p {
  max-width: 510px !important;
  margin-top: 18px !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] #workflow .landing-step-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  body[data-authenticated="false"] #workflow .landing-step-grid article:first-child {
    grid-row: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] #workflow.workflow-panel {
    width: min(100% - 30px, 560px) !important;
    margin-bottom: 64px !important;
  }

  body[data-authenticated="false"] #workflow .landing-step-grid article,
  body[data-authenticated="false"] #workflow .landing-step-grid article:first-child {
    padding: 24px !important;
    border-radius: 22px !important;
  }
}

/* Accordion Premium workflow: calm, interactive and lightweight. */
body[data-authenticated="false"] #workflow.workflow-panel {
  display: grid !important;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr) !important;
  align-items: start !important;
  gap: clamp(34px, 5vw, 72px) !important;
  width: min(1240px, calc(100% - 56px)) !important;
  margin: 34px auto 96px !important;
  padding: clamp(26px, 4vw, 48px) !important;
  border: 1px solid rgba(115, 87, 255, 0.12) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(115, 87, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 249, 255, 0.72)) !important;
  box-shadow: 0 30px 90px rgba(39, 35, 92, 0.08) !important;
}

body[data-authenticated="false"] #workflow .landing-section-head {
  position: static !important;
  max-width: 470px !important;
  margin: 0 !important;
  text-align: left !important;
}

body[data-authenticated="false"] #workflow .landing-section-head h2 {
  max-width: 500px !important;
  margin: 10px 0 0 !important;
  color: #15182b !important;
  font-size: clamp(36px, 4vw, 58px) !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] #workflow .landing-section-head p {
  max-width: 430px !important;
  margin: 16px 0 0 !important;
  color: #74798c !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  line-height: 1.65 !important;
}

body[data-authenticated="false"] #workflow .workflow-proof {
  justify-content: flex-start !important;
  margin-top: 24px !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion,
body[data-authenticated="false"] #workflow .landing-step-grid.workflow-accordion {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: none !important;
  gap: 12px !important;
  padding: 0 !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion::before {
  display: none !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion details {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(103, 84, 204, 0.12) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow:
    0 18px 50px rgba(39, 35, 92, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion details[open] {
  border-color: rgba(115, 87, 255, 0.22) !important;
  background:
    radial-gradient(circle at 90% 18%, rgba(115, 87, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 255, 0.92)) !important;
  box-shadow:
    0 26px 76px rgba(74, 58, 177, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion summary {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) 38px !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 76px !important;
  padding: 18px 20px !important;
  cursor: pointer !important;
  list-style: none !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion summary::-webkit-details-marker {
  display: none !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion summary::after {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  place-items: center !important;
  border: 1px solid rgba(115, 87, 255, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #5a45db !important;
  content: "+" !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion details[open] summary::after {
  content: "−" !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion span {
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(115, 87, 255, 0.16) !important;
  border-radius: 15px !important;
  background: rgba(115, 87, 255, 0.08) !important;
  color: #5a45db !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion details[open] span {
  background: #15182b !important;
  color: #ffffff !important;
  border-color: rgba(21, 24, 43, 0.1) !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion strong {
  color: #15182b !important;
  font-size: clamp(20px, 1.7vw, 26px) !important;
  line-height: 1.08 !important;
}

body[data-authenticated="false"] #workflow .workflow-accordion p {
  max-width: 580px !important;
  margin: -4px 76px 22px 78px !important;
  color: #74798c !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.6 !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] #workflow.workflow-panel {
    grid-template-columns: 1fr !important;
  }

  body[data-authenticated="false"] #workflow .landing-section-head {
    max-width: 760px !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  body[data-authenticated="false"] #workflow .landing-section-head p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body[data-authenticated="false"] #workflow .workflow-proof {
    justify-content: center !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] #workflow.workflow-panel {
    width: min(100% - 30px, 560px) !important;
    padding: 22px !important;
    border-radius: 26px !important;
  }

  body[data-authenticated="false"] #workflow .workflow-accordion summary {
    grid-template-columns: auto minmax(0, 1fr) 34px !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  body[data-authenticated="false"] #workflow .workflow-accordion p {
    margin: -2px 18px 20px 70px !important;
  }
}

/* ADS IA slider visuals. */
body[data-authenticated="false"] .ai-studio-band {
  width: min(1280px, calc(100% - 56px)) !important;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr) !important;
  gap: clamp(36px, 5vw, 72px) !important;
  min-height: 560px !important;
  margin: 34px auto 96px !important;
  padding: clamp(34px, 5vw, 62px) !important;
  border: 1px solid rgba(115, 87, 255, 0.14) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 82% 22%, rgba(115, 87, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 255, 0.76)) !important;
  box-shadow: 0 32px 90px rgba(39, 35, 92, 0.08) !important;
}

body[data-authenticated="false"] .ai-studio-band h2 {
  color: #15182b !important;
}

body[data-authenticated="false"] .ai-studio-band p {
  color: #74798c !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack {
  position: relative !important;
  min-height: 430px !important;
  perspective: 1200px !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article {
  position: absolute !important;
  display: block !important;
  width: min(310px, 48%) !important;
  min-height: 386px !important;
  padding: 10px !important;
  border: 1px solid rgba(115, 87, 255, 0.18) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    0 28px 80px rgba(55, 42, 147, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  overflow: hidden !important;
  transform-origin: center !important;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(1) {
  top: 0 !important;
  left: 5% !important;
  z-index: 3 !important;
  transform: rotate(-5deg) translateY(6px) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(2) {
  top: 58px !important;
  right: 4% !important;
  z-index: 2 !important;
  transform: rotate(4deg) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(3) {
  right: 18% !important;
  bottom: 0 !important;
  z-index: 4 !important;
  transform: rotate(-2deg) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  border-radius: 21px !important;
  background: #ffffff !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack:hover article {
  filter: saturate(0.9) brightness(0.96) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article:hover {
  z-index: 20 !important;
  filter: saturate(1.08) brightness(1.02) !important;
  border-color: rgba(115, 87, 255, 0.36) !important;
  box-shadow:
    0 38px 110px rgba(55, 42, 147, 0.28),
    0 0 0 1px rgba(115, 87, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(1):hover {
  transform: rotate(-2deg) translateY(-18px) scale(1.06) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(2):hover {
  transform: rotate(1deg) translateY(-18px) scale(1.06) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(3):hover {
  transform: rotate(0deg) translateY(-18px) scale(1.06) !important;
}

/* Process Cards Flotantes for use cases. */
body[data-authenticated="false"] .insight-grid {
  position: relative !important;
  width: min(1240px, calc(100% - 56px)) !important;
  min-height: 560px !important;
  margin: 34px auto 104px !important;
  padding: clamp(34px, 5vw, 62px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(115, 87, 255, 0.12) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(115, 87, 255, 0.14), transparent 32%),
    radial-gradient(circle at 90% 76%, rgba(37, 167, 223, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 248, 255, 0.76)) !important;
  box-shadow: 0 32px 90px rgba(39, 35, 92, 0.08) !important;
}

body[data-authenticated="false"] .insight-grid::before {
  position: absolute !important;
  inset: auto -12% -36% auto !important;
  width: 520px !important;
  height: 520px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(115, 87, 255, 0.16), transparent 66%) !important;
  content: "" !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head {
  position: relative !important;
  z-index: 2 !important;
  max-width: 620px !important;
  margin: 0 0 28px !important;
  text-align: left !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head h2 {
  color: #15182b !important;
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: 18px !important;
  min-height: 330px !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article {
  position: relative !important;
  display: flex !important;
  min-height: 250px !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  padding: 28px !important;
  border: 1px solid rgba(103, 84, 204, 0.13) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 84% 20%, rgba(115, 87, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    0 26px 70px rgba(39, 35, 92, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1) {
  grid-column: 1 / span 5 !important;
  transform: translateY(34px) rotate(-1.5deg) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2) {
  grid-column: 5 / span 4 !important;
  transform: translateY(-8px) rotate(1deg) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3) {
  grid-column: 8 / span 5 !important;
  transform: translateY(46px) rotate(-0.7deg) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
  z-index: 6 !important;
  border-color: rgba(115, 87, 255, 0.28) !important;
  box-shadow:
    0 38px 110px rgba(55, 42, 147, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1):hover,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2):hover,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3):hover {
  transform: translateY(-8px) rotate(0deg) scale(1.03) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
  display: grid !important;
  width: 52px !important;
  height: 52px !important;
  place-items: center !important;
  margin-bottom: 28px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.36)),
    linear-gradient(135deg, rgba(115, 87, 255, 0.22), rgba(37, 167, 223, 0.12)) !important;
  color: #4f39c8 !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  content: "01" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2)::before {
  color: #116f88 !important;
  content: "02" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3)::before {
  color: #a1462c !important;
  content: "03" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  max-width: 360px !important;
  margin: 0 0 28px !important;
  color: #15182b !important;
  font-size: clamp(21px, 2vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid div {
  display: grid !important;
  gap: 4px !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid strong {
  color: #15182b !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid span {
  color: #74798c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] .insight-grid {
    min-height: 0 !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3) {
    grid-column: auto !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] .insight-grid {
    width: min(100% - 30px, 560px) !important;
    padding: 24px !important;
    border-radius: 26px !important;
  }
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article div {
  position: absolute !important;
  right: 22px !important;
  bottom: 22px !important;
  left: 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 18px !important;
  background: rgba(18, 20, 35, 0.82) !important;
  backdrop-filter: blur(16px) !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article span {
  display: inline-grid !important;
  width: 38px !important;
  height: 28px !important;
  flex: 0 0 auto !important;
  place-items: center !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
}

body[data-authenticated="false"] .ai-studio-band .creative-stack article strong {
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  font-weight: 1000 !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] .ai-studio-band {
    grid-template-columns: 1fr !important;
  }

  body[data-authenticated="false"] .ai-studio-band .creative-stack {
    min-height: 520px !important;
  }
}

@media (max-width: 720px) {
  body[data-authenticated="false"] .ai-studio-band {
    width: min(100% - 30px, 560px) !important;
    padding: 24px !important;
    border-radius: 26px !important;
  }

  body[data-authenticated="false"] .ai-studio-band .creative-stack {
    display: grid !important;
    min-height: 0 !important;
    gap: 14px !important;
    perspective: none !important;
  }

  body[data-authenticated="false"] .ai-studio-band .creative-stack article,
  body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(1),
  body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(2),
  body[data-authenticated="false"] .ai-studio-band .creative-stack article:nth-child(3) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    transform: none !important;
  }
}

/* Use cases: Outcome Rows premium layout. */
body[data-authenticated="false"] .insight-grid {
  position: relative !important;
  display: block !important;
  width: min(1180px, calc(100% - 56px)) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: clamp(34px, 5vw, 58px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(115, 87, 255, 0.14) !important;
  border-radius: 36px !important;
  background:
    radial-gradient(circle at 16% 8%, rgba(115, 87, 255, 0.13), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(39, 178, 217, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 249, 255, 0.92)) !important;
  box-shadow: 0 28px 75px rgba(56, 51, 112, 0.12) !important;
}

body[data-authenticated="false"] .insight-grid::before {
  position: absolute !important;
  inset: 22px !important;
  z-index: 0 !important;
  border: 1px solid rgba(115, 87, 255, 0.08) !important;
  border-radius: 28px !important;
  background-image:
    linear-gradient(rgba(115, 87, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 87, 255, 0.05) 1px, transparent 1px) !important;
  background-size: 42px 42px !important;
  content: "" !important;
  pointer-events: none !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head {
  position: relative !important;
  z-index: 1 !important;
  max-width: 720px !important;
  margin: 0 auto 28px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head h2 {
  max-width: 720px !important;
  margin-inline: auto !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  min-height: 0 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) minmax(220px, 0.42fr) !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 30px 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-top: 1px solid rgba(115, 87, 255, 0.12) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: transform 180ms ease, border-color 180ms ease !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:first-child {
  border-top: 0 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
  border-color: rgba(115, 87, 255, 0.25) !important;
  transform: translateX(8px) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
  display: inline-grid !important;
  width: 48px !important;
  height: 48px !important;
  place-items: center !important;
  margin: 0 !important;
  border: 1px solid rgba(115, 87, 255, 0.16) !important;
  border-radius: 17px !important;
  background: rgba(115, 87, 255, 0.08) !important;
  color: #5f47db !important;
  font-size: 14px !important;
  font-weight: 1000 !important;
  content: "01" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2)::before {
  background: rgba(38, 178, 217, 0.1) !important;
  color: #1685a7 !important;
  content: "02" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3)::before {
  background: rgba(255, 108, 73, 0.1) !important;
  color: #d35a37 !important;
  content: "03" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  max-width: 690px !important;
  margin: 0 !important;
  color: #15182b !important;
  font-size: clamp(22px, 2.1vw, 32px) !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid div {
  justify-self: end !important;
  display: grid !important;
  min-width: 220px !important;
  gap: 4px !important;
  padding: 15px 17px !important;
  border: 1px solid rgba(115, 87, 255, 0.14) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 14px 36px rgba(61, 54, 118, 0.08) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid strong {
  color: #15182b !important;
  font-size: 17px !important;
  font-weight: 1000 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid span {
  color: #74798c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

@media (max-width: 820px) {
  body[data-authenticated="false"] .insight-grid {
    width: min(100% - 30px, 620px) !important;
    padding: 26px !important;
    border-radius: 28px !important;
  }

  body[data-authenticated="false"] .insight-grid::before {
    inset: 14px !important;
    border-radius: 22px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article,
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3) {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 24px 0 !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
    transform: none !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid p {
    font-size: 24px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid div {
    justify-self: stretch !important;
    min-width: 0 !important;
  }
}

/* Use cases option 2: Spotlight premium. */
body[data-authenticated="false"] .insight-grid {
  width: min(1180px, calc(100% - 56px)) !important;
  padding: clamp(34px, 5vw, 60px) !important;
  border: 1px solid rgba(115, 87, 255, 0.12) !important;
  border-radius: 38px !important;
  background:
    radial-gradient(circle at 18% 14%, rgba(116, 91, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fbfaff 52%, #f4f7ff 100%) !important;
  box-shadow: 0 32px 90px rgba(57, 48, 110, 0.13) !important;
}

body[data-authenticated="false"] .insight-grid::before {
  display: none !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head {
  max-width: 760px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr) !important;
  grid-template-rows: repeat(2, minmax(190px, auto)) !important;
  gap: 18px !important;
  min-height: 0 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 0 !important;
  padding: clamp(24px, 3vw, 34px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(115, 87, 255, 0.13) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 18px 46px rgba(65, 55, 130, 0.09) !important;
  transform: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1) {
  grid-row: 1 / span 2 !important;
  min-height: 430px !important;
  border-color: rgba(115, 87, 255, 0.22) !important;
  background:
    radial-gradient(circle at 84% 14%, rgba(115, 87, 255, 0.18), transparent 32%),
    radial-gradient(circle at 16% 88%, rgba(37, 167, 223, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.9) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
  border-color: rgba(115, 87, 255, 0.3) !important;
  box-shadow: 0 28px 70px rgba(65, 55, 130, 0.16) !important;
  transform: translateY(-4px) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
  display: inline-grid !important;
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 auto !important;
  place-items: center !important;
  margin: 0 0 34px !important;
  border: 1px solid rgba(115, 87, 255, 0.18) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #7657ff, #5634db) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 38px rgba(96, 66, 229, 0.24) !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  content: "01" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2)::before {
  margin-bottom: 24px !important;
  background: linear-gradient(135deg, #24b4d7, #3687f3) !important;
  content: "02" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3)::before {
  margin-bottom: 24px !important;
  background: linear-gradient(135deg, #ff815f, #ff4f7a) !important;
  content: "03" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  max-width: 560px !important;
  margin: 0 auto 34px 0 !important;
  color: #15182b !important;
  font-size: clamp(23px, 2.1vw, 34px) !important;
  font-weight: 950 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2) p,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3) p {
  max-width: 420px !important;
  margin-bottom: 24px !important;
  font-size: clamp(20px, 1.55vw, 25px) !important;
  line-height: 1.14 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid div {
  display: inline-grid !important;
  justify-self: auto !important;
  align-self: flex-start !important;
  min-width: 0 !important;
  gap: 4px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(115, 87, 255, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(250, 249, 255, 0.86) !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid strong {
  color: #15182b !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid span {
  color: #73788e !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

@media (max-width: 920px) {
  body[data-authenticated="false"] .insight-grid {
    width: min(100% - 30px, 660px) !important;
    padding: 26px !important;
    border-radius: 30px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1) {
    grid-row: auto !important;
    min-height: 0 !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
    transform: none !important;
  }
}

/* Use cases: radial orbit inspired by product-benefit diagrams. */
body[data-authenticated="false"] .insight-grid {
  width: min(1180px, calc(100% - 44px)) !important;
  min-height: 0 !important;
  padding: clamp(34px, 5vw, 64px) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 42px !important;
  background:
    radial-gradient(circle at 18% 50%, rgba(37, 167, 223, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 100%) !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head {
  max-width: 680px !important;
  margin: 0 auto 12px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid {
  position: relative !important;
  display: block !important;
  width: min(980px, 100%) !important;
  min-height: 650px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid::before,
body[data-authenticated="false"] .insight-grid .testimonial-grid::after {
  position: absolute !important;
  left: -150px !important;
  top: 52% !important;
  z-index: 0 !important;
  width: 570px !important;
  height: 570px !important;
  border: 3px solid rgba(38, 42, 54, 0.58) !important;
  border-left-color: transparent !important;
  border-radius: 50% !important;
  content: "" !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid::after {
  left: -260px !important;
  width: 720px !important;
  height: 720px !important;
  border-width: 3px !important;
  border-color: rgba(38, 42, 54, 0.66) !important;
  border-left-color: transparent !important;
}

body[data-authenticated="false"] .insight-grid .use-case-orbit-core {
  position: absolute !important;
  left: -210px !important;
  top: 52% !important;
  z-index: 1 !important;
  display: grid !important;
  width: 470px !important;
  height: 470px !important;
  place-items: center !important;
  padding: 86px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 54%, rgba(233, 243, 250, 0.62) 55% 74%, rgba(255, 255, 255, 0.94) 75% 100%) !important;
  box-shadow: 0 28px 70px rgba(56, 66, 92, 0.1) !important;
  color: #137fbe !important;
  text-align: center !important;
  transform: translateY(-50%) !important;
}

body[data-authenticated="false"] .insight-grid .use-case-orbit-core::before {
  position: absolute !important;
  inset: 94px !important;
  border: 30px solid rgba(30, 142, 205, 0.18) !important;
  border-bottom-color: #277fb8 !important;
  border-left-color: rgba(30, 142, 205, 0.08) !important;
  border-radius: 50% !important;
  content: "" !important;
}

body[data-authenticated="false"] .insight-grid .use-case-orbit-core strong {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  max-width: 270px !important;
  color: #117fc0 !important;
  font-size: clamp(26px, 3vw, 42px) !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
}

body[data-authenticated="false"] .insight-grid .use-case-orbit-core span {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  margin-top: 12px !important;
  color: #686d7b !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(4),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(5) {
  position: absolute !important;
  z-index: 2 !important;
  display: block !important;
  width: 320px !important;
  min-height: 0 !important;
  padding: 0 0 0 98px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(1) {
  left: 330px !important;
  top: 46px !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2) {
  left: 610px !important;
  top: 178px !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(3) {
  left: 690px !important;
  top: 338px !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(4) {
  left: 560px !important;
  top: 492px !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(5) {
  left: 280px !important;
  top: 546px !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
  box-shadow: none !important;
  transform: translateX(8px) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  display: inline-grid !important;
  width: 76px !important;
  height: 76px !important;
  place-items: center !important;
  margin: 0 !important;
  border: 14px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 50% !important;
  background: #dff4fb !important;
  color: #5f626a !important;
  box-shadow: 0 20px 34px rgba(47, 51, 62, 0.16) !important;
  font-size: 31px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  content: "01" !important;
  transform: translateY(-50%) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2)::before {
  background: #acdff5 !important;
  content: "02" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(3)::before {
  background: #55a5d8 !important;
  content: "03" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(4)::before {
  background: #2f85bd !important;
  content: "04" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(5)::before {
  background: #277fb8 !important;
  content: "05" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  max-width: 260px !important;
  margin: 0 !important;
  color: #60626a !important;
  font-size: clamp(24px, 2.8vw, 39px) !important;
  font-weight: 850 !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid div {
  display: none !important;
}

@media (max-width: 980px) {
  body[data-authenticated="false"] .insight-grid {
    width: min(100% - 30px, 680px) !important;
    padding: 30px 22px !important;
    border-radius: 30px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid {
    display: grid !important;
    width: 100% !important;
    min-height: 0 !important;
    gap: 16px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid::before,
  body[data-authenticated="false"] .insight-grid .testimonial-grid::after {
    display: none !important;
  }

  body[data-authenticated="false"] .insight-grid .use-case-orbit-core {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px !important;
    padding: 26px !important;
    border-radius: 26px !important;
    transform: none !important;
  }

  body[data-authenticated="false"] .insight-grid .use-case-orbit-core::before {
    display: none !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article,
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(4),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(5),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(1),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(3),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(4),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(5) {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    padding: 20px 20px 20px 94px !important;
    border: 1px solid rgba(39, 127, 184, 0.13) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.82) !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
    transform: none !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
    left: 18px !important;
    width: 52px !important;
    height: 52px !important;
    border-width: 9px !important;
    font-size: 22px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid p {
    max-width: none !important;
    font-size: 24px !important;
    line-height: 1.08 !important;
  }
}

/* Use cases: dotted step capsules with 3 core points. */
body[data-authenticated="false"] .insight-grid {
  width: min(1040px, calc(100% - 44px)) !important;
  padding: clamp(34px, 5vw, 62px) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 40px !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(115, 87, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 100%) !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .insight-grid::before {
  display: none !important;
}

body[data-authenticated="false"] .insight-grid .landing-section-head {
  max-width: 720px !important;
  margin: 0 auto 42px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: min(760px, 100%) !important;
  min-height: 0 !important;
  gap: 34px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid::before {
  position: absolute !important;
  left: 50% !important;
  top: 54px !important;
  bottom: 54px !important;
  z-index: 0 !important;
  display: block !important;
  width: 4px !important;
  border-radius: 999px !important;
  background-image: radial-gradient(circle, rgba(76, 80, 91, 0.62) 2px, transparent 3px) !important;
  background-size: 4px 18px !important;
  content: "" !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid::after,
body[data-authenticated="false"] .insight-grid .use-case-orbit-core {
  display: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article,
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(1),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2),
body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(3) {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 92px 138px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 126px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2) {
  grid-template-columns: 138px 92px minmax(0, 1fr) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:hover {
  transform: translateY(-3px) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  z-index: 3 !important;
  grid-column: 2 !important;
  display: inline-grid !important;
  width: 74px !important;
  height: 74px !important;
  place-items: center !important;
  justify-self: center !important;
  margin: 0 !important;
  border: 12px solid rgba(255, 255, 255, 0.96) !important;
  border-radius: 50% !important;
  background: #e9fbff !important;
  color: #555b66 !important;
  box-shadow: 0 18px 34px rgba(38, 45, 60, 0.18) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  content: "01" !important;
  transform: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2)::before {
  background: #c8f1ff !important;
  content: "02" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(3)::before {
  background: #7bd9f4 !important;
  content: "03" !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article::after {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 2 !important;
  width: 20px !important;
  height: 20px !important;
  border: 4px solid #ffffff !important;
  border-radius: 50% !important;
  background: #1bb8c8 !important;
  box-shadow: 0 0 0 2px rgba(27, 184, 200, 0.34) !important;
  content: "" !important;
  transform: translate(-50%, -50%) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid p {
  position: relative !important;
  grid-column: 1 !important;
  max-width: none !important;
  min-height: 112px !important;
  margin: 0 !important;
  padding: 24px 118px 24px 30px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #19c7c9, #0797af) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(0, 130, 152, 0.18) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2) p {
  grid-column: 3 !important;
  padding: 24px 30px 24px 118px !important;
  background: linear-gradient(135deg, #2c90ad, #12677f) !important;
  box-shadow: 0 18px 34px rgba(18, 103, 127, 0.18) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(3) p {
  background: linear-gradient(135deg, #315b76, #20384f) !important;
  box-shadow: 0 18px 34px rgba(32, 56, 79, 0.2) !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid div {
  grid-column: 3 !important;
  display: grid !important;
  justify-self: start !important;
  min-width: 0 !important;
  gap: 2px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2) div {
  grid-column: 1 !important;
  justify-self: end !important;
  text-align: right !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid strong {
  color: #777982 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body[data-authenticated="false"] .insight-grid .testimonial-grid span {
  color: #10879a !important;
  font-size: 38px !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
}

@media (max-width: 760px) {
  body[data-authenticated="false"] .insight-grid {
    width: min(100% - 30px, 560px) !important;
    padding: 28px 18px !important;
    border-radius: 28px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid {
    gap: 18px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid::before {
    left: 38px !important;
    top: 42px !important;
    bottom: 42px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article,
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(1),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(2),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-child(3),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(1),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2),
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(3) {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    min-height: 0 !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article::before {
    grid-column: 1 !important;
    width: 58px !important;
    height: 58px !important;
    border-width: 9px !important;
    font-size: 21px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid article::after {
    left: 38px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid p,
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2) p {
    grid-column: 2 !important;
    min-height: 0 !important;
    padding: 20px 22px !important;
    border-radius: 24px !important;
  }

  body[data-authenticated="false"] .insight-grid .testimonial-grid div,
  body[data-authenticated="false"] .insight-grid .testimonial-grid article:nth-of-type(2) div {
    grid-column: 2 !important;
    justify-self: start !important;
    text-align: left !important;
    margin-top: 10px !important;
  }
}

/* Use cases final: clean three-step dotted flow. */
body[data-authenticated="false"] .use-case-flow {
  width: min(1040px, calc(100% - 44px)) !important;
  padding: clamp(34px, 5vw, 64px) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 40px !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(27, 184, 200, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 100%) !important;
  box-shadow: none !important;
}

body[data-authenticated="false"] .use-case-flow::before,
body[data-authenticated="false"] .use-case-flow::after {
  display: none !important;
}

body[data-authenticated="false"] .use-case-flow .landing-section-head {
  max-width: 720px !important;
  margin: 0 auto 44px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .use-case-flow .testimonial-grid {
  position: relative !important;
  display: grid !important;
  width: min(760px, 100%) !important;
  min-height: 0 !important;
  gap: 34px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

body[data-authenticated="false"] .use-case-flow .testimonial-grid::before {
  position: absolute !important;
  left: 50% !important;
  top: 56px !important;
  bottom: 56px !important;
  z-index: 0 !important;
  display: block !important;
  width: 6px !important;
  border-radius: 999px !important;
  background-image: radial-gradient(circle, rgba(88, 91, 101, 0.62) 2px, transparent 3px) !important;
  background-size: 6px 18px !important;
  content: "" !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

body[data-authenticated="false"] .use-case-flow .testimonial-grid::after {
  display: none !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step,
body[data-authenticated="false"] .use-case-flow .testimonial-grid article,
body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-child(1),
body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-child(2),
body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-child(3),
body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-of-type(1),
body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-of-type(2),
body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-of-type(3) {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 320px) 100px minmax(0, 170px) !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 128px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step-right,
body[data-authenticated="false"] .use-case-flow .testimonial-grid article.flow-step-right {
  grid-template-columns: minmax(0, 170px) 100px minmax(0, 320px) !important;
}

body[data-authenticated="false"] .use-case-flow .testimonial-grid article::before,
body[data-authenticated="false"] .use-case-flow .testimonial-grid article::after {
  display: none !important;
  content: none !important;
}

body[data-authenticated="false"] .use-case-flow .flow-card {
  position: relative !important;
  display: grid !important;
  min-height: 108px !important;
  min-width: 0 !important;
  gap: 6px !important;
  align-content: center !important;
  padding: 22px 104px 22px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #1fc9ca, #0794a9) !important;
  box-shadow: 0 20px 42px rgba(1, 136, 158, 0.22) !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step-right .flow-card {
  padding: 22px 28px 22px 104px !important;
  background: linear-gradient(135deg, #2f91ac, #12677e) !important;
  box-shadow: 0 20px 42px rgba(18, 103, 126, 0.22) !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step:nth-of-type(3) .flow-card {
  background: linear-gradient(135deg, #335b77, #20394f) !important;
  box-shadow: 0 20px 42px rgba(32, 57, 79, 0.24) !important;
}

body[data-authenticated="false"] .use-case-flow .flow-card::after {
  position: absolute !important;
  right: -18px !important;
  top: 50% !important;
  display: block !important;
  width: 78px !important;
  height: 78px !important;
  border: 12px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(31, 201, 202, 0.18) 0 30%, transparent 31%),
    #f8fbff !important;
  box-shadow: 0 18px 34px rgba(38, 45, 60, 0.2) !important;
  content: "" !important;
  transform: translateY(-50%) !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step-right .flow-card::after {
  right: auto !important;
  left: -18px !important;
}

body[data-authenticated="false"] .use-case-flow .flow-card strong {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body[data-authenticated="false"] .use-case-flow .flow-card p {
  display: block !important;
  max-width: 190px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body[data-authenticated="false"] .use-case-flow .flow-node {
  position: relative !important;
  z-index: 3 !important;
  display: inline-grid !important;
  width: 78px !important;
  height: 78px !important;
  place-items: center !important;
  justify-self: center !important;
  border: 13px solid rgba(255, 255, 255, 0.96) !important;
  border-radius: 50% !important;
  background: #e9fbff !important;
  color: #59606b !important;
  box-shadow: 0 19px 36px rgba(38, 45, 60, 0.18) !important;
  font-size: 29px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step:nth-of-type(2) .flow-node {
  background: #c8f1ff !important;
  color: #16879a !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step:nth-of-type(3) .flow-node {
  background: #7bd9f4 !important;
  color: #167c98 !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step-label {
  display: grid !important;
  min-width: 0 !important;
  gap: 0 !important;
  justify-self: start !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step-right .flow-step-label {
  justify-self: end !important;
  text-align: right !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step-label span {
  color: #747882 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
}

body[data-authenticated="false"] .use-case-flow .flow-step-label strong {
  color: #0d8fa4 !important;
  font-size: 44px !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
}

@media (max-width: 760px) {
  body[data-authenticated="false"] .use-case-flow {
    width: min(100% - 30px, 560px) !important;
    padding: 28px 18px !important;
    border-radius: 28px !important;
  }

  body[data-authenticated="false"] .use-case-flow .testimonial-grid {
    gap: 18px !important;
  }

  body[data-authenticated="false"] .use-case-flow .testimonial-grid::before {
    left: 36px !important;
    top: 44px !important;
    bottom: 44px !important;
  }

  body[data-authenticated="false"] .use-case-flow .flow-step,
  body[data-authenticated="false"] .use-case-flow .testimonial-grid article,
  body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-child(1),
  body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-child(2),
  body[data-authenticated="false"] .use-case-flow .testimonial-grid article:nth-child(3),
  body[data-authenticated="false"] .use-case-flow .testimonial-grid article.flow-step-right {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 0 !important;
  }

  body[data-authenticated="false"] .use-case-flow .flow-node {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 58px !important;
    height: 58px !important;
    border-width: 9px !important;
    font-size: 21px !important;
  }

  body[data-authenticated="false"] .use-case-flow .flow-card,
  body[data-authenticated="false"] .use-case-flow .flow-step-right .flow-card {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    padding: 20px 22px !important;
    border-radius: 24px !important;
  }

  body[data-authenticated="false"] .use-case-flow .flow-card::after {
    display: none !important;
  }

  body[data-authenticated="false"] .use-case-flow .flow-card p {
    max-width: none !important;
  }

  body[data-authenticated="false"] .use-case-flow .flow-step-label,
  body[data-authenticated="false"] .use-case-flow .flow-step-right .flow-step-label {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    text-align: left !important;
  }
}

/* Clean isolated 3-step flow. */
body[data-authenticated="false"] .use-case-flow {
  width: min(980px, calc(100% - 44px)) !important;
  padding: clamp(34px, 5vw, 60px) !important;
  border-radius: 38px !important;
  background:
    radial-gradient(circle at 50% 6%, rgba(27, 184, 200, 0.06), transparent 34%),
    #ffffff !important;
}

body[data-authenticated="false"] .use-case-flow .landing-section-head {
  max-width: 720px !important;
  margin: 0 auto 44px !important;
  text-align: center !important;
}

body[data-authenticated="false"] .use-case-flow-list {
  position: relative !important;
  display: grid !important;
  width: min(760px, 100%) !important;
  gap: 32px !important;
  margin: 0 auto !important;
  padding: 8px 0 !important;
}

body[data-authenticated="false"] .use-case-flow-list::before {
  position: absolute !important;
  top: 56px !important;
  bottom: 56px !important;
  left: 50% !important;
  width: 6px !important;
  border-radius: 999px !important;
  background-image: radial-gradient(circle, rgba(87, 91, 101, 0.58) 2px, transparent 3px) !important;
  background-size: 6px 18px !important;
  content: "" !important;
  transform: translateX(-50%) !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: 330px 100px 150px !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 126px !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step-right {
  grid-template-columns: 150px 100px 330px !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-card {
  position: relative !important;
  display: grid !important;
  min-height: 108px !important;
  gap: 7px !important;
  align-content: center !important;
  padding: 22px 104px 22px 28px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #20c9ca, #0797aa) !important;
  box-shadow: 0 20px 42px rgba(1, 136, 158, 0.2) !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step-right .flow-card {
  padding: 22px 28px 22px 104px !important;
  background: linear-gradient(135deg, #2e8fac, #12677f) !important;
  box-shadow: 0 20px 42px rgba(18, 103, 127, 0.2) !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step:nth-child(3) .flow-card {
  background: linear-gradient(135deg, #335b76, #20384f) !important;
  box-shadow: 0 20px 42px rgba(32, 56, 79, 0.22) !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-card::after {
  position: absolute !important;
  top: 50% !important;
  right: -18px !important;
  width: 78px !important;
  height: 78px !important;
  border: 12px solid rgba(255, 255, 255, 0.96) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(27, 184, 200, 0.22) 0 28%, transparent 30%),
    #f9fbff !important;
  box-shadow: 0 18px 34px rgba(38, 45, 60, 0.18) !important;
  content: "" !important;
  transform: translateY(-50%) !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step-right .flow-card::after {
  right: auto !important;
  left: -18px !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-card strong {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-card p {
  max-width: 190px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.28 !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-node {
  z-index: 2 !important;
  display: inline-grid !important;
  width: 78px !important;
  height: 78px !important;
  place-items: center !important;
  justify-self: center !important;
  border: 13px solid rgba(255, 255, 255, 0.98) !important;
  border-radius: 50% !important;
  background: #e9fbff !important;
  color: #0b94a9 !important;
  box-shadow: 0 19px 36px rgba(38, 45, 60, 0.16) !important;
  font-size: 29px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step:nth-child(2) .flow-node {
  background: #c8f1ff !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step:nth-child(3) .flow-node {
  background: #7bd9f4 !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step-label {
  display: grid !important;
  justify-self: start !important;
  gap: 0 !important;
  text-align: left !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step-right .flow-step-label {
  justify-self: end !important;
  text-align: right !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step-label span {
  color: #747882 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
}

body[data-authenticated="false"] .use-case-flow-list .flow-step-label strong {
  color: #0d8fa4 !important;
  font-size: 44px !important;
  font-weight: 950 !important;
  line-height: 0.95 !important;
}

@media (max-width: 760px) {
  body[data-authenticated="false"] .use-case-flow {
    width: min(100% - 30px, 560px) !important;
    padding: 28px 18px !important;
    border-radius: 28px !important;
  }

  body[data-authenticated="false"] .use-case-flow-list {
    gap: 18px !important;
  }

  body[data-authenticated="false"] .use-case-flow-list::before {
    left: 36px !important;
    top: 42px !important;
    bottom: 42px !important;
  }

  body[data-authenticated="false"] .use-case-flow-list .flow-step,
  body[data-authenticated="false"] .use-case-flow-list .flow-step-right {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 0 !important;
  }

  body[data-authenticated="false"] .use-case-flow-list .flow-node {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 58px !important;
    height: 58px !important;
    border-width: 9px !important;
    font-size: 21px !important;
  }

  body[data-authenticated="false"] .use-case-flow-list .flow-card,
  body[data-authenticated="false"] .use-case-flow-list .flow-step-right .flow-card {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    padding: 20px 22px !important;
    border-radius: 24px !important;
  }

  body[data-authenticated="false"] .use-case-flow-list .flow-card::after {
    display: none !important;
  }

  body[data-authenticated="false"] .use-case-flow-list .flow-card p {
    max-width: none !important;
  }

  body[data-authenticated="false"] .use-case-flow-list .flow-step-label,
  body[data-authenticated="false"] .use-case-flow-list .flow-step-right .flow-step-label {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    text-align: left !important;
  }
}
