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

:root {
  --bg:        #0f1117;
  --surface:   #1a1d27;
  --border:    #2a2d3e;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --accent:    #6366f1;
  --ok:        #22c55e;
  --bug:       #f59e0b;
  --err:       #ef4444;
  --radius:    14px;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  padding: 3rem 1.5rem;
  position: relative;
}

#bg-canvas {
  position: fixed;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .85;
}

header, .grid, footer, .wrap { position: relative; z-index: 1; }

/* ── HEADER (landing) ── */
header {
  max-width: 1080px;
  margin: 0 auto 3.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .6rem;
}
header p {
  color: var(--muted);
  font-size: .95rem;
  font-family: var(--font-mono);
}
header p span { color: var(--accent); }

/* ── GRID ── */
.grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left,
    color-mix(in srgb, var(--c) 20%, transparent) 0%,
    transparent 65%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.card:hover {
  border-color: var(--c);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.card:hover::after { opacity: 1; }

.card-stripe {
  height: 3px;
  background: var(--c);
  opacity: .7;
}

.card-main {
  flex: 1;
  padding: 1.25rem 1.4rem 1rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.card-head {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.card-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.card-title-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.status-dot.pass { background: var(--ok); color: var(--ok); }
.status-dot.fail { background: var(--err); color: var(--err); }
.status-dot.unknown { background: var(--muted); color: var(--muted); opacity: .6; box-shadow: none; }

.card-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
}
.card-desc-en {
  font-size: .78rem;
  opacity: .7;
  font-style: italic;
}
.card-cost {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: color-mix(in srgb, var(--c) 70%, var(--muted));
  letter-spacing: .02em;
}
.card-cost b { color: var(--c); font-weight: 700; }
.card-cost-note {
  display: block;
  font-size: .6rem;
  color: var(--muted);
  opacity: .6;
  margin-top: .2rem;
  letter-spacing: .01em;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.tech-pill {
  font-family: var(--font-mono);
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: color-mix(in srgb, var(--c) 80%, var(--text));
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
}

.card-actions {
  padding: .75rem 1.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.btn-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-family: var(--font-mono);
  color: var(--c);
  text-decoration: none;
  opacity: .85;
  transition: opacity .15s;
}
.btn-open:hover { opacity: 1; }
.btn-open svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: .72rem;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  position: relative; z-index: 2;
}
.btn-dl:hover {
  border-color: var(--c);
  color: var(--c);
  background: color-mix(in srgb, var(--c) 8%, transparent);
}
.btn-dl svg {
  width: 11px; height: 11px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.btn-dl[aria-disabled="true"] {
  pointer-events: none;
  opacity: .3;
  filter: grayscale(0.6);
}

.card-docs {
  padding: .5rem 1.4rem .75rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-family: var(--font-mono);
  color: var(--muted);
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--border);
  transition: color .15s, border-color .15s, background .15s;
}
.btn-doc:hover {
  color: var(--c);
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  background: color-mix(in srgb, var(--c) 6%, transparent);
}
.btn-doc[aria-disabled="true"] {
  pointer-events: none;
  opacity: .35;
  filter: grayscale(0.6);
}
.btn-doc svg {
  width: 11px; height: 11px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── QR CARD ── */
.qr-card {
  --c: #6366f1;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.qr-card .card-stripe { flex-shrink: 0; }

.qr-wrap {
  position: relative;
  flex: 1;
  min-height: 200px;
}

.qr-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.qr-robot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  aspect-ratio: 60 / 84;
  pointer-events: none;
  background: rgba(15, 17, 23, 0.82);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(2px);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.3), 0 4px 20px rgba(0,0,0,0.6);
}

.robot-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(99,102,241,.7));
}

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .qr-card { display: none; }
}

