/* ── RESET + TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --surface: #0e0e0e;
  --surface2: #141414;
  --border: rgba(255,26,26,0.1);
  --border-mid: rgba(255,26,26,0.22);
  --border-bright: rgba(255,26,26,0.5);
  --text: #f0f0f0;
  --muted: rgba(255,255,255,0.42);
  --red: #ff1a1a;
  --cyan: #00e5ff;
  --amber: #ffb300;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Inter', system-ui, sans-serif;
  --glow: 0 0 24px rgba(255,26,26,0.28);
  --glow-lg: 0 0 60px rgba(255,26,26,0.14);
  --nav-bg: rgba(8,8,8,0.96);
  --matrix-trail: rgba(8,8,8,0.07);
  --vignette-alpha: 0.45;
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg: #f2f2f2;
  --surface: #e8e8e8;
  --surface2: #dedede;
  --border: rgba(200,0,0,0.1);
  --border-mid: rgba(200,0,0,0.2);
  --border-bright: rgba(200,0,0,0.45);
  --text: #0a0a0a;
  --muted: rgba(0,0,0,0.45);
  --glow: 0 0 24px rgba(200,0,0,0.18);
  --glow-lg: 0 0 60px rgba(200,0,0,0.1);
  --nav-bg: rgba(242,242,242,0.97);
  --matrix-trail: rgba(242,242,242,0.1);
  --vignette-alpha: 0;
}

/* ── AUTO MODE: follow system preference ── */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f2f2f2;
    --surface: #e8e8e8;
    --surface2: #dedede;
    --border: rgba(200,0,0,0.1);
    --border-mid: rgba(200,0,0,0.2);
    --border-bright: rgba(200,0,0,0.45);
    --text: #0a0a0a;
    --muted: rgba(0,0,0,0.45);
    --glow: 0 0 24px rgba(200,0,0,0.18);
    --glow-lg: 0 0 60px rgba(200,0,0,0.1);
    --nav-bg: rgba(242,242,242,0.97);
    --matrix-trail: rgba(242,242,242,0.1);
    --vignette-alpha: 0;
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* CRT scanlines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.055) 2px,
    rgba(0,0,0,0.055) 4px
  );
}

/* CRT vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9996;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,var(--vignette-alpha)) 100%);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 50px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
}

.logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  text-shadow: var(--glow);
  text-decoration: none;
}
.logo-prompt { color: var(--muted); margin-right: 0.3rem; font-weight: 400; }
.logo-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--red);
  margin-left: 2px;
  vertical-align: text-bottom;
  box-shadow: var(--glow);
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.nav-status {
  font-size: 0.6875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.35} }

.nav-back {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 0.15s;
}
.nav-back:hover { color: var(--red); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.nav-cta:hover {
  background: var(--red);
  color: #000;
  border-color: var(--red);
  box-shadow: var(--glow);
}

/* ── THEME TOGGLE ── */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
  border-radius: 4px;
}
.theme-btn:hover { color: var(--text); border-color: var(--border-mid); }
.theme-btn svg { flex-shrink: 0; }

.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition:
    background-color 0.25s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
  transition-delay: 0s !important;
}

/* ── FOOTER ── */
footer {
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
}
footer::before { content: '[SYS] '; color: rgba(255,26,26,0.25); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--red); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

/* ── SUBPAGE HEADER ── */
.page-header {
  padding: 7rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.page-title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--red);
  text-shadow: var(--glow);
  margin-bottom: 0.75rem;
}

.page-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── CONTENT WRAP (subpages) ── */
.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ── POLICY SECTIONS ── */
.policy-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.policy-section::before {
  content: attr(data-index);
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 0.1rem 0.5rem;
  background: var(--red);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.policy-section h2 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1rem;
  padding-top: 0.25rem;
}

.policy-section p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.policy-section p:last-child { margin-bottom: 0; }

.policy-section ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.policy-section ul li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
}

.policy-section ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: var(--font-mono);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

#matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
}

.hero-glow {
  position: absolute;
  width: 800px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,26,26,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.875rem;
  background: rgba(255,26,26,0.05);
  border: 1px solid var(--border-mid);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}

h1 {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

h1 em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 40px rgba(255,26,26,0.5), 0 0 80px rgba(255,26,26,0.2);
}

.hero-tmi {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(0,229,255,0.45);
  margin: 0 auto 1.25rem;
  letter-spacing: 0.03em;
  opacity: 0;
  animation: wordReveal 0.6s cubic-bezier(0.16,1,0.3,1) 0.55s forwards;
}
.hero-tmi::before { content: '// '; }
.hero-tmi em { font-style: normal; color: rgba(0,229,255,0.7); }

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.0625rem);
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--red);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid var(--red);
  font-family: var(--font-mono);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 24px rgba(255,26,26,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255,26,26,0.5); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-secondary:hover {
  background: rgba(255,26,26,0.06);
  border-color: var(--border-bright);
  box-shadow: var(--glow-lg);
}

