/* ── DexScanr Premium CSS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Space+Mono:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { background: #080b10; color: #f0f0f0; font-family: 'Inter', sans-serif; min-height: 100vh; overflow-x: hidden; }
a { text-decoration: none; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 100px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(8,11,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249,115,22,0.1);
  gap: 24px;
  overflow: visible;
}

.header-left {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0; flex: 1;
}

.h-logo {
  width: 100px; height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(249,115,22,0.8));
}

.h-name {
  font-family: 'Space Mono', monospace;
  font-size: 42px; font-weight: 700;
  color: #F97316;
  letter-spacing: 0.02em;
}

/* ── HEADER SCAN BOX ── */
.header-scan-box {
  display: flex; align-items: center; gap: 8px;
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 480px;
}

.h-chain-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0 12px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; font-weight: 700;
  color: #F97316;
  outline: none; height: 44px;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23F97316' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  transition: border-color 0.15s;
  min-width: 74px;
}

.h-chain-select:focus { border-color: rgba(249,115,22,0.5); }
.h-chain-select option { background: #0d1117; color: #f0f0f0; }

.h-addr-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0 16px;
  font-family: 'Space Mono', monospace;
  font-size: 12px; color: #f0f0f0;
  outline: none; height: 44px;
  transition: border-color 0.15s;
}

