/* Staking Hound ($STKH) — Styles */
/* Palette: Neon Cyan #00ffcc, Deep Gold #ffd700, Dark Void #05050f, Panel #0a0a1a, Border #1a1a3a */

:root {
  --cyan: #00ffcc;
  --cyan-dim: #00ccaa;
  --gold: #ffd700;
  --gold-dim: #ccac00;
  --void: #05050f;
  --panel: #0a0a1a;
  --panel-elevated: #101028;
  --border: #1a1a3a;
  --border-bright: #2a2a5a;
  --text: #e8e8f0;
  --text-dim: #8888a0;
  --text-muted: #555570;
  --white: #ffffff;
  --shadow: rgba(0, 255, 204, 0.15);
  --shadow-gold: rgba(255, 215, 0, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--void);
  box-shadow: 0 4px 24px var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--shadow);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border-bright);
}

.btn-ghost:hover {
  background: rgba(0, 255, 204, 0.1);
  border-color: var(--cyan);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo { border-radius: 50%; border: 2px solid var(--cyan); }

.nav-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--cyan);
  background: rgba(0, 255, 204, 0.1);
}

.nav-link.cta-btn {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--void);
}

.nav-link.cta-btn:hover {
  background: linear-gradient(135deg, var(--cyan-dim), var(--cyan));
  color: var(--void);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 20px; height: 2px;
  background: var(--cyan);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { bottom: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid var(--cyan);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 255, 204, 0.3); }
  50% { box-shadow: 0 0 24px rgba(0, 255, 204, 0.6); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white), var(--text-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ticker {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

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

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.copy-status {
  font-size: 0.75rem;
  color: var(--gold);
  min-width: 80px;
  text-align: left;
}

.contract-display {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  max-width: 480px;
}

.contract-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

#contract-address {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  outline: none;
}

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.hologram-wrapper {
  position: relative;
  width: 320px; height: 320px;
}

.hologram-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 
    0 0 60px rgba(0, 255, 204, 0.4),
    inset 0 0 60px rgba(0, 255, 204, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.hologram-ring {
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.5;
  animation: rotate 20s linear infinite;
}

.hologram-ring.reverse {
  border-color: var(--gold);
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hologram-particles {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 20% 30%, var(--cyan) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 50px 50px;
  animation: particle-drift 15s linear infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes particle-drift {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 100px 100px, -80px 80px, 50px -50px; }
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(0, 255, 204, 0.02), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--white), var(--text-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-dim);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0, 255, 204, 0.15), rgba(255, 215, 0, 0.15));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-dim);
  line-height: 1.7;
}

.verified-source {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
}

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

/* Mechanics */
.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mechanic-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.mechanic-card:hover {
  border-color: var(--border-bright);
  background: var(--panel-elevated);
}

.mechanic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  flex-shrink: 0;
}

.mechanic-info { display: flex; flex-direction: column; }

.mechanic-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mechanic-value {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cyan);
}

/* Flywheel */
.flywheel-diagram {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.flywheel-center {
  position: relative;
  z-index: 2;
  width: 140px; height: 140px;
  margin: 0 auto 40px;
  background: linear-gradient(135deg, var(--panel), var(--panel-elevated));
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 0 60px rgba(0, 255, 204, 0.3);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 255, 204, 0.3); }
  50% { box-shadow: 0 0 80px rgba(0, 255, 204, 0.5); }
}

.flywheel-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.flywheel-step {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 200px;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: step-reveal 0.6s ease-out forwards;
}

.flywheel-step[data-step="1"] { top: 10%; left: 50%; animation-delay: 0.1s; }
.flywheel-step[data-step="2"] { top: 35%; left: 85%; animation-delay: 0.2s; }
.flywheel-step[data-step="3"] { top: 70%; left: 75%; animation-delay: 0.3s; }
.flywheel-step[data-step="4"] { top: 85%; left: 40%; animation-delay: 0.4s; }
.flywheel-step[data-step="5"] { top: 70%; left: 15%; animation-delay: 0.5s; }

@keyframes step-reveal {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.step-number {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  color: var(--void);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.flywheel-note {
  margin-top: 40px;
  padding: 24px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius);
  color: var(--text-dim);
  text-align: center;
}

.flywheel-note strong { color: var(--gold); }

/* Contract */
.contract-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contract-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.contract-address-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

#contract-code {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
  background: var(--void);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  min-width: 280px;
  text-align: center;
}

.copy-feedback {
  font-size: 0.875rem;
  color: var(--gold);
  min-height: 20px;
}

.contract-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.launch-status {
  margin-top: 32px;
  text-align: center;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--gold);
  border-radius: 100px;
  margin-bottom: 12px;
}

.status-dot {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  animation: status-pulse 1.5s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.status-text {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-note {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.status-note code {
  background: var(--void);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: var(--cyan);
}

/* Footer */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--panel);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo { border-radius: 50%; border: 2px solid var(--cyan); }

.footer-brand span {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-top: 8px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.disclaimer {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.disclaimer strong { color: var(--gold); }

.copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { justify-content: center; }
  .contract-display { margin: 0 auto; }
  .hologram-wrapper { width: 280px; height: 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .mechanics-grid { grid-template-columns: 1fr; }
  .flywheel-step { position: static; transform: none; width: 100%; margin-bottom: 16px; }
  .flywheel-orbit { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .nav-link { width: 100%; text-align: center; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Copy feedback animation */
.copy-success {
  animation: copy-pop 0.3s ease-out;
}

@keyframes copy-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); color: var(--gold); }
  100% { transform: scale(1); }
}