/* ═══════════════════════════════════════════
   Bitcord Landing Page – style.css
   ═══════════════════════════════════════════ */

/* ── Reset & Variables ── */
:root {
  --bg:        #0e0e1a;
  --bg-card:   #1a1a2e;
  --bg-surface:#232340;
  --primary:   #5865f2;
  --primary-hover: #4752c4;
  --accent:    #00e88f;
  --accent-2:  #00a8fc;
  --text:      #f2f3f5;
  --text-muted:#949ba4;
  --text-dim:  #6d7179;
  --danger:    #f23f42;
  --radius:    8px;
  --max-w:     1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Animations ── */
@keyframes floatA { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-40px) scale(1.06)} }
@keyframes floatB { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-25px,35px) scale(0.94)} }
@keyframes floatC { 0%,100%{transform:translate(0,0)} 50%{transform:translate(15px,20px)} }
@keyframes pulse  { 0%,100%{opacity:.3} 50%{opacity:.6} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(-40px)} to{opacity:1;transform:translateX(0)} }
@keyframes fadeRight{ from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:translateX(0)} }
@keyframes shimmer {
  0%  { background-position: -200% 0; }
  100%{ background-position: 200% 0;  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.reveal-delay { transition-delay: 0.2s; }

/* ════════════════════
   HEADER
   ════════════════════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 10px 20px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-nav {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  padding: 8px 18px;
}

.btn-nav:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(88,101,242,0.35);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88,101,242,0.45);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════
   HERO
   ════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 60px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1e1247 0%, #2a1a5e 20%, #1a1040 45%, var(--bg) 75%);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.orb-1 {
  width: 50%;
  height: 50%;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  opacity: 0.35;
  animation: floatA 20s ease-in-out infinite;
}
.orb-2 {
  width: 55%;
  height: 55%;
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  opacity: 0.25;
  animation: floatB 25s ease-in-out infinite;
}
.orb-3 {
  width: 30%;
  height: 30%;
  top: 25%;
  right: 8%;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  opacity: 0.15;
  animation: floatC 18s ease-in-out infinite;
}

/* Sparkle dots */
.sparkle {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}
.s1 { width: 3px; height: 3px; top: 15%; left: 20%; animation-delay: 0s; }
.s2 { width: 2px; height: 2px; top: 30%; left: 78%; animation-delay: 1s; }
.s3 { width: 2px; height: 2px; top: 65%; left: 14%; animation-delay: 2s; }
.s4 { width: 3px; height: 3px; top: 80%; left: 85%; animation-delay: 0.5s; }
.s5 { width: 2px; height: 2px; top: 45%; left: 92%; animation-delay: 1.5s; }

/* Abstract blobs */
.blob {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  pointer-events: none;
}
.blob-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 65%;
  background: rgba(167,139,250,0.06);
  animation: floatA 22s ease-in-out infinite;
}
.blob-2 {
  width: 160px;
  height: 160px;
  top: 60%;
  left: 5%;
  background: rgba(96,165,250,0.05);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: floatB 28s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
}

.hero-line-1 { display: block; }
.hero-line-2 {
  display: block;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-line-2 em {
  font-style: normal;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── App Mockup ── */
.hero-mockup {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  width: 100%;
  max-width: 860px;
  perspective: 1200px;
}

.mockup-window {
  border-radius: 12px;
  overflow: hidden;
  background: #1e1f22;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(88,101,242,0.12);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #2b2d31;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red    { background: #f23f42; }
.dot.yellow { background: #f0b232; }
.dot.green  { background: #23a559; }
.mockup-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
}

.mockup-body {
  display: flex;
  height: 320px;
}

.mockup-sidebar {
  display: flex;
  width: 280px;
  flex-shrink: 0;
}

.mockup-server-list {
  width: 56px;
  background: #1e1f22;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mockup-server {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #313338;
  transition: border-radius 0.15s;
}
.mockup-server.active {
  border-radius: 12px;
  background: var(--primary);
}

.mockup-channels {
  flex: 1;
  background: #2b2d31;
  padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,0.04);
}

.mockup-ch-header {
  height: 10px;
  width: 60%;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: 14px;
}

.mockup-ch-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}
.mockup-ch-item.active {
  background: rgba(255,255,255,0.06);
}

.hash {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 600;
}
.hash.voice { font-size: 12px; }

.mockup-ch-sep {
  height: 1px;
  background: rgba(255,255,255,0.04);
  margin: 8px 0;
}

.mockup-line {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
}
.mockup-line.bright { background: rgba(255,255,255,0.14); height: 9px; margin-bottom: 4px; }
.mockup-line.dim    { background: rgba(255,255,255,0.04); }
.w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; }
.w40 { width: 40%; } .w50 { width: 50%; } .w55 { width: 55%; }
.w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; }
.w80 { width: 80%; } .w90 { width: 90%; } .w95 { width: 95%; }

.mockup-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #313338;
}

