/* ================================================
   Local AI Mentor — style.css  (v3)
   ================================================ */

/* ── Dark Mode (default) ── */
:root {
  --bg-primary: #07080f;
  --bg-secondary: #0d0f1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(0, 255, 136, 0.07);
  --bg-glass: rgba(13, 15, 26, 0.72);

  --accent-green: #00ff88;
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(0, 255, 136, 0.25);

  --text-primary: #f0f4ff;
  --text-secondary: #8b9cc8;
  --text-muted: #4a5580;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 255, 136, 0.35);

  --orb-1: rgba(0, 255, 136, 0.18);
  --orb-2: rgba(124, 58, 237, 0.16);
  --orb-3: rgba(59, 130, 246, 0.12);
  --orb-4: rgba(245, 158, 11, 0.10);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(0, 255, 136, 0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --theme-toggle-bg: rgba(255, 255, 255, 0.06);
  --theme-toggle-border: rgba(0, 255, 136, 0.3);
}

/* ── Light Mode — Gündüz Siberpunk ── */
:root.light-mode {
  --bg-primary: #e8eef5;
  --bg-secondary: #f0f5fb;
  --bg-card: rgba(255, 255, 255, 0.65);
  --bg-card-hover: rgba(0, 180, 100, 0.08);
  --bg-glass: rgba(230, 238, 248, 0.75);

  --accent-green: #00a85a;
  --accent-purple: #6d28d9;
  --accent-blue: #2563eb;
  --accent-glow: rgba(0, 168, 90, 0.2);

  --text-primary: #0f1629;
  --text-secondary: #3a4a6b;
  --text-muted: #7a8aaa;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(0, 168, 90, 0.35);

  --orb-1: rgba(0, 200, 120, 0.22);
  --orb-2: rgba(109, 40, 217, 0.15);
  --orb-3: rgba(37, 99, 235, 0.12);
  --orb-4: rgba(217, 119, 6, 0.12);

  --shadow-glow: 0 0 40px rgba(0, 168, 90, 0.18);
  --theme-toggle-bg: rgba(0, 0, 0, 0.06);
  --theme-toggle-border: rgba(0, 168, 90, 0.35);
}

/* ── Light mode global overrides ── */
:root.light-mode body {
  background-color: var(--bg-primary);
}

:root.light-mode .bg-grid {
  background-image:
    linear-gradient(rgba(0, 140, 80, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 140, 80, .04) 1px, transparent 1px);
}

:root.light-mode select {
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
}

:root.light-mode select option {
  background: #f0f5fb;
  color: #0f1629;
}

:root.light-mode .logo-text .accent {
  text-shadow: 0 0 20px rgba(0, 168, 90, 0.4);
}

:root.light-mode .step-header h1,
:root.light-mode .step-header h2 {
  background: linear-gradient(135deg, #0f1629 50%, var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
}

:root.light-mode .badge-top {
  background: rgba(0, 168, 90, .15);
  color: #00a85a;
  border-color: rgba(0, 168, 90, .3);
}

:root.light-mode .badge-begin {
  background: rgba(37, 99, 235, .12);
  color: #2563eb;
  border-color: rgba(37, 99, 235, .25);
}

:root.light-mode .badge-mid {
  background: rgba(109, 40, 217, .12);
  color: #6d28d9;
  border-color: rgba(109, 40, 217, .25);
}

:root.light-mode .badge-adv {
  background: rgba(220, 38, 38, .1);
  color: #dc2626;
  border-color: rgba(220, 38, 38, .25);
}

:root.light-mode .result-card {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

:root.light-mode .result-card:hover {
  box-shadow: 0 8px 40px rgba(0, 168, 90, .15);
}

:root.light-mode .mode-tab.active {
  background: rgba(0, 168, 90, .1);
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(0, 168, 90, .15);
}

:root.light-mode .sim-form {
  background: rgba(255, 255, 255, .6);
  border-color: rgba(0, 168, 90, .2);
}

:root.light-mode .sim-result-card {
  background: rgba(255, 255, 255, .65);
}


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 255, 136, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, .025) 1px, transparent 1px);
  background-size: 48px 48px;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Header ── */
.site-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
}

