/* ═══════════════════════════════════════════════════════════
   EchoFeed — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --orange: #f97316;
  --orange-hover: #ea580c;
  --orange-soft: #fff1e6;
  --blue: #3b82f6;
  --green: #10b981;
  --purple: #8b5cf6;
  --pink: #ec4899;
}

[data-theme="light"] {
  --bg: #fafaf9;
  --bg-2: #ffffff;
  --bg-3: #f5f5f4;
  --bg-subtle: #fafaf9;
  --border: #e7e5e4;
  --border-hover: #d6d3d1;
  --text: #1c1917;
  --text-2: #57534e;
  --text-3: #a8a29e;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 40px -10px rgba(0,0,0,0.1);
  --mesh-line: rgba(28,25,23,0.05);
}

[data-theme="dark"] {
  --bg: #0c0a09;
  --bg-2: #18181b;
  --bg-3: #27272a;
  --bg-subtle: #18181b;
  --border: #27272a;
  --border-hover: #3f3f46;
  --text: #fafaf9;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px -10px rgba(0,0,0,0.5);
  --mesh-line: rgba(255,255,255,0.04);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter Tight', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s, color 0.3s;
  scroll-behavior: smooth;
  line-height: 1.5;
}

body { overflow-x: hidden; min-height: 100vh; }

::selection { background: var(--orange); color: white; }

a { color: inherit; }

/* ── Mesh background ── */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--mesh-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* ── NAV ── */
nav.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.6) blur(20px);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-name em {
  color: var(--orange);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s;
  position: relative;
}

.nav-link:hover { color: var(--text); background: var(--bg-3); }

.nav-link.active { color: var(--text); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Language Switcher ── */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s;
}

.lang-btn:hover { background: var(--bg-3); border-color: var(--border-hover); }

.lang-btn .flag {
  font-size: 16px;
  line-height: 1;
}

.lang-btn .chev {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
  opacity: 0.6;
}

.lang-switcher.open .lang-btn .chev {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s;
  z-index: 100;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s;
  text-align: left;
}

.lang-option:hover { background: var(--bg-3); }

.lang-option.active {
  background: var(--orange-soft);
  color: var(--orange);
}

[data-theme="dark"] .lang-option.active {
  background: rgba(249,115,22,0.12);
}

.lang-option .flag { font-size: 16px; }
.lang-option .name { flex: 1; }
.lang-option .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
}

/* ── Theme toggle ── */
.theme-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s;
}

.theme-btn:hover { background: var(--bg-3); border-color: var(--border-hover); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .sun, [data-theme="dark"] .theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: block; }

/* ── Buttons ── */
.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 1px 2px rgba(249,115,22,0.2);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--bg-3); border-color: var(--border-hover); }

.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  overflow: hidden;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-left { position: relative; z-index: 5; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}

[data-theme="dark"] .hero-eyebrow { background: rgba(249,115,22,0.12); }

.hero-eyebrow-badge {
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

h1.hero-title {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

h1.hero-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}

h1.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 8px;
  background: var(--orange);
  opacity: 0.15;
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-2);
}

.avatars { display: flex; }