/* ── TERMINAL MOCKUP ── */
.terminal-window {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), var(--glow-lg);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.875rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.tb-dot { width: 10px; height: 10px; border-radius: 50%; }
.tb-dot.red   { background: #ff5f57; }
.tb-dot.yel   { background: #ffbd2e; }
.tb-dot.grn   { background: #28ca41; }

.tb-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  flex: 1;
  text-align: center;
  letter-spacing: 0.04em;
}

.terminal-body {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  min-height: 400px;
}

.t-prompt { line-height: 1.4; margin-bottom: 0.5rem; }
.t-user  { color: var(--red); }
.t-at    { color: var(--muted); }
.t-host  { color: var(--cyan); }
.t-sep   { color: var(--muted); }
.t-path  { color: var(--amber); }
.t-dollar{ color: var(--muted); }
.t-cmd   { color: var(--text); }

.t-output { color: var(--muted); margin-bottom: 0.75rem; font-size: 0.625rem; }

.t-note-block {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.625rem;
  position: relative;
}
.t-note-block::before {
  content: attr(data-source);
  position: absolute;
  top: -0.55em;
  left: 0.5rem;
  background: var(--surface);
  padding: 0 0.3rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.t-note-block.tiktok    { border-color: rgba(255,65,65,0.25); }
.t-note-block.tiktok::before { color: #ff5060; }
.t-note-block.instagram { border-color: rgba(232,93,156,0.25); }
.t-note-block.instagram::before { color: #e85d9c; }
.t-note-block.reddit    { border-color: rgba(255,100,0,0.25); }
.t-note-block.reddit::before { color: #ff6400; }

.t-note-title { color: var(--text); font-size: 0.6875rem; margin-bottom: 0.2rem; line-height: 1.3; }
.t-note-body  { color: var(--muted); font-size: 0.6rem; line-height: 1.55; }

.t-cursor {
  display: inline-block;
  width: 7px;
  height: 0.9em;
  background: var(--red);
  vertical-align: text-bottom;
  box-shadow: var(--glow);
  animation: blink 1.1s step-end infinite;
}

/* ── PLATFORM STRIP ── */
.platforms-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.65rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.platform-label { color: var(--muted); white-space: nowrap; }
.platform-label::before { content: '// '; color: rgba(255,26,26,0.35); }

.platform-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-mono);
  transition: color 0.2s;
}
.platform-item svg { opacity: 0.65; }
.platform-item:hover { color: var(--text); }

.strip-status { font-size: 0.6rem; color: var(--muted); white-space: nowrap; }
.strip-status-indicator { color: var(--red); }

/* ── SECTIONS ── */
section { padding: 5.5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: rgba(0,229,255,0.55);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}
.section-label::before { content: '// '; }

h2 {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.75;
}

/* ── WORKFLOW ── */
.workflow {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  margin-top: 3.5rem;
}

.workflow-input {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.workflow-input:hover { border-color: var(--border-mid); }
.win-1 { grid-column: 1; grid-row: 1; }
.win-2 { grid-column: 1; grid-row: 2; border-top: none; }
.win-3 { grid-column: 1; grid-row: 3; border-top: none; }

.wi-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(0,229,255,0.4);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.wi-icon {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255,26,26,0.03);
  margin-bottom: 0.625rem;
}
.workflow-input h3 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.workflow-input p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

.workflow-input-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wia-1 { grid-column: 2; grid-row: 1; }
.wia-2 { grid-column: 2; grid-row: 2; }
.wia-3 { grid-column: 2; grid-row: 3; }

.workflow-node {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.workflow-node:hover {
  border-color: var(--border-mid);
  box-shadow: 0 0 24px rgba(255,26,26,0.06);
  transform: translateY(-3px);
}
.wn-step2 { grid-column: 3; grid-row: 1 / 4; }
.wn-step3 { grid-column: 5; grid-row: 1 / 4; }

.wn-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.wn-num::before { content: '// STEP '; }

.wn-icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255,26,26,0.03);
  margin-bottom: 1.125rem;
}
.workflow-node h3 {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.workflow-node p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

.wn-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workflow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.wn-conn { grid-column: 4; grid-row: 1 / 4; }

.wc-line {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--border-mid);
}
.wc-line::after {
  content: '';
  position: absolute;
  right: -1px; top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid rgba(255,26,26,0.45);
}
.wc-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .workflow {
    display: flex;
    flex-direction: column;
  }
  .win-2, .win-3 { border-top: 1px solid var(--border); }
  .workflow-input-arrow, .workflow-connector {
    flex-direction: row;
    height: 36px;
    padding-left: 1rem;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  .wc-line { width: 32px; flex-shrink: 0; }
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.625rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.feature:hover {
  border-color: var(--border-mid);
  box-shadow: 0 0 30px rgba(255,26,26,0.05);
  transform: translateY(-3px);
}

.feature::before {
  content: '┌';
  position: absolute;
  top: -1px; left: -1px;
  color: var(--border-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  pointer-events: none;
}
.feature::after {
  content: '┐';
  position: absolute;
  top: -1px; right: -1px;
  color: var(--border-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  pointer-events: none;
}
.feature-bl {
  position: absolute;
  bottom: -1px; left: -1px;
  color: var(--border-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  pointer-events: none;
}
.feature-br {
  position: absolute;
  bottom: -1px; right: -1px;
  color: var(--border-bright);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  pointer-events: none;
}

.feature-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  background: rgba(255,26,26,0.03);
}

.feature h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
}
.feature p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── SOURCES ── */
.sources {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.source-card {
  flex: 1;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.source-card:hover { transform: translateY(-4px); }
.source-card.tiktok:hover    { border-color: rgba(255,65,65,0.35); box-shadow: 0 0 20px rgba(255,0,80,0.07); }
.source-card.instagram:hover { border-color: rgba(232,93,156,0.35); box-shadow: 0 0 20px rgba(232,93,156,0.07); }
.source-card.reddit:hover    { border-color: rgba(255,100,0,0.35); box-shadow: 0 0 20px rgba(255,100,0,0.07); }
.source-card.twitter:hover   { border-color: rgba(255,255,255,0.2); box-shadow: 0 0 20px rgba(255,255,255,0.04); }
.source-card.threads:hover   { border-color: rgba(255,255,255,0.2); box-shadow: 0 0 20px rgba(255,255,255,0.04); }
.source-card.website:hover   { border-color: var(--border-mid); box-shadow: 0 0 20px rgba(255,26,26,0.05); }

.source-logo {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.source-card h3 { font-size: 0.9rem; font-weight: 700; font-family: var(--font-mono); }
.source-card p  { font-size: 0.8125rem; color: var(--muted); line-height: 1.55; }

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section .section-desc { margin: 0 auto 2rem; text-align: center; }

.url-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  padding: 0.625rem 0.875rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.url-demo-prefix { color: var(--red); white-space: nowrap; }
.url-demo-input {
  flex: 1;
  font-size: 0.75rem;
  color: var(--muted);
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  min-width: 0;
}
.url-demo-btn {
  padding: 0.35rem 0.75rem;
  background: transparent;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--border-mid);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.url-demo-btn:hover {
  background: var(--red);
  color: #000;
  border-color: var(--red);
  box-shadow: var(--glow);
}

/* ── PLATFORM BADGES ── */
.badge-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.badge-row {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.125rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-mono);
}
.platform-badge:hover { border-color: var(--border-mid); transform: translateY(-2px); }
.platform-badge.active { border-color: var(--border-mid); background: rgba(255,26,26,0.04); }
.platform-badge.active:hover { border-color: var(--border-bright); box-shadow: 0 0 20px rgba(255,26,26,0.1); }
.platform-badge.coming-soon { opacity: 0.4; cursor: default; pointer-events: none; }

.badge-soon-tag {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  margin-top: 0.1rem;
}
.platform-badge-text { text-align: left; }
.platform-badge-sub  { font-size: 0.58rem; color: var(--muted); display: block; letter-spacing: 0.04em; }
.platform-badge-name { font-size: 0.875rem; font-weight: 700; display: block; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); max-width: 1100px; margin: 0 auto; }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.line-wrap  { overflow: hidden; display: block; }
.line-inner { display: block; opacity: 0; transform: translateY(110%); animation: lineReveal 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes lineReveal { to { opacity: 1; transform: translateY(0); } }

.word-wrap  { overflow: hidden; display: inline-block; vertical-align: bottom; }
.word-inner { display: inline-block; opacity: 0; transform: translateY(100%); animation: wordReveal 0.6s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes wordReveal { to { opacity: 1; transform: translateY(0); } }

/* ── BORDER RADIUS ── */
.nav-cta { border-radius: 8px; }
.hero-badge { border-radius: 100px; }
.btn-primary { border-radius: 10px; }
.btn-secondary { border-radius: 10px; }
.terminal-window { border-radius: 12px; overflow: hidden; }
.wi-icon { border-radius: 8px; }
.wn-icon { border-radius: 10px; }
.workflow-input { border-radius: 0; }
.workflow-node { border-radius: 12px; }
.feature { border-radius: 12px; }
.feature-icon { border-radius: 10px; }
.source-card { border-radius: 12px; }
.source-logo { border-radius: 8px; }
.url-demo { border-radius: 10px; }
.url-demo-btn { border-radius: 6px; }
.platform-badge { border-radius: 10px; }
.badge-soon-tag { border-radius: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-status { display: none; }
  .hero { padding: 4.5rem 1.25rem 2.5rem; }
  .steps, .features-grid { grid-template-columns: 1fr; }
  .page-header { padding: 6rem 1rem 2rem; }
  .content-wrap { padding: 2rem 1rem 4rem; }
}
