/* ============================================================
   main.css — Layout & Component Styles for IDXRAY.ID
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --bg:           #030a06;
  --accent-cyan:  #00FFB2;
  --accent-gold:  #C9A84C;
  --text:         #E8EDE9;
  --surface:      #0a1a0f;
  --border:       rgba(201, 168, 76, 0.25);
  --font-display: 'Cinzel', serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --transition:   0.3s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1.7;
  cursor: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  /* Very faint graph-paper grid — depth, not wallpaper */
  background-image:
    linear-gradient(rgba(232, 237, 233, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 237, 233, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* All real content above the pattern */
body > * {
  position: relative;
  z-index: 1;
}

/* header must sit above all body siblings so fixed #navbar
   z-index isn't trapped inside a lower stacking context */
header {
  position: relative;
  z-index: 200;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) var(--bg);
}

/* ── Custom Cursor — ring style ───────────────────────────── */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.12s ease, height 0.12s ease,
              border-color 0.12s ease, opacity 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 255, 178, 0.2);
}
/* Center dot — marks exact click point */
#cursor::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
/* On interactive elements: ring contracts + turns gold */
#cursor.hovering {
  width: 20px;
  height: 20px;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.35);
}
#cursor.hovering::before {
  background: var(--accent-gold);
}

/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(3, 10, 6, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 255, 178, 0.5);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: width var(--transition);
}
.nav-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 178, 0.6);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  transition: transform var(--transition), opacity var(--transition);
}
#hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#hamburger.open span:nth-child(2) {
  opacity: 0;
}
#hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav menu */
#nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(3, 10, 6, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  animation: navSlideDown 0.25s ease;
}
#nav-mobile.open {
  display: block;
}
#nav-mobile a {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
#nav-mobile a:hover {
  color: var(--accent-cyan);
}

/* ── Boot Overlay ─────────────────────────────────────────── */
#boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#boot-overlay.fade-out {
  animation: bootFadeOut 0.6s ease forwards;
}
#boot-overlay.hidden {
  display: none;
}

#boot-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--accent-cyan), transparent);
  animation: scanlineSweep 1.2s ease-in-out forwards;
  z-index: 2;
}

#boot-scanlines-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 178, 0.03) 0px,
    rgba(0, 255, 178, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  animation: scanlineRoll 3s linear infinite;
  z-index: 1;
}

#boot-text-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
}

#boot-aksara {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--accent-cyan);
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  animation: aksaraFlicker 1.6s ease forwards;
}

#boot-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
  text-shadow: 0 0 30px rgba(0, 255, 178, 0.7);
  animation: textFlicker 1.8s ease 0.6s forwards;
  opacity: 0;
}

#boot-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 0.8rem;
  opacity: 0;
  animation: fadeInUp 0.5s ease 2.2s forwards;
}

#boot-skip {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 4;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
#boot-skip:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ── Sections — shared ────────────────────────────────────── */
section {
  padding: 5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

/* ── Hero Section ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  max-width: 100%;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  padding-top: 5rem;
}

.hero-content {
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-title span {
  color: var(--accent-cyan);
  text-shadow: 0 0 18px rgba(0, 255, 178, 0.5);
}

.hero-desc {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: rgba(232, 237, 233, 0.7);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent-cyan);
  padding: 0.9rem 2.4rem;
  border: none;
  cursor: pointer;
  animation: buttonPulse 3s ease-in-out infinite;
  transition: background var(--transition), color var(--transition);
  overflow: hidden;
}
.cta-btn::before,
.cta-btn::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan);
  color: var(--bg);
  opacity: 0;
  padding: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.cta-btn::before {
  color: var(--accent-gold);
  background: var(--accent-cyan);
}
.cta-btn::after {
  color: #fff;
  background: rgba(0,255,178,0.8);
}
.cta-btn:hover::before {
  animation: glitchTop 0.4s steps(1) forwards;
}
.cta-btn:hover::after {
  animation: glitchBot 0.4s steps(1) 0.05s forwards;
}
.cta-btn:hover {
  background: rgba(0, 255, 178, 0.85);
}

/* Mandala wrapper */
.hero-mandala {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  position: relative;
}
.hero-mandala img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(0, 255, 178, 0.25)) drop-shadow(0 0 48px rgba(201, 168, 76, 0.15));
}

/* ── Section Divider (diagonal clip) ─────────────────────── */
.section-divider {
  width: 100%;
  height: 80px;
  background: var(--surface);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  margin-bottom: -1px;
}
.section-divider-top {
  width: 100%;
  height: 80px;
  background: var(--surface);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  margin-top: -1px;
}

/* ── About Section ────────────────────────────────────────── */
#about {
  background: var(--surface);
  max-width: 100%;
  padding: 5rem 2.5rem;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.about-inner p {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: rgba(232, 237, 233, 0.8);
  max-width: 720px;
  margin-bottom: 1.5rem;
  line-height: 1.9;
}
.about-inner p strong {
  color: var(--accent-cyan);
  font-weight: 500;
}

