/* ============================================================
   PQPayments.com — Post-Quantum Payments & RWA Tokenization
   Aesthetic: Dark cryptographic lattice — deep navy / electric cyan / gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=JetBrains+Mono:wght@300;400;500&family=Fraunces:ital,wght@0,300;0,600;1,300&display=swap');

:root {
  --void:       #020810;
  --navy:       #050f1f;
  --deep:       #071428;
  --panel:      #0a1c38;
  --border:     #0e2a50;
  --cyan:       #00d4ff;
  --cyan-dim:   #0096b8;
  --cyan-glow:  rgba(0,212,255,0.15);
  --gold:       #f0c040;
  --gold-dim:   #b8902e;
  --gold-glow:  rgba(240,192,64,0.12);
  --text:       #c8dff5;
  --muted:      #5a7a9a;
  --white:      #f0f8ff;
  --danger:     #ff4f7b;
  --green:      #00e5a0;

  --font-head:  'Syne', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --font-body:  'Fraunces', serif;

  --radius:     4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  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.035'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ── CANVAS ── */
#lattice-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(2,8,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex; gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav-cta:hover { background: var(--cyan); color: var(--void); }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.hero-inner { max-width: 860px; }

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.8rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--cyan-dim);
  border-radius: 2px;
  background: var(--cyan-glow);
}

.hero-kicker::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(0,212,255,0.4);
}

.hero h1 .gold { color: var(--gold); text-shadow: 0 0 40px rgba(240,192,64,0.4); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  background: var(--cyan);
  color: var(--void);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  transition: box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0,212,255,0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--gold-dim);
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-secondary:hover {
  background: var(--gold-glow);
  box-shadow: 0 0 30px rgba(240,192,64,0.25);
}

/* HERO ILLUSTRATION — Lattice Crystal */
.hero-visual {
  width: 100%; max-width: 500px; height: 180px;
  margin: 0 auto 3rem;
  position: relative;
}

.hero-visual svg { width: 100%; height: 100%; }

/* Stat row */
.hero-stats {
  display: flex; gap: 0; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10,28,56,0.4);
  backdrop-filter: blur(8px);
}

.stat {
  flex: 1;
  padding: 1.2rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-val span { color: var(--cyan); }
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

.section-wrap { max-width: 1080px; margin: 0 auto; padding: 6rem 2rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── GRID CARDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5px; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}

.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover { border-color: var(--cyan-dim); background: rgba(10,28,56,0.9); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 40px; height: 40px;
  margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}

.card-icon svg { width: 28px; height: 28px; stroke: var(--cyan); fill: none; stroke-width: 1.5; }

.card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── SPLIT SECTION ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 3rem; } }

/* ── PROTOCOL FLOW ── */
.flow-steps {
  display: flex; flex-direction: column; gap: 0;
}

.flow-step {
  display: flex; gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.flow-step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  min-width: 28px;
  padding-top: 0.2rem;
}

.step-body h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.step-body p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── QUOTE BLOCK ── */
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 2rem;
  background: var(--gold-glow);
  margin: 3rem 0;
}

.quote-block blockquote {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.quote-cite {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; }

.blog-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: border-color var(--transition);
}
.blog-card:hover { border-color: var(--cyan-dim); }

.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.blog-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.7rem;
}

.blog-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
}

.blog-meta {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex; gap: 1rem;
}

/* ── ACQUISITION ── */
.acq-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 3.5rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.acq-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,212,255,0.06), transparent 60%);
  pointer-events: none;
}

.acq-panel h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.acq-panel p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.trust-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex; align-items: center; gap: 0.4rem;
}
.trust-badge::before { content: '✓'; color: var(--green); }


.acq-form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; }

.acq-form input,
.acq-form textarea {
  background: rgba(5,15,31,0.8);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.acq-form input::placeholder, .acq-form textarea::placeholder { color: var(--muted); }
.acq-form input:focus, .acq-form textarea:focus { border-color: var(--cyan); }
.acq-form textarea { min-height: 110px; resize: vertical; }

.acq-form button {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  background: var(--cyan);
  color: var(--void);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  align-self: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.acq-form button:hover {
  box-shadow: 0 0 30px rgba(0,212,255,0.45);
  transform: translateY(-2px);
}

/* ── TICKER ── */
.ticker-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
  overflow: hidden;
  background: rgba(5,15,31,0.5);
}

.ticker-track {
  display: flex; gap: 3rem;
  animation: ticker-scroll 35s linear infinite;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.ticker-item::before { content: '◆'; color: var(--cyan); font-size: 0.45rem; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: gap;
  gap: 1rem;
  background: rgba(2,8,16,0.9);
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-logo span { color: var(--cyan); }

.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── BLOG POST ── */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 8rem 2rem 5rem; }

.post-header { margin-bottom: 3rem; }

.post-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.post-header h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}

.post-body { font-size: 1.05rem; line-height: 1.8; }

.post-body h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  margin: 2.5rem 0 0.8rem;
  letter-spacing: -0.02em;
}

.post-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin: 2rem 0 0.5rem;
}

.post-body p { color: var(--text); margin-bottom: 1.2rem; }

.post-body strong { color: var(--white); font-weight: 600; }

.post-body a { color: var(--cyan); text-decoration: none; }
.post-body a:hover { text-decoration: underline; }

.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.post-body li { margin-bottom: 0.5rem; }

.post-body .callout {
  background: rgba(0,212,255,0.06);
  border-left: 2px solid var(--cyan);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.post-body code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--panel);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  color: var(--cyan);
}

/* ── BACK LINK ── */
.back-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--cyan); }

/* ── MOBILE ── */
@media (max-width: 640px) {
  nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .section-wrap { padding: 4rem 1.2rem; }
  .hero { padding: 7rem 1.2rem 3rem; }
  .hero-stats { flex-wrap: wrap; }
  .stat { flex: 1 1 45%; }
  .acq-panel { padding: 2rem 1.5rem; }
  footer { flex-direction: column; text-align: center; }
}