.header-inner {
  max-width: 700px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}

.logo-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px rgba(0, 255, 136, .6));
  animation: float 3s ease-in-out infinite;
}

.logo-text {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.logo-text .accent {
  color: var(--accent-green);
  text-shadow: 0 0 24px rgba(0, 255, 136, .5);
}

.tagline {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ── Main ── */
.main-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* ── Steps ── */
.step {
  display: none;
  animation: fadeSlideIn .5s cubic-bezier(.4, 0, .2, 1) both;
}

.step.active {
  display: block;
}

.step-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.step-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(0, 255, 136, .1);
  border: 1px solid rgba(0, 255, 136, .25);
  padding: .25rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.step-header h1,
.step-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ── Form Grid ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.label-icon {
  font-size: 1rem;
}

.hint {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: .25rem;
}

select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: .9rem;
  padding: .7rem 1rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300ff88' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select:hover {
  border-color: rgba(0, 255, 136, .3);
  background-color: rgba(0, 255, 136, .04);
}

select:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, .12);
}

select option {
  background: #141622;
  color: var(--text-primary);
}

select optgroup {
  color: var(--text-muted);
  font-size: .8rem;
}

/* ── Use Case Image Cards ── */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}

.checkbox-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  user-select: none;
}

.checkbox-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.uc-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  filter: brightness(.8) saturate(1.1);
  transition: filter .25s, transform .3s;
}

.checkbox-card:hover .uc-img {
  filter: brightness(1) saturate(1.3);
  transform: scale(1.04);
}

.checkbox-card .card-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: .55rem .4rem;
  text-align: center;
  line-height: 1.3;
}

.checkbox-card:hover {
  border-color: rgba(0, 255, 136, .45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

.checkbox-card:has(input:checked) {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(0, 255, 136, .3), 0 8px 32px rgba(0, 255, 136, .15);
}

.checkbox-card:has(input:checked) .uc-img {
  filter: brightness(1) saturate(1.4);
}

.checkbox-card:has(input:checked) .card-label {
  color: var(--accent-green);
}

/* Checked tick overlay */
.checkbox-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: .4rem;
  right: .4rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--accent-green);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Use Case Info Panel ── */
.uc-info-panel {
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, .05), rgba(124, 58, 237, .05));
  border: 1px solid rgba(0, 255, 136, .2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: fadeSlideIn .3s ease both;
}

.uc-info-inner {
  padding: 1.25rem 1.5rem;
}

.uc-info-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.uc-info-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.uc-info-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: .2rem;
}

.uc-info-desc {
  font-size: .85rem;
  color: var(--text-secondary);
}

.uc-info-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.uc-info-features {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.uc-feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-secondary);
}

.uc-feature-item::before {
  content: '→';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.uc-info-video {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.uc-video-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.uc-links {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.uc-link-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: .8rem;
  font-weight: 500;
  transition: var(--transition);
}

.uc-link-item:hover {
  border-color: rgba(0, 255, 136, .3);
  color: var(--text-primary);
  background: rgba(0, 255, 136, .06);
  transform: translateX(3px);
}

.uc-link-icon {
  font-size: .9rem;
}

/* ── Radio Cards ── */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.radio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1rem .75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-align: center;
  user-select: none;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card:hover {
  border-color: rgba(0, 255, 136, .4);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.radio-card:has(input:checked) {
  border-color: var(--accent-green);
  background: rgba(0, 255, 136, .1);
  box-shadow: 0 0 20px rgba(0, 255, 136, .12);
}

.card-icon {
  font-size: 1.5rem;
}

.card-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-desc {
  font-size: .72rem;
  color: var(--text-muted);
}

/* ── Errors ── */
.field-error {
  font-size: .78rem;
  color: #ff6b6b;
  font-weight: 500;
  min-height: 1rem;
  display: block;
}

/* ── Form Footer ── */
.form-footer {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--accent-green), #00cc6a);
  color: #000;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: .875rem 2.5rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 255, 136, .3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .15), transparent);
  opacity: 0;
  transition: opacity .25s;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(0, 255, 136, .45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: scale(.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  padding: .7rem 1.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* ── Results ── */
.results-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.column-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
}

.cards-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  transition: var(--transition);
  animation: cardReveal .5s cubic-bezier(.4, 0, .2, 1) both;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-purple));
  opacity: 0;
  transition: opacity .25s;
}

.result-card:hover {
  border-color: rgba(0, 255, 136, .3);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.result-card:hover::before {
  opacity: 1;
}

.result-card.top-pick {
  border-color: rgba(0, 255, 136, .4);
  background: rgba(0, 255, 136, .06);
}

.result-card.top-pick::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .6rem;
}

.card-name-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.card-emoji {
  font-size: 1.4rem;
}

.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .2rem .6rem;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-top {
  background: rgba(0, 255, 136, .18);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, .3);
}

