/* HERO Analyzer video integration */
.hero-media--video {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: auto;
}

.hero-analyzer-video,
.hero-analyzer-poster {
  display: block;
  width: 100%;
  max-height: 84vh;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.10);
  background: #090b10;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.46),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 70px rgba(69,140,255,0.14);
}

.hero-analyzer-poster {
  display: none;
}

@media (max-width: 1180px) {
  .hero-analyzer-video,
  .hero-analyzer-poster {
    max-height: none;
  }
}

@media (max-width: 767px) {
  .hero-analyzer-video,
  .hero-analyzer-poster {
    border-radius: 20px;
    box-shadow:
      0 20px 56px rgba(0,0,0,0.36),
      0 0 0 1px rgba(255,255,255,0.03) inset;
  }
}

@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .hero-analyzer-video {
    display: none;
  }

  .hero-analyzer-poster {
    display: block;
  }
}

/* === Hero video fullscreen trigger === */
.hero-analyzer-shell {
  position: relative;
}

.hero-video-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(13, 17, 23, 0.78);
  color: #F5F7FA;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.30),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-video-expand:hover {
  transform: translateY(-1px);
  border-color: rgba(121, 174, 255, 0.42);
  background: rgba(16, 23, 34, 0.92);
  box-shadow:
    0 18px 44px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 28px rgba(69,140,255,0.16);
}

.hero-video-expand:focus-visible {
  outline: none;
  border-color: rgba(121, 174, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(69,140,255,0.18),
    0 18px 44px rgba(0,0,0,0.34);
}

.hero-video-expand svg {
  width: 18px;
  height: 18px;
}

.hero-analyzer-shell:fullscreen,
.hero-analyzer-shell:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at 10% 18%, rgba(33, 111, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(33, 196, 153, 0.10), transparent 34%),
    linear-gradient(118deg, #04060A 0%, #07101A 48%, #05070B 100%);
}

.hero-analyzer-shell:fullscreen .hero-analyzer-video,
.hero-analyzer-shell:fullscreen .hero-analyzer-poster,
.hero-analyzer-shell:-webkit-full-screen .hero-analyzer-video,
.hero-analyzer-shell:-webkit-full-screen .hero-analyzer-poster {
  width: min(94vw, 1720px);
  max-width: 100%;
  max-height: calc(100vh - 56px);
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

.hero-analyzer-shell:fullscreen .hero-video-expand,
.hero-analyzer-shell:-webkit-full-screen .hero-video-expand {
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
}

@media (max-width: 767px) {
  .hero-video-expand {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}

/* === ULTRA PREMIUM HERO MEDIA UI === */
.hero-video-expand {
  border-color: rgba(173, 201, 236, 0.16);
  background: linear-gradient(180deg, rgba(13, 18, 28, 0.78) 0%, rgba(10, 14, 21, 0.92) 100%);
  box-shadow: 0 16px 44px rgba(0,0,0,0.26), 0 0 0 1px rgba(255,255,255,0.024) inset, 0 0 28px rgba(66,124,255,0.08);
}

.hero-video-expand:hover {
  border-color: rgba(124, 173, 255, 0.28);
  box-shadow: 0 20px 56px rgba(0,0,0,0.30), 0 0 0 1px rgba(255,255,255,0.028) inset, 0 0 36px rgba(66,124,255,0.14);
}


/* === HERO PROOF 00 === */
.hero-proof-zero-shell {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: auto;
  aspect-ratio: 16 / 9;
  padding: clamp(14px, 1.55vw, 22px);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(235, 241, 248, 0.98) 0%, rgba(225, 233, 242, 0.98) 100%),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.66), transparent 46%);
  border: 1px solid rgba(173, 191, 210, 0.38);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.44),
    0 0 0 1px rgba(255,255,255,0.24) inset,
    0 0 72px rgba(69,140,255,0.12);
  overflow: hidden;
}

.hero-proof-zero-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(129, 173, 255, 0.18), transparent 20%),
    radial-gradient(circle at 14% 76%, rgba(135, 188, 255, 0.14), transparent 24%);
  pointer-events: none;
}

.hero-proof-zero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
  height: 100%;
}

.hero-proof-card {
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(182, 197, 214, 0.76);
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,250,253,0.96) 100%);
  box-shadow:
    0 10px 22px rgba(121, 142, 167, 0.10),
    0 1px 0 rgba(255,255,255,0.7) inset;
}

.hero-proof-card--market {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}

.hero-proof-card--calc {
  grid-column: 2;
  grid-row: 1;
}

