/* BRAND: m312axreels.com, LAYOUT: Data Lab (Full-width Table + Search/Filters), BG PROMPT: minimalist data center interior, dark terminals, green monochrome display, low light, technical workspace, 8k --ar 16:9 --v 6 */

:root {
  --c-bg: #0c0c0c;
  --c-surface: #141414;
  --c-border: #2a2a2a;
  --c-text: #e8e8e8;
  --c-muted: #7a7a7a;
  --c-accent: #00c853;
  --c-white: #ffffff;
  --radius: 4px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 17px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100vh;
  line-height: 1.55;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 200, 83, 0.015) 0%, transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(0, 200, 83, 0.025) 40px, rgba(0, 200, 83, 0.025) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0, 200, 83, 0.02) 40px, rgba(0, 200, 83, 0.02) 41px),
    linear-gradient(165deg, #060a08 0%, #0c0c0c 35%, #080c0e 100%);
  pointer-events: none;
  z-index: -1;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.lab_header {
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-md) var(--space-lg);
}

.lab_header_inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lab_logo { height: 36px; display: block; }

.lab_nav { display: flex; gap: var(--space-lg); font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.lab_nav a { color: var(--c-muted); }
.lab_nav a:hover { color: var(--c-accent); text-decoration: none; }

.lab_datetime { font-size: var(--fs-sm); color: var(--c-muted); font-variant-numeric: tabular-nums; font-family: var(--font-mono); }

/* Hero */
.lab_hero {
  padding: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--c-border);
}

.lab_hero_inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .lab_hero_inner { grid-template-columns: 1fr; }
}

.lab_hero_left { grid-column: 1; }

.lab_hero_right { grid-column: 2; }

@media (max-width: 768px) {
  .lab_hero_left, .lab_hero_right { grid-column: 1; }
}

.lab_hero_title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.lab_hero_sub { font-size: var(--fs-base); color: var(--c-muted); margin-bottom: 0; }

.lab_hero_right .lab_hero_trust { margin-bottom: var(--space-md); }

.lab_search_row { margin-bottom: var(--space-md); }

.lab_search {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: var(--fs-base);
}

.lab_filters { display: flex; gap: var(--space-xs); flex-wrap: wrap; }

.lab_filter_btn {
  padding: var(--space-xs) var(--space-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
}

.lab_filter_btn:hover, .lab_filter_btn.active { color: var(--c-accent); border-color: var(--c-accent); background: rgba(0, 200, 83, 0.06); }

/* Section Titles */
.lab_section_title { font-size: var(--fs-lg); font-weight: 700; color: var(--c-text); margin-bottom: var(--space-md); letter-spacing: -0.02em; text-align: center; }

/* Stats Row */
.lab_blocks_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  width: 100%;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
}

.lab_block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  text-align: center;
}

.lab_block_label { display: block; font-size: var(--fs-sm); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-xs); }
.lab_block_val { font-size: var(--fs-lg); font-weight: 700; color: var(--c-accent); }

/* Hero Trust Bar (inside hero) */
.lab_hero_trust {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.lab_hero_trust a { display: flex; align-items: center; text-decoration: none; }
.lab_hero_trust a:hover { text-decoration: none; opacity: 1; }
.lab_hero_trust img { height: 36px; width: auto; opacity: 0.85; }
.lab_hero_trust a:hover img { opacity: 1; }
.lab_trust_text { font-size: var(--fs-sm); color: var(--c-muted); margin-left: var(--space-sm); }

/* Guides Section */
.lab_blocks_section {
  width: 100%;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
}

.lab_blocks_section .lab_section_title { margin-bottom: var(--space-md); }

.lab_blocks_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .lab_blocks_grid { grid-template-columns: 1fr; }
}

.lab_block_card {
  display: block;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: border-color 0.2s, background 0.2s;
}

.lab_block_card:hover { background: rgba(0, 200, 83, 0.04); border-color: rgba(0, 200, 83, 0.3); text-decoration: none; }

.lab_block_card_title { display: block; font-size: var(--fs-md); font-weight: 600; margin-bottom: var(--space-xs); }
.lab_block_card_desc { font-size: var(--fs-sm); color: var(--c-muted); }

/* Steps */
.lab_steps {
  width: 100%;
  margin: 0 auto var(--space-xl);
  padding: var(--space-xl) var(--space-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.lab_steps .lab_section_title { margin-bottom: var(--space-md); }

.lab_steps_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 640px) {
  .lab_steps_row { grid-template-columns: 1fr; }
}

.lab_step { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--fs-base); }

.lab_step_num {
  width: 32px; height: 32px;
  background: var(--c-accent);
  color: var(--c-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-sm);
}

/* Table */
.lab_table_wrap {
  width: 100%;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lab_table_wrap .lab_section_title { margin-bottom: var(--space-md); width: 100%; }

.lab_table_wrap > div { width: 100%; max-width: 100%; }

.lab_table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: var(--fs-base);
  table-layout: fixed;
}