.badge-begin {
  background: rgba(59, 130, 246, .18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, .3);
}

.badge-mid {
  background: rgba(124, 58, 237, .18);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, .3);
}

.badge-adv {
  background: rgba(239, 68, 68, .18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, .3);
}

/* ── Format Badges ── */
.card-format {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .18rem .55rem;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid;
}

.fmt-high {
  /* EXL2 / AWQ / FP8 */
  background: rgba(245, 158, 11, .18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, .4);
  text-shadow: 0 0 6px rgba(245, 158, 11, .5);
}

.fmt-mid {
  /* GGUF Q6_K / Q8 */
  background: rgba(124, 58, 237, .18);
  color: #a78bfa;
  border-color: rgba(124, 58, 237, .4);
}

.fmt-std {
  /* GGUF Q4_K_M */
  background: rgba(0, 255, 136, .12);
  color: #00ff88;
  border-color: rgba(0, 255, 136, .3);
}

.fmt-low {
  /* GGUF Q3_K */
  background: rgba(239, 68, 68, .12);
  color: #f87171;
  border-color: rgba(239, 68, 68, .3);
}

.fmt-apple {
  /* MLX / Metal */
  background: rgba(59, 130, 246, .15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, .35);
}

.card-desc {
  font-size: .83rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: .75rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.card-meta-left {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.card-req {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .04);
  padding: .25rem .6rem;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
}

.card-filesize {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  color: #60a5fa;
  background: rgba(59, 130, 246, .08);
  padding: .25rem .6rem;
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, .2);
}

.card-link {
  font-size: .78rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.card-link:hover {
  color: #66ffaa;
  text-decoration: underline;
}

/* ── Summary Banner ── */
.summary-banner {
  background: linear-gradient(135deg, rgba(0, 255, 136, .07), rgba(124, 58, 237, .07));
  border: 1px solid rgba(0, 255, 136, .2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.summary-banner strong {
  color: var(--accent-green);
}

.results-footer {
  display: flex;
  justify-content: center;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-size: .8rem;
  border-top: 1px solid var(--border-subtle);
}

/* ── Animations ── */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes neonPulse {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(0, 255, 136, .35);
  }

  50% {
    box-shadow: 0 0 28px rgba(0, 255, 136, .85), 0 0 60px rgba(0, 255, 136, .35);
  }
}

@keyframes matrixFall {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(40px) scale(1.4);
  }
}

@keyframes speedBarGrow {
  from {
    width: 0;
  }
}

@keyframes adviceReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Page Transition Flash ── */
.page-flash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(ellipse at center,
      rgba(0, 255, 136, .18) 0%,
      rgba(0, 0, 0, .96) 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: flashIn .25s ease-out both;
}

@keyframes flashIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.page-flash--out {
  animation: flashOut .5s ease-in both;
}

@keyframes flashOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* ── Speed Bar (on model cards) ── */
.card-speed {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .45rem 0;
}

.speed-label {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 90px;
}

.speed-val {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.speed-bar-bg {
  flex: 1;
  min-width: 60px;
  height: 5px;
  background: rgba(255, 255, 255, .07);
  border-radius: 100px;
  overflow: hidden;
}

.speed-bar-fill {
  height: 100%;
  border-radius: 100px;
  animation: speedBarGrow .7s cubic-bezier(.4, 0, .2, 1) both;
  box-shadow: 0 0 8px currentColor;
}

/* ── Card Warning ── */
.card-warning {
  font-size: .75rem;
  color: #f59e0b;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .3);
  border-radius: var(--radius-sm);
  padding: .35rem .65rem;
  margin: .4rem 0;
}

/* ── Upgrade Advice Panel ── */
.upgrade-advice {
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  animation: adviceReveal .4s ease both;
}

.advice-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid;
}

.advice-warn {
  background: rgba(245, 158, 11, .07);
  border-color: rgba(245, 158, 11, .3);
}

.advice-warn strong {
  color: #f59e0b;
}

.advice-warn p {
  color: var(--text-secondary);
  font-size: .84rem;
  margin-top: .3rem;
  line-height: 1.55;
}

.advice-upgrade {
  background: linear-gradient(135deg, rgba(0, 255, 136, .07), rgba(124, 58, 237, .07));
  border-color: rgba(0, 255, 136, .3);
  animation: neonPulse 2.5s ease-in-out 1;
}

.advice-upgrade strong {
  color: var(--accent-green);
}

.advice-upgrade p {
  color: var(--text-secondary);
  font-size: .84rem;
  margin-top: .3rem;
  line-height: 1.55;
}

.advice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.advice-gpu-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-top: .65rem;
  padding: .65rem 1rem;
  background: rgba(0, 255, 136, .06);
  border: 1px solid rgba(0, 255, 136, .2);
  border-radius: var(--radius-md);
}