/* ── How It Works Section ────────────────────────────────── */
#how-it-works {
  background: var(--surface);
  max-width: 100%;
  padding: 5rem 2.5rem;
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  max-width: 680px;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.2rem;
  align-items: start;
}
.step-number {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.step-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.step-body {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(232, 237, 233, 0.7);
  line-height: 1.85;
}
.step-body strong {
  color: var(--accent-cyan);
  font-weight: 500;
}
.step-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
  transition: color var(--transition), border-color var(--transition);
}
.step-link:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* ── Contact email highlight ──────────────────────────────── */
.contact-email-line {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: rgba(232, 237, 233, 0.8);
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.7;
}
.contact-email-line a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 255, 178, 0.35);
  transition: border-color var(--transition), text-shadow var(--transition);
}
.contact-email-line a:hover {
  border-bottom-color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 178, 0.4);
}

/* ── Services Section ─────────────────────────────────────── */
#services {
  max-width: 1200px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 1rem;
}

.service-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 178, 0.04) 0px,
    rgba(0, 255, 178, 0.04) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0;
  transition: opacity var(--transition);
  animation: scanlineCardRoll 2s linear infinite;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 178, 0.12);
}

.service-card:hover {
  animation: glowPulseGold 2s ease-in-out infinite;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 255, 178, 0.5));
}

.service-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.service-desc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(232, 237, 233, 0.65);
  line-height: 1.85;
}

/* Top accent line on card */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
  opacity: 0.4;
}

/* ── Contact Section ──────────────────────────────────────── */
#contact {
  background: var(--surface);
  max-width: 100%;
  padding: 5rem 2.5rem;
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.terminal-form {
  max-width: 620px;
  background: #040e07;
  border: 1px solid var(--border);
  padding: 2rem 2.2rem;
  position: relative;
}

/* Terminal header bar */
.terminal-form::before {
  content: '● ● ●';
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  margin-bottom: 1.4rem;
  opacity: 0.6;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.form-label::before {
  content: '> ';
  color: var(--accent-cyan);
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--accent-cyan);
}
.form-textarea {
  resize: none;
  height: 100px;
}

.submit-btn {
  margin-top: 0.5rem;
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  animation: submitPulse 3s ease-in-out infinite;
}
.submit-btn:hover {
  background: var(--accent-gold);
  color: var(--bg);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  max-width: 100%;
  padding: 2.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 178, 0.4);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(232, 237, 233, 0.4);
  letter-spacing: 0.08em;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-mandala {
    order: -1;
  }
  .hero-mandala img {
    max-width: 320px;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
  #hamburger {
    display: flex;
  }
  #navbar {
    padding: 1rem 1.4rem;
  }
  section {
    padding: 3.5rem 1.4rem;
  }
  #about,
  #how-it-works,
  #contact {
    padding: 3.5rem 1.4rem;
  }
  .step {
    grid-template-columns: 36px 1fr;
    gap: 0.8rem;
  }
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .terminal-form {
    padding: 1.5rem 1.2rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ═══════════════════════════════════════════════
   ANALYTICS OUTPUT SECTION
════════════════════════════════════════════════ */
#analytics {
  padding: 6rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.analytics-intro {
  color: var(--text-muted, #8a9e8f);
  font-size: 0.97rem;
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}
.analytics-group {
  margin-bottom: 3.5rem;
  border-left: 2px solid var(--accent-cyan);
  padding-left: 1.5rem;
}
.analytics-group-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ag-icon {
  color: var(--accent-cyan);
  font-size: 1rem;
}
.analytics-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  opacity: 0.8;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.analytics-group-desc {
  color: var(--text-muted, #8a9e8f);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
/* Raw data two-column layout */
.analytics-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.analytics-col-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.analytics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.analytics-list li {
  font-size: 0.83rem;
  line-height: 1.4;
}
.analytics-list code {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-cyan);
  background: rgba(0,255,178,0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  font-size: 0.8rem;
}
.tag-note {
  color: var(--accent-gold);
  font-size: 0.72rem;
  opacity: 0.75;
}
/* Ratio categories */
.ratio-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.ratio-cat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.ratio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.rtag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--text);
  border: 1px solid rgba(0,255,178,0.25);
  background: rgba(0,255,178,0.04);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.rtag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
/* Scoring model grid */
.scoring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.scoring-card {
  background: var(--surface);
  border: 1px solid rgba(0,255,178,0.12);
  border-left: 3px solid var(--accent-cyan);
  padding: 1rem 1.25rem;
  border-radius: 3px;
  transition: border-color 0.2s, transform 0.2s;
}
.scoring-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}
.sc-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.sc-desc {
  font-size: 0.8rem;
  color: var(--text-muted, #8a9e8f);
  line-height: 1.55;
}
/* Responsive for analytics */
@media (max-width: 640px) {
  .analytics-cols {
    grid-template-columns: 1fr;
  }
  .scoring-grid {
    grid-template-columns: 1fr;
  }
  .ratio-categories {
    grid-template-columns: 1fr;
  }
}
