/* style.css · SRT Receiver by Mizin · receivesrtarena.pages.dev */

:root {
  --bg-root: #050505;
  --bg-card: #0a0e0c;
  --bg-card-hover: #0f1613;
  --bg-surface: #121915;
  --bg-terminal: #030604;

  --accent: #00e676;
  --accent-glow: rgba(0, 230, 118, 0.25);
  --accent-soft: rgba(0, 230, 118, 0.08);
  --accent-border: rgba(0, 230, 118, 0.35);

  --text-main: #f4f6f5;
  --text-muted: #8c9690;
  --text-dim: #546059;

  --border: #1a251f;
  --border-light: #26352c;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, 'Cascadia Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-root);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background: radial-gradient(circle at 50% 0%, #0d2116 0%, var(--bg-root) 45%);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================================
   TOP BAR / NAV
   ============================================================================ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.nav-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
}

.badge-accent {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.badge-gpu {
  background: rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.4);
  color: #81c784;
}

.badge-pulse {
  background: rgba(0, 230, 118, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.pill-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pill-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2px;
}

.private-notice {
  display: flex;
  gap: 14px;
  background: rgba(255, 179, 0, 0.05);
  border: 1px solid rgba(255, 179, 0, 0.25);
  padding: 14px 16px;
  border-radius: 8px;
}

.lock-icon {
  font-size: 20px;
  line-height: 1;
}

.private-notice strong {
  color: #ffca28;
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

.private-notice p {
  color: #c7b282;
  font-size: 12px;
  line-height: 1.45;
}

.thumb-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 230, 118, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumb-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 230, 118, 0.2);
}

.thumb-img {
  width: 100%;
  height: auto;
  display: block;
}

.thumb-caption {
  padding: 12px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.thumb-caption code {
  font-family: var(--font-mono);
  color: var(--accent);
}

/* ============================================================================
   SECTIONS GENERAL
   ============================================================================ */
section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 15px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.feature-bullets {
  list-style: none;
  font-size: 12.5px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.feature-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: #9cb0a4;
}

.feature-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ============================================================================
   SHOWCASE (PAINEL WEB)
   ============================================================================ */
.showcase {
  background: linear-gradient(180deg, var(--bg-root) 0%, #06110a 50%, var(--bg-root) 100%);
}

.showcase-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.showcase-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.showcase-tab:hover {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--accent-border);
}

.showcase-tab.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.tab-icon {
  font-size: 16px;
}

.showcase-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 230, 118, 0.15);
  margin-bottom: 40px;
  transition: opacity 0.2s ease;
}

.window-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

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

.window-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.window-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.showcase-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
}

.showcase-detail h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
}

.showcase-detail p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================================
   AUDIO DEEP DIVE
   ============================================================================ */
.audio-box {
  background: radial-gradient(circle at 100% 50%, rgba(0, 230, 118, 0.08) 0%, transparent 60%),
              var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.audio-content h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 12px 0 16px;
  letter-spacing: -0.5px;
}

.audio-content > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 900px;
}

.matrix-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.m-feat {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
}

.m-feat-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.m-feat strong {
  display: block;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.m-feat p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.m-feat kbd {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

.bus-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.bus-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bus-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.bus-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bus-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--accent);
}

/* ============================================================================
   LOGS & TERMINAL
   ============================================================================ */
.logs-terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  font-family: var(--font-mono);
}