.avatars > div {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}
.avatars > div:first-child { margin-left: 0; }
.avatars .a1 { background: #fed7aa; color: #9a3412; }
.avatars .a2 { background: #bfdbfe; color: #1e40af; }
.avatars .a3 { background: #bbf7d0; color: #166534; }
.avatars .a4 { background: #fbcfe8; color: #9f1239; }

/* ── HERO ILLUSTRATION ── */
.hero-right {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illo {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 500px;
}

.illo-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 180px;
  background: var(--bg-2);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.illo-center-inner {
  width: 90%; height: 90%;
  border-radius: 50%;
  background: conic-gradient(
    from 90deg,
    #1d9bf0 0%,
    #000 15%,
    #8b5cf6 30%,
    #10b981 45%,
    #ec4899 60%,
    var(--orange) 75%,
    #3b82f6 90%,
    #1d9bf0 100%
  );
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illo-center-core {
  width: 100%; height: 100%;
  background: var(--bg-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illo-bell {
  width: 40px; height: 40px;
  color: var(--orange);
  animation: bellShake 3s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes bellShake {
  0%, 90%, 100% { transform: rotate(0deg); }
  92%, 96% { transform: rotate(-10deg); }
  94%, 98% { transform: rotate(10deg); }
}

.illo-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.illo-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  opacity: 0.6;
}

.illo-ring.r1 { width: 260px; height: 260px; animation: spinSlow 40s linear infinite; }
.illo-ring.r2 { width: 360px; height: 360px; animation: spinSlow 60s linear infinite reverse; }

@keyframes spinSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.illo-bubble {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transition: transform 0.3s;
  font-size: 26px;
  overflow: hidden;
}

.illo-bubble img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.illo-bubble:hover { transform: translateY(-4px) scale(1.05); }

.illo-bubble.x { top: 10%; left: 50%; transform: translateX(-50%); background: #000; }
[data-theme="dark"] .illo-bubble.x { background: #fff; }
[data-theme="dark"] .illo-bubble.x img { filter: invert(1); }

.illo-bubble.bluesky { top: 40%; left: 2%; background: #e0f2fe; }
[data-theme="dark"] .illo-bubble.bluesky { background: rgba(14,165,233,0.15); }

.illo-bubble.threads { top: 10%; right: 6%; background: #f3e8ff; }
[data-theme="dark"] .illo-bubble.threads { background: rgba(124,58,237,0.15); }

.illo-bubble.nsosyal { bottom: 12%; left: 10%; background: #000; }
[data-theme="dark"] .illo-bubble.nsosyal { background: #1a1a1a; border-color: rgba(255,255,255,0.1); }

.illo-bubble.truth { bottom: 16%; right: 10%; background: #fff; border-color: #e5e5e5; }
[data-theme="dark"] .illo-bubble.truth { background: #fff; }

.illo-bubble.mastodon { top: 48%; right: 0%; background: #ddd6fe; }
[data-theme="dark"] .illo-bubble.mastodon { background: rgba(91,33,182,0.15); }

.illo-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.illo-line {
  stroke: var(--border-hover);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  fill: none;
  opacity: 0.6;
}

.illo-dot-anim {
  fill: var(--orange);
  r: 3;
}

.float-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 8;
  font-size: 12px;
}

.float-card.f1 { top: 18%; left: -8%; animation: float1 6s ease-in-out infinite; }
.float-card.f2 { bottom: 20%; right: -4%; animation: float2 7s ease-in-out infinite; }

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.float-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}

.float-content { min-width: 0; }
.float-name { font-weight: 600; color: var(--text); font-size: 12px; }
.float-text { color: var(--text-2); font-size: 11px; }
.float-time {
  color: var(--text-3);
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  margin-left: auto;
  white-space: nowrap;
}

/* ── FEATURES ── */
.features {
  padding: 100px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-inner { max-width: 1280px; margin: 0 auto; }

.features-head {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 680px;
}

.section-label {
  display: inline-block;
  padding: 5px 12px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}

[data-theme="dark"] .section-label { background: rgba(249,115,22,0.12); }

h2.section-title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 16px;
}

h2.section-title em { font-style: normal; color: var(--orange); }

.section-desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}

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

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon.o { background: var(--orange-soft); color: var(--orange); }
[data-theme="dark"] .feature-icon.o { background: rgba(249,115,22,0.12); }
.feature-icon.b { background: #dbeafe; color: #2563eb; }
[data-theme="dark"] .feature-icon.b { background: rgba(37,99,235,0.15); color: #60a5fa; }
.feature-icon.g { background: #d1fae5; color: #059669; }
[data-theme="dark"] .feature-icon.g { background: rgba(5,150,105,0.15); color: #34d399; }

.feature-icon svg { width: 24px; height: 24px; }

.feature-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── LIVE POSTS ── */
.posts-section { padding: 100px 32px; }

.posts-inner { max-width: 1280px; margin: 0 auto; }

.posts-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.posts-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.posts-head h2 em { font-style: normal; color: var(--orange); }

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-2);
}

.live-dot {
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: livePulse 1.4s infinite;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

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

.post-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  transition: all 0.2s;
  position: relative;
}

.post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.post-meta { flex: 1; min-width: 0; }

.post-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified {
  display: inline-flex;
  color: #3b82f6;
}

.post-handle {
  font-size: 12px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.post-platform {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}

.pp-x { background: #f5f5f4; color: #1c1917; }
[data-theme="dark"] .pp-x { background: #27272a; color: #fafafa; }
.pp-bluesky { background: #dbeafe; color: #1e40af; }
[data-theme="dark"] .pp-bluesky { background: rgba(29,78,216,0.2); color: #93c5fd; }
.pp-threads { background: #ede9fe; color: #6d28d9; }
[data-theme="dark"] .pp-threads { background: rgba(109,40,217,0.2); color: #c4b5fd; }

.post-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 16px;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
}

.post-stats { display: flex; gap: 14px; }
.post-stat { display: inline-flex; align-items: center; gap: 4px; }
.post-stat svg { width: 13px; height: 13px; }
.post-time { font-family: 'JetBrains Mono', monospace; }

/* ── CTA ── */
.cta {
  padding: 120px 32px;
  text-align: center;
  position: relative;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
  border-radius: 32px;
  padding: 72px 48px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-inner::before, .cta-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.cta-inner::before { width: 200px; height: 200px; top: -80px; right: -60px; }
.cta-inner::after { width: 160px; height: 160px; bottom: -60px; left: -40px; }

.cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.cta .btn {
  background: white;
  color: var(--orange);
  border-color: white;
  position: relative;
  z-index: 1;
}

.cta .btn:hover { background: var(--bg); color: var(--orange); }

/* ── FOOTER ── */
footer {
  padding: 48px 32px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-inner { max-width: 1280px; margin: 0 auto; }

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

.footer-brand { max-width: 300px; }
.footer-brand .logo { margin-bottom: 14px; }

.footer-brand p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

/* ── MOBILE ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { height: 380px; order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 720px) {
  .nav-inner { padding: 12px 20px; gap: 10px; }
  .nav-links { display: none; }
  .lang-btn .name { display: none; }
  .hero { padding: 60px 20px 80px; }
  .features, .posts-section { padding: 80px 20px; }
  .cta { padding: 80px 20px; }
  .cta-inner { padding: 52px 28px; }
  .features-head, .posts-head { margin-bottom: 40px; }
  .float-card.f1 { left: -2%; }
  .float-card.f2 { right: 0%; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .logo { font-size: 18px; }
}

/* ── Platform badge icons (used in post cards) ── */
.post-platform img,
.dash-post-platform img,
.showcase-plat img,
.mock-post-plat img {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  display: inline-block;
  object-fit: contain;
  margin-right: 3px;
}

.pp-x img, .dash-post-platform.pp-x img {
  filter: invert(0);
}
[data-theme="dark"] .pp-x img, [data-theme="dark"] .dash-post-platform.pp-x img {
  filter: invert(1);
}

/* Platforms page card logos */
.plat-card-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.plat-card-logo.logo-x { background: #000 !important; }
[data-theme="dark"] .plat-card-logo.logo-x { background: #fff !important; }
[data-theme="dark"] .plat-card-logo.logo-x img { filter: invert(1); }

/* Dashboard sidebar person meta icons */
.dash-person-meta img {
  width: 10px;
  height: 10px;
  vertical-align: middle;
  display: inline-block;
  object-fit: contain;
  margin-right: 2px;
}

/* Flag images (flagcdn.com) — clean flat flags */
.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lang-option .flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
}

