/* ==========================================================================
   REA_Skill — SnailSploit Design System (Full Obsidian Cyberpunk UI)
   Inspired by & 1:1 Matched with https://snailsploit.com/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300..700;1,300..700&family=JetBrains+Mono:ital,wght@0,300..700;1,300..700&display=swap');

:root {
  /* SnailSploit Core Color Tokens */
  --bg: #0E0E0F;
  --bg-raise: #15161A;
  --bg-sink: #08090B;
  --line: #23252B;
  --line-hi: #2E3138;
  --paper: #F4F2EC;
  --paper-2: #EAE7DD;
  --ink: #0E0E0F;
  --ink-2: #38362F;
  --ink-3: #6B675C;
  --fg: #E9E7E1;
  --fg-2: #B6B4AC;
  --fg-3: #76746C;
  --fg-4: #4A4842;
  --signal: #C2592C;
  --signal-2: #E07A4A;
  --accent-cool: #5EB8A8;

  /* Typography */
  --f-grot: "Inter Tight", "Söhne", "Neue Haas Grotesk Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", "Berkeley Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
}

/* ═══ Universal Reset & Base Styling ═══ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-grot);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease;
}

::selection {
  background: rgba(94, 184, 168, 0.25);
  color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--accent-cool);
  outline-offset: 3px;
  border-radius: 2px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-sink);
}
::-webkit-scrollbar-thumb {
  background: var(--line-hi);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--fg-4);
}

/* ═══ Layout Containers ═══ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--bg);
}

.section.alt-bg {
  background: var(--bg-sink);
}

.section-heading {
  margin-bottom: 48px;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--signal-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 10px;
  display: block;
}

.section-heading h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0 0 16px;
}

.section-heading .lede {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--fg-2);
  max-width: 720px;
  line-height: 1.7;
  margin: 0;
}

/* ═══ SnailSploit Cursor Glow ═══ */
#ss-glow {
  position: fixed;
  width: 440px;
  height: 440px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 45% 50%, rgba(224,122,74,0.04) 0%, transparent 50%),
    radial-gradient(circle at 55% 50%, rgba(94,184,168,0.03) 0%, transparent 50%);
  transform: translate(-50%, -50%);
  will-change: left, top;
  mix-blend-mode: screen;
}

/* ═══ Sticky SnailSploit Header ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.brand-title {
  font-family: var(--f-grot);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}

.brand-bracket {
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 500;
  margin-left: 6px;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.brand-dollar {
  color: var(--signal-2);
}

.brand-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--fg-3);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav-links a:hover {
  color: var(--fg);
  border-bottom-color: var(--accent-cool);
}

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.ss-palette-trigger {
  background: var(--bg-raise);
  border: 1px solid var(--line-hi);
  color: var(--fg-2);
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 150ms ease;
}

.ss-palette-trigger:hover {
  border-color: var(--accent-cool);
  color: var(--fg);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--signal-2);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(224,122,74,0.7);
  animation: ss-pulse 2s ease-in-out infinite;
}

@keyframes ss-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

/* ═══ SnailSploit Full Viewport Hero Stage ═══ */
.hero-stage {
  min-height: calc(100svh - 68px);
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(224,122,74,0.06), transparent),
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(94,184,168,0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94,184,168,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,184,168,0.014) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 75%);
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.01) 3px, rgba(0,0,0,0.01) 4px);
  pointer-events: none;
  z-index: 1;
}

.hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent 10%, var(--accent-cool) 50%, transparent 90%);
  opacity: 0.25;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 24px;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.hero-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-main-content {
  padding: 40px 0 24px;
}