.advice-gpu-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent-green);
  text-shadow: 0 0 12px rgba(0, 255, 136, .5);
}

.advice-gpu-price {
  font-size: .8rem;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, .12);
  padding: .2rem .6rem;
  border-radius: 100px;
  border: 1px solid rgba(245, 158, 11, .3);
}

.advice-gpu-note {
  font-size: .78rem;
  color: var(--text-secondary);
  width: 100%;
}

/* ── Neon Button Pulse on Submit ── */
.btn-primary {
  animation: none;
}

.btn-primary:focus-visible {
  animation: neonPulse 1s ease-in-out 2;
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .checkbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .uc-info-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .results-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .radio-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ════════════════════════════════════════════════
   SIMULATOR MODE — Neon Siberpunk Stiller
   ════════════════════════════════════════════════ */

/* ── Mode Tabs ── */
.mode-tabs {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: 0 1.5rem 1.5rem;
}

.mode-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: .75rem 2.25rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: var(--font);
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.mode-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, .06), rgba(124, 58, 237, .06));
  opacity: 0;
  transition: opacity .3s;
}

.mode-tab:hover {
  border-color: rgba(0, 255, 136, .3);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.mode-tab:hover::before {
  opacity: 1;
}

.mode-tab.active {
  border-color: var(--accent-green);
  background: rgba(0, 255, 136, .08);
  color: var(--text-primary);
  box-shadow: 0 0 28px rgba(0, 255, 136, .18), inset 0 1px 0 rgba(0, 255, 136, .2);
}

.mode-tab.active::before {
  opacity: 1;
}

.mode-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  border-radius: 2px 2px 0 0;
}

.mode-tab-icon {
  font-size: 1.5rem;
  transition: transform .3s;
}

.mode-tab.active .mode-tab-icon {
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, .8));
  transform: scale(1.1);
}

.mode-tab-label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.mode-tab-sub {
  font-size: .65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mode-tab.active .mode-tab-sub {
  color: rgba(0, 255, 136, .65);
}

/* ── Simulator Panel ── */
.sim-panel {
  animation: fadeSlideIn .5s cubic-bezier(.4, 0, .2, 1) both;
}

.sim-header {
  text-align: center;
  margin-bottom: 2rem;
}

.sim-header-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .3);
  padding: .25rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(245, 158, 11, .5);
  box-shadow: 0 0 16px rgba(245, 158, 11, .1);
}

.sim-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
  background: linear-gradient(135deg, #f0f4ff 40%, #fbbf24 80%, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sim-subtitle {
  color: var(--text-secondary);
  font-size: .95rem;
}

