@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --bg-color: #070a13;
  --bg-gradient: radial-gradient(circle at 50% 0%, #111a36 0%, #070a13 70%);
  --card-bg: rgba(13, 20, 38, 0.6);
  --card-bg-strong: rgba(13, 20, 38, 0.86);
  --card-border: rgba(255, 255, 255, 0.07);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-gold: #ffd700;
  --accent-cyan-rgb: 0, 242, 254;
  --accent-gold-rgb: 255, 215, 0;
  --rarity-common: #34d399;
  --rarity-rare: #a78bfa;
  --rarity-danger: #f43f5e;
  --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.25);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 242, 254, 0.08), transparent 26%),
    radial-gradient(circle at 82% 4%, rgba(255, 215, 0, 0.08), transparent 22%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

h1,
h2,
h3,
h4,
.brand,
button,
.button {
  font-family: "Outfit", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

.app-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 100vh;
  padding: 20px;
}

.glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 15px 25px;
  position: relative;
  z-index: 20;
}

.brand {
  align-items: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  display: flex;
  font-size: 1.4rem;
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
  -webkit-text-fill-color: transparent;
}

.logo-brand {
  background: transparent;
  -webkit-text-fill-color: initial;
}

.logo-brand img {
  display: block;
  height: 54px;
  max-width: min(330px, 64vw);
  object-fit: contain;
  width: auto;
}

.brand-mark {
  align-items: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.88), transparent 16%),
    radial-gradient(circle at center, rgba(255, 215, 0, 0.34), rgba(0, 242, 254, 0.12) 56%, rgba(2, 4, 10, 0.2));
  border: 2px solid rgba(255, 215, 0, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.38), 0 0 18px rgba(0, 242, 254, 0.28);
  color: var(--accent-gold);
  display: inline-flex;
  font-size: 0.72rem;
  height: 32px;
  justify-content: center;
  letter-spacing: 0;
  -webkit-text-fill-color: var(--accent-gold);
  width: 32px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: none;
  display: none;
  height: 46px;
  justify-content: center;
  justify-self: end;
  min-height: 46px;
  padding: 0;
  position: relative;
  width: 46px;
}

.menu-toggle span {
  background: var(--text-primary);
  border-radius: 999px;
  height: 2px;
  position: absolute;
  transition: var(--transition-smooth);
  width: 20px;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-btn,
footer a {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-btn:hover,
footer a:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

main {
  flex: 1;
}

[hidden] {
  display: none !important;
}

.scanner-hero {
  margin-inline: auto;
  max-width: 1120px;
  padding: clamp(28px, 5vw, 54px);
}

.centered-title {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.centered-title h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 18px;
}

.centered-title h1 span {
  background: linear-gradient(135deg, var(--accent-cyan), #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.centered-title p {
  margin-inline: auto;
}

.scanner-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin: 28px auto 0;
  max-width: 860px;
  padding: clamp(20px, 4vw, 30px);
}

.primary-upload {
  min-height: 320px;
}

.scan-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.or-divider {
  align-items: center;
  color: var(--text-secondary);
  display: grid;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  margin: -4px auto 0;
  max-width: 320px;
  width: 100%;
}

.or-divider::before,
.or-divider::after {
  background: rgba(255, 255, 255, 0.18);
  content: "";
  height: 1px;
}

.trust-note {
  align-items: center;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  text-align: center;
}

.scan-benefits {
  margin: 28px auto 0;
  max-width: 960px;
  padding: 32px 36px;
}

.sample-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(55, 169, 255, 0.18), transparent 32%),
    radial-gradient(circle at 86% 20%, rgba(124, 58, 237, 0.16), transparent 34%),
    rgba(7, 13, 31, 0.78);
  border-color: rgba(79, 172, 254, 0.42);
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(0, 242, 254, 0.08), 0 24px 80px rgba(0, 0, 0, 0.38), 0 0 36px rgba(79, 172, 254, 0.16);
  margin: 34px auto 0;
  max-width: 1120px;
  padding: clamp(28px, 5vw, 48px);
}

