/* ==========================================================================
   ScrollPump Design System - Pure Extension DNA
   Aligned 1:1 with extension/src/popup/index.css & tailwind.config.js
   ========================================================================== */

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

:root {
  /* Exact Extension Theme Colors */
  --pump-dark: #07090e;
  --pump-darker: #040508;
  --pump-card: #0d131f;
  --pump-card-glass: rgba(13, 19, 31, 0.78);
  --pump-card-elevated: rgba(16, 24, 40, 0.9);
  --pump-input: rgba(6, 9, 15, 0.88);
  
  --pump-green: #22c55e;
  --pump-accent: #10b981;
  --pump-emerald: #059669;
  --pump-sol: #14F195;
  --pump-purple: #8b5cf6;
  --pump-danger: #ef4444;

  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #0f172a;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(34, 197, 94, 0.35);
  --border-focus: #22c55e;

  /* Elevation & Glow */
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
  --shadow-glow-green: 0 0 24px -2px rgba(34, 197, 94, 0.35);
  --shadow-glow-green-sm: 0 0 12px -1px rgba(34, 197, 94, 0.25);
  --shadow-glow-purple: 0 0 20px -2px rgba(139, 92, 246, 0.3);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: var(--pump-dark);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background-color: var(--pump-dark);
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(34, 197, 94, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 95% 30%, rgba(20, 241, 149, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 5% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.5;
  min-height: 100vh;
}

/* Scrollbar matching extension */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 197, 94, 0.5);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header - Matching Extension Header Exactly
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(10, 15, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.2s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.96);
  border-bottom-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon-box {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
  transition: transform 0.2s ease;
}

.brand-icon-box:hover {
  transform: scale(1.05);
}

.brand-icon-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

.brand-icon-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pump-green);
  border: 2px solid #0a0f1c;
  animation: pulse-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse-ping {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-title .text-white {
  color: #fff;
}

.brand-title .text-green {
  background: linear-gradient(to right, var(--pump-green), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--pump-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pump-green);
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-item:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Authentic Buttons */
.btn-pump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pump-green) 0%, var(--pump-accent) 100%);
  color: #031408;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-pump:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.55);
  filter: brightness(1.08);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ==========================================================================
   Hero Section - Clean, High-Impact Web3 Terminal
   ========================================================================== */
.hero-wrapper {
  padding-top: 110px;
  padding-bottom: 70px;
}

.hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pump-green);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-main-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-main-title .gradient-green {
  background: linear-gradient(135deg, #ffffff 10%, var(--pump-green) 65%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 30px;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-large {
  padding: 13px 28px;
  font-size: 0.98rem;
  border-radius: 12px;
}

.hero-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.meta-chip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-chip svg {
  color: var(--pump-green);
}

/* ==========================================================================
   Interactive Centerpiece: Real Extension UI Mockup
   ========================================================================== */
.hero-centerpiece {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.centerpiece-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, rgba(20, 241, 149, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Dual Column Terminal Layout */
.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: start;
}

/* Left: Social Video Feed Simulator Card */
.terminal-card {
  background: var(--pump-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.terminal-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.card-topbar {
  padding: 12px 18px;
  background: rgba(10, 15, 28, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-title {
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-tabs {
  display: flex;
  gap: 6px;
}

.feed-tab-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s ease;
}

.feed-tab-btn.active, .feed-tab-btn:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: var(--pump-green);
  color: var(--pump-green);
}

.video-frame-container {
  padding: 18px;
}

.sim-video-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #151d2f 0%, #060911 100%);
  aspect-ratio: 9/11;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-subtle);
}

.feed-video-player {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  transition: background-image 0.25s ease;
}

.video-play-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle-glow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(10, 15, 28, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pump-green);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease;
}

.play-circle-glow:hover {
  transform: scale(1.1);
}

.feed-engagement-bar {
  position: absolute;
  right: 12px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 5;
}

.feed-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.feed-action-item svg {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.sim-video-glass-info {
  position: relative;
  z-index: 6;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.98) 0%, rgba(7, 9, 14, 0.7) 65%, transparent 100%);
}

.sim-handle {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.sim-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Floating Launch Overlay on Video */
.infeed-launch-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid var(--pump-green);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.infeed-launch-pill:hover {
  transform: scale(1.02);
  background: rgba(34, 197, 94, 0.25);
}

.infeed-pill-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}

.infeed-pill-right {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--pump-green);
}

/* ==========================================================================
   Right: Real Extension Popup Interface Replica (1:1 with Extension)
   ========================================================================== */