.hero-tagline {
  font-size: clamp(52px, 8.5vw, 130px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: 0;
  color: var(--fg);
  position: relative;
}

.hero-tagline span[style*="color:var(--fg-3)"] {
  color: var(--fg-3) !important;
}

.hero-tagline::after {
  content: "_";
  color: var(--accent-cool);
  animation: ss-blink 1.2s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
  opacity: 0.6;
}

@keyframes ss-text-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ss-glitch-flash {
  0%, 92%, 100% { text-shadow: none; transform: translate(0); }
  93% { text-shadow: 2px 0 var(--accent-cool), -2px 0 var(--signal-2); transform: translate(-1px, 1px); }
  94% { text-shadow: -2px 0 var(--accent-cool), 2px 0 var(--signal-2); transform: translate(1px, -1px); }
  95% { text-shadow: none; transform: translate(0); }
  96% { text-shadow: 1px 0 var(--signal-2); transform: translate(0, 1px); }
  97% { text-shadow: none; transform: translate(0); }
}

@keyframes ss-blink {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0; }
}

.hero-lede {
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--fg-2);
  margin: 28px 0 0;
  max-width: 680px;
  line-height: 1.7;
}

.hero-lede span.highlight {
  color: var(--signal-2);
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--signal-2);
  background: var(--signal-2);
  color: var(--bg);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: box-shadow 300ms ease, transform 200ms ease;
}

.hero-cta-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta-primary:hover::after {
  transform: translateX(100%);
}

.hero-cta-primary:hover {
  box-shadow: 0 4px 24px rgba(224,122,74,0.3);
  transform: translateY(-2px);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--line-hi);
  color: var(--fg);
  background: var(--bg-raise);
  transition: border-color 300ms ease, color 300ms ease, transform 200ms ease;
}

.hero-cta-secondary:hover {
  border-color: var(--accent-cool);
  color: var(--accent-cool);
  transform: translateY(-2px);
}

/* ═══ SnailSploit Hero Stats Bar ═══ */
.hero-stats {
  display: flex;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-wrap: wrap;
  background: rgba(14, 14, 15, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 32px;
}

.hero-stat {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  border-right: 1px solid var(--line);
  transition: background 300ms ease;
  letter-spacing: 0.03em;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat:hover {
  background: rgba(94, 184, 168, 0.03);
}

.hero-stat-num {
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-cool);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-bottom-bar {
  padding: 20px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.hero-bottom-socials {
  display: flex;
  gap: 12px;
}

.hero-bottom-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--fg-2);
  transition: all 150ms ease;
}

.hero-bottom-socials a:hover {
  border-color: var(--accent-cool);
  color: var(--fg);
}

/* ═══ SnailSploit Marquee Ticker ═══ */
.ss-ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-sink);
  padding: 14px 0;
  position: relative;
}

.ss-ticker::before, .ss-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.ss-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-sink), transparent);
}

.ss-ticker::after {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--bg-sink));
}

.ss-ticker-track {
  display: flex;
  gap: 48px;
  animation: ss-scroll-ticker 45s linear infinite;
  width: max-content;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ss-ticker-track span {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ss-ticker-track .ss-dot {
  width: 3px;
  height: 3px;
  background: var(--accent-cool);
  border-radius: 50%;
  opacity: 0.5;
}

@keyframes ss-scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ Grid Cards & Matrix Styles ═══ */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 24px;
}

.cyber-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 200ms ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cyber-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-2), var(--accent-cool));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cyber-card:hover {
  border-color: rgba(94, 184, 168, 0.35);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.cyber-card:hover::after {
  transform: scaleX(1);
}

.card-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent-cool);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.cyber-card h3 {
  font-family: var(--f-grot);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.cyber-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0 0 18px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card-tag {
  background: var(--bg-sink);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 2px;
  color: var(--fg-2);
}

/* ═══ Prompt Vault Explorer Styles ═══ */
.prompt-controls-wrapper {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  padding: 24px;
  margin-bottom: 32px;
}

.prompt-search-box {
  margin-bottom: 20px;
  position: relative;
}

.prompt-search-input {
  width: 100%;
  background: var(--bg-sink);
  border: 1px solid var(--line-hi);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 2px;
  outline: none;
  transition: border-color 150ms ease;
}

.prompt-search-input:focus {
  border-color: var(--accent-cool);
}

.filter-pills-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-pills-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  background: var(--bg-sink);
  border: 1px solid var(--line);
  color: var(--fg-2);
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 150ms ease;
}