/* ── FOOTER ── */
footer {
  max-width: 1080px;
  margin: 4rem auto 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  font-family: var(--font-mono);
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: start;
}
.footer-built {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.footer-built .lang-hu { color: #e2e8f0; font-size: .8rem; }
.footer-built .lang-en { color: var(--muted); font-size: .73rem; }
.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  padding-top: .75rem;
  border-top: 1px solid #1e2130;
}
.footer-meta-item { display: flex; flex-direction: column; gap: .1rem; }
.footer-meta-item .label { font-size: .65rem; color: #3d4460; text-transform: uppercase; letter-spacing: .06em; }
.footer-meta-item .val { color: var(--accent); font-size: .75rem; }
.footer-meta-item .val-en { color: var(--muted); font-size: .68rem; }
@media (max-width: 640px) {
  footer { grid-template-columns: 1fr; }
  .footer-meta { gap: .75rem 1rem; }
}

.empty-note {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .9rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ── VIEWER COMMON ── */
.wrap {
  max-width: 860px;
  margin: 0 auto;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: .8rem;
  font-family: var(--font-mono);
  text-decoration: none;
  margin-bottom: 1.8rem;
  transition: color .15s;
}
.back:hover { color: var(--accent); }
.back svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
h1.title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .4rem;
}
.proj-desc {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.meta span { color: var(--accent); }

.sec-label {
  font-size: .7rem;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 2rem 0 .6rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--border);
}

/* ── PRD VIEWER ── */
.story { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: .5rem; }
.story-head { display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem; cursor: pointer; user-select: none; transition: background .15s; }
.story-head:hover { background: #1f2333; }
.s-id { font-family: var(--font-mono); font-size: .7rem; padding: 2px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.s-id.us { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.s-id.bug { background: color-mix(in srgb, var(--bug) 14%, transparent); color: var(--bug); border: 1px solid color-mix(in srgb, var(--bug) 28%, transparent); }
.s-title { flex: 1; font-size: .9rem; font-weight: 600; }
.s-ok { font-size: .68rem; font-family: var(--font-mono); color: var(--ok); opacity: .75; white-space: nowrap; }
.chevron { color: var(--muted); font-size: .7rem; transition: transform .2s; flex-shrink: 0; }
.story.open .chevron { transform: rotate(90deg); }
.story-body { display: none; padding: .85rem 1.1rem 1rem; border-top: 1px solid var(--border); }
.story.open .story-body { display: block; }
.s-desc { color: var(--muted); font-size: .82rem; line-height: 1.65; font-style: italic; margin-bottom: .75rem; }

.ac-title { font-size: .68rem; font-family: var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .45rem; }
.ac-list { list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.ac-list li { display: flex; gap: .55rem; font-size: .81rem; line-height: 1.55; color: #cbd5e1; }
.ac-list li::before { content: '✓'; color: var(--ok); font-size: .72rem; flex-shrink: 0; margin-top: .18rem; opacity: .65; }
.s-notes { margin-top: .85rem; font-size: .76rem; color: var(--muted); font-family: var(--font-mono); background: #0d0f18; border-left: 3px solid var(--border); padding: .55rem .8rem; border-radius: 0 5px 5px 0; line-height: 1.6; }
.s-notes strong { color: #94a3b8; font-weight: 600; }

.deps { margin-top: .6rem; display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.dep-label { font-size: .68rem; font-family: var(--font-mono); color: var(--muted); }
.dep-badge { font-family: var(--font-mono); font-size: .67rem; padding: 1px 6px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: color-mix(in srgb, var(--accent) 70%, var(--muted)); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }

.v-footer { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .75rem; font-family: var(--font-mono); color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ── PROGRAMTERV VIEWER ── */
.content h1 { font-size: clamp(1.5rem,3.5vw,2.2rem); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(135deg,#e2e8f0,#94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0 0 .5rem; line-height: 1.2; }
.content h2 { font-size: 1.2rem; font-weight: 700; color: #c4cdd8; margin: 2.2rem 0 .75rem; padding-bottom: .4rem; border-bottom: 1px solid var(--border); }
.content h3 { font-size: 1rem; font-weight: 600; color: #94a3b8; margin: 1.5rem 0 .5rem; }
.content h4 { font-size: .9rem; font-weight: 600; color: var(--muted); margin: 1.2rem 0 .4rem; }
.content p { font-size: .9rem; color: #cbd5e1; margin-bottom: .9rem; line-height: 1.7; }
.content strong { color: #e2e8f0; font-weight: 600; }
.content em { color: #94a3b8; }
.content a { color: var(--accent); text-decoration: none; }
.content a:hover { text-decoration: underline; }
.content ul, .content ol { padding-left: 1.4rem; margin-bottom: .9rem; }
.content li { font-size: .88rem; color: #cbd5e1; margin-bottom: .25rem; line-height: 1.65; }
.content code { font-family: var(--font-mono); font-size: .8em; background: #13151f; color: #a78bfa; padding: 1px 5px; border-radius: 4px; border: 1px solid #2a2d3e; }
.content pre { background: #0d0f18; border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.2rem; overflow-x: auto; margin-bottom: 1rem; }
.content pre code { background: none; border: none; color: #86efac; font-size: .82rem; padding: 0; }
.content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.table-wrap { overflow-x: auto; margin-bottom: 1.2rem; }
.content table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.content th { background: #1f2333; color: #94a3b8; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: .5rem .85rem; border: 1px solid var(--border); text-align: left; }
.content td { padding: .45rem .85rem; border: 1px solid var(--border); color: #cbd5e1; vertical-align: top; }
.content tr:nth-child(even) td { background: #161820; }

/* ── TOKEN REPORT VIEWER ── */
.cost-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.8rem 1.6rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.cost-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.cost-hero-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.cost-hero-value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1.1;
}
.cost-hero-sub {
  margin-top: .4rem;
  font-size: .78rem;
  font-family: var(--font-mono);
  color: var(--muted);
}

.token-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.token-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  min-width: 640px;
}
.token-table th {
  background: #1f2333;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .65rem .9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.token-table td {
  padding: .6rem .9rem;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: .8rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.token-table tr:last-child td { border-bottom: none; }
.token-table td.num { text-align: right; }
.token-table td.agent-name { color: var(--text); font-weight: 600; }
.token-table td.model { color: var(--accent); }
.token-table td.cost { color: var(--ok); font-weight: 600; }
.token-table tr.total td {
  font-weight: 800;
  color: var(--text);
  background: #161924;
  border-top: 2px solid var(--accent);
}
.token-table tr.total td.cost { color: var(--accent); }

.pricing-box {
  background: #0d0f18;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin-bottom: 1.8rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.7;
}
.pricing-box .pricing-title {
  color: #94a3b8;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .65rem;
  margin-bottom: .4rem;
}
.pricing-box code { color: #a78bfa; }

.unavailable {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .9rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

@media (max-width: 520px) {
  body { padding: 2rem 1rem; }
  .cost-hero-value { font-size: 1.8rem; }
}

/* ── ACKNOWLEDGEMENT ── */
.ack {
  max-width: 1080px;
  margin: 0 auto 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ack-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(99,102,241,.04);
  flex-wrap: wrap;
}
.ack-logo-link {
  display: flex;
  align-items: center;
  opacity: .65;
  transition: opacity .2s;
}
.ack-logo-link:hover { opacity: 1; }
.ack-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.ack-logo-sep {
  width: 1px;
  height: 34px;
  background: var(--border);
  flex-shrink: 0;
}
.ack-body {
  display: flex;
  gap: 2rem;
  padding: 1.4rem 1.5rem;
  font-size: .85rem;
  line-height: 1.75;
  color: var(--muted);
}
.ack-hu, .ack-en {
  flex: 1;
  text-align: justify;
  hyphens: auto;
}
.ack-title {
  font-size: .68rem;
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}
.ack-hu .ack-title { color: var(--accent); }
.ack-en .ack-title { color: #a78bfa; }
.ack-body strong { color: var(--text); font-weight: 600; }
.ack-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.ack-link:hover { text-decoration: underline; }
.ack-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--muted);
  font-family: var(--font-mono, monospace);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .45;
  flex-shrink: 0;
}
.ack-divider::before,
.ack-divider::after {
  content: "";
  width: 1px;
  flex: 1;
  background: var(--border);
}

@media (max-width: 640px) {
  .ack-body { flex-direction: column; gap: 1rem; padding: 1rem; font-size: .88rem; }
  .ack-divider { flex-direction: row; }
  .ack-divider::before, .ack-divider::after { width: auto; height: 1px; flex: 1; }
  .ack-logos { gap: 1.5rem; padding: 1.2rem; }
  .ack-logo { height: 26px; }
}

/* --- About: AvC fogalom kifejtése (HU + EN) --- */
.about {
  max-width: 1080px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.about-hu,
.about-en {
  flex: 1;
  text-align: justify;
  hyphens: auto;
}
.about h2 {
  font-size: 1.1rem;
  margin: 0 0 .75rem;
  letter-spacing: .01em;
  text-align: left;
}
.about-hu h2 { color: var(--accent); }
.about-en h2 { color: #a78bfa; }
.about p {
  margin: 0 0 .75rem;
}
.about p:last-child { margin-bottom: 0; }
.about em {
  color: var(--text);
  font-style: italic;
}
.about-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--muted);
  font-family: var(--font-mono, monospace);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .45;
  flex-shrink: 0;
}
.about-divider::before,
.about-divider::after {
  content: "";
  width: 1px;
  flex: 1;
  background: var(--border);
}

@media (max-width: 640px) {
  .about { flex-direction: column; gap: 1rem; padding: 1rem; font-size: .95rem; }
  .about h2 { font-size: 1.05rem; }
  .about-divider { flex-direction: row; }
  .about-divider::before, .about-divider::after { width: auto; height: 1px; flex: 1; }
}

/* ── MUSIC PLAYER ── */
#music-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .85rem .45rem .75rem;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--border);
  border-radius: 99px;
  box-shadow: 0 4px 24px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  z-index: 200;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
}
.music-icon {
  width: 14px; height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.music-label { letter-spacing: .06em; }
.music-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 4px;
  transition: color .15s;
  flex-shrink: 0;
}
.music-btn:hover { color: var(--text); }
.music-btn svg { width: 14px; height: 14px; display: block; }
.music-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 3px;
  border-radius: 99px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.music-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform .15s;
}
.music-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }
.music-slider::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}
#yt-wrap {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 480px) {
  #music-bar { bottom: 1rem; gap: .5rem; padding: .4rem .7rem; }
  .music-label { display: none; }
  .music-slider { width: 56px; }
}

/* Pipeline diagram szekció */
.pipeline {
  max-width: 1080px;
  margin: 3rem auto;
  padding: 0;
}
.pipeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--c, #6366f1);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.5px;
}
.pipeline-title span:first-child {
  margin-right: 0.5rem;
}
.pipeline-title span:last-child {
  margin-left: 0.5rem;
  color: #a78bfa;
}
.pipeline-wrap {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}
.pipeline-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 820;
  display: block;
}
@media (max-width: 520px) {
  .pipeline {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }
  .pipeline-title {
    font-size: 0.95rem;
  }
}