.extension-popup-replica {
  background: #0a0f1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(34, 197, 94, 0.2);
  overflow: hidden;
}

.replica-header {
  padding: 12px 16px;
  background: rgba(10, 15, 28, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.replica-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Video Preview Card Replica */
.replica-video-card {
  padding: 12px;
  border-radius: 12px;
  background: rgba(13, 19, 31, 0.75);
  border: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
  align-items: center;
}

.replica-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.replica-video-details {
  flex: 1;
  min-width: 0;
}

.replica-detected-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--pump-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.replica-video-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.replica-video-author {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Form inputs matching cyber-input */
.replica-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.replica-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.replica-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.btn-suggest-magic {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pump-green);
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  cursor: pointer;
}

.btn-suggest-magic:hover {
  background: rgba(34, 197, 94, 0.2);
}

.replica-input {
  width: 100%;
  padding: 9px 12px;
  background: var(--pump-input);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  outline: none;
  transition: all 0.2s ease;
}

.replica-input:focus {
  border-color: var(--pump-green);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4), 0 0 15px rgba(34, 197, 94, 0.15);
}

.replica-input.mono {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pump-green);
}

/* Wallet and Initial Buy presets */
.replica-wallet-box {
  padding: 12px;
  border-radius: 12px;
  background: rgba(13, 19, 31, 0.85);
  border: 1px solid var(--border-subtle);
}

.wallet-top-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.wallet-connected-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--pump-green);
  font-weight: 700;
}

.sol-balance-display {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: #fff;
}

.buy-preset-pills {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.preset-pill {
  flex: 1;
  padding: 6px 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-pill.active, .preset-pill:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: var(--pump-green);
  color: var(--pump-green);
}

/* Cost Breakdown */
.replica-cost-card {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(6, 9, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
}

.cost-row.total {
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle);
  color: #fff;
  font-weight: 700;
}

.cost-val {
  font-family: var(--font-mono);
  color: var(--pump-green);
}

/* Primary Launch Button */
.btn-launch-replica {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pump-green) 0%, var(--pump-accent) 100%);
  color: #031408;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 24px -2px rgba(34, 197, 94, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-launch-replica:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.6);
}

/* ==========================================================================
   Features Strip (Zero Bloat, High-Tech Specs)
   ========================================================================== */
.specs-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 19, 31, 0.3);
}

.section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pump-green);
  margin-bottom: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spec-box {
  background: var(--pump-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px 20px;
  transition: all 0.2s ease;
}

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

.spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pump-green);
  margin-bottom: 14px;
}

.spec-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.spec-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Store Screenshots Viewer (Clean Tabs)
   ========================================================================== */
.gallery-section {
  padding: 80px 0;
}

.gallery-container {
  max-width: 980px;
  margin: 0 auto;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gallery-nav-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s ease;
}

.gallery-nav-btn.active, .gallery-nav-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: var(--pump-green);
  color: #fff;
}

.gallery-viewport-card {
  background: #020408;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

.gallery-slide-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   On-Chain Program & Architecture Box
   ========================================================================== */
.protocol-box {
  background: var(--pump-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px;
  margin: 60px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.protocol-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.protocol-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.terminal-code {
  background: #030508;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
}

.code-green { color: var(--pump-green); }
.code-purple { color: var(--pump-purple); }
.code-dim { color: var(--text-dim); }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto 80px;
}

.faq-card {
  background: var(--pump-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-card.open .faq-a {
  max-height: 160px;
  padding-bottom: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-wrap {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 30px;
  background: var(--pump-darker);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-nav a:hover {
  color: var(--pump-green);
}

.footer-disclaimer-text {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

/* ==========================================================================
   Policy & Legal Documentation Pages (Privacy & Terms)
   ========================================================================== */
.policy-page {
  padding-top: 110px;
  padding-bottom: 90px;
}

.policy-card {
  background: var(--pump-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 44px 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pump-green);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.policy-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.policy-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pump-green);
  margin-top: 32px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.policy-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.policy-list li strong {
  color: #fff;
}

.code-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--pump-sol);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-main-title { font-size: 2.4rem; }
  .terminal-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .protocol-box { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-menu { display: none; }
  .hero-main-title { font-size: 1.9rem; }
  .specs-grid { grid-template-columns: 1fr; }
  .replica-form-row { grid-template-columns: 1fr; }
  .policy-card { padding: 24px 20px; }
  .policy-title { font-size: 1.8rem; }
}
