/* ── Reset & Variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --purple: #7A5AF8;
  --purple-h: #6845E6;
  --purple-t: #f2f0fd;
  --dark: #2C2C2C;
  --text: #54546a;
  --muted: #93939f;
  --bg: #fff;
  --subtle: #f7f7f7;
  --max: 1140px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 8px 24px rgba(0,0,0,.09);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.11);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'General Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 1100px 560px at 50% -60px, #e8e2ff 0%, #f3f4f9 52%, #f6f7fc 100%);
  padding: 40px 32px 48px;
  position: relative;
  z-index: 0;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Hero load animation — subtle staggered fade-up */
.hero-animate {
  opacity: 0;
  transform: translateY(8px);
  animation: hero-fade-up 0.55s ease-out forwards;
  animation-delay: calc(var(--ha-delay, 0) * 1s);
  animation-fill-mode: both;
}
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  text-align: center;
  max-width: 840px;
}

.hero-logo {
  color: var(--purple);
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 auto;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--dark);
  max-width: 640px;
}

.hero h1 em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: inherit;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  font-weight: 400;
}

.hero-cta-group {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'General Sans', sans-serif;
  box-shadow: 0 6px 18px rgba(122,90,248,.28);
  transition: background .18s, transform .18s, box-shadow .18s;
}

.cta-btn:hover {
  background: var(--purple-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(122,90,248,.36);
}

.cta-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Hero visual ─── */
.hero-visual {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* right-align so popup sits under the toolbar area */
  gap: 0;
  width: 960px;
  max-width: 96vw;
  padding-bottom: 24px;
}

/* Scroll hint — centered arrow at bottom of hero */
.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(0,0,0,.55);
  animation: scroll-hint-bounce 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  z-index: 10;
}
.scroll-hint-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.scroll-hint.scrolled {
  opacity: 0;
  pointer-events: none;
}
@keyframes scroll-hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@keyframes hv-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

/* Browser hint — outline style, no fills */
.browser-hint {
  width: 100%;
  border: 1px solid rgba(0,0,0,.10);
  border-bottom: none;
  border-radius: 9px 9px 0 0;
  background: transparent;
}

/* Tab strip */
.bh-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 8px 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.bh-controls {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
  margin-right: 12px;
  padding-bottom: 7px;
}
.bh-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  background: transparent;
}

.bh-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px 6px;
  font-size: 10.5px;
  color: rgba(0,0,0,.35);
  border: 1px solid rgba(0,0,0,.10);
  border-bottom: none;
  border-radius: 7px 7px 0 0;
  background: transparent;
  position: relative;
  bottom: -1px;
}
.bh-tab-active {
  color: rgba(0,0,0,.55);
  border-color: rgba(0,0,0,.12);
  background: rgba(255,255,255,.4);
}
.bh-tab + .bh-tab { margin-left: 3px; }
.bh-tab-title { white-space: nowrap; font-family: 'General Sans', sans-serif; }
.bh-tab-ghost {
  display: inline-block;
  width: 44px; height: 6px;
  background: rgba(0,0,0,.08);
  border-radius: 3px;
}

/* Omnibar row */
.bh-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.bh-url-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 20px;
  padding: 3px 10px;
  min-width: 0;
}
.bh-url { font-size: 10.5px; color: rgba(0,0,0,.3); font-family: 'General Sans', sans-serif; }

/* Toolbar */
.bh-toolbar { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }

.bh-ext-icon {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.bh-ext-generic {
  border: 1px solid rgba(0,0,0,.12);
}
.bh-ext-generic::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 2px;
  background: rgba(0,0,0,.08);
}

.bh-ext-amzedc {
  border: 1.5px solid rgba(122,90,248,.35);
  border-radius: 5px;
  background: rgba(122,90,248,.06);
}
.bh-ext-amzedc img { border-radius: 2px; }

/* Content row: page lines left, popup right under toolbar */
.bh-content-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.bh-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 14px 10px;
  min-width: 0;
}
.bh-pl {
  height: 5px;
  border-radius: 3px;
  background: rgba(0,0,0,.06);
}
.bh-popup-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  padding: 0 14px 0 0;
  margin-top: -2px; /* snug under the bar */
}

/* Popup card */
.hv-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: hv-float 5s ease-in-out infinite;
}