/* ── Sim Form ── */
.sim-form {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(245, 158, 11, .18);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 40px rgba(245, 158, 11, .06);
}

.sim-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.sim-field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.sim-field-model {
  margin-bottom: 1.5rem;
}

.sim-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .02em;
}

.sim-label-icon {
  font-size: .95rem;
}

.sim-select {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(245, 158, 11, .22);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: .9rem;
  padding: .75rem 1rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fbbf24' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}

.sim-select:hover {
  border-color: rgba(245, 158, 11, .45);
  background-color: rgba(245, 158, 11, .04);
}

.sim-select:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .15);
}

.sim-select option {
  background: #141622;
  color: var(--text-primary);
}

/* ── Sim Error ── */
.sim-error {
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .3);
  border-radius: var(--radius-sm);
  color: #f87171;
  font-size: .85rem;
  font-weight: 600;
  padding: .65rem 1rem;
  margin-bottom: 1rem;
}

/* ── Sim Button ── */
.sim-btn-wrap {
  display: flex;
  justify-content: center;
}

.btn-sim {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #00ff88);
  background-size: 200% 200%;
  animation: simBtnShimmer 3s ease infinite;
  color: #000;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  padding: .9rem 3rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 28px rgba(245, 158, 11, .4), 0 0 0 0 rgba(245, 158, 11, .3);
  position: relative;
  overflow: hidden;
  letter-spacing: .02em;
}

.btn-sim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent);
  opacity: 0;
  transition: opacity .2s;
}

.btn-sim:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 40px rgba(245, 158, 11, .55), 0 0 60px rgba(0, 255, 136, .15);
}

.btn-sim:hover::before {
  opacity: 1;
}

.btn-sim:active {
  transform: scale(.97);
}

.btn-sim-icon {
  font-size: 1.25rem;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, .3));
}

@keyframes simBtnShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ── Sim Result Card ── */
.sim-result {
  animation: fadeSlideIn .45s cubic-bezier(.4, 0, .2, 1) both;
}

.sim-result-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(245, 158, 11, .04));
  border: 1px solid rgba(245, 158, 11, .25);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.sim-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), #fbbf24, var(--accent-purple));
}

.sim-result-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}

.sim-result-title-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, .7));
}

/* ── Sim Metrics ── */
.sim-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.sim-metric {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.sim-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-metric-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.sim-metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

/* ── Speed Bar ── */
.sim-bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, .07);
  border-radius: 3px;
  overflow: hidden;
}

.sim-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .8s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 0 8px currentColor;
}

/* ── VRAM Status ── */
.sim-vram-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.sim-vram-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.sim-vram-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.sim-vram-detail {
  font-size: .88rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.sim-status-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .85rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  border: 1px solid;
}

.sim-chip-ok {
  background: rgba(0, 255, 136, .12);
  color: #00ff88;
  border-color: rgba(0, 255, 136, .3);
  text-shadow: 0 0 6px rgba(0, 255, 136, .4);
}

.sim-chip-warn {
  background: rgba(245, 158, 11, .12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, .3);
  text-shadow: 0 0 6px rgba(245, 158, 11, .4);
}

.sim-chip-danger {
  background: rgba(239, 68, 68, .12);
  color: #f87171;
  border-color: rgba(239, 68, 68, .35);
  text-shadow: 0 0 6px rgba(239, 68, 68, .4);
  animation: dangerPulse 1.5s ease infinite;
}

@keyframes dangerPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, .0);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .15);
  }
}

/* ── Alert Balloons ── */
.sim-alert {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  margin-top: .5rem;
  border: 1px solid;
}

.sim-alert-danger {
  background: rgba(239, 68, 68, .1);
  border-color: rgba(239, 68, 68, .35);
  box-shadow: 0 0 20px rgba(239, 68, 68, .1), inset 0 1px 0 rgba(239, 68, 68, .15);
}

.sim-alert-warn {
  background: rgba(245, 158, 11, .08);
  border-color: rgba(245, 158, 11, .3);
  box-shadow: 0 0 20px rgba(245, 158, 11, .08);
}

