/* ── RESET & VARS ───────────────────────────────────────── */
:root {
  --bg: #050505;
  --fg: #ffffff;
  --muted: #666666;
  --accent: #00ff88;
  --border: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.03);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Syne', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ──────────────────────────────────────── */
.cursor {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--fg);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

.cursor.hover {
  width: 50px;
  height: 50px;
  border-color: var(--accent);
  background: rgba(0,255,136,0.1);
}

/* ── CONSTELLATION OVERLAY ──────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}

.noise::before,
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 55% 30%, rgba(0,255,136,0.5), transparent),
    radial-gradient(1px 1px at 70% 75%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 20% 80%, rgba(0,255,136,0.4), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 45% 90%, rgba(0,255,136,0.3), transparent),
    radial-gradient(1px 1px at 60% 10%, rgba(255,255,255,0.35), transparent);
  background-size: 200px 200px;
  animation: twinkle 4s ease-in-out infinite;
}

.noise::after {
  background-size: 300px 300px;
  animation: twinkle 6s ease-in-out infinite reverse;
  opacity: 0.7;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover { opacity: 0.6; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: opacity 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}

.nav-link:hover::after { width: 100%; }

.nav-btn {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.nav-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: none;
  padding: 8px;
}

.mobile-menu-btn svg { width: 24px; height: 24px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 120px 40px;
}

.hero-badge {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s 0.2s forwards;
}

.hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 12vw, 180px);
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s 0.4s forwards;
}

.hero-title em { font-style: italic; color: var(--accent); }

.hero-subtitle {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: center;
  max-width: 500px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}

.scroll-indicator span {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ── SECTION LABEL ──────────────────────────────────────── */
.section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--muted);
}

/* ── VIEWER ──────────────────────────────────────────────── */
.viewer-section {
  padding: 80px 40px 160px;
  position: relative;
}

.viewer-container {
  max-width: 800px;
  margin: 0 auto;
}

.viewer-frame {
  position: relative;
  aspect-ratio: 1/1;
  background: #0a0a0a;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  contain: strict;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform;
}

.viewer-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.viewer-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.control-btn {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 100px;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.control-btn:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: translateY(-2px);
}

.control-btn svg { width: 14px; height: 14px; }

.viewer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.token-display {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}

.token-display strong { color: var(--fg); font-weight: 500; }

/* ── SEARCH ──────────────────────────────────────────────── */
.search-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 4px 4px 20px;
  transition: all 0.3s;
}

.search-container:focus-within {
  border-color: var(--accent);
  background: rgba(0,255,136,0.05);
}

.search-input {
  background: none;
  border: none;
  color: var(--fg);
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  width: 80px;
  outline: none;
  cursor: none;
  caret-color: var(--accent);
}

.search-input::placeholder { color: var(--muted); }

.search-btn {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  cursor: none;
  transition: all 0.3s;
}

.search-btn:hover { background: var(--accent); }

/* ── STATS ───────────────────────────────────────────────── */
.stats-section {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 40px;
  background: var(--glass);
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.15);
}

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-number.accent { color: var(--accent); }

.stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section { padding: 160px 40px; }

.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.about-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.about-content h2 em { font-style: italic; color: var(--accent); }

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

.feature-list { list-style: none; margin-top: 40px; }

.feature-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--fg);
  transition: all 0.3s;
}

.feature-list li:hover { padding-left: 16px; color: var(--accent); }
.feature-list li::before { content: '→'; color: var(--accent); font-family: 'Geist Mono', monospace; }

.about-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #050505 100%);
  border: 1px solid var(--border);
}

.palette-grid {
  position: absolute;
  inset: 20px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 4px;
  opacity: 0.8;
}

.palette-cell {
  border-radius: 4px;
  animation: colorShift 10s infinite;
  animation-delay: var(--delay);
}

