/* ════════════════════════════════════════════
   NeuralWeb · ADATBÁZIS KEZELÉS ALOLDAL
   ────────────────────────────────────────────
   Interaktív felületek:
     · HERO      — "rendrakási háló": a te adatbázisod a
                   középpontban, körülötte a jellemző
                   problémák/megoldások, kattintható jelekkel
                   (ugyanaz a minta, mint a SEO/AEO aloldalon)
     · TERVEZŐ   — 5 kérdés, élőben frissülő terv, emailben küldhető
     · BENTO     — kurzort követő fény a csempéken
     · IDŐVONAL  — vízszintes, tapadó görgetéssel, egyedi mozgó ikonokkal

   A szín az oldal --bgnet-c1 / --bgnet-c2 változóiból jön
   (css/page-bg.css), borostyán→kék — a webshop (kék), a weboldal
   (lila) és a SEO (zöld) aloldalaktól elkülönítve, de a főoldal
   palettájából.
   ════════════════════════════════════════════ */

/* ══════════════ HERO ══════════════ */
.db-hero { overflow: visible; padding-bottom: 84px; }
.db-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
}
.db-hero-tx { display: flex; flex-direction: column; align-items: flex-start; }
.db-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin: 16px 0 18px;
}
.db-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  max-width: 46ch;
}
.db-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }

/* ── Oldaltípus-címkék: csak illusztráció ── */
.db-pick { width: 100%; }
.db-pick-lbl {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 10px;
}
.db-pick-row { display: flex; flex-wrap: wrap; gap: 7px; }
.db-pick-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 9px 16px;
  border-radius: 100px;
}
/* Itt nincs egyetlen kiválasztott "példa", mint a webshop
   aloldalon — mindhárom egyenrangú, ezért mindhárom kiemelve
   jelenik meg, és egy halk, egymáshoz képest eltolt lebegéssel
   is jelezzük, hogy nincs köztük rangsor. */