.mockup-chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mockup-messages {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.mockup-msg {
  display: flex;
  gap: 10px;
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-avatar.a1 { background: #5865f2; }
.mockup-avatar.a2 { background: #23a559; }
.mockup-avatar.a3 { background: #f0b232; }

.mockup-msg-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mockup-input {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: #383a40;
  margin: 8px 14px 10px;
  border-radius: 8px;
}

.mockup-members {
  width: 180px;
  background: #2b2d31;
  padding: 12px 10px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,0.04);
}

.mockup-member-header {
  height: 8px;
  width: 50%;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin-bottom: 12px;
}

.mockup-member {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.mockup-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-avatar-sm.a1 { background: #5865f2; }
.mockup-avatar-sm.a2 { background: #23a559; }
.mockup-avatar-sm.a3 { background: #f0b232; }

/* ════════════════════
   FEATURES
   ════════════════════ */
.features {
  padding: 100px 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 120px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }

.feature-visual {
  flex: 1;
  min-width: 0;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.feature-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 460px;
}

/* Feature card visuals */
.feature-card-visual {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Identity visual */
.identity-visual {
  flex-direction: column;
  gap: 24px;
}

.key-icon {
  color: var(--accent);
  opacity: 0.7;
}

.identity-demo {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.id-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}

.id-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.id-value {
  font-size: 14px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--text);
}

.id-value.none {
  color: var(--accent);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
}

/* Encryption visual */
.encrypt-visual {
  flex-direction: column;
  gap: 0;
  padding: 32px 28px;
}

.encrypt-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.encrypt-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 85%;
}

.encrypt-msg.sent {
  background: var(--primary);
  align-self: flex-end;
}

.encrypt-msg.received {
  background: rgba(255,255,255,0.06);
  align-self: flex-start;
}

.encrypt-text {
  font-size: 14px;
  color: var(--text);
}

.encrypt-lock {
  font-size: 12px;
  flex-shrink: 0;
}

.encrypt-wire {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.encrypt-cipher {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px dashed rgba(255,255,255,0.08);
  background-image: linear-gradient(90deg, transparent, rgba(88,101,242,0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

/* Swarm visual */
.swarm-visual {
  position: relative;
  min-height: 260px;
}

.swarm-nodes {
  position: relative;
  width: 100%;
  height: 200px;
}

.swarm-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.swarm-lines line {
  stroke: rgba(88,101,242,0.2);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.swarm-node {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  z-index: 1;
}

.swarm-node.n1 { top: 10%; left: 50%; transform: translateX(-50%); background: var(--primary); }
.swarm-node.n2 { top: 40%; left: 12%; }
.swarm-node.n3 { top: 40%; right: 12%; }
.swarm-node.n4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.swarm-node.n5 { top: 40%; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-color: var(--accent); opacity: 0.5; }

/* Payments visual */
.payments-visual {
  flex-direction: column;
  gap: 20px;
}

.tip-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.tip-bubble {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px 24px;
  width: 100%;
  max-width: 320px;
}

.tip-icon {
  font-size: 32px;
}

.tip-info {
  display: flex;
  flex-direction: column;
}

.tip-label {
  font-size: 13px;
  color: var(--text-muted);
}

.tip-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.tip-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tip-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.08);
}
.tip-badge.btc  { color: #f7931a; border-color: rgba(247,147,26,0.25); background: rgba(247,147,26,0.08); }
.tip-badge.eth  { color: #627eea; border-color: rgba(98,126,234,0.25); background: rgba(98,126,234,0.08); }
.tip-badge.sol  { color: #00d18b; border-color: rgba(0,209,139,0.25); background: rgba(0,209,139,0.08); }
.tip-badge.card { color: var(--text-muted); background: rgba(255,255,255,0.04); }

/* ════════════════════
   COMPARISON
   ════════════════════ */
.comparison {
  padding: 100px 2rem;
  text-align: center;
}

.comparison h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.comparison-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.comparison-table {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-card);
}

.comp-header,
.comp-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.comp-header {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.comp-cell {
  padding: 16px 20px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.comp-header .comp-cell {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  border-bottom: none;
}

.comp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.comp-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.comp-other {
  color: var(--text-dim);
}

.comp-label {
  font-weight: 600;
  color: var(--text);
}

.comp-yes {
  color: var(--accent);
  font-weight: 500;
}

.comp-no {
  color: var(--text-dim);
}

.comp-row:last-child .comp-cell { border-bottom: none; }

/* ════════════════════
   DOWNLOAD CTA
   ════════════════════ */
.download {
  position: relative;
  padding: 120px 2rem;
  text-align: center;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, #1e1247 50%, var(--bg) 100%);
}

.orb-dl-1 {
  width: 40%;
  height: 60%;
  top: 10%;
  left: -5%;
  background: radial-gradient(circle, rgba(88,101,242,0.25), transparent 70%);
  filter: blur(80px);
  animation: floatA 20s ease-in-out infinite;
}

.orb-dl-2 {
  width: 35%;
  height: 50%;
  bottom: 5%;
  right: -5%;
  background: radial-gradient(circle, rgba(0,232,143,0.15), transparent 70%);
  filter: blur(80px);
  animation: floatB 22s ease-in-out infinite;
}

.download-content {
  position: relative;
  z-index: 2;
}

.download h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.download p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.download-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.download-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* ════════════════════
   FOOTER
   ════════════════════ */
footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px 2rem 40px;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 8px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ════════════════════
   RESPONSIVE
   ════════════════════ */
@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }

  .feature-text p { max-width: 100%; }

  .mockup-members { display: none; }
  .mockup-sidebar { width: 220px; }
  .mockup-body { height: 260px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .comp-header,
  .comp-row {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .comp-cell { padding: 12px 14px; font-size: 13px; }
}

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(14,14,26,0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }

  .btn-nav { display: none; }
  .mobile-toggle { display: flex; }

  .hero { padding: 100px 1.25rem 40px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }

  .hero-mockup { margin-top: 32px; }
  .mockup-sidebar { display: none; }
  .mockup-body { height: 220px; }

  .features { padding: 60px 1.25rem; }
  .feature-card-visual { padding: 28px 20px; min-height: 220px; }

  .comparison { padding: 60px 1rem; }
  .comp-header, .comp-row { grid-template-columns: 1fr; }
  .comp-header { display: none; }
  .comp-row {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .comp-cell { padding: 0; border: none; }
  .comp-label { font-size: 15px; margin-bottom: 4px; }
  .comp-yes::before { content: "Bitcord: "; font-weight: 700; color: var(--primary); }
  .comp-no::before { content: "Discord: "; font-weight: 700; color: var(--text-dim); }

  .download { padding: 80px 1.25rem; }
  .download-cta { flex-direction: column; align-items: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