.sim-alert-good {
  background: rgba(0, 255, 136, .07);
  border-color: rgba(0, 255, 136, .25);
  box-shadow: 0 0 20px rgba(0, 255, 136, .08);
}

.sim-alert-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

.sim-alert-body {
  flex: 1;
}

.sim-alert-title {
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: .25rem;
}

.sim-alert-danger .sim-alert-title {
  color: #f87171;
}

.sim-alert-warn .sim-alert-title {
  color: #fbbf24;
}

.sim-alert-good .sim-alert-title {
  color: #00ff88;
}

.sim-alert-text {
  font-size: .8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── Sim Divider ── */
.sim-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .2), transparent);
  margin: 1rem 0;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .mode-tabs {
    gap: .4rem;
    padding: 0 1rem 1.25rem;
  }

  .mode-tab {
    min-width: 0;
    flex: 1;
    padding: .65rem 1rem;
  }

  .mode-tab-sub {
    display: none;
  }

  .sim-form {
    padding: 1.25rem;
  }

  .sim-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sim-result-card {
    padding: 1.25rem 1.1rem;
  }

  .sim-vram-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ════════════════════════════════════════════════════════════════
   NEON ORB ARKA PLAN
   ════════════════════════════════════════════════════════════════ */

#neon-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.neon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.neon-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--orb-1), transparent 70%);
  top: -120px;
  left: -120px;
  animation: orbDrift1 22s ease-in-out infinite alternate;
}

.neon-orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, var(--orb-2), transparent 70%);
  bottom: -100px;
  right: -80px;
  animation: orbDrift2 28s ease-in-out infinite alternate;
}

.neon-orb-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--orb-3), transparent 70%);
  top: 40%;
  left: 55%;
  animation: orbDrift3 18s ease-in-out infinite alternate;
}

.neon-orb-4 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--orb-4), transparent 70%);
  top: 60%;
  left: 10%;
  animation: orbDrift4 24s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(80px, 60px) scale(1.15);
  }

  66% {
    transform: translate(40px, 120px) scale(0.9);
  }

  100% {
    transform: translate(120px, 40px) scale(1.1);
  }
}

@keyframes orbDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  40% {
    transform: translate(-70px, -90px) scale(1.2);
  }

  70% {
    transform: translate(-120px, -30px) scale(0.85);
  }

  100% {
    transform: translate(-50px, -110px) scale(1.05);
  }
}

@keyframes orbDrift3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-60px, 80px) scale(1.3);
  }

  100% {
    transform: translate(40px, -60px) scale(0.8);
  }
}

@keyframes orbDrift4 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  60% {
    transform: translate(90px, -70px) scale(1.25);
  }

  100% {
    transform: translate(30px, 60px) scale(0.9);
  }
}

/* ── Kartlara ve formalara glassmorphism güçlendirme ── */
.result-card,
.sim-form,
.sim-result-card,
.uc-info-panel,
.mode-tab {
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
}

.form-group select,
.sim-select {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ════════════════════════════════════════════════════════════════
   THEME TOGGLE BUTONU
   ════════════════════════════════════════════════════════════════ */

.theme-toggle-wrap {
  position: fixed;
  top: 1.1rem;
  right: 1.25rem;
  z-index: 1000;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--theme-toggle-bg);
  border: 1px solid var(--theme-toggle-border);
  border-radius: 100px;
  padding: .45rem .95rem;
  cursor: pointer;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  white-space: nowrap;
  user-select: none;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-green);
  color: var(--text-primary);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-1px);
}

.theme-toggle-btn:active {
  transform: scale(.96);
}

.theme-toggle-icon {
  font-size: 1.1rem;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-block;
}

.theme-toggle-btn:hover .theme-toggle-icon {
  transform: rotate(30deg) scale(1.15);
}

/* ════════════════════════════════════════════════════════════════
   3D TILT KART EFEKTİ
   ════════════════════════════════════════════════════════════════ */

.result-card,
.sim-result-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Glare (parlama) katmanı — JS tarafından eklenir */
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.tilt-glare-inner {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.06) 30%,
      transparent 65%);
  top: -50%;
  left: -50%;
  transform: translate(50%, 50%);
  transition: transform .12s linear;
  border-radius: 50%;
}