@keyframes colorShift {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/* ── TEAM ────────────────────────────────────────────────── */
.team-section {
  padding: 160px 40px;
  border-top: 1px solid var(--border);
}

.team-header { text-align: center; margin-bottom: 80px; }

.team-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.team-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.team-member {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.team-member:hover { transform: translateY(-12px); }

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.3s;
}

.team-member:hover .team-avatar { border-color: var(--accent); }

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s;
}

.team-member:hover .team-avatar img { filter: grayscale(0%); }
.team-name { font-family: 'Instrument Serif', serif; font-size: 24px; margin-bottom: 4px; }
.team-role { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ── EXTENSION ───────────────────────────────────────────── */
.extension-section {
  padding: 160px 40px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.extension-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,255,136,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.extension-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.extension-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.extension-content h2 em { font-style: italic; color: var(--accent); }

.extension-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 32px;
}

.extension-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.extension-feature {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
}

.extension-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 36px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.extension-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,255,136,0.2);
}

.extension-btn svg { width: 18px; height: 18px; }

.extension-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
  border: 1px solid var(--border);
}

.extension-preview {
  position: absolute;
  inset: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.extension-preview-header {
  background: #1a1a1a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.red    { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green  { background: #27ca40; }

.extension-preview-content {
  position: relative;
  height: calc(100% - 40px);
  background: #0a0a0a;
  contain: strict;
  isolation: isolate;
}

.extension-preview-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.chrome-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--fg);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chrome-badge svg { width: 14px; height: 14px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section {
  padding: 160px 40px;
  border-top: 1px solid var(--border);
}

.faq-container { max-width: 800px; margin: 0 auto; }

.faq-header { text-align: center; margin-bottom: 80px; }

.faq-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: none;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; }

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s;
}

.faq-icon::before { width: 12px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 1px; height: 12px; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.faq-item.active .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }

