@import url('/assets/teaser.css');

.bar .button { margin-left: auto; }

/* Hero copy */
.lp-hero { padding-top: 88px !important; padding-bottom: 48px !important; text-align: center; }
.lp-hero h1 { max-width: 15em; margin: 0 auto; font-size: clamp(40px, 6.2vw, 80px); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; }
.lp-hero p { max-width: 36em; margin: 26px auto 32px; font-size: 20px; color: #3d3646; }

/* Engine */
.engine { position: relative; max-width: 1240px !important; margin: 0 auto 24px !important; padding: 36px 32px 28px !important;
  border-radius: 36px; color: #efe8f7; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 40%, #3b1f57 0%, #241433 55%, #1a0f26 100%); }
.engine::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 38% 50%, rgba(232, 70, 124, 0.16), transparent 70%); }
.engine-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.engine-grid { position: relative; display: grid; grid-template-columns: 170px minmax(120px, 1fr) minmax(0, 560px); gap: 24px; align-items: center; }

.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 2; }
.sources li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.10); font-size: 14px; font-weight: 600; }
.sources small { font-weight: 500; font-size: 12px; color: #b9a8cf; font-variant-numeric: tabular-nums; }
.src-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); font-size: 11px; font-weight: 800; letter-spacing: -0.02em; }
.src-mark svg { width: 16px; height: 16px; }
.src-mark b { font-size: 9px; font-weight: 800; letter-spacing: 0.02em; }
.more-marks { display: flex; gap: 6px; margin-bottom: 8px; }
.src-mark-small { width: 22px; height: 22px; border-radius: 7px; }
.src-mark-small svg { width: 12px; height: 12px; }
.sources li.hit, .slot.hit { animation: hit .5s ease; }
@keyframes hit { 30% { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.14); } }