/* ════════════════════════════════════════════════════════════════
   PÜRÜZSÜZ GEÇİŞ ANİMASYONLARI
   ════════════════════════════════════════════════════════════════ */

/* Kart reveal güçlendirme */
@keyframes cardReveal {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Step geçiş animasyonları */
@keyframes stepIn {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stepOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.step.animating-in {
  animation: stepIn .4s cubic-bezier(.4, 0, .2, 1) both;
}

.step.animating-out {
  animation: stepOut .25s cubic-bezier(.4, 0, .2, 1) both;
}

/* Simülatör panel geçişi */
#sim-panel.animating-in {
  animation: stepIn .45s cubic-bezier(.4, 0, .2, 1) both;
}

/* Tab geçiş body smooth color transition */
body {
  transition: background-color .45s ease, color .3s ease;
}

/* ── Theme transition: tüm elementin smooth geçişi ── */
*,
*::before,
*::after {
  transition:
    background-color .35s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    color .25s ease;
}

/* Geçiş overrides — animation'ları engellemesin ── */
.result-card,
.sim-result-card,
.mode-tab,
.btn-primary,
.btn-sim,
select,
.uc-img,
.sim-bar-fill {
  transition:
    background-color .35s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    color .25s ease,
    transform .25s cubic-bezier(.4, 0, .2, 1);
}

/* ── Light mode: orb renkleri txt gölge override ── */
:root.light-mode .neon-orb {
  filter: blur(100px);
}

:root.light-mode .theme-toggle-btn {
  color: var(--text-secondary);
}

/* ████████████████████████████████████████████
   LOADING SCREEN
████████████████████████████████████████████ */

#loading-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07080f;
  transition: opacity .55s ease, visibility .55s ease;
  overflow: hidden;
}

/* Yükleme sırasında sayfa scroll'unu kilitle */
body.ls-active {
  overflow: hidden !important;
  height: 100% !important;
}

#loading-screen.ls-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ls-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

/* Logo */
.ls-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  animation: lsFadeUp .7s cubic-bezier(.4, 0, .2, 1) both;
}

.ls-logo-icon {
  font-size: 2.2rem;
}

.ls-logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #f0f4ff;
}

.ls-accent {
  background: linear-gradient(135deg, #00ff88, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Spinner — üç iç içe halka */
.ls-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  animation: lsFadeUp .7s .15s cubic-bezier(.4, 0, .2, 1) both;
}

.ls-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.ls-ring-1 {
  inset: 0;
  border-top-color: #00ff88;
  border-right-color: rgba(0, 255, 136, .25);
  animation: lsSpin 1.1s linear infinite;
  box-shadow: 0 0 16px rgba(0, 255, 136, .3);
}

.ls-ring-2 {
  inset: 10px;
  border-top-color: #7c3aed;
  border-left-color: rgba(124, 58, 237, .25);
  animation: lsSpin .8s linear infinite reverse;
  box-shadow: 0 0 12px rgba(124, 58, 237, .25);
}

.ls-ring-3 {
  inset: 20px;
  border-top-color: #3b82f6;
  border-bottom-color: rgba(59, 130, 246, .15);
  animation: lsSpin 1.4s linear infinite;
}

.ls-dot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 12px rgba(0, 255, 136, .8);
  animation: lsPulse 1s ease-in-out infinite;
}

/* Status text */
.ls-status {
  font-size: .85rem;
  font-weight: 600;
  color: #4a5580;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: lsFadeUp .7s .3s cubic-bezier(.4, 0, .2, 1) both;
}

.ls-dots span {
  opacity: 0;
  animation: lsDotBlink 1.2s ease infinite;
}

.ls-dots span:nth-child(2) {
  animation-delay: .2s;
}

.ls-dots span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes lsSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lsFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes lsPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .8;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

@keyframes lsDotBlink {

  0%,
  80%,
  100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

/* ████████████████████████████████████████████
   CUSTOM SCROLLBAR
████████████████████████████████████████████ */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-green), var(--accent-purple));
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(0, 255, 136, .3);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-green) var(--bg-primary);
}