.hero-proof-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(194, 208, 221, 0.92);
  color: #4c647b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-proof-card-head--split {
  justify-content: space-between;
}

.hero-proof-card-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.hero-proof-head-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(222, 233, 244, 0.95);
  color: #6a8298;
  flex: 0 0 auto;
}

.hero-proof-head-icon svg {
  width: 12px;
  height: 12px;
}

.hero-proof-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #466b98;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof-ghost-btn,
.hero-proof-tool-btn,
.hero-proof-run-btn {
  border: 1px solid rgba(181, 196, 211, 0.96);
  background: linear-gradient(180deg, #fdfefe 0%, #eef4f9 100%);
  color: #35506d;
  font-family: inherit;
  cursor: default;
}

.hero-proof-ghost-btn {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(109, 132, 158, 0.10);
}

.hero-proof-ghost-btn svg {
  width: 14px;
  height: 14px;
}

.hero-proof-calc-grid {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.hero-proof-field {
  min-width: 0;
}

.hero-proof-label {
  margin-bottom: 8px;
  color: #7a8ea4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-proof-required {
  color: #dd5b70;
}

.hero-proof-checks {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
  flex-wrap: wrap;
}

.hero-proof-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b8198;
  font-size: 12px;
  font-weight: 600;
}

.hero-proof-check-box {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid rgba(173, 190, 206, 0.92);
  background: #ffffff;
  box-shadow: 0 1px 1px rgba(255,255,255,0.8) inset;
}

.hero-proof-check.is-active .hero-proof-check-box {
  border-color: #3b82f6;
  background: linear-gradient(180deg, #4f97ff 0%, #327ff0 100%);
}

.hero-proof-check.is-active .hero-proof-check-box::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, transparent 42%, #ffffff 42%, #ffffff 56%, transparent 56%),
              linear-gradient(45deg, transparent 49%, #ffffff 49%, #ffffff 62%, transparent 62%);
  clip-path: polygon(12% 54%, 29% 73%, 83% 18%, 92% 27%, 29% 90%, 4% 65%);
}

.hero-proof-input {
  display: flex;
  align-items: stretch;
  min-height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(188, 202, 218, 0.96);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  overflow: hidden;
}

.hero-proof-input-value {
  flex: 1 1 auto;
  position: relative;
}

.hero-proof-input-value::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 1px;
  background: rgba(206, 216, 226, 0.92);
}

.hero-proof-input-addon {
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(188, 202, 218, 0.96);
  color: #44617d;
  font-size: 12px;
  font-weight: 700;
  background: #f2f6fa;
}

.hero-proof-market-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 0;
}

.hero-proof-tool-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(109, 132, 158, 0.08);
}

.hero-proof-tool-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5d7894;
  font-size: 12px;
}

.hero-proof-country-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 14px 0;
}

.hero-proof-country-tile {
  min-height: 88px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(182, 197, 214, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #eef4f9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #55718d;
  text-align: center;
  box-shadow: 0 8px 18px rgba(121, 142, 167, 0.08);
}

.hero-proof-country-tile strong {
  font-size: 12px;
  line-height: 1;
  color: #294766;
}

.hero-proof-country-tile span:last-child {
  font-size: 11px;
  line-height: 1.2;
}

.hero-proof-flag {
  font-size: 20px;
  line-height: 1;
}

.hero-proof-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px 14px;
  margin-top: auto;
}

.hero-proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4fa;
  border: 1px solid rgba(190, 204, 220, 0.98);
  color: #54708b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-proof-run-wrap {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6px 10px 12px;
}

.hero-proof-run-btn {
  min-width: clamp(190px, 46%, 236px);
  min-height: 44px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #274763;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(96, 121, 149, 0.12);
}

.hero-proof-run-btn svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1180px) {
  .hero-proof-zero-shell {
    aspect-ratio: auto;
    min-height: 520px;
  }

  .hero-proof-zero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-proof-card--market,
  .hero-proof-card--calc,
  .hero-proof-run-wrap {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-proof-country-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero-proof-zero-shell {
    border-radius: 22px;
    padding: 14px;
  }

  .hero-proof-card {
    border-radius: 16px;
  }

  .hero-proof-card-head,
  .hero-proof-market-toolbar,
  .hero-proof-country-grid,
  .hero-proof-chip-row,
  .hero-proof-calc-grid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-proof-calc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-proof-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof-run-wrap {
    padding-bottom: 0;
  }

  .hero-proof-run-btn {
    width: 100%;
    min-width: 0;
  }
}