.h-addr-input::placeholder { color: #444; }
.h-addr-input:focus { border-color: rgba(249,115,22,0.5); }

.h-scan-btn {
  font-family: 'Space Mono', monospace;
  font-size: 12px; font-weight: 700;
  color: #000;
  background: #F97316;
  border: none; border-radius: 10px;
  padding: 0 20px; height: 44px;
  cursor: pointer; letter-spacing: 0.06em;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap; flex-shrink: 0;
}

.h-scan-btn:hover { background: #FB923C; transform: translateY(-1px); }

/* ── HEADER NAV ── */
.header-nav {
  display: flex; align-items: center; gap: 28px;
  flex-shrink: 0; flex: 1; justify-content: flex-end;
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-dropdown-btn:hover { color: #ffffff; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  min-width: 220px;
  padding: 8px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-dropdown-item:hover {
  background: #242424;
}
.nav-dropdown-icon {
  font-size: 24px;
}
.nav-dropdown-item strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}
.nav-dropdown-item small {
  display: block;
  color: #888888;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: #888888;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}

.nav-link:hover { color: #f0f0f0; }
.nav-x { color: #888888; }
.nav-x:hover { color: #f0f0f0; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, rgba(249,115,22,0.04) 40%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  max-width: 780px; width: 100%;
}

/* ── EYE ── */
.eye-wrap {
  position: relative;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 36px;
}

.eye-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(249,115,22,0.15);
  animation: ring-pulse 3s ease-in-out infinite;
}

.eye-ring-1 { width: 320px; height: 320px; animation-delay: 0s; }
.eye-ring-2 { width: 380px; height: 380px; animation-delay: 0.5s; border-color: rgba(249,115,22,0.08); }
.eye-ring-3 { width: 440px; height: 440px; animation-delay: 1s; border-color: rgba(249,115,22,0.04); }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.6; }
}

.eye-img {
  width: 240px; height: 240px;
  object-fit: contain;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 40px rgba(249,115,22,0.8)) drop-shadow(0 0 80px rgba(249,115,22,0.4));
  animation: eye-breathe 4s ease-in-out infinite;
}

@keyframes eye-breathe {
  0%   { filter: drop-shadow(0 0 30px rgba(249,115,22,0.5)) drop-shadow(0 0 60px rgba(249,115,22,0.2)); transform: scale(1); }
  45%  { filter: drop-shadow(0 0 80px rgba(249,115,22,1)) drop-shadow(0 0 160px rgba(249,115,22,0.8)); transform: scale(1.25); }
  55%  { filter: drop-shadow(0 0 80px rgba(249,115,22,1)) drop-shadow(0 0 160px rgba(249,115,22,0.8)); transform: scale(1.25); }
  100% { filter: drop-shadow(0 0 30px rgba(249,115,22,0.5)) drop-shadow(0 0 60px rgba(249,115,22,0.2)); transform: scale(1); }
}

/* ── TITLE ── */
.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 72px; font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.hero-title-orange { color: #F97316; }

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 18px; color: #666;
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 520px;
}

/* ── SCAN BOX ── */
.scan-box {
  width: 100%; max-width: 620px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,115,22,0.05);
  margin-bottom: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.scan-box:focus-within {
  border-color: rgba(249,115,22,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,115,22,0.1), 0 0 40px rgba(249,115,22,0.05);
}

.chain-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}

.chain-btn {
  font-family: 'Space Mono', monospace;
  font-size: 11px; font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: #555; cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.06em;
}

.chain-btn:hover { border-color: #F97316; color: #F97316; }
.chain-btn.active { background: rgba(249,115,22,0.12); border-color: #F97316; color: #F97316; }

.input-row {
  display: flex; gap: 10px;
}

.addr-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0 20px;
  font-family: 'Space Mono', monospace;
  font-size: 13px; color: #f0f0f0;
  outline: none; height: 54px;
  transition: border-color 0.15s;
}

.addr-input::placeholder { color: #333; }
.addr-input:focus { border-color: rgba(249,115,22,0.4); }

.scan-btn {
  display: flex; align-items: center; gap: 8px;
  background: #F97316; color: #000;
  font-family: 'Space Mono', monospace;
  font-size: 13px; font-weight: 700;
  padding: 0 28px; border: none;
  border-radius: 12px; cursor: pointer;
  letter-spacing: 0.06em; height: 54px;
  min-width: 110px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(249,115,22,0.3);
}

.scan-btn:hover { background: #FB923C; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249,115,22,0.5); }
.scan-btn:active { transform: translateY(0); }
.scan-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.scan-btn-icon { font-size: 10px; }

.scan-error {
  font-family: 'Space Mono', monospace;
  font-size: 12px; color: #e05252;
}

/* ── STATS ROW ── */
.stats-row {
  display: flex; align-items: stretch; gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  width: 100%; max-width: 860px;
}

.stat {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 22px 16px;
}

.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: 20px; font-weight: 700;
  color: #F97316;
}

.stat-num.stat-red { color: #e05252; }
.stat-num.stat-green { color: #2ecc71; }
.stat-num.stat-orange { color: #e07c3a; }
.stat-num.stat-purple { color: #8e44ad; }

.stat-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 10px; color: #444;
  text-transform: uppercase; letter-spacing: 0.06em;
  text-align: center;
}

.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
  align-self: stretch;
}

/* ── FOOTER ── */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(8,11,16,0.9);
}
.footer-privacy {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888888;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-privacy:hover { color: #f39c12; }

.footer-left {
  display: flex; align-items: center; gap: 10px;
}

.f-logo {
  width: 28px; height: 28px; object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(249,115,22,0.5));
}

.f-name {
  font-family: 'Space Mono', monospace;
  font-size: 14px; font-weight: 700; color: #F97316;
}

.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: #333;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-scan-box { display: none; }
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #111111;
  border-top: 1px solid #222222;
  padding: 12px 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav-link {
  padding: 12px 0;
  border-bottom: 1px solid #1e1e1e;
  font-size: 15px;
  color: #cccccc;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-products-menu .nav-dropdown-item {
  padding: 10px 0 10px 16px;
}
@media (max-width: 768px) {
  .header { padding: 0 20px; }
  .header-nav { display: none; }
  .hamburger { display: block; }
  .header { position: relative; }
  .hero-title { font-size: 44px; letter-spacing: -1px; }
  .eye-img { width: 160px; height: 160px; }
  .eye-wrap { width: 180px; height: 180px; margin-bottom: 24px; }
  .eye-ring-1 { width: 220px; height: 220px; }
  .eye-ring-2 { width: 270px; height: 270px; }
  .eye-ring-3 { width: 320px; height: 320px; }
  .stats-row { flex-wrap: wrap; }
  .stat-sep { display: none; }
  .footer { flex-direction: column; gap: 12px; padding: 20px; text-align: center; }
  .footer-left { justify-content: center; }
}