.router { position: relative; z-index: 2; display: grid; justify-items: center; gap: 12px; text-align: center; }
.router p { margin: 0; font-size: 12px; color: #b9a8cf; line-height: 1.3; }
.router-core { position: relative; width: 64px; height: 64px; }
.router-core i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(205, 184, 255, 0.55); animation: pulse 2.4s ease-out infinite; }
.router-core i:nth-child(2) { animation-delay: .8s; }
.router-core i:nth-child(3) { animation: none; inset: 18px; border: 0; background: radial-gradient(circle, #fff 0%, #e8467c 45%, #8a5bb8 100%); box-shadow: 0 0 24px rgba(232, 70, 124, 0.7); }
@keyframes pulse { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.targets { position: relative; z-index: 2; display: grid; gap: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.10); }
.slot b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot small { font-size: 12px; color: #b9a8cf; }
.slot-out { opacity: .75; border-style: dashed; }

.hc { padding: 20px 22px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.hc.hit { animation: land .45s ease; }
@keyframes land { 40% { box-shadow: 0 0 0 4px rgba(232, 70, 124, 0.35), 0 30px 80px -30px rgba(0, 0, 0, 0.6); } }
.hc-head { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.hc-head img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: var(--paper); padding: 4px; }
.hc-head small { color: var(--muted); font-size: 12px; }
.hc-head h2 { font-size: 19px; line-height: 1.15; letter-spacing: -0.02em; }
.hc-when { margin: 0; text-align: right; }
.hc-when small { display: block; font-size: 11px; color: var(--muted); }
.hc-when b { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-top { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: end; margin: 16px 0 10px; }
.hc-score { margin: 0; display: flex; align-items: flex-end; gap: 8px; }
.hc-score b { font-size: 54px; line-height: .85; font-weight: 800; letter-spacing: -0.05em; color: var(--plum); font-variant-numeric: tabular-nums; min-width: 1.3em; }
.hc-score small { font-size: 11px; line-height: 1.25; color: var(--muted); }
.hc-spark { width: 100%; height: 56px; }
.hc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hc-bars li { display: grid; grid-template-columns: 124px 1fr 42px; gap: 10px; align-items: center; font-size: 13px; transition: opacity .3s; }
.hc-bars li.thin { opacity: .4; }
.bar-name { font-weight: 600; }
.bar-track { height: 8px; border-radius: 999px; background: #efe9f3; overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--plum), #8a5bb8); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.bar-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hc-voice { margin: 14px 0 0; padding: 10px 0 0 14px; border-left: 3px solid var(--line); min-height: 72px; }
.hc-voice.pos { border-color: #9fd9c8; }
.hc-voice.neg { border-color: #f6b3c9; }
.hc-voice p { margin: 0; font: italic 400 17px/1.35 var(--serif); }
.hc-voice cite { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--muted); }
.hc-why { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; min-height: 64px; }
.why { padding: 7px 12px; border-radius: 10px; font-size: 13px; line-height: 1.35; transition: opacity .5s, transform .5s; }
.why.entering { opacity: 0; transform: translateY(-8px); }
.why-down { background: #fde8ef; color: #8f1f48; }
.why-up { background: #e3f4ef; color: #1f5f50; }
.why-tiktok { background: #ece4f4; color: var(--plum); }
.engine-note { position: relative; z-index: 2; margin: 20px 0 0; font-size: 13px; color: #b9a8cf; text-align: center; }

/* Live trends */
.live { padding-top: 64px !important; padding-bottom: 32px !important; }
.live-head { max-width: 40em; margin-bottom: 22px; }
.live-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.live-head p { margin: 10px 0 0; color: var(--muted); }
.marquee { overflow: hidden; margin: 0 -16px; padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.marquee:hover .marquee-row, .marquee-row.held { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
.trend { width: 250px; padding: 18px; border-radius: 20px; background: var(--card); display: flex; flex-direction: column; gap: 4px; }
.trend-likes { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--plum); line-height: 1; }
.trend-days { font-size: 13px; color: var(--gloss); font-weight: 600; margin-bottom: 8px; }
.trend-brand { font-size: 15px; }
.trend-product { font-size: 13px; color: var(--muted); min-height: 1.3em; }
.trend-phone { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 9 / 16; margin: 0 0 14px; padding: 16px; border-radius: 18px;
  overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(160deg, #6b3f96, var(--plum) 60%); transition: transform .25s; }
.trend:nth-child(3n+2) .trend-phone { background: linear-gradient(160deg, #e8467c, #a8245a 70%); }
.trend:nth-child(3n) .trend-phone { background: linear-gradient(160deg, #2f6f8f, #1d3f63 70%); }
.trend-phone:hover { transform: translateY(-3px); }
.trend-phone.has-poster { background-size: cover; background-position: center; }
.trend-phone.has-poster .trend-phone-caption { text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.trend-phone-caption { font: italic 400 15px/1.35 var(--serif); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; opacity: .92; }
.trend-play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.trend-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.trend-phone-tap { position: absolute; top: 14px; left: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); font-size: 12px; font-weight: 600; }
.trend-player { position: relative; aspect-ratio: 9 / 16; margin: 0 0 14px; border-radius: 18px; overflow: hidden; background: #000; }
.trend-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.trend-stop { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.trend.playing .trend-phone { display: none; }
.trend-who { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Rest of the page */
.gets, .how { padding-top: 64px !important; padding-bottom: 64px !important; border-top: 1px solid var(--line); }
.gets h2, .how h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 28px; }
.gets-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.get { padding-top: 18px; border-top: 3px solid var(--plum); }
.get h3 { font-size: 21px; margin: 0 0 8px; }
.get p, .how-steps p { margin: 0; color: var(--muted); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.how-steps li { counter-increment: step; }
.how-steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--plum-soft); color: var(--plum); font-weight: 800; }
.how-steps h3 { font-size: 21px; margin-bottom: 8px; }

@media (max-width: 900px) {
  .engine { margin: 0 12px 24px !important; padding: 22px 16px 20px !important; border-radius: 28px; }
  .engine-grid { grid-template-columns: 1fr; gap: 28px; }
  .sources { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .sources li { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 8px 4px; font-size: 11px; }
  .router { grid-auto-flow: column; justify-content: center; align-items: center; text-align: left; }
  .router-core { width: 48px; height: 48px; }
  .router-core i:nth-child(3) { inset: 14px; }
  .gets-row, .how-steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .lp-hero { padding-top: 48px !important; }
  .lp-hero p { font-size: 17px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .slot { padding: 8px; }
  .slot b { font-size: 11px; }
  .slot small { font-size: 10px; }
  .hc { padding: 16px; }
  .hc-head { grid-template-columns: 40px 1fr; }
  .hc-head img { width: 40px; height: 40px; }
  .hc-when { grid-column: 1 / -1; text-align: left; display: flex; gap: 6px; align-items: baseline; }
  .hc-bars li { grid-template-columns: 76px 1fr 38px; }
  .src-mark { width: 24px; height: 24px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-row { animation: none; flex-wrap: wrap; width: auto; }
  .router-core i { animation: none; }
}

/* Example tabs */
.examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 auto 18px; padding: 0 16px; }
.examples-label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.examples button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 14px var(--sans); cursor: pointer; }
.examples button:hover { border-color: #c9b8dc; }
.examples button[aria-selected="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }

.sources .src-more { display: block; padding: 6px 4px 0; border: 0; background: none; font-size: 12px; font-weight: 500; color: #b9a8cf; line-height: 1.35; }

/* Daily agents */
.agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center;
  padding-top: 72px !important; padding-bottom: 72px !important; border-top: 1px solid var(--line); }
.agents h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.agents-copy p { margin: 18px 0 0; font-size: 18px; color: #3d3646; }
.agents-copy p + p { color: var(--plum); font-weight: 600; }
.brief { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.alert { padding: 18px 20px; border-radius: 20px; background: var(--card); border-left: 5px solid var(--plum);
  box-shadow: 0 18px 40px -28px rgba(74, 43, 107, 0.45); transition: opacity .6s ease, transform .6s ease; }
.alert-up { border-left-color: var(--sage); }
.alert-down { border-left-color: var(--gloss); }
.alert-label { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--plum-soft); color: var(--plum); }
.alert-up .alert-label { background: #e3f4ef; color: #1f5f50; }
.alert-down .alert-label { background: #fde8ef; color: #8f1f48; }
.alert-title { display: block; margin-top: 10px; font-size: 19px; letter-spacing: -0.01em; }
.alert-body { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.brief-waiting .alert { opacity: 0; transform: translateX(24px); }
.brief .alert:nth-child(2) { transition-delay: .35s; }
.brief .alert:nth-child(3) { transition-delay: .7s; }

/* Price */
.price { padding-top: 64px !important; padding-bottom: 64px !important; border-top: 1px solid var(--line); }
.price h2 { font-size: clamp(28px, 3.6vw, 40px); }
.price p { max-width: 38em; margin: 12px 0 0; font-size: 18px; color: #3d3646; }

@media (max-width: 900px) {
  .agents { grid-template-columns: 1fr; gap: 28px; }
  .sources .src-more { grid-column: 1 / -1; text-align: center; padding-top: 2px; }
  .more-marks { justify-content: center; }
}
