/* ========================================
   NostrWolfe — Styles
   ======================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f18;
  --bg-card: #14141f;
  --bg-card-hover: #1a1a28;
  --orange: #f7931a;
  --orange-dim: rgba(247, 147, 26, 0.15);
  --orange-glow: rgba(247, 147, 26, 0.3);
  --text-primary: #e8e8ef;
  --text-secondary: #9999aa;
  --text-muted: #666677;
  --border: #222233;
  --border-light: #2a2a3a;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(247, 147, 26, 0.1);
  --max-width: 1200px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-wolf-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('splash-bg.png') center center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-wolf-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  display: block;
  border-radius: 24px;
  animation: wolfFloat 6s ease-in-out infinite;
}

.hero-wolf {
  width: 160px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  animation: wolfFloat 6s ease-in-out infinite;
}

@keyframes wolfFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

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

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: #000;
  box-shadow: 0 0 30px rgba(247, 147, 26, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(247, 147, 26, 0.45);
  opacity: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange-dim);
  opacity: 1;
  transform: translateY(-2px);
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  10% { opacity: 0.4; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}

/* ========================================
   For AI Agents Banner
   ======================================== */

.agent-section {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.06) 0%, rgba(10, 10, 15, 0) 100%);
  border-bottom: 1px solid var(--border);
}

.agent-banner {
  background: var(--bg-card);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(247, 147, 26, 0.08);
}

.agent-banner h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--orange);
}

.agent-banner > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.agent-quickstart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agent-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.agent-label {
  color: var(--text-muted);
  font-weight: 600;
  min-width: 70px;
}

/* ========================================
   Sections
   ======================================== */

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========================================
   Reveal animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Stats
   ======================================== */

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.stats-relay {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   Pipeline (How It Works)
   ======================================== */

.pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.pipeline-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 12px;
}

.pipeline-connector {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  padding-top: 50px;
}

.pipeline-connector svg {
  width: 40px;
  height: 20px;
}

.pipeline-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  background: var(--orange-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.pipeline-icon svg {
  width: 100%;
  height: 100%;
}

.pipeline-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 8px;
}

.pipeline-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pipeline-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   Live Services
   ======================================== */

.services-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-category:hover {
  border-color: rgba(247, 147, 26, 0.4);
  box-shadow: var(--shadow-glow);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--orange);
}

.category-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: none;
}

.service-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.service-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}

/* ========================================
   SDK Section
   ======================================== */

.sdk-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.sdk-code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sdk-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sdk-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color 0.3s;
}

.sdk-feature:hover {
  border-color: rgba(247, 147, 26, 0.4);
}

.sdk-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.sdk-feature-icon svg {
  width: 100%;
  height: 100%;
}

.sdk-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sdk-feature p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* SDK Tabs */
.sdk-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.sdk-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  font-family: var(--font-sans);
}

.sdk-tab:hover {
  border-color: rgba(247, 147, 26, 0.4);
  color: var(--text-primary);
}

.sdk-tab.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.sdk-panel {
  display: none;
}

.sdk-panel.active {
  display: block;
}

/* ========================================
   Code blocks
   ======================================== */

.code-header {
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  overflow-x: auto;
}

.code-block {
  padding: 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.code-comment { color: #555566; }
.code-key { color: #c792ea; }
.code-prop { color: #82aaff; }
.code-str { color: #c3e88d; }
.code-num { color: #f7931a; }
.code-fn { color: #82aaff; }

code.inline-code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--orange-dim);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ========================================
   Protocol
   ======================================== */

.protocol-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.protocol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.protocol-badge svg {
  width: 18px;
  height: 18px;
}

.protocol-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.protocol-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.protocol-list {
  list-style: none;
  margin-bottom: 16px;
}

.protocol-list li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}

.protocol-list li:last-child {
  border-bottom: none;
}

.protocol-list li strong {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.protocol-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ========================================
   Settlement Modes
   ======================================== */

.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.mode-card:hover {
  border-color: rgba(247, 147, 26, 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.mode-card-featured {
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(247, 147, 26, 0.1);
}

.mode-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.mode-icon svg {
  width: 100%;
  height: 100%;
}

.mode-badge {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.mode-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.mode-list {
  list-style: none;
  margin-bottom: 20px;
}

.mode-list li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.mode-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.mode-use-case {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mode-use-case strong {
  color: var(--orange);
}

/* ========================================
   Reputation / Attestations
   ======================================== */

.reputation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.reputation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.reputation-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
}

.reputation-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.reputation-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reputation-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color 0.3s;
}

.reputation-feature:hover {
  border-color: rgba(247, 147, 26, 0.4);
}

.reputation-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.reputation-feature-icon svg {
  width: 100%;
  height: 100%;
}

.reputation-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.reputation-feature p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.reputation-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.event-kind-badge {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ========================================
   MCP Tools Section
   ======================================== */

.mcp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.mcp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.mcp-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.mcp-badge {
  display: inline-block;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mcp-card h3 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.mcp-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mcp-example {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.mcp-example code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.mcp-install {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   Pricing
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(247, 147, 26, 0.1);
}

.pricing-card-featured .tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 4px 16px;
}

.tier-badge {
  display: inline-block;
  background: var(--orange);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card-tier {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 8px;
}

.pricing-card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
}

.pricing-card li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-card li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.pricing-note {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-cta {
  text-align: center;
  margin-top: 32px;
}

/* ========================================
   Payment Providers
   ======================================== */

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

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s;
  position: relative;
}

.provider-card:hover {
  border-color: rgba(247, 147, 26, 0.4);
}

.provider-recommended {
  border-color: var(--orange);
}

.provider-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.provider-badge {
  display: inline-block;
  background: var(--orange);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.provider-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.provider-note {
  text-align: center;
}

.provider-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   Developer Section
   ======================================== */

.dev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: block;
  color: var(--text-primary);
}

.dev-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  opacity: 1;
}

.dev-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
}

.dev-card-icon svg {
  width: 100%;
  height: 100%;
}

.dev-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.dev-install {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--orange-dim);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow-x: auto;
}

.dev-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.dev-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ========================================
   Wallet Setup
   ======================================== */

.wallet-setup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.wallet-setup-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.wallet-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.wallet-tab {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  font-family: var(--font-sans);
}

.wallet-tab:hover {
  border-color: rgba(247, 147, 26, 0.4);
  color: var(--text-primary);
}

.wallet-tab.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.wallet-panel {
  display: none;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.wallet-panel.active {
  display: block;
}

.wallet-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-wolf-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

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

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

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   Mobile Responsive
   ======================================== */

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-categories {
    grid-template-columns: 1fr 1fr;
  }

  .protocol-content {
    grid-template-columns: 1fr;
  }

  .sdk-content {
    grid-template-columns: 1fr;
  }

  .mcp-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dev-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .providers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reputation-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-wolf-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-categories {
    grid-template-columns: 1fr;
  }

  .mcp-grid {
    grid-template-columns: 1fr;
  }

  .dev-grid {
    grid-template-columns: 1fr;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }

  .providers-grid {
    grid-template-columns: 1fr;
  }

  .sdk-tabs {
    flex-wrap: wrap;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  /* Pipeline vertical on mobile */
  .pipeline {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .pipeline-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .pipeline-step {
    max-width: 100%;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .agent-info-row {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
}
