/* Accuracy benchmark landing — dark theme (scoped to .accuracy-page) */
html[lang="he"] .t-en { display: none !important; }
html[lang="en"] .t-he { display: none !important; }

.accuracy-page {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #16161f;
  --border: rgba(255,255,255,0.07);
  --accent: #7c3aed;
  --accent-bright: #9d5cf6;
  --accent-glow: rgba(124,58,237,0.25);
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.12);
  --red: #ef4444;
  --text: #f0eeff;
  --text-dim: rgba(240,238,255,0.55);
  --text-muted: rgba(240,238,255,0.3);
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', sans-serif;
  --display: 'Syne', sans-serif;

  position: relative;
  z-index: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

.accuracy-page *, .accuracy-page *::before, .accuracy-page *::after { box-sizing: border-box; }

.accuracy-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

html { scroll-behavior: smooth; }

.accuracy-page .bg-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.accuracy-page .hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px 72px;
  max-width: 820px;
  margin: 0 auto;
}

.accuracy-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.accuracy-page .hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: acc-pulse 2s ease-in-out infinite;
}

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

.accuracy-page h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.accuracy-page h1 em { font-style: normal; color: var(--accent-bright); }
.accuracy-page .hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.accuracy-page .stat-hero {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}

.accuracy-page .stat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.accuracy-page .stat-number {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 40%, var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.accuracy-page .stat-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
}

.accuracy-page .stat-detail { font-size: 0.875rem; color: var(--text-dim); margin-top: 6px; }

.accuracy-page section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.accuracy-page .section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.accuracy-page h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  line-height: 1.2;
}

.accuracy-page .benchmark-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: auto;
}

.accuracy-page table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 0.9rem; }

.accuracy-page thead th {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.accuracy-page thead th:not(:first-child) { text-align: center; }

.accuracy-page tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.accuracy-page tbody tr:last-child { border-bottom: none; }
.accuracy-page tbody tr:hover { background: rgba(255,255,255,0.02); }

.accuracy-page tbody tr.winner {
  background: rgba(124,58,237,0.08);
  border-left: 3px solid var(--accent);
}

.accuracy-page td { padding: 14px 12px; color: var(--text-dim); }
.accuracy-page td:not(:first-child) { text-align: center; font-family: var(--mono); font-size: 0.82rem; }

.accuracy-page .engine-name {
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.accuracy-page .winner-badge {
  font-family: var(--mono);
  font-size: 0.55rem;
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.accuracy-page .acc-high { color: var(--green); font-weight: 600; }
.accuracy-page .acc-mid { color: #f59e0b; }
.accuracy-page .acc-low { color: var(--red); }

.accuracy-page .bar-wrap { display: flex; align-items: center; gap: 8px; }
.accuracy-page .bar {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  flex: 1;
  min-width: 40px;
  overflow: hidden;
}

.accuracy-page .bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width 1s ease;
}

.accuracy-page .bar-fill.mid { background: linear-gradient(90deg, #b45309, #f59e0b); }
.accuracy-page .bar-fill.low { background: linear-gradient(90deg, #991b1b, var(--red)); }

.accuracy-page .wer-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.accuracy-page .wer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.accuracy-page .wer-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.accuracy-page .wer-card p { font-size: 0.875rem; color: var(--text-dim); }

.accuracy-page .formula {
  font-family: var(--mono);
  font-size: 0.8rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 12px;
  color: var(--accent-bright);
  word-break: break-word;
}

.accuracy-page .try-it {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.accuracy-page .try-it::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.accuracy-page .try-it h2 { margin-bottom: 12px; }
.accuracy-page .try-it p { color: var(--text-dim); margin-bottom: 32px; max-width: 540px; }

.accuracy-page .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.accuracy-page .step {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.accuracy-page .step-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.accuracy-page .step h4 { font-family: var(--display); font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.accuracy-page .step p { font-size: 0.8rem; color: var(--text-dim); }

.accuracy-page .download-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.accuracy-page .dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface2);
}

.accuracy-page .dl-btn:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-1px); }

.accuracy-page .wer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.accuracy-page .wer-link:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,0.35); }

.accuracy-page .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.accuracy-page .why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.accuracy-page .why-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.accuracy-page .why-card h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.accuracy-page .why-card p { font-size: 0.875rem; color: var(--text-dim); }

.accuracy-page .tech-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

.accuracy-page .pill {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.accuracy-page .method-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.accuracy-page .method-box strong { color: var(--text); }

.accuracy-page .cta-section {
  text-align: center;
  padding: 64px 24px 100px;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.accuracy-page .cta-section h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 16px; }
.accuracy-page .cta-section p { color: var(--text-dim); margin-bottom: 36px; }

.accuracy-page .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

.accuracy-page .cta-btn:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,58,237,0.4); }

.accuracy-page .divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 24px 64px;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .accuracy-page .stat-hero { padding: 32px 24px; }
  .accuracy-page .wer-explainer, .accuracy-page .why-grid { grid-template-columns: 1fr; }
  .accuracy-page .try-it { padding: 28px 20px; }
  .accuracy-page thead th:nth-child(3), .accuracy-page td:nth-child(3) { display: none; }
}