.faq-answer-inner {
  padding: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.faq-answer-inner a { color: var(--accent); text-decoration: none; }
.faq-answer-inner a:hover { text-decoration: underline; }

/* ── MARQUEE ─────────────────────────────────────────────── */
.featured-section {
  padding: 40px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.featured-section .section-label { padding: 0 40px; margin-bottom: 24px; }

.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
}

.marquee-track {
  display: flex;
  gap: 16px;
  animation: marquee-left 60s linear infinite;
  width: max-content;
}

.marquee-track.reverse { animation: marquee-right 60s linear infinite; }
.marquee-container:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.squiggle-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

.squiggle-thumb:hover { border-color: var(--accent); transform: scale(1.05); z-index: 10; }
.squiggle-thumb img { width: 100%; height: 100%; object-fit: cover; }

.squiggle-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.squiggle-thumb:hover .squiggle-thumb-overlay { opacity: 1; }

.squiggle-thumb-id {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--fg);
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
  padding: 200px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,255,136,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.cta-content h2 em { font-style: italic; color: var(--accent); }

.cta-content p {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 20px 48px;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.cta-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(0,255,136,0.3);
}

.cta-btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.cta-btn:hover svg { transform: translateX(4px); }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  max-width: 400px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal-overlay.active .modal-content { transform: scale(1); }
.modal-icon { font-size: 48px; margin-bottom: 24px; }
.modal-title { font-family: 'Instrument Serif', serif; font-size: 28px; margin-bottom: 12px; }

.modal-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.modal-close {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-close:hover { background: var(--fg); color: var(--bg); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo { font-family: 'Instrument Serif', serif; font-size: 18px; color: var(--fg); text-decoration: none; }
.footer-links { display: flex; gap: 32px; }

.footer-link {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover { color: var(--fg); }
.footer-copy { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.05em; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }
  nav { padding: 16px 16px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 100px 16px 80px; min-height: auto; }
  .hero-title { font-size: clamp(36px, 10vw, 80px); }
  .hero-badge { font-size: 9px; padding: 6px 12px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 12px; padding: 0 8px; }
  .scroll-indicator { display: none; }
  .viewer-section { padding: 60px 12px 100px; }
  .viewer-container { padding: 0; }
  .viewer-frame { border-radius: 16px; aspect-ratio: 1/1; }
  .viewer-controls { flex-direction: column; gap: 8px; margin-top: 16px; }
  .control-btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 11px; }
  .viewer-info { flex-direction: column; gap: 12px; align-items: stretch; margin-top: 16px; padding-top: 16px; }
  .viewer-info .control-btn { width: 100%; justify-content: center; }
  .token-display { text-align: center; }
  .stats-section { padding: 60px 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 20px 12px; border-radius: 16px; }
  .stat-number { font-size: clamp(28px, 8vw, 48px); }
  .stat-label { font-size: 9px; }
  .about-section { padding: 80px 12px; }
  .about-grid { gap: 40px; }
  .about-content h2 { font-size: clamp(28px, 7vw, 48px); }
  .about-content p { font-size: 14px; }
  .feature-list li { font-size: 13px; padding: 16px 0; }
  .about-visual { max-width: 100%; aspect-ratio: 1; }
  .palette-grid { inset: 12px; gap: 3px; }
  .team-section { padding: 80px 12px; }
  .team-header { margin-bottom: 40px; }
  .team-header h2 { font-size: clamp(28px, 7vw, 48px); }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .team-avatar { width: 100px; height: 100px; margin-bottom: 16px; }
  .team-name { font-size: 18px; }
  .team-role { font-size: 10px; }
  .faq-section { padding: 80px 12px; }
  .faq-header { margin-bottom: 40px; }
  .faq-header h2 { font-size: clamp(28px, 7vw, 48px); }
  .faq-question { font-size: 15px; padding: 20px 0; }
  .faq-answer-inner { font-size: 13px; padding-bottom: 20px; }
  .cta-section { padding: 100px 16px; }
  .cta-content h2 { font-size: clamp(32px, 9vw, 64px); }
  .cta-content p { font-size: 12px; margin-bottom: 32px; }
  .cta-btn { padding: 16px 32px; font-size: 11px; width: 100%; justify-content: center; }
  footer { padding: 40px 12px; }
  .footer-content { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .footer-link { font-size: 10px; }
  .footer-copy { font-size: 9px; }
  .featured-section { padding: 30px 0; }
  .featured-section .section-label { padding: 0 16px; margin-bottom: 16px; }
  .squiggle-thumb { width: 120px; height: 120px; border-radius: 12px; }
  .marquee-track { gap: 12px; }
  .extension-section { padding: 80px 16px; }
  .extension-grid { grid-template-columns: 1fr; gap: 40px; }
  .extension-visual { order: -1; max-width: 100%; }
  .extension-content h2 { font-size: clamp(28px, 7vw, 48px); }
  .extension-btn { width: 100%; justify-content: center; padding: 16px 24px; }
  .search-container { flex: 1; min-width: 100%; order: -1; }
  .search-input { flex: 1; width: auto; }
  .cursor, .cursor-dot { display: none !important; }
  body { cursor: auto !important; }
  a, button, .control-btn, .faq-question, .nav-btn, .cta-btn, .team-member { cursor: pointer !important; }
}

@media (max-width: 480px) {
  .hero { padding: 80px 12px 60px; }
  .hero-title { font-size: clamp(32px, 12vw, 60px); }
  .stats-grid { gap: 8px; }
  .stat-item { padding: 16px 8px; }
  .stat-number { font-size: 28px; }
  .team-grid { gap: 16px; }
  .team-avatar { width: 80px; height: 80px; }
  .team-name { font-size: 16px; }
  .feature-list li { font-size: 12px; padding: 12px 0; }
  .faq-question { font-size: 14px; }
  .cta-content h2 { font-size: clamp(28px, 10vw, 48px); }
  .cta-btn { padding: 14px 24px; font-size: 10px; }
  .hero-badge { font-size: 9px; padding: 6px 12px; }
  .control-btn { padding: 12px 20px; font-size: 10px; }
}