.db-pick-tag.is-on {
  color: #fff;
  background: color-mix(in srgb, var(--bgnet-c1, #F59E0B) 24%, transparent);
  border-color: color-mix(in srgb, var(--bgnet-c2, #38BDF8) 60%, transparent);
  box-shadow: 0 5px 20px -6px var(--bgnet-c1, rgba(139,92,246,0.8));
  animation: dbPickFloat 4.6s ease-in-out infinite;
}
.db-pick-tag.is-on:nth-child(2) { animation-delay: 0.5s; }
.db-pick-tag.is-on:nth-child(3) { animation-delay: 1s; }
@keyframes dbPickFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .db-pick-tag.is-on { animation: none; }
}

/* ── Láthatósági háló — nem eszköz-makett, hanem egy önálló,
   lebegő diagram-panel: a te oldalad a középpontban, körülötte
   a SEO/AEO jelek. Pontokból robban össze (js/seo-page.js). ── */
.db-preview { position: relative; padding: 40px; display: flex; align-items: center; justify-content: center; }
.db-preview::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 122%; height: 122%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 50% 50%,
    color-mix(in srgb, var(--bgnet-c1, #F59E0B) 30%, transparent) 0%,
    color-mix(in srgb, var(--bgnet-c2, #38BDF8) 12%, transparent) 46%,
    transparent 74%);
  filter: blur(70px);
  pointer-events: none;
}

/* Üveg-panel a jelenet körül */
.db-scene {
  position: relative;
  width: 100%;
  max-width: 640px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(140deg,
    color-mix(in srgb, var(--bgnet-c2, #38BDF8) 50%, transparent),
    rgba(255,255,255,0.06) 42%,
    rgba(255,255,255,0.03) 62%,
    color-mix(in srgb, var(--bgnet-c1, #F59E0B) 35%, transparent));
  box-shadow: 0 34px 80px rgba(0,0,0,0.55), 0 0 110px -20px var(--bgnet-c1, #F59E0B);
  animation: dbFloat 9s ease-in-out infinite;
}
@keyframes dbFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.db-scene-glare {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: 22px;
  background: linear-gradient(122deg, rgba(255,255,255,0.06) 0%, transparent 26%, transparent 74%, rgba(255,255,255,0.015) 100%);
}
.db-scene-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px 0;
  background: #070a12;
  border-radius: 21px 21px 0 0;
}
.db-scene-label { font-size: 0.74rem; font-weight: 600; color: rgba(255,255,255,0.4); }

/* Kapcsoló: Rendezetlen ⇄ Rendezett */
.db-switch {
  position: relative;
  display: inline-flex; gap: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 3px;
  animation: dbSwitchAttn 1.5s ease-in-out infinite;
}
.db-switch.is-touched { animation: none; }
@keyframes dbSwitchAttn {
  0%, 100%  { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bgnet-c2, #38BDF8) 70%, transparent); transform: scale(1); }
  35%       { box-shadow: 0 0 0 12px color-mix(in srgb, var(--bgnet-c2, #38BDF8) 0%, transparent); transform: scale(1.045); }
}
.db-switch-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem; font-weight: 650;
  color: rgba(255,255,255,0.5);
  background: transparent;
  border: none;
  padding: 6px 13px; border-radius: 100px;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.db-switch-btn.is-on {
  color: #05070d;
  background: linear-gradient(120deg, var(--bgnet-c2, #38BDF8), var(--bgnet-c1, #F59E0B));
  box-shadow: 0 4px 14px -4px var(--bgnet-c1, #F59E0B);
}

/* Statisztika-sor a kapcsoló állapota szerint */
.db-stats {
  position: relative; z-index: 1;
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 18px 0;
  background: #070a12;
}
.db-stat {
  font-size: 0.72rem; font-weight: 650;
  padding: 5px 11px; border-radius: 100px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.db-stat--bad { color: #fca5a5; background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.28); }
.db-scene.is-clean .db-stat--bad { color: #6ee7b7; background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.3); }

.db-scene-body {
  position: relative; z-index: 1;
  background: #070a12;
  min-height: 258px;
}
.db-table-wrap {
  position: absolute; inset: 14px 18px 18px;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.db-table-wrap.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.db-table { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
.db-table th {
  text-align: left; font-weight: 700; color: rgba(255,255,255,0.4);
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0 10px 8px;
}
.db-table td { padding: 8px 10px; color: rgba(255,255,255,0.82); border-top: 1px solid rgba(255,255,255,0.06); }
.db-row--dup td, .db-row--dup2 td { color: #fca5a5; }
.db-row--dup, .db-row--dup2 { position: relative; }
.db-cell--empty { color: rgba(255,255,255,0.25) !important; font-style: italic; }
.db-flag {
  font-size: 0.6rem; font-weight: 700; color: #fca5a5;
  white-space: nowrap; text-align: right;
}
.db-flag--ok { color: #34D399; font-size: 0.78rem; text-align: center; }
.db-row--ok td { color: #fff; }

.db-scene-fine {
  position: relative; z-index: 1;
  font-size: 0.76rem; color: rgba(255,255,255,0.34);
  text-align: center; padding: 0 20px 20px;
  background: #070a12;
  border-radius: 0 0 21px 21px;
}

/* ══════════════ TERVEZŐ ══════════════ */
.db-conf { position: relative; z-index: 1; padding: 88px 0; }
.db-conf-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.db-conf-qs { display: flex; flex-direction: column; gap: 30px; }
.db-q-t {
  display: flex; align-items: center; gap: 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem; font-weight: 700; color: #fff;
  margin-bottom: 4px;
}
.db-q-badge {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  font-size: 0.72rem; font-weight: 800;
  color: var(--bgnet-c2, #38BDF8);
  background: color-mix(in srgb, var(--bgnet-c1, #F59E0B) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--bgnet-c2, #38BDF8) 40%, transparent);
}
.db-q-hint { font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.32); margin-left: 2px; }
.db-q-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 14px; }
.db-q-opts--multi { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.db-q-opts--chips { display: flex; flex-wrap: wrap; gap: 9px; }
.db-opt {
  position: relative;
  display: flex; align-items: flex-start; gap: 11px;
  text-align: left;
  padding: 14px 15px;
  border-radius: 14px;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.db-opt:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.24); }
.db-opt.is-on {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--bgnet-c2, #38BDF8) 32%, transparent),
    color-mix(in srgb, var(--bgnet-c1, #F59E0B) 34%, transparent));
  border-color: var(--bgnet-c2, #38BDF8);
  box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--bgnet-c1, #F59E0B) 65%, transparent), 0 0 0 1px color-mix(in srgb, var(--bgnet-c2, #38BDF8) 40%, transparent) inset;
}
.db-opt-mark {
  position: relative;
  flex-shrink: 0; margin-top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.32);
  transition: border-color 0.25s, background 0.25s;
}
.db-q-opts[data-mode="multi"] .db-opt-mark { border-radius: 6px; }
.db-opt-mark::after {
  content: '';
  position: absolute; left: 5px; top: 2px;
  width: 5px; height: 9px;
  border-right: 2px solid #05070d;
  border-bottom: 2px solid #05070d;
  transform: rotate(40deg) scale(0.5);
  opacity: 0;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.3,1.6,0.5,1);
}
.db-opt.is-on .db-opt-mark {
  border-color: var(--bgnet-c2, #38BDF8);
  background: linear-gradient(135deg, var(--bgnet-c2, #38BDF8), var(--bgnet-c1, #F59E0B));
  box-shadow: 0 0 12px color-mix(in srgb, var(--bgnet-c2, #38BDF8) 65%, transparent);
}
.db-opt.is-on .db-opt-mark::after { opacity: 1; transform: rotate(40deg) scale(1); border-color: #fff; }
.db-opt-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.db-opt-t { font-family: 'Outfit', sans-serif; font-size: 0.92rem; font-weight: 650; color: #fff; }
.db-opt-s { font-size: 0.76rem; color: rgba(255,255,255,0.42); line-height: 1.45; }
.db-opt.is-on .db-opt-s { color: rgba(255,255,255,0.72); }
.db-opt--chip {
  padding: 9px 16px 9px 12px; border-radius: 100px;
  flex-direction: row; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 600;
}
.db-opt--chip .db-opt-mark { width: 16px; height: 16px; }
.db-opt--chip .db-opt-mark::after { left: 4px; top: 1.5px; width: 4.5px; height: 8px; }

/* ── Élő eredmény ── */
.db-out {
  position: sticky;
  top: 106px;
  border-radius: 20px;
  padding: 22px;
  background: rgba(10,13,22,0.72);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 26px 60px rgba(0,0,0,0.5), 0 0 70px -28px var(--bgnet-c1, rgba(139,92,246,0.7));
  display: flex; flex-direction: column;
}
.db-out-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.db-out-lbl { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.db-out-pill {
  font-size: 0.7rem; font-weight: 700; color: #fff;
  background: color-mix(in srgb, var(--bgnet-c1, #F59E0B) 26%, transparent);
  border: 1px solid color-mix(in srgb, var(--bgnet-c2, #38BDF8) 50%, transparent);
  padding: 5px 12px; border-radius: 100px;
  white-space: nowrap;
}
.db-out-chips {
  display: flex; flex-wrap: wrap; gap: 7px;
  min-height: 34px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.db-out-empty { font-size: 0.82rem; color: rgba(255,255,255,0.32); font-style: italic; }
.db-out-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 600; color: #fff;
  background: color-mix(in srgb, var(--bgnet-c1, #F59E0B) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--bgnet-c2, #38BDF8) 48%, transparent);
  padding: 6px 12px; border-radius: 100px;
  animation: dbSlide 0.36s cubic-bezier(0.16,1,0.3,1) backwards;
}
@keyframes dbSlide { from { opacity: 0; transform: translateY(-4px) scale(0.9); } to { opacity: 1; transform: none; } }
.db-out-chip b { font-weight: 800; opacity: 0.65; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.03em; }

.db-out-form { display: flex; flex-direction: column; gap: 10px; }
.db-out-fields { display: flex; flex-direction: column; gap: 9px; }
.db-out-input {
  width: 100%;
  font: inherit; font-size: 0.86rem; color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 11px;
  padding: 11px 14px;
  transition: border-color 0.25s, background 0.25s;
}
.db-out-input::placeholder { color: rgba(255,255,255,0.34); }
.db-out-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--bgnet-c2, #38BDF8) 60%, transparent);
  background: rgba(255,255,255,0.06);
}
.db-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.db-out-cta { justify-content: center; width: 100%; border: none; cursor: pointer; }
.db-out-fine { font-size: 0.72rem; color: rgba(255,255,255,0.32); text-align: center; margin-top: 2px; line-height: 1.5; }

/* ══════════════ BENTO ══════════════ */
.db-bento-sec { position: relative; z-index: 1; padding: 88px 0; }
.db-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}
.db-tile {
  position: relative;
  padding: 23px 21px 24px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.db-tile::before {
  content: '';
  position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tc, var(--bgnet-c2, #38BDF8)) 65%, transparent), transparent);
  opacity: 0.7;
}
.db-tile:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); box-shadow: 0 18px 40px -20px rgba(0,0,0,0.6); }
.db-tile::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--tc, var(--bgnet-c2, #38BDF8)) 18%, transparent), transparent 46%);
}
.db-tile:hover::after { opacity: 1; }
.db-tile--wide { grid-column: span 2; }
.db-tile--tall { grid-row: span 2; }
.db-tile-ico {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 15px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tc, var(--bgnet-c1, #F59E0B)) 30%, transparent), color-mix(in srgb, var(--tc, var(--bgnet-c1, #F59E0B)) 10%, transparent));
  border: 1px solid color-mix(in srgb, var(--tc, var(--bgnet-c2, #38BDF8)) 42%, transparent);
  color: var(--tc, var(--bgnet-c2, #38BDF8));
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--tc, var(--bgnet-c1, #F59E0B)) 70%, transparent);
}
.db-tile--c1 { --tc: #F59E0B; }
.db-tile--c2 { --tc: #34D399; }
.db-tile--c3 { --tc: #0264DF; }
.db-tile--c4 { --tc: #8B5CF6; }
.db-tile--c5 { --tc: #EC4899; }
.db-tile--c6 { --tc: #38BDF8; }
.db-tile-t { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 650; color: #fff; margin-bottom: 7px; letter-spacing: -0.01em; }
.db-tile-s { font-size: 0.87rem; line-height: 1.62; color: rgba(255,255,255,0.46); font-weight: 300; }
.db-tile-viz { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 20px; }
.db-tv-row { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.db-tv-row i { display: block; height: 100%; border-radius: 4px; width: var(--w, 40%); background: rgba(255,255,255,0.16); }
.db-tv-row--on i { background: linear-gradient(90deg, var(--bgnet-c1, #F59E0B), var(--bgnet-c2, #38BDF8)); }
.db-tile--tall { display: flex; flex-direction: column; }

/* ══════════════ IDŐVONAL ══════════════ */
.db-flow-sec { position: relative; z-index: 1; padding: 24px 0 88px; }
.db-flow {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 30px var(--gutter) 18px 0;
  scrollbar-width: none;
}
.db-flow::-webkit-scrollbar { display: none; }
.db-flow-line {
  position: absolute;
  top: 52px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in srgb, var(--bgnet-c2, #38BDF8) 45%, transparent) 12%,
    color-mix(in srgb, var(--bgnet-c2, #38BDF8) 45%, transparent) 88%,
    transparent);
}
.db-fcard {
  position: relative;
  scroll-snap-align: start;
  padding: 20px 19px 21px;
  border-radius: 16px;
  background: rgba(10,13,22,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.db-fcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--fc, var(--bgnet-c2, #38BDF8)) 40%, transparent); }
.db-fcard-ico {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 13px; margin-bottom: 14px;
  background: #0a0d14;
  border: 1px solid color-mix(in srgb, var(--fc, var(--bgnet-c2, #38BDF8)) 42%, transparent);
  color: var(--fc, var(--bgnet-c2, #38BDF8));
  box-shadow: 0 0 22px -8px color-mix(in srgb, var(--fc, var(--bgnet-c1, #F59E0B)) 85%, transparent);
}
.db-fcard--c1 { --fc: #F59E0B; }
.db-fcard--c2 { --fc: #EC4899; }
.db-fcard--c3 { --fc: #34D399; }
.db-fcard--c4 { --fc: #38BDF8; }
.db-fcard--c5 { --fc: #8B5CF6; }
.db-fcard-t { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 650; color: #fff; margin-bottom: 6px; }
.db-fcard-s { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.45); font-weight: 300; }

/* Egyedi, mozgó ikonok lépésenként */
.db-fcard-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.db-fcard-dots i { width: 2.4px; height: 2.4px; border-radius: 50%; background: currentColor; animation: dbDotBlink 1.4s ease-in-out infinite; }
.db-fcard-dots i:nth-child(2) { animation-delay: 0.18s; }
.db-fcard-dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes dbDotBlink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.db-fcard-ico--pencil svg { animation: dbPencilWag 2.6s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes dbPencilWag {
  0%, 100% { transform: rotate(0deg) translate(0,0); }
  50%      { transform: rotate(-6deg) translate(-0.5px, 0.5px); }
}

.db-fcard-cursor {
  position: absolute; top: 9px; right: 8px;
  width: 2px; height: 9px;
  background: currentColor;
  animation: dbCursorBlink 1s step-end infinite;
}
@keyframes dbCursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.db-fcard-ico--upload svg { animation: dbUpload 1.8s ease-in-out infinite; }
@keyframes dbUpload {
  0%   { transform: translateY(3px); opacity: 0.5; }
  50%  { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(3px); opacity: 0.5; }
}

.db-fcard-ico--go { animation: dbGoPulse 2.2s ease-in-out infinite; }
@keyframes dbGoPulse {
  0%, 100% { box-shadow: 0 0 22px -8px color-mix(in srgb, var(--fc, #F59E0B) 85%, transparent); }
  50%      { box-shadow: 0 0 30px -4px color-mix(in srgb, var(--fc, #F59E0B) 95%, transparent); }
}

/* ══════════════ EGYEDI IGÉNYEK ══════════════ */
.db-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 34px; }
.db-chip {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 10px 17px;
  border-radius: 100px;
}
.db-note {
  display: flex; align-items: flex-start; gap: 13px;
  max-width: 62ch; margin: 0 auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}
.db-note svg { flex-shrink: 0; margin-top: 2px; color: var(--bgnet-c2, #38BDF8); }
.db-note p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.58); font-weight: 300; }

/* ══════════════ RESZPONZÍV ══════════════ */
@media (max-width: 1100px) {
  .db-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .db-hero-tx { align-items: center; text-align: center; }
  .db-lead { max-width: 58ch; }
  .db-cta-row, .db-pick-row { justify-content: center; }
  .db-preview { max-width: 520px; margin: 0 auto; width: 100%; }
  .db-conf-box { grid-template-columns: 1fr; }
  .db-out { position: relative; top: 0; }
  .db-bento { grid-template-columns: repeat(2, 1fr); }
  .db-tile--wide { grid-column: span 2; }
  .db-tile--tall { grid-row: span 1; }
}
@media (max-width: 640px) {
  .db-hero { padding-bottom: 56px; }
  .db-conf, .db-bento-sec { padding: 56px 0; }
  .db-flow-sec { padding: 8px 0 56px; }
  .db-bento { grid-template-columns: 1fr; }
  .db-tile--wide { grid-column: span 1; }
  .db-q-opts, .db-q-opts--multi { grid-template-columns: 1fr; }
  .db-flow { grid-auto-columns: 78%; }
  .db-preview { padding: 16px; }
  .db-table { font-size: 0.68rem; }
  .db-table th, .db-table td { padding: 6px 6px; }
  .db-flag { font-size: 0.62rem; }  /* nem rejtjük el, csak kisebb */
}

@media (prefers-reduced-motion: reduce) {
  .db-scene, .db-switch, .db-out-chip, .db-fcard-dots i, .db-fcard-ico--pencil svg, .db-fcard-cursor, .db-fcard-ico--upload svg, .db-fcard-ico--go { animation: none !important; }
  .db-table-wrap { transition: none !important; }
  .db-tile:hover, .db-fcard:hover, .db-opt:hover { transform: none; }
}

/* ── Kis telefon (≤430px: iPhone SE/13 mini, sok Android) ──
   A makett belseje rem-ben méretezett, ezért a keret zsugorodásával
   NEM kicsinyedik vele — 360-390px-en összezsúfolódna. A zoom az
   egyetlen olyan tulajdonság, ami a tartalmat ÉS a helyfoglalását
   együtt skálázza, így nem kell magasságot kézzel kompenzálni.
   Ahol nem támogatott, ott egyszerűen a mai viselkedés marad. */
@media (max-width: 430px) {
  .db-preview { zoom: 0.86; }
  .db-hero { padding-bottom: 44px; }
  .db-grid { grid-template-columns: 1fr; }
  .db-flow { grid-auto-columns: 86%; }
}