.lab_table th, .lab_table td {
  border: 1px solid var(--c-border);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

.lab_table th:nth-child(1), .lab_table td:nth-child(1) { width: 11%; text-align: center; }
.lab_table th:nth-child(2), .lab_table td:nth-child(2) { width: 16%; }
.lab_table th:nth-child(3), .lab_table td:nth-child(3) { width: 14%; }
.lab_table th:nth-child(4), .lab_table td:nth-child(4) { width: 12%; }
.lab_table th:nth-child(5), .lab_table td:nth-child(5) { width: 23%; }
.lab_table th:nth-child(6), .lab_table td:nth-child(6) { width: 10%; text-align: center; }
.lab_table th:nth-child(7), .lab_table td:nth-child(7) { width: 14%; text-align: center; }

.lab_table th {
  background: var(--c-surface);
  color: var(--c-muted);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lab_table td { vertical-align: middle; overflow: hidden; }

.lab_table tbody tr:hover td { background: rgba(0, 200, 83, 0.03); }

.lab_cell_logo {
  text-align: center;
  padding: var(--space-sm) !important;
}

.lab_cell_logo img {
  height: 36px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lab_table td:nth-child(2) {
  word-break: break-word;
  overflow-wrap: break-word;
}

.lab_cell_name {
  display: block;
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: 0.2rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.lab_cell_badge { display: inline-block; font-size: 0.7rem; padding: 0.15rem 0.4rem; }

.lab_table td:nth-child(3),
.lab_table td:nth-child(4),
.lab_table td:nth-child(5) {
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: var(--fs-sm);
}

.lab_cell_specs { color: var(--c-muted); }

.lab_cell_rating { font-variant-numeric: tabular-nums; color: var(--c-accent); font-weight: 700; font-size: var(--fs-md); }

.lab_table td:last-child {
  text-align: center;
  padding: var(--space-sm) var(--space-md) !important;
}

.lab_table td:last-child .lab_btn_18 {
  min-width: 90px;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
}

.lab_btn_18 {
  display: inline-block;
  min-width: 110px;
  background: var(--c-white);
  color: #111;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.3;
  box-sizing: border-box;
}

.lab_btn_18:hover { background: #e0e0e0; text-decoration: none; }

@media (max-width: 900px) {
  .lab_table { font-size: var(--fs-sm); }
  .lab_table th, .lab_table td { padding: var(--space-xs) var(--space-sm); }
  .lab_table th:nth-child(5), .lab_table td:nth-child(5) { width: 25%; }
}

@media (max-width: 640px) {
  .lab_table { font-size: 12px; }
  .lab_table th, .lab_table td { padding: 0.35rem 0.5rem; }
  .lab_cell_logo img { height: 28px; }
}

/* FAQ */
.lab_faq_wrap {
  width: 100%;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lab_faq_wrap .lab_section_title { margin-bottom: var(--space-md); width: 100%; }

.lab_faq.lab_faq_inner { max-width: 720px; margin: 0 auto; width: 100%; }

.lab_faq { display: flex; flex-direction: column; gap: var(--space-xs); }

.lab_faq_item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }

.lab_faq_q {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  color: var(--c-text);
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.lab_faq_q::after {
  content: '▸';
  flex-shrink: 0;
  color: var(--c-accent);
  font-size: 0.9em;
  transition: transform 0.2s;
}

.lab_faq_item.open .lab_faq_q::after { transform: rotate(90deg); }

.lab_faq_q:hover { background: rgba(0, 200, 83, 0.04); }

.lab_faq_a {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.5;
  display: none;
}

.lab_faq_item.open .lab_faq_a { display: block; padding-top: var(--space-xs); }
.lab_faq_item.open .lab_faq_q { border-bottom: 1px solid var(--c-border); }

/* SEO Block */
.lab_seo {
  width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  font-size: var(--fs-base);
  color: var(--c-muted);
}

.lab_seo_inner { max-width: 720px; margin: 0 auto; width: 100%; }

.lab_seo h2 { font-size: var(--fs-lg); font-weight: 700; color: var(--c-text); margin-bottom: var(--space-md); letter-spacing: -0.02em; }
.lab_seo p { margin-bottom: var(--space-md); }

/* Footer */
.lab_footer {
  border-top: 1px solid var(--c-border);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xl);
}

.lab_footer_inner { max-width: 1100px; margin: 0 auto; text-align: center; }

.lab_footer_regulators { display: flex; justify-content: center; gap: var(--space-lg); margin-bottom: var(--space-md); flex-wrap: wrap; }
.lab_footer_regulators a { text-decoration: none; }
.lab_footer_regulators a:hover { text-decoration: none; opacity: 1; }
.lab_footer_regulators img { height: 60px; width: auto; object-fit: contain; opacity: 0.9; }
.lab_footer_regulators a:hover img { opacity: 1; }

.lab_footer_nav { font-size: var(--fs-sm); margin-bottom: var(--space-sm); }
.lab_footer_nav a { margin: 0 var(--space-sm); }

.lab_footer_legal { font-size: var(--fs-sm); color: var(--c-muted); }
.lab_footer_copyright { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--space-sm); }

/* Popup */
.lab_popup_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lab_popup_box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  max-width: 420px;
  width: 100%;
}

.lab_popup_box h3 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--space-sm); }
.lab_popup_box p { font-size: var(--fs-base); color: var(--c-muted); margin-bottom: var(--space-sm); }

.lab_popup_btn {
  background: var(--c-white);
  color: #111;
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: var(--space-sm);
}

/* Cookie Bar */
.lab_cookie_bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: var(--space-md) var(--space-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.lab_cookie_bar p { font-size: var(--fs-sm); color: var(--c-muted); }

.lab_cookie_btn {
  background: var(--c-white);
  color: #111;
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
}

/* Page Layout */
.page_main { min-height: 60vh; }

.page_main_inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Contact Page */
.lab_contact_wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.lab_contact_wrap h1 { font-size: var(--fs-xl); margin-bottom: var(--space-sm); }

.lab_page_intro { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: var(--space-lg); }

.lab_contact_block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.lab_contact_block h2 { font-size: var(--fs-md); margin-bottom: var(--space-sm); }

.lab_contact_block p, .lab_contact_block ul { margin-bottom: var(--space-sm); font-size: var(--fs-base); color: var(--c-muted); }

.lab_contact_block ul { padding-left: 1.5rem; }

.lab_contact_block li { margin-bottom: var(--space-xs); }

.lab_contact_email { font-size: var(--fs-md); font-weight: 600; color: var(--c-accent); }