.filter-pill:hover {
  border-color: var(--fg-4);
  color: var(--fg);
}

.filter-pill.is-active {
  background: rgba(224, 122, 74, 0.12);
  border-color: var(--signal-2);
  color: var(--signal-2);
  font-weight: 500;
}

.prompt-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.prompt-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 200ms ease, transform 150ms ease;
  position: relative;
}

.prompt-card:hover {
  border-color: var(--line-hi);
  transform: translateY(-2px);
}

.prompt-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.prompt-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-badge {
  background: rgba(94, 184, 168, 0.1);
  color: var(--accent-cool);
  border: 1px solid rgba(94, 184, 168, 0.25);
}

.platform-badge {
  background: var(--bg-sink);
  color: var(--fg-2);
  border: 1px solid var(--line);
}

.unblock-badge {
  background: rgba(224, 122, 74, 0.1);
  color: var(--signal-2);
  border: 1px solid rgba(224, 122, 74, 0.25);
  margin-left: auto;
}

.prompt-card-title {
  font-family: var(--f-grot);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 8px;
  line-height: 1.35;
}

.prompt-card-scenario {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.5;
  margin: 0 0 16px;
}

.prompt-terminal-preview {
  background: var(--bg-sink);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dots i:nth-child(1) { background: #ff5f56; }
.terminal-dots i:nth-child(2) { background: #ffbd2e; }
.terminal-dots i:nth-child(3) { background: #27c93f; }

.copy-button {
  background: var(--bg-raise);
  border: 1px solid var(--line-hi);
  color: var(--fg-2);
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 120ms ease;
}

.copy-button:hover, .copy-button.copied {
  border-color: var(--accent-cool);
  color: var(--accent-cool);
}

.terminal-code {
  margin: 0;
  padding: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-2);
  line-height: 1.5;
  max-height: 140px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.prompt-why-details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 12px;
}

.prompt-why-details summary {
  font-family: var(--f-mono);
  color: var(--fg-3);
  cursor: pointer;
  font-size: 11px;
  list-style: none;
}

.prompt-why-details summary::-webkit-details-marker {
  display: none;
}

.prompt-why-details summary::before {
  content: "▸ ";
  color: var(--signal-2);
}

.prompt-why-details[open] summary::before {
  content: "▾ ";
}

.prompt-why-details p {
  color: var(--fg-2);
  margin: 8px 0 0;
  line-height: 1.45;
}

/* ═══ Pagination ═══ */
.prompt-pagination-bar {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  font-family: var(--f-mono);
  font-size: 12px;
}

.prompt-pagination-bar button {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  color: var(--fg-2);
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 120ms ease;
}

.prompt-pagination-bar button:hover {
  border-color: var(--accent-cool);
  color: var(--fg);
}

.prompt-pagination-bar button.is-active {
  background: var(--signal-2);
  border-color: var(--signal-2);
  color: var(--bg);
  font-weight: 600;
}

/* ═══ Code Blocks & Terminal Tabs ═══ */
.code-block {
  background: var(--bg-sink);
  border: 1px solid var(--line);
  padding: 18px 20px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--fg);
  line-height: 1.6;
  overflow-x: auto;
  position: relative;
}

.code-block code {
  font-family: inherit;
}

/* ═══ FAQ Accordion ═══ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  transition: border-color 200ms ease;
}

.faq-item:hover {
  border-color: var(--line-hi);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--f-grot);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--signal-2);
}

.faq-item.is-open .faq-question::after {
  content: "−";
  color: var(--accent-cool);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ═══ Footer ═══ */
.site-footer {
  background: var(--bg-sink);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-3);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--fg-2);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 11px;
}

