﻿/* ============ DQT — PC Optimization Service — original design ============
   Theme: BLACK & GOLD
   - Near-black warm base  → premium, focused, high-end feel
   - Gold accents          → luxury, quality, "top tier" service
   - Brighter gold CTAs    → the eye lands on the action
   - Green confirmations   → safety / success signals
*/
:root {
  --bg: #070604;
  --bg-alt: #0d0b07;
  --surface: #14110a;
  --surface-2: #1c1810;
  --border: #2e2718;
  --text: #f7f3e8;
  --muted: #b0a68d;
  --faint: #6e6450;
  --accent: #e3b341;
  --accent-grad: linear-gradient(135deg, #f7dd8a, #c9921a);
  --cta-grad: linear-gradient(135deg, #ffd75e, #e8a318);
  --on-gold: #1a1402;
  --success: #34d399;
  --danger: #f87171;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  --maxw: 1140px;
  --font-head: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* The hidden attribute must always win, even over display:grid/flex rules below */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); }
section { scroll-margin-top: 84px; }
::selection { background: var(--accent); color: var(--on-gold); }

/* gold-tinted scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

/* ------------------------------- buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 "Inter", sans-serif; cursor: pointer; transition: 0.2s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-primary {
  background: var(--cta-grad); color: var(--on-gold);
  box-shadow: 0 6px 24px rgba(232, 163, 24, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232, 163, 24, 0.5); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --------------------------------- nav --------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 6, 4, 0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
/* never let flex squeeze the logo — it must always render at its full aspect */
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 44px; width: auto; max-width: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  font-size: 18px; border-radius: 10px; padding: 6px 12px; cursor: pointer;
}
.btn-discord {
  background: #5865f2; color: #fff;
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(88, 101, 242, 0.55); color: #fff; }
.btn-discord svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.plan-discord { width: 100%; margin-top: auto; }
.lang-select {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 8px 10px; font: 600 13px "Inter", sans-serif;
  cursor: pointer; width: auto;
}
html[lang="ar"] body, html[lang="he"] body { font-family: "Segoe UI", Tahoma, "Inter", sans-serif; }

/* --------------------------------- hero -------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 146, 26, 0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(247, 221, 138, 0.07), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(227, 179, 65, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 179, 65, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 460px at 70% 20%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  align-items: center; padding: 92px 24px 80px;
}
.hero-inner > div { min-width: 0; } /* let the ticker shrink instead of forcing overflow */
.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -1px; }
.grad {
  background: linear-gradient(110deg, #f7dd8a 20%, #c9921a 40%, #ffe9a8 50%, #c9921a 60%, #f7dd8a 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShine 5s linear infinite;
}
@keyframes goldShine { to { background-position: 200% center; } }
.lead { color: var(--muted); font-size: 18px; margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-primary { animation: ctaPulse 3s ease-in-out infinite; }
@keyframes ctaPulse { 50% { box-shadow: 0 6px 36px rgba(232, 163, 24, 0.55); } }

/* services ticker */
.ticker {
  margin-top: 26px; max-width: min(540px, 100%); overflow: hidden; white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: inline-flex; width: max-content; animation: tickerMove 30s linear infinite; }
.ticker-track span { color: var(--faint); font-size: 13.5px; font-weight: 600; letter-spacing: 0.5px; padding-inline-end: 6px; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker-track { animation-name: tickerMoveRtl; }
@keyframes tickerMoveRtl { to { transform: translateX(50%); } }

.hero-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stat strong { font-size: 32px; font-weight: 800; color: var(--accent); font-family: var(--font-head); }
.stat span { display: block; color: var(--muted); font-size: 13.5px; }
.fineprint { color: var(--faint); font-size: 12px; margin-top: 14px; }

/* fps demo card + floating result chips */
.fps-wrap { position: relative; }
.float-chip {
  position: absolute; z-index: 2; padding: 8px 15px; border-radius: 999px;
  background: rgba(20, 17, 10, 0.92); border: 1px solid var(--accent); color: var(--accent);
  font: 700 13px var(--font-head); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  animation: floaty 4.5s ease-in-out infinite;
}
.fc1 { top: -16px; inset-inline-start: -14px; }
.fc2 { top: 30%; inset-inline-end: -16px; border-color: var(--success); color: var(--success); animation-delay: 1.4s; }
.fc3 { bottom: -16px; inset-inline-start: 14%; animation-delay: 2.6s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

.fps-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.15s ease-out; will-change: transform;
}
.fps-card-head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #f87171; } .dot-yellow { background: #e3b341; } .dot-green { background: #34d399; }
.fps-card-title { margin-inline-start: 8px; color: var(--muted); font-size: 12.5px; font-family: Consolas, monospace; }
.fps-rows { padding: 22px 18px; display: grid; gap: 18px; }
.fps-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; }
.fps-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.fps-bar { background: var(--surface-2); border-radius: 8px; height: 34px; overflow: hidden; }
.fps-fill {
  height: 100%; width: var(--w); border-radius: 8px;
  display: flex; align-items: center; justify-content: flex-end; padding-inline-end: 10px;
  font-size: 13px; font-weight: 700; animation: grow 1.2s ease both;
}
.fps-before { background: #3a3422; color: #d8d0ba; }
.fps-after { background: var(--accent-grad); color: var(--on-gold); animation-delay: 0.25s; }
@keyframes grow { from { width: 0; } to { width: var(--w); } }
.fps-meta { font-size: 14px; color: var(--muted); }
.fps-meta b { color: var(--success); }
.fps-fill em { font-style: normal; font-size: 11px; font-weight: 800; margin-inline-start: 6px; opacity: 0.8; }
.fps-graph { border-top: 1px solid var(--border); padding-top: 12px; }
.fps-graph svg { width: 100%; height: 34px; display: block; }
.ft-before { fill: none; stroke: #7a5550; stroke-width: 2; }
.ft-after { fill: none; stroke: var(--success); stroke-width: 2; }
.fps-graph-labels { display: flex; justify-content: space-between; margin-top: 4px; }
.fps-graph-labels span { font-size: 11px; color: var(--faint); font-family: Consolas, monospace; }
.fps-card-foot { padding: 12px 18px; border-top: 1px solid var(--border); color: var(--faint); font-size: 12px; }

/* -------------------------------- strip -------------------------------- */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); }
.strip-inner { display: flex; align-items: center; gap: 22px; padding: 18px 24px; flex-wrap: wrap; }
.strip-label { color: var(--faint); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.strip-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.strip-tags span {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; font-weight: 600; transition: 0.2s;
}
.strip-tags span:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------- sections ------------------------------ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin: 10px 0 12px; letter-spacing: -0.5px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: 0.25s;
}
.card:hover { border-color: #4a3f24; transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4); }

/* ------------------------------ inline icons ---------------------------- */
.svg-ico {
  width: 100%; height: 100%;
  fill: none; stroke: var(--accent); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature-ico, .trust-ico, .repair-ico {
  width: 52px; height: 52px; padding: 11px; margin-bottom: 16px;
  border-radius: 14px; background: rgba(227, 179, 65, 0.08);
  border: 1px solid rgba(227, 179, 65, 0.25);
}

/* -------------------------------- steps -------------------------------- */
.step { padding-top: 20px; }
.step-art {
  height: 140px; margin: -20px -28px 18px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(227, 179, 65, 0.05), transparent);
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.step-art svg { width: 100%; height: 100%; }
.art-panel { fill: var(--surface-2); stroke: var(--border); stroke-width: 1.5; }
.art-line { stroke: #564b30; stroke-width: 2; fill: none; stroke-linecap: round; }
.art-line.thick { stroke-width: 4; stroke: #6a5d3c; }
.art-dot-grid circle { fill: #564b30; }
.art-knob { fill: url(#gBrand); }
.art-meter { fill: none; stroke: #564b30; stroke-width: 2; }
.art-meter-fill { fill: url(#gBrand); }
.art-badge { fill: var(--surface); stroke: url(#gBrand); stroke-width: 2.5; }
.art-check { fill: none; stroke: url(#gBrand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.art-cursor { fill: #ffd75e; stroke: none; }
.art-bar { fill: #3a3422; }
.art-bar-hot { fill: url(#gBrand); }
.art-trend { fill: none; stroke: #ffd75e; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art-halo { fill: rgba(227, 179, 65, 0.055); }
.art-outline { fill: var(--surface-2); stroke: #6a5d3c; stroke-width: 2; }
.art-band { fill: url(#gBrand); opacity: 0.9; }
.art-gold { fill: url(#gBrand); }
.art-gold-star { fill: url(#gCta); }
.art-spark { fill: #ffd75e; opacity: 0.85; animation: sparkBlink 2.2s ease-in-out infinite; }
.art-spark.s2 { animation-delay: 1.1s; }
@keyframes sparkBlink { 50% { opacity: 0.2; transform: scale(0.92); } }
.art-knob { animation: knobPulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art-knob.k2 { animation-delay: 0.8s; }
.art-knob.k3 { animation-delay: 1.6s; }
@keyframes knobPulse { 50% { transform: scale(1.3); } }
.art-needle {
  stroke: url(#gCta); stroke-width: 3.5; stroke-linecap: round;
  transform-box: fill-box; transform-origin: 0% 100%;
  animation: needleWiggle 3.2s ease-in-out infinite;
}
@keyframes needleWiggle { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(14deg); } }
.art-chip-text { fill: var(--on-gold); font: 800 11px "Inter", sans-serif; }
.step-num {
  font-size: 14px; font-weight: 800; color: var(--on-gold); background: var(--accent-grad);
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-head);
}
.step h3, .feature h3, .trust h3 { font-size: 18px; margin-bottom: 10px; }
.step p, .feature p, .trust p { color: var(--muted); font-size: 14.5px; }

/* ------------------------------- repairs -------------------------------- */
.repair-card { position: relative; }
.repair-card h3 { font-size: 20px; margin-bottom: 10px; }
.repair-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.repair-card > p b { color: var(--text); }
.repair-list { list-style: none; display: grid; gap: 9px; margin-bottom: 8px; }
.repair-list li { color: var(--muted); font-size: 14px; padding-inline-start: 24px; position: relative; }
.repair-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--success); font-weight: 700; }
.repair-featured {
  border-color: rgba(227, 179, 65, 0.5);
  background: linear-gradient(180deg, rgba(247, 221, 138, 0.05), var(--surface) 45%);
}
.repair-featured .btn { margin-top: 16px; }
.repair-flag {
  position: absolute; top: 24px; inset-inline-end: 24px;
  background: var(--accent-grad); color: var(--on-gold); font-size: 11.5px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px;
}

/* ------------------------------- reviews ------------------------------- */
.reviews { margin-top: 26px; }
.review blockquote { color: var(--text); font-size: 15px; font-style: italic; margin-bottom: 18px; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-grad);
  color: var(--on-gold); font-weight: 800; display: grid; place-items: center;
  position: relative; overflow: hidden; flex: none;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review b { display: block; font-size: 14px; }
.review figcaption div span { color: var(--muted); font-size: 12.5px; }

/* -------------------------------- plans -------------------------------- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 20px; row-gap: 34px; align-items: stretch; padding-top: 12px; }
.plans-loading, .plans-error { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 44px rgba(201, 146, 26, 0.22); }
.plan-flag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--accent-grad); color: var(--on-gold); font-size: 12px; font-weight: 800;
  padding: 7px 18px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap; z-index: 2;
  box-shadow: 0 6px 18px rgba(232, 163, 24, 0.5), 0 0 0 4px var(--bg-alt);
}
.plan-pricing { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-was { color: var(--faint); text-decoration: line-through; font-size: 17px; font-weight: 600; }
.plan-off {
  background: rgba(52, 211, 153, 0.15); color: var(--success);
  font: 800 11.5px "Inter", sans-serif; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.5px;
}
.plan-claim {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-bottom: 12px; padding: 9px 12px;
  border: 1px dashed rgba(227, 179, 65, 0.55); border-radius: 10px;
  background: rgba(227, 179, 65, 0.06);
  color: var(--accent); font-size: 12.5px; font-weight: 700; text-align: center; transition: 0.2s;
}
.plan-claim:hover { border-style: solid; background: rgba(227, 179, 65, 0.12); }
.plan-tier { display: flex; gap: 5px; margin-bottom: 14px; }
.plan-tier i { width: 16px; height: 5px; border-radius: 3px; background: var(--accent-grad); }
.plan-tier i.off { background: var(--surface-2); }
.plan h3 { font-size: 18px; }
.plan-tagline { color: var(--muted); font-size: 13px; margin: 6px 0 16px; min-height: 38px; }
.plan-price { font-size: 38px; font-weight: 700; font-family: var(--font-head); }
.plan-price small { font-size: 14px; color: var(--muted); font-weight: 500; font-family: "Inter", sans-serif; }
.plan-duration { color: var(--accent); font-size: 13px; font-weight: 600; margin: 4px 0 18px; }
.plan ul { list-style: none; display: grid; gap: 9px; margin-bottom: 24px; }
.plan li { color: var(--muted); font-size: 13.5px; padding-inline-start: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--success); font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; }

/* --------------------------------- faq --------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: #4a3f24; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; transition: 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* -------------------------------- forms -------------------------------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
input, select, textarea {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font: 400 14.5px "Inter", sans-serif; width: 100%;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: #5c5440; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 13.5px; font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

/* recommended add-on checkbox */
.check {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(227, 179, 65, 0.06); border: 1px solid rgba(227, 179, 65, 0.28);
  border-radius: 12px; padding: 14px 16px; cursor: pointer;
}
.check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.check span { font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.5; }
.check b { color: var(--text); }
.check em { color: var(--accent); font-style: normal; font-weight: 600; }

/* -------------------------------- tools --------------------------------- */
.tools-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.tool-tab {
  padding: 12px 22px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font: 600 14.5px "Inter", sans-serif;
  cursor: pointer; transition: 0.2s;
}
.tool-tab:hover { border-color: var(--accent); color: var(--accent); }
.tool-tab.active { background: var(--accent-grad); color: var(--on-gold); border-color: transparent; }
.tool-panel { max-width: 880px; margin: 0 auto; display: grid; gap: 20px; }
.tool-panel form { display: grid; gap: 16px; }
.tool-intro { color: var(--muted); font-size: 14.5px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cascade { display: grid; gap: 7px; }
.cascade select:disabled { opacity: 0.5; cursor: not-allowed; }
.chips-block { display: grid; gap: 9px; }
.chips-label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--muted); font-size: 13.5px; font-weight: 600;
  transition: 0.2s; pointer-events: none;
}
.chip:hover span { border-color: var(--accent); }
.chip:has(input:checked) span { background: var(--accent-grad); color: var(--on-gold); border-color: transparent; }

/* tool results */
.tool-result { border-top: 1px solid var(--border); padding-top: 22px; display: grid; gap: 14px; }
.result-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.result-big { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; }
.result-title { font-size: 18px; font-weight: 700; }
.sev { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.sev.ok, .sev.normal { background: rgba(52, 211, 153, 0.15); color: var(--success); }
.sev.moderate, .sev.high { background: rgba(227, 179, 65, 0.15); color: var(--accent); }
.sev.severe { background: rgba(248, 113, 113, 0.15); color: var(--danger); }
.meter { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent-grad); border-radius: 5px; transition: width 0.6s ease; }
.meter.warn i { background: linear-gradient(135deg, #ffd75e, #ef4444); }
.result-sub { color: var(--faint); font-size: 12.5px; }
.result-advice { color: var(--muted); font-size: 14.5px; }
.ram-note {
  color: var(--accent); background: rgba(227, 179, 65, 0.07);
  border: 1px solid rgba(227, 179, 65, 0.3); border-radius: 10px; padding: 10px 14px; font-size: 13.5px;
}
.rec-card {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid rgba(227, 179, 65, 0.45); background: rgba(247, 221, 138, 0.05);
  border-radius: 14px; padding: 18px 20px;
}
.rec-name { font-family: var(--font-head); font-size: 21px; font-weight: 700; }
.rec-price { color: var(--accent); font-weight: 700; font-size: 16px; }
.rec-fresh { color: var(--success); font-size: 13px; font-weight: 600; margin-top: 4px; }
/* per-game performance estimates */
.est-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.est-box {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; display: grid; gap: 2px; text-align: center;
}
.est-box span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.est-box b { font-family: var(--font-head); font-size: 20px; color: var(--accent); }
.perf-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.perf-col { display: grid; gap: 8px; }
.perf-col h5 { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.perf-col.after h5 { color: var(--success); }
.perf-col.after .est-box { border-color: rgba(52, 211, 153, 0.35); }
.perf-col.after .est-box b { color: var(--success); }
.perf-arrow { font-size: 22px; color: var(--accent); }
[dir="rtl"] .perf-arrow { transform: scaleX(-1); }

/* booking tracking */
.track-card { margin-top: 18px; }
.track-card h3 { font-size: 19px; margin-bottom: 4px; }
.track-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.badge-track { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-track.new { background: rgba(227, 179, 65, 0.15); color: var(--accent); }
.badge-track.confirmed { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
.badge-track.completed { background: rgba(52, 211, 153, 0.15); color: var(--success); }
.badge-track.cancelled { background: rgba(248, 113, 113, 0.15); color: var(--danger); }
#trackResult { border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 10px; }
.track-timeline { list-style: none; display: grid; gap: 8px; }
.track-timeline li {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; padding-inline-start: 18px; position: relative;
}
.track-timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); }
.track-timeline li span { color: var(--faint); }

/* booking modal extras */
.tz-line { font-size: 13px; color: var(--muted); }
.tz-line b { color: var(--accent); }
.check-priority { border-color: rgba(248, 113, 113, 0.35); background: rgba(248, 113, 113, 0.05); }
.check-priority em { color: #f87171; }

/* footer social icons — optically balanced sizes, brand colors on hover */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
/* .footer prefix outranks the later generic ".footer-cols a { display:block }" rule */
.footer .socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  padding: 0; background: var(--surface); border: 1px solid var(--border); transition: 0.2s;
}
.socials a svg { fill: var(--muted); transition: fill 0.2s; display: block; }
.socials .s-discord svg { width: 23px; height: 23px; }
.socials .s-yt svg { width: 21px; height: 21px; }
.socials .s-x svg { width: 17px; height: 17px; }
.socials .s-mail svg { width: 19px; height: 19px; }
.socials a:hover { transform: translateY(-2px); border-color: var(--accent); }
.socials .s-discord:hover { border-color: #5865f2; background: rgba(88, 101, 242, 0.12); }
.socials .s-discord:hover svg { fill: #5865f2; }
.socials .s-yt:hover { border-color: #ff3333; background: rgba(255, 51, 51, 0.1); }
.socials .s-yt:hover svg { fill: #ff3333; }
.socials .s-x:hover { border-color: #f7f3e8; background: rgba(247, 243, 232, 0.08); }
.socials .s-x:hover svg { fill: #f7f3e8; }
.socials .s-mail:hover { border-color: var(--accent); background: rgba(227, 179, 65, 0.1); }
.socials .s-mail:hover svg { fill: var(--accent); }

.reason-list { list-style: none; display: grid; gap: 8px; margin-top: 8px; }
.reason-list li { color: var(--muted); font-size: 13.5px; padding-inline-start: 24px; position: relative; }
.reason-list li::before { content: "→"; position: absolute; inset-inline-start: 0; color: var(--accent); }
[dir="rtl"] .reason-list li::before { content: "←"; }

/* -------------------------------- footer ------------------------------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-cols a:hover { color: var(--accent); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 20px; padding-bottom: 24px;
  color: var(--faint); font-size: 13px;
}

/* ------------------------------ back to top ----------------------------- */
.to-top {
  position: fixed; bottom: 92px; inset-inline-end: 28px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--cta-grad); color: var(--on-gold); font-size: 18px; font-weight: 800;
  box-shadow: 0 8px 24px rgba(232, 163, 24, 0.4); transition: transform 0.2s;
}
.to-top:hover { transform: translateY(-3px); }

/* -------------------------------- modal -------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(4, 3, 2, 0.82); backdrop-filter: blur(6px); padding: 20px;
}
.modal {
  position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow);
}
.modal h3 { font-size: 22px; }
.modal-sub { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.modal form { display: grid; gap: 16px; }
.modal-close {
  position: absolute; top: 16px; inset-inline-end: 16px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--muted); border-radius: 10px;
  width: 36px; height: 36px; cursor: pointer; font-size: 14px;
}
.modal-close:hover { color: var(--text); border-color: var(--accent); }
.booking-success { text-align: center; padding: 24px 0 8px; display: grid; gap: 12px; justify-items: center; }
.success-ico { font-size: 44px; }

/* ------------------------------- promo bar ------------------------------ */
.promo {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 9px 44px 9px 16px; position: relative;
  background: var(--accent-grad); color: var(--on-gold);
  font-size: 13.5px; font-weight: 700;
}
.promo-cta {
  display: inline-block; background: var(--on-gold); color: var(--accent); border: none; cursor: pointer;
  padding: 5px 14px; border-radius: 999px; font: 700 12.5px "Inter", sans-serif; transition: 0.2s;
}
.promo-cta:hover { transform: translateY(-1px); }
.promo-x {
  position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--on-gold); font-size: 14px; cursor: pointer; opacity: 0.7;
}
.promo-x:hover { opacity: 1; }

/* ------------------------------ contact alt ----------------------------- */
.contact-alt { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }
.contact-alt a { color: var(--accent); font-weight: 600; }
.contact-alt a:hover { text-decoration: underline; }
.contact-sep { margin: 0 8px; color: var(--faint); }

/* ------------------------------ cursor glow ----------------------------- */
.cursor-glow {
  position: fixed; top: -200px; left: -200px; width: 400px; height: 400px;
  margin: -200px 0 0 -200px; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(227, 179, 65, 0.07), transparent 65%);
  will-change: transform;
}

/* -------------------------------- chatbot ------------------------------- */
.bot { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; }
.bot-toggle {
  position: relative;
  width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent-grad); color: var(--on-gold);
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(232, 163, 24, 0.45); transition: transform 0.2s;
  animation: botGlow 3.2s ease-in-out infinite;
}
.bot-toggle:hover { transform: translateY(-3px); }
@keyframes botGlow { 50% { box-shadow: 0 8px 34px rgba(232, 163, 24, 0.75); } }
.bot-toggle svg { transition: transform 0.25s ease; }
.bot-toggle.open svg { transform: rotate(-14deg) scale(0.9); }
.bot-ping {
  position: absolute; top: 1px; inset-inline-end: 1px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #ffd75e; border: 2px solid var(--bg);
}
.bot-ping::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: rgba(255, 215, 94, 0.6); animation: botPing 1.6s ease-out infinite;
}
@keyframes botPing { to { transform: scale(2.6); opacity: 0; } }
.bot-panel {
  position: absolute; bottom: 66px; inset-inline-end: 0;
  width: min(360px, calc(100vw - 40px)); height: 460px; max-height: calc(100vh - 140px);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden;
  transform-origin: bottom right;
  animation: botPanelIn 0.3s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
[dir="rtl"] .bot-panel { transform-origin: bottom left; }
.bot-panel.closing { animation: botPanelOut 0.2s ease-in both; }
@keyframes botPanelIn { from { opacity: 0; transform: translateY(16px) scale(0.9); } }
@keyframes botPanelOut { to { opacity: 0; transform: translateY(16px) scale(0.9); } }
.bot-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
}
.bot-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.bot-close {
  margin-inline-start: auto; background: none; border: none; color: var(--muted);
  font-size: 14px; cursor: pointer;
}
.bot-close:hover { color: var(--text); }
.bot-msgs { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.bot-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.55;
  animation: botMsgIn 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}
@keyframes botMsgIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.bot-typing { display: flex; gap: 5px; align-items: center; padding: 13px 16px; }
.bot-typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: typingDot 1s ease-in-out infinite;
}
.bot-typing i:nth-child(2) { animation-delay: 0.18s; }
.bot-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot { 30% { transform: translateY(-5px); opacity: 0.45; } }
.bot-msg.ai { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); justify-self: start; border-start-start-radius: 4px; }
.bot-msg.user { background: var(--accent-grad); color: var(--on-gold); justify-self: end; border-start-end-radius: 4px; font-weight: 600; }
.bot-msg a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.bot-msg .bot-book { margin-top: 4px; padding: 8px 16px; font-size: 13px; }
.bot-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 10px; }
.bot-chip {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 6px 12px; font: 600 12px "Inter", sans-serif; cursor: pointer; transition: 0.2s;
  text-align: start;
  animation: botMsgIn 0.3s ease both;
}
.bot-chip:nth-child(2) { animation-delay: 0.1s; }
.bot-chip:nth-child(3) { animation-delay: 0.2s; }
.bot-chip:hover { border-color: var(--accent); color: var(--accent); }
.bot-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.bot-input input { flex: 1; padding: 10px 12px; font-size: 13.5px; }
.bot-input .btn { padding: 10px 16px; font-size: 13.5px; }

/* --------------------------- render performance -------------------------
   Animations use transform/opacity only (GPU-composited); below-the-fold
   sections skip rendering until needed via content-visibility. */
.reveal, .float-chip, .ticker-track, .fps-fill { will-change: transform, opacity; }
#optimize, #repairs, #results, #plans, #faq, #contact { content-visibility: auto; contain-intrinsic-size: auto 800px; }

/* -------------------------------- reveal ------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .fps-fill { animation: none; }
  .grad, .hero-actions .btn-primary, .float-chip, .ticker-track { animation: none; }
  .art-spark, .art-knob, .art-needle { animation: none; }
  .bot-toggle, .bot-ping::after, .bot-panel, .bot-msg, .bot-chip { animation: none; }
}

/* ------------------------------ responsive ----------------------------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  /* tighten the nav so the full logo always fits at its proper aspect */
  .nav-inner { gap: 14px; }
  .brand img { height: 34px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13.5px; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-alt); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 24px; border-top: 1px solid var(--border); }
  .nav-burger { display: block; }
  .nav-cta .btn-discord { padding: 10px 12px; }
  .nav-cta .btn-discord span { display: none; }
  .grid-3, .grid-2, .plans-grid, .form-row, .tool-grid { grid-template-columns: 1fr; }
  .est-grid { grid-template-columns: 1fr; }
  .perf-compare { grid-template-columns: 1fr; }
  .perf-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 420px) {
  .nav-inner { gap: 8px; }
  .brand img { height: 25px; }
  .lang-select { padding: 7px 6px; font-size: 12px; }
  .nav-burger { padding: 5px 9px; }
  .nav-cta { gap: 8px; }
  .hero-stats { gap: 24px; }
  .brand img { height: 30px; }
  .result-big { font-size: 36px; }
  .float-chip { display: none; }
}
