/* ============================================================
   IXQSCAN — Coming Soon Page Styles
   IXFLIX Design System · IBM Plex Sans + Mono · Red #e50914
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --ix-bg:              #0b0b0d;
  --ix-surface:         #111114;
  --ix-surface-2:       #18181c;
  --ix-surface-3:       #1f1f25;
  --ix-border:          #222228;
  --ix-border-2:        #2e2e38;
  --ix-border-3:        #3a3a46;
  --ix-red:             #e50914;
  --ix-red-hover:       #ff1a26;
  --ix-red-dim:         rgba(229, 9, 20, 0.12);
  --ix-red-glow:        rgba(229, 9, 20, 0.30);
  --ix-text:            #f0f0f3;
  --ix-text-secondary:  #a0a0b0;
  --ix-muted:           #6b6b7e;
  --ix-green:           #00c48c;
  --ix-green-dim:       rgba(0, 196, 140, 0.12);
  --ix-amber:           #f0a500;
  --ix-amber-dim:       rgba(240, 165, 0, 0.12);
  --ix-blue:            #4da6ff;
  --ix-blue-dim:        rgba(77, 166, 255, 0.12);
  --font-sans:          'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:          'IBM Plex Mono', monospace;
}

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

html {
  background: var(--ix-bg);
  color: var(--ix-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--ix-bg);
  overflow-x: hidden;
}

/* ── Background Grid ───────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 9, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 9, 20, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ───────────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1.5rem 4rem;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--ix-border);
  margin-bottom: 5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ix-text);
  line-height: 1.1;
}

.logo-title span { color: var(--ix-red); }

.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--ix-muted);
  text-transform: uppercase;
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ix-red-dim);
  border: 1px solid rgba(229, 9, 20, 0.2);
  color: var(--ix-red);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ix-red);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  width: 100%;
  max-width: 720px;
  text-align: center;
  margin-bottom: 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ix-surface);
  border: 1px solid var(--ix-border-2);
  color: var(--ix-text-secondary);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ix-green);
}

.hero-title {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ix-text);
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  color: var(--ix-red);
  display: inline-block;
  text-shadow: 0 0 40px rgba(229, 9, 20, 0.4);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ix-text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* ── Countdown ────────────────────────────────────────────── */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.count-number {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ix-text);
  background: var(--ix-surface);
  border: 1px solid var(--ix-border-2);
  border-radius: 10px;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.count-number::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.5), transparent);
}

.count-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ix-muted);
  font-weight: 500;
}

/* ── Notify form ──────────────────────────────────────────── */
.notify-form {
  display: flex;
  gap: 0.6rem;
  max-width: 460px;
  margin: 0 auto;
}

.notify-input {
  flex: 1;
  background: var(--ix-surface-2);
  border: 1px solid var(--ix-border-2);
  border-radius: 8px;
  padding: 0.75rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ix-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-input::placeholder { color: var(--ix-muted); }

.notify-input:focus {
  border-color: var(--ix-red);
  box-shadow: 0 0 0 3px var(--ix-red-dim);
}

.notify-btn {
  background: var(--ix-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 0 20px var(--ix-red-glow);
}

.notify-btn:hover {
  background: var(--ix-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--ix-red-glow);
}

/* ── Divider ─────────────────────────────────────────────── */
.section-divider {
  width: 100%;
  max-width: 960px;
  border: none;
  border-top: 1px solid var(--ix-border);
  margin-bottom: 4rem;
}

/* ── Tokenomics Section ───────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ix-red);
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.tokenomics-wrapper {
  width: 100%;
  max-width: 960px;
  margin-bottom: 4rem;
}

/* ── Property Table ───────────────────────────────────────── */
.prop-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ix-surface);
  border: 1px solid var(--ix-border-2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.prop-table tr {
  border-bottom: 1px solid var(--ix-border);
  transition: background 0.15s;
}

.prop-table tr:last-child { border-bottom: none; }

.prop-table tr:hover td { background: var(--ix-surface-2); }

.prop-table td {
  padding: 1rem 1.4rem;
  font-size: 0.9rem;
  vertical-align: middle;
}

.prop-table .prop-key {
  color: var(--ix-text-secondary);
  font-weight: 500;
  width: 40%;
  white-space: nowrap;
}

.prop-table .prop-val {
  color: var(--ix-text);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.prop-val .highlight { color: var(--ix-red); font-weight: 600; font-family: var(--font-sans); }
.prop-val .good      { color: var(--ix-green); font-weight: 600; font-family: var(--font-sans); }
.prop-val .warn      { color: var(--ix-amber); font-weight: 600; font-family: var(--font-sans); }

/* ── Stats mini grid ─────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--ix-surface);
  border: 1px solid var(--ix-border-2);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: var(--ix-border-3);
  transform: translateY(-2px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--ix-red);
  opacity: 0.5;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ix-text);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--ix-muted);
  text-transform: uppercase;
}

/* ── Lock Banner ──────────────────────────────────────────── */
.lock-banner {
  background: var(--ix-amber-dim);
  border: 1px solid rgba(240, 165, 0, 0.25);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.lock-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.lock-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ix-amber);
  margin-bottom: 0.2rem;
}

.lock-desc {
  font-size: 0.82rem;
  color: var(--ix-text-secondary);
  line-height: 1.55;
}

/* ── Permissions Grid ─────────────────────────────────────── */
.perms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.perm-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--ix-surface);
  border: 1px solid var(--ix-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--ix-text-secondary);
  transition: border-color 0.2s;
}

.perm-item:hover { border-color: var(--ix-green); }

.perm-item .tick {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  max-width: 960px;
  border-top: 1px solid var(--ix-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--ix-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--ix-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: 1rem; text-align: center; margin-bottom: 3rem; }
  .countdown  { gap: 1rem; }
  .count-number { width: 68px; height: 68px; font-size: 2rem; }
  .notify-form  { flex-direction: column; }
  .prop-table .prop-key { width: 50%; }
  .site-footer  { flex-direction: column; text-align: center; }
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--ix-bg); }
::-webkit-scrollbar-thumb { background: var(--ix-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ix-border-3); }
::selection { background: var(--ix-red-dim); color: var(--ix-text); }