.terminal-header {
  background: #080d0a;
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.terminal-body {
  padding: 28px;
  max-height: 640px;
  overflow-y: auto;
}

.log-entry {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}

.log-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.log-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.log-ver {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.log-date {
  font-size: 11px;
  color: var(--text-dim);
}

.log-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.tag-stable {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.tag-major {
  background: rgba(255, 179, 0, 0.15);
  color: #ffca28;
  border: 1px solid #ffca28;
}
.tag-init {
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
}

.log-items {
  list-style: none;
  font-size: 12.5px;
  line-height: 1.6;
  color: #b0c0b6;
}

.log-items li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 64px;
}

.log-items li span {
  position: absolute;
  left: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.tag-feat { background: #0e3020; color: #00e676; }
.tag-fix { background: #331515; color: #ff6b6b; }
.tag-imp { background: #1c2738; color: #64b5f6; }

.log-items li strong {
  color: var(--text-main);
}
.log-items li em {
  color: #79a88c;
  font-style: italic;
}

/* ============================================================================
   SPECS TABLE
   ============================================================================ */
.specs-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table th {
  width: 28%;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-surface);
}

.specs-table td {
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 13px;
}

.specs-table td code {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  background: #020403;
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
}

.footer-left .brand {
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 340px;
}

.footer-status-box {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-status-box strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-status-box p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.footer-copy {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-disclaimer {
  margin-top: 8px;
  color: #726245;
  font-size: 11px;
}

/* ============================================================================
   RESPONSIVO / MOBILE
   ============================================================================ */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Release v1.8: documentation and screenshots, not a live control panel. */
[hidden] { display: none !important; }
img { max-width: 100%; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.container > *, .hero-grid > *, .features-grid > *, .matrix-features-list > * { min-width: 0; }
code { overflow-wrap: anywhere; }
.section-note { color: var(--text-muted); font-size: 13px; line-height: 1.65; margin-top: 18px; }
.section-note strong { color: var(--text-main); }
.video-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.path-card { min-width: 0; padding: 28px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; }
.path-preferred { border-color: var(--accent-border); background: var(--accent-soft); }
.path-card h3 { font-size: 21px; margin-bottom: 20px; }
.path-card p { font-size: 14px; color: var(--text-muted); }
.path-flow { list-style-position: inside; display: grid; gap: 10px; margin: 20px 0; font: 12px/1.6 var(--font-mono); }
.path-flow li { padding: 10px 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg-root); }
.validation-table caption { text-align: left; padding: 18px 20px; color: var(--text-muted); font-size: 13px; }
.validation-table thead th { color: var(--text-main); }
.validation-table td { line-height: 1.6; }
.validation-note { padding: 20px; margin-top: 20px; color: var(--text-muted); border-left: 2px solid var(--accent); background: var(--bg-card); font-size: 13px; line-height: 1.7; }
.validation-note strong { color: var(--text-main); }
.showcase-nav { flex-wrap: wrap; }
.showcase-tab { font-size: 12px; padding: 12px 16px; }
.window-bar { gap: 12px; flex-wrap: wrap; }
.window-title { overflow-wrap: anywhere; min-width: 0; }
.window-status { white-space: nowrap; }
.telemetry-shot { max-width: 900px; margin: 0 auto; }
.mobile-shot { max-width: 390px; margin: 0 auto; }
.log-title { flex-wrap: wrap; }
@media (max-width: 800px) {
  .video-path-grid { grid-template-columns: 1fr; }
  .matrix-features-list { grid-template-columns: 1fr; }
  .m-feat { padding: 20px; }
  .section-header h2, .audio-content h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  section { padding: 48px 0; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .eyebrow-dot { flex-shrink: 0; }
  .hero { padding: 40px 0; }
  .showcase-tab { width: calc(50% - 6px); justify-content: center; padding: 10px 8px; font-size: 11px; }
  .path-card { padding: 20px; }
  .log-items li { padding-left: 0; }
  .log-items li span { position: static; display: inline-block; margin-right: 8px; }
  .terminal-body { padding: 18px; }
  .terminal-header { flex-wrap: wrap; }
  .private-notice { gap: 10px; }
  .hero h1 {
    font-size: 32px;
  }
  .hero-pills {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .audio-buses-grid {
    grid-template-columns: 1fr;
  }
  .showcase-details-grid {
    grid-template-columns: 1fr;
  }
  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
    padding: 10px 16px;
  }
  .specs-table th {
    border-bottom: none;
    padding-bottom: 2px;
    font-size: 11px;
  }
  .specs-table td {
    padding-top: 2px;
  }
  .nav-badges {
    display: none;
  }
  .audio-box {
    padding: 24px;
  }
}