/* ═══ Responsive Media Queries ═══ */
@media (max-width: 880px) {
  .nav-links {
    display: none;
  }
  .header-inner {
    padding: 14px 20px;
  }
  .container {
    padding: 0 20px;
  }
  .hero-stats {
    flex-direction: column;
  }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .hero-stat:last-child {
    border-bottom: none;
  }
  .prompt-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   SNAILSPLOIT AUTHENTIC ANIMATIONS & ADVANCED CYBER ENHANCEMENTS
   ========================================================================== */

/* ═══ SnailSploit Hero Entrance (Blur + Slide Up) ═══ */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner {
    animation: ss-hero-enter 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-stats {
    animation: ss-hero-enter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
  }
}

@keyframes ss-hero-enter {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ═══ SnailSploit Scramble Glitch Character Highlighting ═══ */
.fx-scramble {
  display: inline-block;
  cursor: default;
}

.fx-scramble .fx-glitch {
  color: var(--accent-cool, #5EB8A8) !important;
  text-shadow: 0 0 10px rgba(94, 184, 168, 0.7);
  display: inline-block;
  font-family: var(--f-mono);
  font-weight: 500;
}

/* ═══ 60FPS Interactive Hero Cyber Canvas ═══ */
#hero-cyber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

/* ═══ SnailSploit Scroll Hint (Floating Indicator) ═══ */
.ss-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: ss-float 2.5s ease-in-out infinite;
  z-index: 4;
  text-decoration: none;
}

.ss-scroll-hint::after {
  content: "";
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--accent-cool), transparent);
  animation: ss-line-pulse 2.5s ease-in-out infinite;
}

@keyframes ss-float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 0.9;
  }
}

@keyframes ss-line-pulse {
  0%, 100% {
    opacity: 0.25;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1);
  }
}

/* ═══ Scroll Reveal System (Fade & Slide in on Viewport Entry) ═══ */
@media (prefers-reduced-motion: no-preference) {
  .ss-reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(2px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
  }

  .ss-reveal.ss-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  /* Staggered Children Cascade */
  .ss-reveal-children > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .ss-reveal-children.ss-visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  .ss-reveal-children.ss-visible > *:nth-child(1) { transition-delay: 0.05s; }
  .ss-reveal-children.ss-visible > *:nth-child(2) { transition-delay: 0.12s; }
  .ss-reveal-children.ss-visible > *:nth-child(3) { transition-delay: 0.19s; }
  .ss-reveal-children.ss-visible > *:nth-child(4) { transition-delay: 0.26s; }
}

/* ═══ Interactive 3D Perspective Card Tilt & Dynamic Specular Shine ═══ */
.cyber-card, .prompt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle 320px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(94, 184, 168, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.cyber-card:hover .card-shine, .prompt-card:hover .card-shine {
  opacity: 1;
}

/* ═══ Radar Ping Waves on Live Badge ═══ */
.live-pill {
  position: relative;
}

.radar-ping {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--signal-2);
  opacity: 0.7;
  animation: radar-ping-anim 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes radar-ping-anim {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.8;
  }
  75%, 100% {
    transform: translateY(-50%) scale(3.5);
    opacity: 0;
  }
}

/* ═══ Cyber Button Hover Energy Sweep ═══ */
.hero-cta-primary {
  box-shadow: 0 0 0 rgba(224, 122, 74, 0);
  transition: box-shadow 300ms ease, transform 200ms ease !important;
}

.hero-cta-primary:hover {
  box-shadow: 0 4px 24px rgba(224, 122, 74, 0.35), 0 0 12px rgba(224, 122, 74, 0.2) !important;
}

.hero-cta-secondary:hover {
  box-shadow: 0 4px 20px rgba(94, 184, 168, 0.2) !important;
}

/* ═══ Prompt Terminal Live Cursor ═══ */
.terminal-code code::after {
  content: "▋";
  color: var(--accent-cool);
  animation: ss-blink 1s step-end infinite;
  margin-left: 4px;
}