.scan-benefits h2,
.sample-section h2 {
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.sample-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.sample-section .section-title {
  margin-bottom: 28px;
}

.sample-section .section-title p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.benefit-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.benefit-grid div {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 92px;
  padding: 0 14px;
  text-align: center;
}

.benefit-grid div:first-child {
  border-left: 0;
}

.benefit-grid span {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--accent-cyan);
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.benefit-grid div:nth-child(2) span { color: #c084fc; }
.benefit-grid div:nth-child(3) span { color: #facc15; }
.benefit-grid div:nth-child(4) span { color: #d8b4fe; }
.benefit-grid div:nth-child(5) span { color: #86efac; }
.benefit-grid div:nth-child(6) span { color: #93c5fd; }

.benefit-grid strong {
  color: var(--text-secondary);
  font-weight: 600;
}

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

.sample-card {
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(79, 172, 254, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(13, 34, 69, 0.82), rgba(5, 10, 24, 0.82));
  border: 1px solid rgba(79, 172, 254, 0.5);
  border-radius: 16px;
  color: var(--text-primary);
  display: grid;
  gap: 16px;
  justify-items: center;
  min-height: 200px;
  overflow: hidden;
  padding: 28px 18px 24px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.sample-card::after {
  background: radial-gradient(ellipse at center, rgba(79, 172, 254, 0.28), transparent 58%);
  bottom: 52px;
  content: "";
  filter: blur(8px);
  height: 28px;
  left: 20%;
  opacity: 0.7;
  position: absolute;
  right: 20%;
}

.sample-card:nth-child(2) {
  background:
    radial-gradient(ellipse at 50% 70%, rgba(234, 88, 12, 0.24), transparent 50%),
    linear-gradient(145deg, rgba(47, 21, 15, 0.82), rgba(8, 10, 22, 0.82));
  border-color: rgba(234, 88, 12, 0.62);
}

.sample-card:nth-child(3) {
  background:
    radial-gradient(ellipse at 50% 70%, rgba(148, 163, 184, 0.22), transparent 50%),
    linear-gradient(145deg, rgba(22, 35, 57, 0.84), rgba(8, 10, 22, 0.82));
  border-color: rgba(148, 163, 184, 0.62);
}

.sample-card:nth-child(4) {
  background:
    radial-gradient(ellipse at 50% 72%, rgba(168, 85, 247, 0.24), transparent 50%),
    linear-gradient(145deg, rgba(30, 22, 62, 0.82), rgba(8, 10, 22, 0.82));
  border-color: rgba(168, 85, 247, 0.62);
}

.sample-card:hover {
  border-color: rgba(0, 242, 254, 0.86);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34), 0 0 28px rgba(0, 242, 254, 0.28);
  transform: translateY(-4px);
}

.sample-card img {
  height: 128px;
  max-width: 170px;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.sample-card:nth-child(4) img {
  max-width: 150px;
}

.sample-card strong {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.seo-guide {
  background:
    radial-gradient(circle at 78% 5%, rgba(0, 242, 254, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(9, 18, 38, 0.92), rgba(5, 9, 22, 0.92));
  border-color: rgba(79, 172, 254, 0.24);
  border-radius: 24px;
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.34);
  color: var(--text-secondary);
  display: grid;
  gap: 0;
  margin: 34px auto 0;
  max-width: 1120px;
  padding: clamp(24px, 4vw, 36px);
}

.coin-guide-page {
  background:
    radial-gradient(circle at 78% 5%, rgba(0, 242, 254, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(9, 18, 38, 0.94), rgba(5, 9, 22, 0.94));
  border-color: rgba(79, 172, 254, 0.24);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.34);
  color: var(--text-secondary);
  margin: 0 auto 30px;
  max-width: 1120px;
  padding: clamp(24px, 4vw, 36px);
}

.guide-page-hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-areas:
    "heading scanner"
    "intro scanner";
  grid-template-columns: 1.1fr 0.9fr;
  padding-bottom: 30px;
}

.guide-page-heading {
  grid-area: heading;
}

.guide-page-intro {
  grid-area: intro;
}

.guide-scan-card {
  grid-area: scanner;
}

.guide-page-hero h1 {
  color: var(--text-primary);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 18px;
}

.guide-page-hero p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 14px;
  max-width: 680px;
}

.guide-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.guide-scan-card {
  display: grid;
  gap: 14px;
}

.guide-scan-panel {
  margin: 0;
  max-width: none;
  padding: clamp(18px, 3vw, 24px);
}

  .guide-scan-panel .primary-upload {
    min-height: 300px;
    padding: 34px 22px;
  }

.guide-scan-panel .upload-icon {
  height: 66px;
  width: 66px;
}

.guide-scan-panel .upload-text strong {
  font-size: 1.15rem;
}

.guide-trust-note {
  justify-content: flex-start;
  margin: 0;
}

.guide-visual-card {
  align-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 242, 254, 0.16), transparent 54%),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  display: grid;
  gap: 18px;
  justify-items: center;
  min-height: 340px;
  padding: 28px;
  text-align: center;
}

.guide-visual-card img {
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.58));
  max-height: 250px;
  max-width: min(100%, 310px);
  object-fit: contain;
}

.guide-visual-card span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.related-guides {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 30px;
  padding-top: 28px;
}

.related-guides h2 {
  color: var(--text-primary);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.icon-defs {
  height: 0;
  position: absolute;
  width: 0;
}

.seo-guide svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.guide-inline-icon {
  height: 18px;
  width: 18px;
}

.guide-hero {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.05fr 0.95fr;
  padding-bottom: 30px;
}

.guide-pill {
  align-items: center;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 999px;
  color: var(--accent-cyan);
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  padding: 8px 14px;
  text-transform: uppercase;
}

.guide-hero h2 {
  color: var(--text-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.04;
  margin-bottom: 16px;
  max-width: 620px;
}

.guide-hero h2 span {
  color: var(--accent-cyan);
}

.guide-hero p,
.guide-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.72;
}

.learn-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 26px;
}

.learn-grid div,
.step-grid div,
.chip-grid span,
.type-grid a {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.learn-grid div {
  align-items: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 104px;
  padding: 14px 10px;
  text-align: center;
}

.learn-grid b {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--accent-cyan);
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.learn-grid b svg {
  height: 25px;
  width: 25px;
}

.learn-grid span {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
}

.guide-coin {
  align-content: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.guide-coin img {
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.6));
  max-width: 310px;
  width: min(78%, 310px);
}

.estimate-note {
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  max-width: 350px;
  padding: 16px 20px;
}

.estimate-note b {
  align-items: center;
  border: 1px solid var(--accent-blue);
  border-radius: 999px;
  color: var(--accent-blue);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.estimate-note b svg {
  height: 18px;
  width: 18px;
}

.guide-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 34px;
  grid-template-columns: 280px 1fr;
  padding: 30px 0;
}

.guide-heading {
  display: grid;
  gap: 16px;
  grid-template-columns: 70px 1fr;
}

.guide-heading > span {
  align-items: center;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.18), rgba(0, 242, 254, 0.04));
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 50%;
  color: var(--accent-cyan);
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.guide-heading > span svg {
  height: 32px;
  width: 32px;
}

.guide-heading h2 {
  color: var(--text-primary);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.12;
}

.guide-heading h2::after {
  background: var(--accent-cyan);
  content: "";
  display: block;
  height: 2px;
  margin-top: 16px;
  width: 48px;
}

.guide-body {
  display: grid;
  gap: 16px;
}

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

.step-grid div {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 14px;
  position: relative;
  text-align: center;
}

.step-grid b {
  align-items: center;
  border: 1px solid var(--accent-cyan);
  border-radius: 999px;
  color: var(--accent-cyan);
  display: inline-flex;
  font-size: 0.78rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.step-grid b svg {
  height: 18px;
  width: 18px;
}

.step-grid span,
.chip-grid span,
.type-grid a {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.tip-box {
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
}

.chip-grid,
.type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-grid span,
.type-grid a {
  padding: 8px 13px;
  text-decoration: none;
}

.chip-grid span::before {
  color: var(--accent-cyan);
  content: "✓ ";
}

.warning-box {
  align-items: flex-start;
  background: rgba(255, 215, 0, 0.07);
  border: 1px solid rgba(255, 215, 0, 0.32);
  border-radius: 12px;
  color: #fde68a !important;
  display: flex;
  gap: 12px;
  padding: 16px 18px;
}

.warning-box svg {
  color: var(--accent-gold);
  flex: 0 0 auto;
  height: 24px;
  width: 24px;
}

.guide-cta {
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 16px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 6px;
  padding: 18px 22px;
}

.guide-cta div {
  display: grid;
  gap: 4px;
}

.guide-cta b {
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
}

.guide-cta span {
  color: var(--text-secondary);
}

.guide-faq {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 30px;
  padding-top: 28px;
}

.guide-faq h2 {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.scanner-grid {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 1.2fr 0.8fr;
}

.scanner-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
}

.scanner-title h1,
.page-head h1,
.detail h1,
.narrow h1 {
  background: linear-gradient(135deg, #fff 55%, var(--text-secondary));
  -webkit-background-clip: text;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 0.95;
  margin-bottom: 12px;
  -webkit-text-fill-color: transparent;
}

.scanner-title p,
.page-head p,
.section-title p,
.narrow p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 760px;
}

.scan-box {
  display: grid;
  gap: 18px;
}

.upload-zone {
  background: rgba(255, 255, 255, 0.01);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  cursor: pointer;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 46px 30px;
  position: relative;
  text-align: center;
  transition: var(--transition-smooth);
}

.side-label {
  align-self: start;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.22);
  border-radius: 999px;
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  justify-self: center;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  text-transform: uppercase;
}

.upload-zone:hover {
  background: rgba(0, 242, 254, 0.02);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

.upload-zone input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.upload-icon {
  align-items: center;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 50%;
  color: var(--accent-cyan);
  display: inline-flex;
  height: 74px;
  justify-content: center;
  justify-self: center;
  transition: var(--transition-smooth);
  width: 74px;
}

.upload-zone:hover .upload-icon {
  background: rgba(0, 242, 254, 0.15);
  transform: scale(1.08);
}

.upload-text {
  display: grid;
  gap: 4px;
}

.upload-text strong {
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
}

.upload-text small,
small {
  color: var(--text-secondary);
}

.upload-btn,
.primary-btn,
button,
.button {
  align-items: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
  color: #070a13;
  cursor: pointer;
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  justify-self: center;
  min-height: 50px;
  padding: 12px 22px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.upload-btn:hover,
.primary-btn:hover,
button:hover,
.button:hover {
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.btn-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  line-height: 1;
  min-width: 26px;
  padding-inline: 5px;
  width: auto;
}

.btn-icon svg {
  height: 16px;
  width: 16px;
}

.selected-file {
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 0.82rem;
}

.upload-preview {
  border: 1px solid rgba(0, 242, 254, 0.24);
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.12);
  justify-self: center;
  max-height: 230px;
  object-fit: contain;
  width: min(100%, 420px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.secondary,
.secondary-btn,
.ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: var(--text-primary);
}

.secondary:hover,
.secondary-btn:hover,
.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.camera-tools {
  align-items: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 18px;
  width: 100%;
}

.camera-stage {
  background: #02040a;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 16px;
  box-shadow: var(--shadow-neon);
  overflow: hidden;
  position: relative;
  width: min(100%, 760px);
}

.camera-stage::after {
  border: 1px dashed rgba(0, 242, 254, 0.6);
  border-radius: 8px;
  bottom: 15%;
  box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.06);
  content: "";
  left: 15%;
  pointer-events: none;
  position: absolute;
  right: 15%;
  top: 15%;
}

.camera-stage video,
.camera-stage img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  opacity: 0.82;
  width: 100%;
}

.camera-stage video {
  background: #02040a;
  min-height: 320px;
}

.camera-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.camera-actions .button,
.camera-tools > .button,
.scan-box > .primary-btn {
  min-width: 168px;
}

.scan-box > .primary-btn {
  border-radius: 18px;
  justify-self: center;
  min-width: 240px;
  padding-inline: 28px;
}

.camera-status {
  color: var(--accent-cyan);
  font-family: monospace;
  font-size: 0.82rem;
}

.scan-overlay-view {
  align-items: center;
  background: rgba(7, 10, 19, 0.88);
  display: flex;
  inset: 0;
  justify-content: center;
  margin: 0;
  padding: 28px;
  position: fixed;
  z-index: 100;
}

.scan-overlay-view[hidden] {
  display: none;
}

.scanning-container {
  max-width: 600px;
  padding: 30px;
  text-align: center;
  width: min(100%, 600px);
}

.scanning-container h2 {
  color: var(--text-primary);
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.scanning-container > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.scan-window {
  aspect-ratio: 4 / 3;
  background: #02040a;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 16px;
  box-shadow: var(--shadow-neon);
  margin-bottom: 25px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.scan-img {
  height: 100%;
  object-fit: contain;
  opacity: 0.62;
  width: 100%;
}

.scan-hud {
  background: radial-gradient(circle, transparent 40%, rgba(7, 10, 19, 0.5));
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.scan-laser {
  animation: laser-scan 2.4s infinite linear;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 16px var(--accent-cyan);
  height: 4px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

@keyframes laser-scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.hud-rect {
  border: 1px dashed rgba(0, 242, 254, 0.5);
  border-radius: 8px;
  bottom: 15%;
  box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.05);
  left: 15%;
  position: absolute;
  right: 15%;
  top: 15%;
}

.hud-corner {
  border-color: var(--accent-cyan);
  border-style: solid;
  border-width: 0;
  height: 15px;
  position: absolute;
  width: 15px;
}

.top-left {
  border-left-width: 3px;
  border-top-width: 3px;
  left: -2px;
  top: -2px;
}

.top-right {
  border-right-width: 3px;
  border-top-width: 3px;
  right: -2px;
  top: -2px;
}

.bottom-left {
  border-bottom-width: 3px;
  border-left-width: 3px;
  bottom: -2px;
  left: -2px;
}

.bottom-right {
  border-bottom-width: 3px;
  border-right-width: 3px;
  bottom: -2px;
  right: -2px;
}

.scan-console {
  background: rgba(2, 4, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  color: var(--accent-cyan);
  font-family: monospace;
  font-size: 0.8rem;
  height: 118px;
  line-height: 1.5;
  overflow: hidden;
  padding: 15px;
  text-align: left;
}

.console-line {
  margin-bottom: 4px;
  opacity: 0.9;
}

.console-line.success {
  color: #10b981;
}

.console-line.warning {
  color: var(--accent-gold);
}

.scanning-progress-bar {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  height: 6px;
  margin-top: 15px;
  overflow: hidden;
  width: 100%;
}

.progress-fill {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 8px var(--accent-cyan);
  height: 100%;
  transition: width 0.25s linear;
  width: 0%;
}

body.is-scanning {
  overflow: hidden;
}

.result-grid {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 0.9fr 1.1fr;
}

.result-image-panel,
.result-info-panel {
  padding: 28px;
}

.result-canvas-container {
  background: #02040a;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.result-photo {
  display: block;
  max-height: 560px;
  object-fit: contain;
  opacity: 0.78;
  width: 100%;
}

.detector-note {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 14px auto 0;
  max-width: 420px;
  text-align: center;
}

.result-badge {
  background: rgba(7, 10, 19, 0.82);
  border: 1px solid rgba(0, 242, 254, 0.28);
  border-radius: 8px;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 7px 12px;
  position: absolute;
  right: 15px;
  text-transform: uppercase;
  top: 15px;
  z-index: 2;
}

.result-badge.warning {
  border-color: rgba(255, 215, 0, 0.36);
  color: var(--accent-gold);
}

.static-hud {
  background: radial-gradient(circle, transparent 42%, rgba(7, 10, 19, 0.35));
}

.result-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.result-header h1 {
  background: linear-gradient(135deg, #fff 55%, var(--text-secondary));
  -webkit-background-clip: text;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  margin: 12px 0;
  -webkit-text-fill-color: transparent;
}

.result-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.valuation-box {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0));
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.03);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  overflow: hidden;
  padding: 20px 25px;
  position: relative;
}

.val-label {
  color: var(--text-secondary);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.val-price {
  color: var(--accent-gold);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.val-note {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-top: 8px;
}

.val-score {
  text-align: right;
}

.val-score-num {
  color: var(--accent-cyan);
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.val-score-label {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.history-desc {
  background: rgba(255, 255, 255, 0.01);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 15px 20px;
}

.history-desc h3 {
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.specs-block {
  display: grid;
  gap: 12px;
}

.specs-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.specs-head h3,
.compare-box h3,
.trend-box h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin: 0;
}

.mini-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  text-decoration: none;
}

.mini-btn.passive {
  color: var(--text-secondary);
}

.specs-table {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
}

.specs-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 9px 0;
}

.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.compare-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.compare-box h3 {
  color: var(--accent-cyan);
}

.compare-box p {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

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

.compare-grid a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.compare-grid a:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
}

.candidate-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.candidate-box h3 {
  color: var(--accent-cyan);
  font-size: 1.05rem;
}

.candidate-box p {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.candidate-grid {
  display: grid;
  gap: 10px;
}

.candidate-card {
  align-items: center;
  background: rgba(2, 4, 10, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: inherit;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto;
  padding: 12px 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.candidate-card:hover {
  background: rgba(0, 242, 254, 0.06);
  border-color: rgba(0, 242, 254, 0.24);
}

.candidate-card strong {
  color: var(--text-primary);
}

.candidate-card span {
  color: var(--text-secondary);
  font-size: 0.78rem;
  grid-column: 1;
}

.candidate-card b {
  color: var(--accent-gold);
  font-family: "Outfit", sans-serif;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.trend-box {
  display: grid;
  gap: 12px;
}

.trend-chart {
  background:
    linear-gradient(180deg, rgba(0, 242, 254, 0.04), rgba(0, 242, 254, 0.12)),
    rgba(2, 4, 10, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  height: 198px;
  overflow: hidden;
  padding: 12px 14px 28px 42px;
  position: relative;
}

.trend-chart svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.trend-grid {
  fill: none;
  opacity: 0.42;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.trend-fill {
  fill: url(#trendFill);
}

.trend-line {
  fill: none;
  filter: drop-shadow(0 0 7px rgba(0, 242, 254, 0.45));
  stroke: var(--accent-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.trend-dots circle {
  fill: var(--accent-gold);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.45));
  stroke: rgba(3, 7, 18, 0.9);
  stroke-width: 2;
}

.trend-y-labels {
  bottom: 34px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  justify-content: space-between;
  left: 18px;
  position: absolute;
  top: 22px;
}

.trend-x-labels {
  bottom: 12px;
  color: var(--text-secondary);
  display: grid;
  font-size: 0.78rem;
  grid-template-columns: repeat(5, 1fr);
  left: 78px;
  position: absolute;
  right: 22px;
  text-align: center;
}

.trend-empty {
  background: rgba(2, 4, 10, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 22px;
}

.ebay-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.ebay-head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.ebay-head h3 {
  color: var(--accent-cyan);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.ebay-head p {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

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

.ebay-card {
  background: rgba(2, 4, 10, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: inherit;
  display: grid;
  gap: 10px;
  grid-template-columns: 72px 1fr;
  min-height: 92px;
  overflow: hidden;
  padding: 9px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.ebay-card:hover {
  background: rgba(0, 242, 254, 0.06);
  border-color: rgba(0, 242, 254, 0.24);
  transform: translateY(-2px);
}

.ebay-thumb {
  align-items: center;
  aspect-ratio: 1;
  background: #02040a;
  border-radius: 10px;
  color: var(--accent-gold);
  display: flex;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

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

.ebay-card strong {
  color: var(--text-primary);
  display: -webkit-box;
  font-size: 0.86rem;
  line-height: 1.25;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ebay-card p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 4px;
}

.ebay-card b {
  color: var(--accent-gold);
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  margin-top: 6px;
}

.collection-panel {
  padding: 30px;
}

.collection-header-row {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.collection-header-row h1 {
  background: linear-gradient(135deg, #fff 55%, var(--text-secondary));
  -webkit-background-clip: text;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  margin-bottom: 10px;
  -webkit-text-fill-color: transparent;
}

.collection-header-row p {
  color: var(--text-secondary);
}

.collection-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  min-width: 130px;
  padding: 12px 18px;
}

.stat-card span {
  color: var(--text-secondary);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-card strong {
  color: var(--accent-cyan);
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  margin-top: 4px;
}

.empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--text-secondary);
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 46px 20px;
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state h2 {
  color: var(--text-primary);
}

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

.collection-item {
  overflow: hidden;
}

.collection-img {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #02040a;
  color: var(--accent-gold);
  display: flex;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  justify-content: center;
  text-decoration: none;
}

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

.collection-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.collection-body h3 {
  color: var(--text-primary);
  font-size: 1.15rem;
  line-height: 1.25;
}

.collection-body p {
  color: var(--accent-gold);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.collection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toast {
  background: rgba(13, 20, 38, 0.96);
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  bottom: 24px;
  box-shadow: var(--shadow-neon);
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  opacity: 0;
  padding: 14px 22px;
  position: fixed;
  right: 24px;
  transform: translateY(24px);
  transition: var(--transition-smooth);
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.demo-gallery {
  padding: 25px;
}

.demo-gallery h2,
.section-title h2 {
  color: var(--text-primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.demo-gallery p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 20px;
}

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

.demo-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: inherit;
  cursor: pointer;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.demo-card:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.demo-thumb {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 6px;
  object-fit: cover;
  width: 100%;
}

.demo-card span {
  color: var(--text-secondary);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  margin-top: 18px;
  padding: 18px;
}

dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

dt {
  color: var(--accent-cyan);
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

dd {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 5px;
}

.eyebrow {
  color: var(--accent-cyan);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-story,
.feature-section,
.final-cta {
  padding: 30px;
}

.workflow-grid,
.feature-card-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-grid article,
.feature-card-grid article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px;
}

.workflow-grid article span {
  color: var(--accent-gold);
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.workflow-grid h3,
.feature-card-grid h3,
.product-copy h2,
.final-cta h2,
.faq-section h2 {
  color: var(--text-primary);
}

.workflow-grid h3,
.feature-card-grid h3 {
  font-size: 1.08rem;
  margin: 10px 0 8px;
}

.workflow-grid p,
.feature-card-grid p,
.product-copy p,
.final-cta p,
.faq-grid p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.product-split {
  align-items: stretch;
  display: grid;
  gap: 30px;
  grid-template-columns: 1.05fr 0.95fr;
  margin-top: 34px;
}

.product-copy,
.product-visual {
  padding: 30px;
}

.scanner-showcase {
  grid-template-columns: 0.95fr 1.05fr;
}

.scanner-showcase .product-copy,
.scanner-showcase .product-visual {
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 172, 254, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(9, 18, 38, 0.9), rgba(5, 9, 22, 0.88));
  border-color: rgba(79, 172, 254, 0.18);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 40px);
}

.showcase-pill,
.ready-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 10px;
  padding: 10px 16px;
  text-transform: uppercase;
}

.showcase-pill {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.24);
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.ready-pill {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
  text-transform: none;
}

.ready-pill svg {
  height: 18px;
  width: 18px;
}

.product-copy h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 14px;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.feature-list div {
  background: rgba(2, 4, 10, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: grid;
  gap: 5px 18px;
  grid-template-columns: auto 1fr;
  padding: 18px;
}

.feature-list strong {
  color: var(--text-primary);
  font-size: 1.18rem;
}

.feature-list span {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.feature-list .feature-icon {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 14px;
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  grid-row: span 2;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.feature-list .feature-icon svg {
  height: 34px;
  width: 34px;
}

.feature-icon.cyan { color: var(--accent-cyan); }
.feature-icon.green { color: #4ade80; }
.feature-icon.violet { color: #c084fc; }

.product-visual {
  display: grid;
  gap: 18px;
}

.result-topline {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.coin-stage {
  align-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 145, 255, 0.17), transparent 49%),
    radial-gradient(ellipse at 50% 88%, rgba(0, 173, 255, 0.42), transparent 31%);
  border-radius: 24px;
  display: grid;
  justify-items: center;
  min-height: 330px;
  overflow: hidden;
  position: relative;
}

.coin-stage::before,
.coin-stage::after {
  border: 1px solid rgba(0, 145, 255, 0.18);
  border-radius: 50%;
  content: "";
  height: 78%;
  position: absolute;
  width: 78%;
}

.coin-stage::after {
  height: 62%;
  width: 62%;
}

.coin-stage img {
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.58));
  max-height: 270px;
  max-width: 78%;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.sample-result-title {
  display: grid;
  gap: 2px;
  justify-items: center;
  margin-top: -8px;
  text-align: center;
}

.sample-result-title strong {
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.sample-result-title span {
  color: var(--accent-blue);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
}

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

.metric-strip div {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: grid;
  justify-items: center;
  padding: 14px;
  text-align: center;
}

.metric-strip strong {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--accent-gold);
  display: inline-flex;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  height: 54px;
  justify-content: center;
  margin-bottom: 12px;
  width: 54px;
}

.metric-strip div:nth-child(2) strong {
  color: #4ade80;
}

.metric-strip div:nth-child(3) strong {
  color: #c084fc;
}

.metric-strip b {
  color: var(--text-primary);
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
}

.metric-strip span {
  color: var(--text-secondary);
  display: block;
  font-size: 0.75rem;
  margin-top: 4px;
}

.showcase-button {
  min-width: min(100%, 280px);
  padding-inline: 24px;
}

.showcase-button.wide {
  width: 100%;
}

.feature-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-section {
  display: grid;
  gap: 18px;
}

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

.faq-grid details {
  padding: 20px;
}

.faq-grid summary {
  color: var(--text-primary);
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.faq-grid p {
  margin-top: 12px;
}

.final-cta {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

section {
  margin-bottom: 30px;
}

.catalog-section,
.page-head,
.detail,
.narrow,
.admin-form,
.danger-form {
  padding: 30px;
}

.section-title {
  margin-bottom: 24px;
}

.coin-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.coin-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.coin-card:hover {
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
  transform: translateY(-2px);
}

.coin-visual {
  background: #02040a;
  display: block;
  width: 100%;
}

.coin-visual,
.coin-placeholder,
.coin-visual img {
  aspect-ratio: 16 / 10;
}

.coin-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.coin-placeholder {
  align-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 215, 0, 0.36), transparent 26%),
    radial-gradient(circle at center, rgba(0, 242, 254, 0.12), #02040a 60%);
  color: var(--accent-gold);
  display: flex;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coin-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.coin-country,
.rarity-badge {
  align-self: flex-start;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 30px;
  color: var(--rarity-rare);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  text-transform: uppercase;
}

.coin-title {
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.coin-meta,
.muted,
.coin-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.price-pill {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--accent-gold);
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-top: auto;
  padding-top: 12px;
}

.filters {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  margin-bottom: 30px;
  padding: 25px;
}

.filters .search {
  grid-column: 1 / -1;
}

label {
  color: var(--text-secondary);
  display: grid;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 7px;
}

input,
textarea,
select {
  background: rgba(2, 4, 10, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-primary);
  font: inherit;
  min-height: 44px;
  outline: none;
  padding: 11px 12px;
  transition: var(--transition-smooth);
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: var(--shadow-neon);
}

textarea {
  resize: vertical;
}

.detail {
  display: grid;
  gap: 30px;
  grid-template-columns: 0.9fr 1.1fr;
}

.coin-images {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

figure {
  background: rgba(2, 4, 10, 0.45);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
}

figcaption {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

.facts {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0));
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.03);
  padding: 22px 25px;
}

.facts div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.facts div:last-child {
  border-bottom: 0;
}

.facts span {
  color: var(--text-secondary);
  font-weight: 500;
}

.facts strong {
  color: var(--text-primary);
  text-align: right;
}

.narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.narrow h2 {
  color: var(--text-primary);
  margin: 24px 0 10px;
}

table {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-collapse: collapse;
  border-radius: 16px;
  margin-bottom: 30px;
  overflow: hidden;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 13px 14px;
  text-align: left;
}

th {
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 14px;
}

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

.admin-form,
.danger-form,
.page-head,
.catalog-section,
.detail,
.narrow,
.filters {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
}

.danger-form button {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  box-shadow: none;
  color: var(--rarity-danger);
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
  padding: 40px 0 20px;
  text-align: center;
}

footer p {
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .scanner-grid,
  .result-grid,
  .detail,
  .product-split {
    grid-template-columns: 1fr;
  }

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

  .workflow-grid,
  .feature-card-grid,
  .faq-grid,
  .benefit-grid,
  .sample-grid,
  .guide-hero,
  .guide-page-hero,
  .guide-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learn-grid,
  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-grid div:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .app-container {
    padding: 12px;
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    margin-bottom: 18px;
    padding: 12px;
  }

  .logo-brand img {
    height: 44px;
    max-width: min(230px, 68vw);
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    background: rgba(7, 10, 19, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
    display: grid;
    gap: 6px;
    left: 12px;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: calc(100% + 10px);
    transform: translateY(-8px);
    transition: var(--transition-smooth);
    visibility: hidden;
    width: auto;
    z-index: 50;
  }

  .topbar.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-btn {
    border-color: rgba(255, 255, 255, 0.06);
    justify-content: flex-start;
    padding: 13px 14px;
    width: 100%;
  }

  .scanner-main,
  .result-image-panel,
  .result-info-panel,
  .collection-panel,
  .demo-gallery,
  .product-story,
  .product-copy,
  .product-visual,
  .feature-section,
  .faq-grid details,
  .final-cta,
  .catalog-section,
  .page-head,
  .detail,
  .narrow,
  .filters,
  .admin-form,
  .danger-form {
    padding: 18px;
  }

  .scanner-title h1,
  .page-head h1,
  .detail h1,
  .narrow h1 {
    font-size: 2.4rem;
  }

  .upload-zone {
    padding: 34px 18px;
  }

  .scanner-hero,
  .scan-benefits,
  .sample-section,
  .seo-guide,
  .coin-guide-page {
    padding: 20px;
  }

  .centered-title h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .primary-upload {
    min-height: 280px;
  }

  .scan-actions,
  .camera-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .scan-actions > *,
  .camera-actions > * {
    width: 100%;
  }

  .camera-tools {
    border-radius: 16px;
    margin-inline: -8px;
    padding: 12px;
    width: calc(100% + 16px);
  }

  .camera-stage {
    border-radius: 14px;
    width: 100%;
  }

  .camera-stage video,
  .camera-stage img {
    aspect-ratio: 3 / 4;
    max-height: 72vh;
  }

  .camera-stage video {
    min-height: min(560px, 62vh);
  }

  .filters,
  .grid.two,
  .coin-images,
  dl,
  .workflow-grid,
  .feature-card-grid,
  .faq-grid,
  .metric-strip,
  .sample-grid,
  .guide-hero,
  .guide-row,
  .learn-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid div,
  .benefit-grid div:first-child {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    min-height: 112px;
    padding: 14px 10px;
  }

  .guide-page-hero {
    grid-template-areas:
      "heading"
      "scanner"
      "intro";
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .guide-heading {
    grid-template-columns: 54px 1fr;
  }

  .guide-heading > span {
    font-size: 1.35rem;
    height: 52px;
    width: 52px;
  }

  .guide-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .collection-header-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    justify-content: stretch;
    width: 100%;
  }

  .cta-actions .primary-btn,
  .cta-actions .secondary-btn {
    justify-content: center;
    width: 100%;
  }

  .ebay-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }
}
