/* ============================================================
   PQ STABLECOIN — Dark Industrial / Precision Aesthetic
   Palette: near-black · warm gold · electric teal
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg2: #111114;
  --bg3: #18181d;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --teal: #00d4b4;
  --text: #e8e6e1;
  --text-muted: #7a7870;
  --border: rgba(201,168,76,0.18);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Mono', monospace;
  --font-serif: 'Fraunces', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NOISE + GRID */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.45;
}

.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.2rem 3rem;
  background: rgba(10,10,11,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 2rem; list-style: none; margin-left: auto;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: #0a0a0b;
  border: none; padding: 0.5rem 1.4rem;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
}

.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.7rem;
}

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,180,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0,212,180,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  display: flex; flex-direction: column;
  margin-bottom: 2rem;
}

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

.line-reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.7s cubic-bezier(0.22,1,0.36,1) var(--d, 0s) forwards;
}
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 600px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.hero-actions {
  display: flex; gap: 1.5rem; align-items: center;
}

.btn-primary {
  background: var(--gold); color: #0a0a0b;
  padding: 0.85rem 2.2rem; font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: all 0.25s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary.large { font-size: 14px; padding: 1rem 2.8rem; }

.btn-ghost {
  color: var(--text); text-decoration: none;
  font-size: 13px; letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* TICKER */
.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 0.8rem 0;
  background: var(--bg2);
}
.ticker-inner {
  display: inline-flex; gap: 2rem; white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.sep { color: var(--gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: 7rem 0; position: relative; z-index: 1; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }

.section-label {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.center { text-align: center; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.03em; line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* TWO-COL */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.threat-section { background: var(--bg2); }
.col-text p { color: var(--text-muted); margin-bottom: 1rem; }
.col-text em { color: var(--text); font-style: normal; }
.inline-link {
  color: var(--gold); text-decoration: none; font-size: 12px;
  letter-spacing: 0.1em;
}
.inline-link:hover { color: var(--gold-light); }

/* QUANTUM VISUAL */
.threat-visual {
  position: relative; width: 300px; height: 300px;
  margin: 0 auto;
}
.qc-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--gold);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spin 8s linear infinite;
  opacity: 0.3;
}
.ring-1 { width: 260px; height: 260px; animation-duration: 12s; }
.ring-2 { width: 190px; height: 190px; border-color: var(--teal); animation-direction: reverse; animation-duration: 8s; }
.ring-3 { width: 120px; height: 120px; animation-duration: 5s; opacity: 0.5; }
@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.qc-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; color: #0a0a0b;
}

.threat-label {
  position: absolute; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  background: var(--bg2); padding: 4px 8px;
  border: 1px solid var(--border);
}
.threat-label em { display: block; color: #ff6b6b; font-style: normal; }
.threat-label em.safe { color: var(--teal); }
.tl-1 { top: 10%; left: -10%; }
.tl-2 { bottom: 20%; right: -10%; }
.tl-3 { bottom: 5%; left: 5%; }

/* PILLARS */
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5px; margin-top: 3rem;
  border: 1.5px solid var(--border);
}
.pillar-card {
  background: var(--bg2); padding: 2.5rem 1.8rem;
  border-right: 1.5px solid var(--border);
  opacity: 0; transform: translateY(20px);
  animation: reveal 0.6s ease calc(var(--i)*0.15s + 0.3s) forwards;
  transition: background 0.3s;
}
.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: var(--bg3); }
.pillar-icon {
  font-size: 2rem; color: var(--gold); margin-bottom: 1rem;
  display: block;
}
.pillar-card h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: 0.05em; margin-bottom: 0.8rem;
}
.pillar-card p { color: var(--text-muted); font-size: 13px; }

/* STATS */
.stats-band {
  background: var(--gold); color: #0a0a0b;
  display: flex; align-items: stretch;
  position: relative; z-index: 1;
}
.stat-item {
  flex: 1; padding: 3rem 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.stat-num {
  font-family: var(--font-display); font-size: 3rem;
  line-height: 1; letter-spacing: 0.03em;
}
.stat-label { font-size: 11px; letter-spacing: 0.1em; opacity: 0.75; max-width: 180px; }
.stat-divider { width: 1px; background: rgba(10,10,11,0.2); }

/* USE CASES */
.use-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border); margin-top: 3rem;
  border: 1px solid var(--border);
}
.use-card {
  background: var(--bg); padding: 3rem 2.5rem;
  transition: background 0.3s;
}
.use-card:hover { background: var(--bg2); }
.use-num {
  font-family: var(--font-display); font-size: 4rem;
  color: var(--border); line-height: 1;
  display: block; margin-bottom: 1rem;
}
.use-card h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  letter-spacing: 0.04em; margin-bottom: 1rem;
}
.use-card p { color: var(--text-muted); font-size: 13px; }

/* CTA BAND */
.cta-band {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 3rem; text-align: center;
  position: relative; z-index: 1;
}
.cta-band h2 { margin-bottom: 2.5rem; }

/* FOOTER */
.footer {
  background: #070708; padding: 4rem 0 2rem;
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; flex-direction: column; gap: 2rem;
}
.footer-brand p { color: var(--text-muted); font-size: 12px; margin-top: 0.5rem; max-width: 300px; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  color: var(--text-muted); text-decoration: none; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--text-muted); font-size: 11px; border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* PAGE HEADER (for inner pages) */
.page-header {
  padding: 10rem 0 5rem; background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.page-header .section-label { margin-bottom: 1rem; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: 0.03em; line-height: 1.0;
  max-width: 700px;
}
.page-header p {
  color: var(--text-muted); max-width: 600px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; margin-top: 1.5rem;
}

/* CONTENT BLOCKS */
.content-block { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.content-block:last-child { border-bottom: none; }
.content-block h2 { margin-bottom: 1.5rem; }
.content-block p { color: var(--text-muted); max-width: 700px; margin-bottom: 1rem; }

/* TECH LIST */
.tech-list { list-style: none; margin: 2rem 0; }
.tech-list li {
  padding: 1rem 0; border-top: 1px solid var(--border);
  display: flex; gap: 1.5rem; align-items: baseline;
}
.tech-list li:last-child { border-bottom: 1px solid var(--border); }
.tl-tag {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal); white-space: nowrap; min-width: 140px;
}
.tl-desc { color: var(--text-muted); font-size: 13px; }

/* FORM */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 13px;
  padding: 0.8rem 1rem;
  outline: none; transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--gold); color: #0a0a0b;
  border: none; padding: 0.85rem 2.5rem;
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.form-submit:hover { background: var(--gold-light); }
.form-note { font-size: 11px; color: var(--text-muted); margin-top: 1rem; }

/* ABOUT GRID */
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.about-card {
  background: var(--bg2); padding: 2rem;
  border: 1px solid var(--border);
}
.about-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.8rem; }
.about-card p { color: var(--text-muted); font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .stats-band { flex-direction: column; }
  .stat-divider { width: 100%; height: 1px; }
  .use-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.5rem; }
  .threat-visual { width: 220px; height: 220px; }
  .ring-1 { width: 190px; height: 190px; }
  .ring-2 { width: 140px; height: 140px; }
  .ring-3 { width: 90px; height: 90px; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
