/* HitForge – "építés alatt" oldal. Színek: design/color-palette.png */
:root {
  --bg: #0F1115;
  --surface-dark: #1A1F26;
  --surface: #2A3038;
  --accent: #FF7A3D;
  --accent-light: #FFA56B;
  --blue: #3B4756;
  --blue-muted: #5B6B7C;
  --warm: #C9B8A7;
  --earth: #B87F5B;
  --text: #F3F4F6;
  --text-2: #A1A7B0;
  --text-3: #6B7280;
  --black: #08090B;
  --success: #22C55E;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }

.container { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.accent { color: var(--accent); }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- Fejléc ---------- */
.site-header { border-bottom: 1px solid var(--surface-dark); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 0.04em; white-space: nowrap; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__hit { color: var(--accent); }
.logo--small { font-size: 1.05rem; }

.nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.nav__link { color: var(--text-2); font-weight: 600; }
.nav__link.is-active { color: var(--text); box-shadow: 0 2px 0 var(--accent); padding-bottom: 4px; }
.nav__wip { width: 96px; height: 12px; border-radius: 6px; border: 1.5px dashed var(--blue-muted); }
.nav__wip--short { width: 72px; }

/* ---------- Gombok, címkék ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--bg); font-weight: 800; font-size: 1.05rem; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--bg); transform: translateY(-1px); }
.btn--small { padding: 8px 16px; font-size: .95rem; }
.btn--ghost {
  background: transparent; color: var(--text-3); border: 2px dashed var(--blue-muted); cursor: not-allowed; font-weight: 600;
}
.btn--ghost:hover { background: transparent; border-color: var(--blue-muted); color: var(--text-3); transform: none; }

.tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: var(--surface); color: var(--warm);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.tag--outline { background: transparent; border: 1.5px dashed var(--earth); color: var(--earth); }

.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 6px 14px; border-radius: 999px; background: var(--surface-dark); border: 1px solid var(--surface);
  color: var(--warm); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.lead { margin-top: 20px; color: var(--text-2); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.tagline { margin-top: 36px; color: var(--text-3); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; }

.hero__visual { position: relative; padding: 0 0 0 18%; }
.hero__dwarf { position: absolute; left: -4%; bottom: -9%; width: 62%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); }

/* Félkész "böngészőablak" */
.mock { background: var(--surface-dark); border: 1px solid var(--surface); border-radius: var(--radius); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--surface); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-muted); }
.mock__bar i:first-child { background: var(--accent); }
.mock__bar span { flex: 1; height: 10px; margin-left: 10px; border-radius: 5px; background: var(--blue); }
.mock__body { display: grid; gap: 14px; padding: 22px 22px 30px 34%; }
.mock__image { aspect-ratio: 2 / 1; border-radius: 10px; background: var(--blue); overflow: hidden; }
.mock__image svg { width: 100%; height: 100%; fill: var(--blue-muted); }
.mock__image circle { fill: var(--accent-light); }
.mock__line { height: 12px; border-radius: 6px; background: var(--text-2); }
.mock__line--mid { width: 78%; background: var(--surface); }
.mock__line--short { width: 52%; background: var(--surface); }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.mock__tile { aspect-ratio: 1; border-radius: 10px; background: var(--surface); }
.mock__tile--done { background: var(--accent); }
.mock__tile--todo { background: transparent; border: 2px dashed var(--blue-muted); }

/* ---------- Szekciók ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--alt { background: var(--surface-dark); }
.section__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.section__intro { margin-top: 10px; color: var(--text-2); }

/* Kártyák */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(72px, 9vw, 110px); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); background: var(--surface-dark); border: 1px solid var(--surface);
}
.card p { color: var(--text-2); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent); color: var(--bg); font-size: 1.3rem;
}
.card--half .card__icon { background: var(--surface); color: var(--accent-light); }
.card__state {
  margin-top: auto; align-self: flex-start; padding: 4px 12px; border-radius: 999px;
  border: 1.5px dashed var(--earth); color: var(--earth);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.card__state--done { border: 1.5px solid var(--success); color: var(--success); }

.card--wip { background: transparent; border: 2px dashed var(--blue-muted); align-items: center; text-align: center; padding-top: 0; }
.card--wip h3 { color: var(--text-3); }
.card--wip .card__state { align-self: center; }
.card__dwarf { width: min(100%, 300px); margin-top: -84px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }

/* Csontváz-elemek */
.sk { animation: pulse 1.8s ease-in-out infinite; }
.sk--line { height: 12px; border-radius: 6px; background: var(--surface); }
.sk--w80 { width: 80%; }
.sk--w55 { width: 55%; }

/* ---------- Állapot ---------- */
.build { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.build__dwarf { width: min(100%, 420px); margin-inline: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.build__text > p { margin-top: 14px; color: var(--text-2); max-width: 40em; }

.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { position: relative; padding-left: 34px; color: var(--text-3); }
.steps li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  border: 2px dashed var(--blue-muted);
}
.steps li.is-done { color: var(--text); }
.steps li.is-done::before {
  border: 0; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230F1115' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.steps li.is-doing { color: var(--warm); }
.steps li.is-doing::before { border: 2px solid var(--accent); box-shadow: inset 0 0 0 4px var(--surface-dark), inset 0 0 0 10px var(--accent); animation: pulse 1.6s ease-in-out infinite; }

.progress { margin-top: 28px; height: 14px; border-radius: 7px; background: var(--surface); overflow: hidden; }
.progress__bar { width: 45%; height: 100%; border-radius: 7px; background: var(--accent); }
.progress__note { margin-top: 10px; color: var(--text-3); font-size: .9rem; font-style: italic; }

/* ---------- Kapcsolat ---------- */
.contact {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 4.5vw, 56px); border-radius: calc(var(--radius) + 6px);
  background: var(--surface-dark); border: 1px solid var(--surface); border-top: 4px solid var(--accent);
}
.contact__text > p { margin-top: 14px; color: var(--text-2); max-width: 34em; }
.contact__phone {
  display: inline-block; margin-top: 24px; font-size: clamp(1.8rem, 4.6vw, 2.8rem); font-weight: 900;
  letter-spacing: .01em; white-space: nowrap; color: var(--accent);
}
.contact__list { display: grid; gap: 10px; margin: 28px 0 0; }
.contact__list div { display: flex; gap: 16px; padding-top: 10px; border-top: 1px solid var(--surface); }
.contact__list dt { width: 84px; flex: none; color: var(--text-3); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; padding-top: .2em; }
.contact__list dd { margin: 0; font-weight: 600; }
.contact__list a { color: var(--text); }
.contact__list a:hover { color: var(--accent-light); }
.contact__toolbox { width: 100%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }

/* ---------- Lábléc ---------- */
.site-footer { border-top: 1px solid var(--surface-dark); color: var(--text-3); font-size: .9rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; }
.site-footer a { color: var(--text-2); font-weight: 600; white-space: nowrap; }
.site-footer a:hover { color: var(--accent-light); }

/* ---------- Animációk ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-.6deg); } }
.bob { animation: bob 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.bob--slow { animation-duration: 3.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob, .sk, .status__dot, .steps li.is-doing::before { animation: none; }
}

/* ---------- Kisebb kijelzők ---------- */
@media (max-width: 900px) {
  .hero__grid, .build, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin: 8px auto 40px; width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .card--wip { margin-top: 84px; }
  .build__dwarf { width: min(72%, 320px); }
  .contact__toolbox { max-width: 420px; margin-inline: auto; grid-row: 1; }
}

@media (max-width: 560px) {
  .nav__link, .nav__wip { display: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}
