:root {
  --bg: #07111f;
  --bg-soft: #0c182b;
  --panel: rgba(12, 24, 43, 0.88);
  --panel-strong: #101e34;
  --panel-border: rgba(128, 163, 255, 0.16);
  --text: #edf4ff;
  --muted: #9fb1cc;
  --primary: #63a4ff;
  --primary-2: #4dd7ff;
  --success: #36d399;
  --warning: #ffb454;
  --danger: #ff7b93;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
  --hiw-line: rgba(87, 129, 209, 0.24);
  --hiw-line-strong: rgba(96, 142, 230, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(77, 215, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(99, 164, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #06101c 0%, #081321 40%, #091523 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* NAV */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(140, 169, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover {
  color: var(--text);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  color: #06101c;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 34px rgba(77, 215, 255, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(77, 215, 255, 0.3);
}

.btn-secondary {
  border-color: rgba(115, 157, 255, 0.24);
  background: rgba(13, 26, 47, 0.9);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(115, 157, 255, 0.4);
  background: rgba(16, 32, 57, 0.95);
}

/* HERO */
.hero {
  padding: 72px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12, 24, 43, 0.82);
  border: 1px solid rgba(99, 164, 255, 0.18);
  color: #bcd4ff;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 12px rgba(77, 215, 255, 0.8);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff 10%, #a8cbff 55%, #67dcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin-top: 22px;
  max-width: 650px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.signal-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.signal-card {
  background: rgba(10, 20, 37, 0.8);
  border: 1px solid rgba(128, 163, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.signal-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.signal-value {
  font-size: 1.05rem;
  font-weight: 700;
}

/* DASHBOARD CARD */
.dashboard-card {
  background: linear-gradient(180deg, rgba(13, 24, 44, 0.98), rgba(8, 16, 30, 0.96));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(99, 164, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.badge-live {
  padding: 7px 10px;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(54, 211, 153, 0.12);
  color: #8be7c3;
  border: 1px solid rgba(54, 211, 153, 0.22);
}

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

.claim-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.claim-meta {
  font-size: 0.92rem;
  color: var(--muted);
}

.similarity-pill {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 180, 84, 0.3);
  background: rgba(255, 180, 84, 0.12);
  color: #ffd494;
  white-space: nowrap;
}

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

.video-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(128, 163, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
}

.video-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(99, 164, 255, 0.16), rgba(255, 123, 147, 0.14)),
    linear-gradient(180deg, #172741, #0c182b);
  margin-bottom: 12px;
  border: 1px solid rgba(128, 163, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 18% 14%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-label {
  color: #b8c7df;
  font-size: 0.82rem;
  margin-bottom: 5px;
}

.video-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.score-group {
  display: grid;
  gap: 12px;
}

.score-row {
  display: grid;
  grid-template-columns: 110px 1fr 46px;
  align-items: center;
  gap: 12px;
}

.score-row label {
  color: #c2d2ea;
  font-size: 0.9rem;
}

.bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
}

.fill.blue {
  background: linear-gradient(90deg, #4d84ff, #4dd7ff);
}

.fill.orange {
  background: linear-gradient(90deg, #ff9d42, #ffc061);
}

.fill.red {
  background: linear-gradient(90deg, #ff6b7c, #ff8ca6);
}

.fill.green {
  background: linear-gradient(90deg, #20c997, #36d399);
}

.score-val {
  color: #dfe9f9;
  font-size: 0.9rem;
  text-align: right;
  font-weight: 700;
}

/* SECTIONS */
section {
  padding: 34px 0;
}

.section__head {
  max-width: 700px;
  margin-bottom: 24px;
}

.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

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

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-weight: 800;
  color: #07111f;
}

.blue-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.orange-icon {
  background: linear-gradient(135deg, #ff9d42, #ffc061);
}

.pink-icon {
  background: linear-gradient(135deg, #ff6b7c, #ff9ab0);
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* BAND */
.band {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(99, 164, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(77, 215, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(14, 26, 46, 0.94), rgba(8, 17, 31, 0.98));
  box-shadow: var(--shadow);
}

.band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
}

.list-item strong {
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}

.list-bullet {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 12px rgba(77, 215, 255, 0.55);
  flex: 0 0 auto;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-box {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(128, 163, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.stat-box .big {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat-box .small {
  color: var(--muted);
  font-size: 0.94rem;
}

/* CTA */
.cta-card {
  text-align: center;
  padding: 42px 28px;
  border-radius: 30px;
  border: 1px solid rgba(128, 163, 255, 0.14);
  background:
    radial-gradient(circle at top center, rgba(77, 215, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(12, 22, 40, 0.98), rgba(8, 16, 30, 1));
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}

.cta-card p {
  max-width: 700px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
}

.input {
  flex: 1 1 320px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(128, 163, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  font: inherit;
}

.input::placeholder {
  color: #8396b3;
}

/* FOOTER */
footer {
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* POLICY PAGE */
.policy-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.policy-card {
  background: linear-gradient(180deg, rgba(13, 24, 44, 0.98), rgba(8, 16, 30, 0.96));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.policy-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.policy-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(128, 163, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.policy-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.policy-item span {
  color: var(--muted);
  font-size: 0.96rem;
}

.policy-item ul {
  margin: 10px 0 0 18px;
  padding: 0;
  color: var(--muted);
}

.policy-item li + li {
  margin-top: 6px;
}

.policy-item a {
  color: var(--primary-2);
}

.policy-item a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(160deg, rgba(8, 20, 42, 0.96) 0%, rgba(4, 12, 28, 0.99) 100%);
  border: 1px solid var(--hiw-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  border-color: rgba(96, 142, 230, 0.45);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(96, 142, 230, 0.12);
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 217, 255, 0.07), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.step__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px 24px 24px;
}

.step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #dbe9ff;
  background: linear-gradient(180deg, rgba(59, 106, 189, 0.45) 0%, rgba(38, 71, 126, 0.45) 100%);
  border: 1px solid var(--hiw-line-strong);
  flex-shrink: 0;
  margin-bottom: 2px;
}

.step__content h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #e8eefc;
}

.step__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.step__content::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(87, 129, 209, 0.22) 30%,
    rgba(87, 129, 209, 0.22) 70%,
    transparent
  );
}

.step__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: stretch;
  margin: 0;
}

.step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.step:hover .step__media img {
  opacity: 0.95;
  transform: scale(1.025);
}

.step__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #eef5ff;
  background: rgba(4, 10, 22, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .hero-grid,
  .band-grid,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .policy-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero-grid,
  .signal-row,
  .video-compare,
  .grid-3,
  .band-grid,
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .score-row {
    grid-template-columns: 90px 1fr 42px;
  }

  .hero {
    padding-top: 42px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 200px;
  }
}

@media (max-width: 600px) {
  .steps {
    gap: 12px;
  }

  .step {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    min-height: 0;
  }

  .step__content {
    padding: 20px 20px 16px;
  }

  .step__content::after {
    display: none;
  }

  .step__media {
    min-height: 180px;
    border-top: 1px solid rgba(87, 129, 209, 0.18);
  }
}

.step__media {
  cursor: zoom-in;
}

.step__media img {
  cursor: zoom-in;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.image-modal.is-open {
  display: block;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  max-height: 88vh;
  margin: 4vh auto;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 20, 37, 0.98), rgba(6, 14, 26, 0.98));
  border: 1px solid rgba(128, 163, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.image-modal__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(88vh - 36px);
  object-fit: contain;
  border-radius: 16px;
}

.image-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.88);
  color: #edf4ff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.image-modal__close:hover {
  background: rgba(14, 28, 52, 0.96);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .image-modal__dialog {
    width: min(94vw, 1200px);
    margin: 6vh auto;
    padding: 14px;
    border-radius: 18px;
  }

  .image-modal__close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}