/* ████████████████████████████████████████████
   CONIC GRADIENT DÖNEN KART KENARI
████████████████████████████████████████████ */

.result-card.card-top,
.result-card:first-child {
  position: relative;
  overflow: hidden;
}

.result-card.card-top::before,
.result-card:first-child::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--conic-angle, 0deg),
      #00ff88 0%,
      #7c3aed 25%,
      #3b82f6 50%,
      #00ff88 75%,
      #00ff88 100%);
  z-index: -1;
  animation: conicSpin 4s linear infinite;
}

.result-card.card-top::after,
.result-card:first-child::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--bg-secondary);
  border-radius: calc(var(--radius-lg) - 2px);
  z-index: -1;
}

@keyframes conicSpin {
  to {
    --conic-angle: 360deg;
  }
}

/* Chrome/Edge property registration */
@property --conic-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Neon badge ışıltısı: "ÖNERİLEN" kartı için */
.result-card.card-top .card-badge {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, .0);
  }

  50% {
    box-shadow: 0 0 12px rgba(0, 255, 136, .5);
  }
}

/* ████████████████████████████████████████████
   SCROLL REVEAL
████████████████████████████████████████████ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .55s cubic-bezier(.4, 0, .2, 1), transform .55s cubic-bezier(.4, 0, .2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gecikme varyantları */
.reveal-d1 {
  transition-delay: .08s;
}

.reveal-d2 {
  transition-delay: .16s;
}

.reveal-d3 {
  transition-delay: .24s;
}

.reveal-d4 {
  transition-delay: .32s;
}

/* ████████████████████████████████████████████
   LIGHT MODE LOADING + SCROLLBAR OVERRIDE
████████████████████████████████████████████ */

:root.light-mode #loading-screen {
  background: #e8eef5;
}

:root.light-mode .ls-logo-text {
  color: #0f1629;
}

:root.light-mode .ls-status {
  color: #7a8aaa;
}

:root.light-mode ::-webkit-scrollbar-track {
  background: #e8eef5;
}

:root.light-mode ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00a85a, #6d28d9);
}

:root.light-mode .result-card:first-child::after,
:root.light-mode .result-card.card-top::after {
  background: var(--bg-card);
}

/* ── Aydınlık modda beyaz kalan gradient başlıklar düzeltmesi ── */
:root.light-mode .sim-title {
  background: linear-gradient(135deg, #0f1629 35%, #d97706 75%, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root.light-mode .step-header h1,
:root.light-mode .step-header h2,
:root.light-mode h1,
:root.light-mode h2 {
  background: linear-gradient(135deg, #0f1629 50%, var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ████████████████████████████████████████████
   SIMULATOR GAUGES (HW USAGE BARS)
████████████████████████████████████████████ */

.sim-gauges {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

:root.light-mode .sim-gauges {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sg-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sg-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.sg-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sg-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

:root.light-mode .sg-bar-bg {
  background: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sg-bar-fill {
  height: 100%;
  width: 0%;
  /* JS will animate this */
  border-radius: 6px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px currentColor;
  /* Neon glow */
}

:root.light-mode .logo-text {
  -webkit-text-fill-color: var(--text-primary);
}

:root.light-mode .logo-text .accent {
  background: linear-gradient(135deg, #00a85a, #6d28d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ──────────────────────────────────────────────────
   🛠️ RADAR BOT V3 - YENİ ROZET VE GPU ETİKETLERİ 
   ────────────────────────────────────────────────── */

.badge-lic {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  display: inline-block;
}

.comm {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.4);
}

.pers {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.gpu-tag {
  margin: 10px 0;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gpu-ultra {
  background: linear-gradient(90deg, #7c3aed, #00ff88);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.gpu-high {
  background: #3b82f6;
  color: #fff;
}

.gpu-mid {
  background: #00ff88;
  color: #000;
}

.gpu-entry {
  background: rgba(255, 255, 255, 0.05);
  color: #f0f4ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gpu-low {
  background: #4a5580;
  color: #fff;
}

.badge-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
}

.result-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}