/* Home */
.hv-card-home {
  width: 225px;
  padding: 16px 14px 14px;
}

/* Home card */
.hv-home-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.hv-tool-list { display: flex; flex-direction: column; gap: 5px; }

.hv-tool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--subtle);
  border-radius: 9px;
  padding: 9px 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
a.hv-tool-row:hover {
  background: rgba(122,90,248,.08);
}

.hv-ticon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--purple-t);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hv-tname { flex: 1; font-size: 12px; font-weight: 600; }
.hv-dot { width: 5px; height: 5px; border-radius: 50%; background: #ddd; flex-shrink: 0; }
.hv-dot-on { background: var(--purple); }


/* ── TOOL SECTIONS ─────────────────────────────────────────────── */
.tool-section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}
/* Hero fade into FakeIt + radial gradients confined to demo side, bleed up/down */
.fakeit-section {
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, #f6f7fc 0%, rgba(255,255,255,0) 55%),
              #fff;
}
/* Gradient only on demo (right) side — avoids logo/title */
.fakeit-section::after {
  content: '';
  position: absolute;
  top: -25%;
  left: 48%;
  right: 0;
  height: 150%;
  background: radial-gradient(ellipse 900px 700px at 78% 50%, rgba(248,232,245,.9) 0%, rgba(250,238,248,.55) 40%, rgba(252,246,251,.25) 60%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.fakeit-section .tool-inner { position: relative; z-index: 1; }
.fakeit-section .tool-text,
.fakeit-section .fakeit-panel {
  background: transparent;
}

/* OverRate: demo on left — gradient only on left side */
.overrate-section {
  position: relative;
  z-index: 1;
  background: #fff;
}
.overrate-section::after {
  content: '';
  position: absolute;
  top: -25%;
  left: 0;
  right: 52%;
  height: 150%;
  background: radial-gradient(ellipse 900px 700px at 22% 50%, rgba(248,232,245,.9) 0%, rgba(250,238,248,.55) 40%, rgba(252,246,251,.25) 60%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.overrate-section .tool-inner { position: relative; z-index: 1; }
.overrate-section .tool-text,
.overrate-section .overrate-panel {
  background: transparent;
}

/* NoiseOff: demo on right — gradient only on right side */
.noiseoff-section {
  position: relative;
  z-index: 1;
  background: #fff;
}
.noiseoff-section::after {
  content: '';
  position: absolute;
  top: -25%;
  left: 48%;
  right: 0;
  height: 150%;
  background: radial-gradient(ellipse 900px 700px at 78% 50%, rgba(248,232,245,.9) 0%, rgba(250,238,248,.55) 40%, rgba(252,246,251,.25) 60%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.noiseoff-section .tool-inner { position: relative; z-index: 1; }
.noiseoff-section .tool-text,
.noiseoff-section .noise-panel {
  background: transparent;
}

.tool-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.tool-inner-flip { direction: rtl; }
.tool-inner-flip > * { direction: ltr; }

.tool-text {
  padding: 72px 56px 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.tool-inner-flip .tool-text { padding: 72px 80px 72px 56px; }

.tool-name { font-size: 20px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.tn-dark  { color: var(--dark); }
.tn-purple { color: var(--purple); }

.tool-text h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--dark);
}

.tool-text p {
  margin: 18px 0 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.tool-block {
  margin-top: 28px;
}
.tool-block p {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.68;
}
.tool-block-label {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--purple);
}

.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: steps; margin-top: 28px; }
.steps li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.steps li::before {
  content: counter(steps);
  min-width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(122,90,248,.08);
  border: 1px solid rgba(122,90,248,.22);
  color: var(--purple);
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0;
}

.tool-demo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.fakeit-panel  { background: #fff; }
.overrate-panel {
  background: #fff;
  align-items: center;
  justify-content: center;
  padding: 72px 56px;
}
.noise-panel   { background: #fff; }

/* ── FAKEIT DEMO ────────────────────────────────────────────────── */
.demo-fakeit { width: 100%; max-width: 400px; position: relative; }

/* Search page context */
.amz-search-ui { margin-bottom: 10px; }

.amz-searchbar {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 5px;
  overflow: hidden;
  height: 30px;
  margin-bottom: 6px;
}
.amz-searchbar-icon { padding: 0 8px; display: flex; align-items: center; }
.amz-query { flex: 1; font-size: 11px; color: rgba(0,0,0,.35); font-family: 'General Sans', sans-serif; }
.amz-searchbar-submit { width: 34px; height: 30px; background: transparent; border-left: 1px solid rgba(0,0,0,.10); display: flex; align-items: center; justify-content: center; border-radius: 0 4px 4px 0; flex-shrink: 0; }
.amz-searchbar-submit::after { content: ''; display: block; width: 10px; height: 10px; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5' stroke='rgba(0,0,0,.25)' fill='none' stroke-width='1.6'/%3E%3Cline x1='10' y1='10' x2='14' y2='14' stroke='rgba(0,0,0,.25)' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/contain; }

.amz-results-info { font-size: 10px; color: rgba(0,0,0,.3); }
.amz-results-info b { color: rgba(0,0,0,.4); }

/* Product grid */
.amz-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.amz-tile {
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  transition: border-color .2s;
}
/* Active (target) tile stays fully rendered */
#fakeit-target { background: #fff; border-color: rgba(0,0,0,.1); }
#fakeit-target.hovered { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(122,90,248,.15); }

.amz-tile-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 7px 7px 0 0;
  overflow: hidden;
}

.amz-tile-img {
  width: 100%; height: 100%;
  position: relative;
  background: #f0eeff;
  transition: background .35s ease;
}
/* Non-active tiles: outline only */
.amz-img-b { background: transparent; }
.amz-img-c { background: transparent; }
.amz-img-d { background: transparent; }

/* Placeholder product shape — outline only, stacked via absolute */
.amz-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease;
}
.amz-ph-shape {
  width: 54%;
  height: 60%;
  background: transparent;
  border: 1.5px solid rgba(122,90,248,.2);
  border-radius: 12px;
}

/* Duck SVG — stacked via absolute; opacity-based show/hide (display:none on SVG is tricky) */
.duck-svg {
  position: absolute;
  inset: 6%;
  display: block;
  opacity: 0;
  transition: opacity .25s ease;
}
.duck-svg.duck-visible { opacity: 1; }

/* Arrows */
.amz-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .18s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  z-index: 5;
  pointer-events: none;
}
.amz-arrow-left  { left: 6px; }
.amz-arrow-right { right: 6px; }
.amz-arrow.visible { opacity: 1; }
.amz-arrow.clicking { transform: translateY(-50%) scale(0.78); box-shadow: 0 0 0 5px rgba(122,90,248,.3); }

/* Stylized cursor */
.fake-cursor {
  position: absolute;
  width: 32px;
  height: 35px;
  pointer-events: none;
  transition: left .5s cubic-bezier(.25,.46,.45,.94), top .5s cubic-bezier(.25,.46,.45,.94);
  z-index: 10;
  display: flex;
  align-items: flex-start;
}
.fake-cursor svg { display: block; }

.cursor-click-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(122,90,248,.25);
  transform: translate(-50%,-50%) scale(0);
  transition: none;
  pointer-events: none;
}
.cursor-click-ring.pop {
  animation: ring-pop 360ms ease-out forwards;
}
@keyframes ring-pop {
  0%   { width: 0; height: 0; opacity: 1; transform: translate(-50%,-50%) scale(1); }
  100% { width: 42px; height: 42px; opacity: 0; transform: translate(-50%,-50%) scale(1); }
}

/* Tile info bars */
.amz-tile-info { padding: 8px 9px 10px; }
.amz-bar { height: 7px; background: rgba(0,0,0,.07); border-radius: 4px; margin-bottom: 5px; }
.w80 { width: 80%; } .w75 { width: 75%; } .w70 { width: 70%; }
.w60 { width: 60%; } .w55 { width: 55%; } .w50 { width: 50%; }
.w90 { width: 90%; }
.amz-stars-bar  { height: 6px; width: 56%; background: rgba(0,0,0,.07); border-radius: 4px; margin-bottom: 5px; }
.amz-price-bar  { height: 8px; width: 38%; background: rgba(0,0,0,.07); border-radius: 4px; }

/* ── OVERRATE DEMO ──────────────────────────────────────────────── */
.demo-overrate {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  /* Offset the popup's bottom bleed so the visual centre matches the text column */
  margin-top: -20px;
}

.amz-listing-bg {
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 16px 18px 18px;
}

/* Breadcrumb */
.alb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}
.alb-bc-bar { height: 6px; background: rgba(0,0,0,.07); border-radius: 3px; flex-shrink: 0; }
.alb-bc-sep { font-size: 9px; color: rgba(0,0,0,.2); line-height: 1; }

/* Product row */
.alb-product { display: flex; gap: 16px; margin-bottom: 14px; }

/* Left: image + thumbnails */
.alb-img-col { display: flex; flex-direction: column; gap: 7px; flex-shrink: 0; }
.alb-img { width: 140px; height: 140px; background: transparent; border: 1px solid rgba(0,0,0,.08); border-radius: 6px; }
.alb-thumbs { display: flex; gap: 5px; }
.alb-thumb { width: 32px; height: 32px; background: transparent; border: 1px solid rgba(0,0,0,.08); border-radius: 4px; }

/* Right: info */
.alb-info { flex: 1; min-width: 0; }
.alb-brand-bar { width: 65px; height: 7px; background: rgba(122,90,248,.15); border-radius: 3px; margin-bottom: 9px; }
.alb-bar { height: 8px; background: rgba(0,0,0,.07); border-radius: 4px; margin-bottom: 7px; }
.alb-bar.w95 { width: 95%; }
.alb-bar.w82 { width: 82%; }
.alb-bar.w78 { width: 78%; }
.alb-bar.w74 { width: 74%; }
.alb-bar.w66 { width: 66%; }
.alb-bar.w58 { width: 58%; }
.alb-stars { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.alb-star-icons { font-size: 11px; color: rgba(0,0,0,.22); letter-spacing: 1px; }
.alb-count { font-size: 10px; color: rgba(0,0,0,.22); }
.alb-divider { height: 1px; background: rgba(0,0,0,.07); margin: 8px 0 10px; }
.alb-price-bar { width: 80px; height: 14px; background: rgba(0,0,0,.1); border-radius: 4px; margin-bottom: 10px; }
.alb-bullets { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.alb-bullet { display: flex; align-items: center; gap: 7px; }
.alb-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,.18); flex-shrink: 0; }
.alb-btn-bar { height: 22px; background: rgba(122,90,248,.1); border: 1px solid rgba(122,90,248,.18); border-radius: 6px; width: 75%; }

/* Review histogram row — extra context below product */
.alb-reviews-row {
  border-top: 1px solid rgba(0,0,0,.07);
  padding-top: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.alb-review-summary { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.alb-review-big { width: 28px; height: 22px; background: rgba(0,0,0,.08); border-radius: 4px; }
.alb-review-stars-sm { display: flex; gap: 2px; }
.alb-review-star { width: 8px; height: 8px; background: rgba(0,0,0,.15); border-radius: 1px; }
.alb-histogram { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.alb-histo-row { display: flex; align-items: center; gap: 6px; }
.alb-histo-label { width: 20px; font-size: 8px; color: rgba(0,0,0,.25); text-align: right; flex-shrink: 0; }
.alb-histo-track { flex: 1; height: 6px; background: rgba(0,0,0,.06); border-radius: 3px; overflow: hidden; }
.alb-histo-fill { height: 100%; background: rgba(0,0,0,.14); border-radius: 3px; }

/* OverRate popup — floats over the lower-right of the listing */
.or-popup {
  position: absolute;
  right: -10px;
  bottom: -20px;
  width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg), 0 2px 8px rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.06);
  padding: 20px;
}

.or-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.or-header-left { display: flex; align-items: center; gap: 10px; }
.or-back-btn { width: 28px; height: 28px; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.or-logo { font-size: 18px; font-weight: 700; font-family: 'General Sans', sans-serif; }
.or-dark  { color: var(--dark); }
.or-purple { color: var(--purple); }
.or-popup-actions { display: flex; align-items: center; gap: 8px; }
.or-info-icon { font-size: 12px; font-weight: 400; color: #aaa; background: #f2f2f2; border-radius: 50%; width: 18px; height: 18px; text-align: center; line-height: 18px; font-family: 'Helvetica Neue', Arial, sans-serif; }
.or-refresh-btn { font-weight: 700; font-size: 18px; color: var(--purple); background: none; border: none; padding: 0; cursor: default; line-height: 1; font-family: system-ui, sans-serif; }

.or-rating-wrapper { position: relative; height: 92px; margin-bottom: 16px; }
.or-dual-rating { position: absolute; top: 0; left: 0; width: 100%; display: flex; gap: 10px; }
.or-rating-box { flex: 1; background: #f3f3f3; border-radius: 10px; padding: 10px 8px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.or-displayed-box { background: var(--purple-t); }
.or-displayed-box.pop { animation: or-pop 180ms ease; }
@keyframes or-pop { 0%{transform:scale(1)} 50%{transform:scale(.96)} 100%{transform:scale(1)} }

.or-rating-label { font-size: 11px; font-weight: 200; font-family: 'Helvetica Neue', Arial, sans-serif; color: #999; margin-bottom: 4px; }
.or-rating-value { font-size: 26px; font-weight: 700; color: #3d3d3d; line-height: 1; transition: all .25s ease; }
.or-displayed-value { font-size: 26px; font-weight: 700; color: var(--purple); line-height: 1; transition: all .25s ease; }
.or-rating-sub { font-size: 11px; font-weight: 400; font-family: 'Helvetica Neue', Arial, sans-serif; color: #999; margin-top: 4px; }

.or-hint-box { background: #f7f7f7; padding: 8px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; color: #333; margin-bottom: 12px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.04); }

.or-stars-simulator { display: flex; flex-direction: column; gap: 8px; }
.or-star-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  background: #f7f7f7;
  padding: 6px 10px;
  border-radius: 8px;
}
.or-star-label { width: 100px; text-align: left; font-weight: 700; }
.or-star-label span { font-size: 14px; }
.or-star-controls { display: flex; align-items: center; gap: 15px; }
.or-btn {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 26px; height: 26px;
  font-size: 16px;
  line-height: 1;
  cursor: default;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  font-family: 'General Sans', sans-serif;
}
.or-count { font-weight: 700; font-size: 14px; width: 18px; text-align: center; display: inline-block; transition: all .2s; }

/* ── NOISEOFF DEMO ──────────────────────────────────────────────── */
.demo-noiseoff {
  display: flex;
  gap: 0;
  align-items: flex-start;
  width: 100%;
  max-width: 560px;
  position: relative;
}

/* Scattered Amazon product page mockup */
.no-page {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 12px;
  min-height: 500px;
  overflow: hidden;
  margin-top: -20px;
  margin-bottom: -40px;
}

/* Core product — always visible */
/* Top nav section */
.no-topnav {
  max-height: 30px;
  margin-bottom: 8px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  padding: 8px 10px;
}
.no-nav-bars { display: flex; align-items: center; gap: 8px; }
.no-nbar { height: 6px; background: rgba(0,0,0,.08); border-radius: 3px; flex-shrink: 0; }
.no-nbar.w30 { width: 30%; }
.no-nbar.w50 { width: 50%; }
.no-nbar.w20 { width: 20%; }

.no-core-product {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.no-product-img { width: 60px; height: 60px; background: transparent; border: 1px solid rgba(0,0,0,.1); border-radius: 6px; flex-shrink: 0; }
.no-product-info { flex: 1; padding-top: 2px; }
.no-pbar { height: 6px; background: rgba(0,0,0,.08); border-radius: 3px; margin-bottom: 5px; }
.no-pbar.w80 { width: 80%; } .no-pbar.w60 { width: 60%; }
.no-pstars { font-size: 9px; color: rgba(0,0,0,.2); margin-bottom: 4px; }
.no-pstars span { color: rgba(0,0,0,.2); }
.no-pprice { width: 36px; height: 8px; background: rgba(0,0,0,.08); border-radius: 3px; }

/* Togglable sections — scattered positions around the product */
.no-section {
  overflow: hidden;
  border-radius: 6px;
  transition: max-height .38s ease, opacity .32s ease, margin .38s ease;
}
.no-section.hidden { max-height: 0 !important; opacity: 0; margin: 0 !important; }

/* Sponsored content — row below product, full width */
.no-above-fold {
  max-height: 52px;
  margin-bottom: 7px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
}

/* Rufus AI — right sidebar style, sits next to brand area */
.no-sidebar {
  max-height: 78px;
  margin-bottom: 7px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  padding: 7px 8px;
}

/* Brand content — medium width offset */
.no-brand {
  max-height: 36px;
  margin-bottom: 7px;
  border: 1px solid rgba(0,0,0,.08);
}

/* Recommendations — full width row at bottom */
.no-below-fold {
  max-height: 52px;
  margin-bottom: 7px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
}

/* Customer reviews — bottom section */
.no-reviews {
  max-height: 60px;
  margin-bottom: 7px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  padding: 8px;
}

/* Bottom filler — extends page visually below the popup */
.no-bottom-filler {
  flex: 1;
  min-height: 80px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 6px;
  margin-top: 6px;
}

/* Section content helpers */
.no-tiles { display: flex; gap: 5px; padding: 7px; }
.no-tile  { flex: 1; background: transparent; border: 1px solid rgba(0,0,0,.08); border-radius: 4px; height: 34px; }
.no-sidebar-lines { display: flex; flex-direction: column; gap: 4px; }
.no-sline { height: 6px; background: rgba(0,0,0,.08); border-radius: 3px; }
.no-sline.w60 { width: 60%; } .no-sline.w80 { width: 80%; } .no-sline.w50 { width: 50%; }
.no-brand-bar { height: 30px; background: transparent; border: 1px solid rgba(0,0,0,.08); border-radius: 5px; }
.no-review-lines { display: flex; flex-direction: column; gap: 5px; }
.no-rline { height: 6px; background: rgba(0,0,0,.08); border-radius: 3px; }
.no-rline.w90 { width: 90%; } .no-rline.w70 { width: 70%; } .no-rline.w55 { width: 55%; }

/* NoiseOff popup — exact match to popup.css #tool-noiseoff */
.no-popup {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 24px 20px;
  margin-left: -28px;
  position: relative;
  z-index: 2;
}

.no-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.no-header-left { display: flex; align-items: center; gap: 8px; }
.no-back-btn { width: 24px; height: 24px; background: #f5f5f5; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.no-logo { font-size: 18px; font-weight: 700; font-family: 'General Sans', sans-serif; }
.no-dark { color: var(--dark); }
.no-purple { color: var(--purple); }

/* Exact toggle sizes from popup.css */
.no-switch {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  cursor: default;
}

.no-cb { opacity: 0; width: 0; height: 0; position: absolute; }

/* Master switch: 38x20, thumb 14x14 at left:3 bottom:3, translateX(18) */
.no-switch-master {
  width: 38px;
  height: 20px;
}
.no-switch-master .no-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 34px;
  transition: .2s;
}
.no-switch-master .no-slider::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.no-switch-master .no-cb:checked + .no-slider { background: var(--purple); }
.no-switch-master .no-cb:checked + .no-slider::before { transform: translateX(18px); }

/* Row switches: 34x18, thumb 12x12 at left:2 bottom:3, translateX(16) */
.no-srow-item .no-switch {
  width: 34px;
  height: 18px;
}
.no-srow-item .no-switch .no-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 34px;
  transition: .2s;
}
.no-srow-item .no-switch .no-slider::before {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  left: 2px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.no-srow-item .no-switch .no-cb:checked + .no-slider { background: var(--purple); }
.no-srow-item .no-switch .no-cb:checked + .no-slider::before { transform: translateX(16px); }

.no-section-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Exact section-row from popup.css: gap 12px, padding 8px 12px, 14px bold */
.no-srow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: 'General Sans', sans-serif;
}
.no-slabel {
  flex: 1;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  font-family: 'General Sans', sans-serif;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── END SECTION ─────────────────────────────────────────────────── */
.end-section {
  min-height: 65vh;
  position: relative;
  z-index: 0;
  background: radial-gradient(ellipse 900px 500px at 50% -40px, #e8e2ff 0%, #f3f4f9 55%, #f6f7fc 100%);
  display: flex;
  align-items: center;
}

.end-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Final CTA */
.final-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.final-logo { color: var(--purple); margin-bottom: 12px; }

.final-h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--dark);
  text-align: center;
}

.final-cta-wrap .hero-cta-group { margin-top: 0; }

/* Footer (narrow bar at bottom, outside end section) */
.footer {
  width: 100%;
  border-top: 1px solid rgba(122,90,248,.12);
  background: #f6f7fc;
  padding: 14px 24px;
  display: flex;
  justify-content: center;
}

.footer-inner {
  width: 100%;
  max-width: var(--max);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo { flex-shrink: 0; }
.footer-copyright { font-size: 12px; color: var(--muted); font-family: 'General Sans', sans-serif; }
.footer-sep { color: var(--muted); font-size: 12px; }
.footer-tag { font-size: 12px; color: var(--muted); }
.footer-spacer { flex: 1; }
.footer-store-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}
.footer-store-link:hover { color: var(--purple); }
.footer-store-img { border-radius: 3px; }

/* ── SCROLL REVEAL ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Section intro — subtle staggered fade-up when scrolled into view */
.fakeit-section .intro-animate,
.overrate-section .intro-animate,
.noiseoff-section .intro-animate {
  opacity: 0;
  transform: translateY(6px);
}
.fakeit-section.visible .intro-animate,
.overrate-section.visible .intro-animate,
.noiseoff-section.visible .intro-animate {
  animation: section-intro 0.5s ease-out forwards;
  animation-delay: calc(var(--intro-delay, 0) * 1s);
  animation-fill-mode: both;
}
@keyframes section-intro {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-visual { gap: 14px; max-width: 100%; }

  .tool-inner,
  .tool-inner-flip { grid-template-columns: 1fr; direction: ltr; }
  .tool-text, .tool-inner-flip .tool-text { padding: 48px 40px 24px; }
  .tool-demo-panel { padding: 32px 40px; min-height: 360px; }
  .overrate-panel { padding: 48px 40px; }
  .tool-section { min-height: auto; }

  .demo-fakeit { margin: 0 auto; }
  .demo-overrate { margin: 0 auto; }
  .or-popup { position: static; width: 100%; margin-top: 12px; }

  .demo-noiseoff { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 1020px) {
  /* On stacked layout, gradients span full width centered rather than half-width */
  .fakeit-section::after,
  .noiseoff-section::after {
    left: 0;
    right: 0;
    background: radial-gradient(ellipse 900px 700px at 50% 50%, rgba(248,232,245,.9) 0%, rgba(250,238,248,.55) 40%, rgba(252,246,251,.25) 60%, transparent 85%);
  }
  .overrate-section::after {
    left: 0;
    right: 0;
    background: radial-gradient(ellipse 900px 700px at 50% 50%, rgba(248,232,245,.9) 0%, rgba(250,238,248,.55) 40%, rgba(252,246,251,.25) 60%, transparent 85%);
  }
}

@media (max-width: 680px) {
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero-sub { font-size: 16px; }

  /* Simplified browser mockup on mobile: tabs + URL + page lines, no popup */
  .hero-visual {
    margin-top: 36px;
    padding-bottom: 32px;
    width: 100%;
    max-width: 280px;
    align-items: center;
  }
  .browser-hint {
    width: 100%;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    overflow: hidden;
    animation: hv-float 4s ease-in-out infinite;
  }
  .bh-content-row .bh-popup-wrap { display: none; }
  .bh-content-row { flex-direction: column; }
  .bh-page { padding: 12px 14px 14px; gap: 6px; }
  .bh-page::after { content: ''; display: block; height: 6px; width: 35%; background: rgba(0,0,0,.06); border-radius: 3px; }
  .bh-pl { height: 6px; }
  .bh-tabs { padding: 6px 10px 0; }
  .bh-bar { padding: 5px 10px; }
  .bh-url { font-size: 9px; }
  .bh-tab { padding: 4px 8px 5px; font-size: 9px; }
  .bh-tab-ghost { width: 28px; height: 5px; }

  .tool-text, .tool-inner-flip .tool-text { padding: 40px 24px 20px; }
  .tool-demo-panel { padding: 24px; }
  .overrate-panel { padding: 24px; }
  .tool-text h2 { font-size: 26px; }

  /* NoiseOff: show popup above the page mockup, constrain page height */
  .demo-noiseoff { flex-direction: column; align-items: center; max-width: 100%; }
  .no-popup { width: 100%; max-width: 280px; margin-left: 0; order: -1; }
  .no-page { margin-top: 0; margin-bottom: 0; min-height: auto; max-height: 260px; overflow: hidden; width: 100%; max-width: 280px; }

  .end-inner { padding: 48px 24px; }
  .final-h2 { font-size: 24px; }

  .footer-inner { flex-wrap: wrap; gap: 6px 10px; }
  .footer-tag, .footer-sep { display: none; }
  .footer-spacer { display: none; }
  .footer-store-link { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .intro-animate { opacity: 1; transform: none; animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-card { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
