/* =========================================================================
   Garfish Launcher — landing page
   ========================================================================= */

:root {
  --bg: #07080c;
  --bg-2: #0b0d14;
  --surface: #12161f;
  --surface-2: #191e2a;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ecf5;
  --muted: #8b94ac;
  --accent-1: #7c5cff;
  --accent-2: #22d3ee;
  --green: #3ddc97;
  --red: #ff5c7a;
  --grad: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --radius: 18px;
  --font: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 520px; height: 520px; background: var(--accent-1); top: -180px; left: -120px; }
.glow-2 { width: 460px; height: 460px; background: var(--accent-2); top: 10%; right: -160px; }
.glow-3 { width: 520px; height: 520px; background: #4f46e5; bottom: -220px; left: 35%; opacity: 0.14; }

main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 14px; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: 6px;
  padding: 1px 6px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8c0d8;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 12, 0.72);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { border-radius: 10px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.92rem; }
.nav a { color: var(--muted); transition: color 0.18s ease; }
.nav a:hover { color: var(--text); }

/* ----------------------------------------------------------------- hero */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero .lead { font-size: 1.08rem; color: #c2c9db; max-width: 54ch; }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(61, 220, 151, 0.16);
  border: 1px solid rgba(61, 220, 151, 0.5);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ------------------------------------------------------- download karta */

.dl-card {
  background: linear-gradient(180deg, rgba(25, 30, 42, 0.96), rgba(18, 22, 31, 0.96));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.dl-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.dl-head img { border-radius: 14px; }
.dl-head strong { display: block; font-size: 1.12rem; }
.dl-head span { font-size: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  padding: 12px 22px;
  font-size: 0.96rem;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; opacity: 0.9; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(124, 92, 255, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }

.btn-xl {
  width: 100%;
  flex-direction: column;
  gap: 2px;
  padding: 18px 24px;
  font-size: 1.12rem;
  border-radius: 16px;
}
.btn-xl svg { position: absolute; opacity: 0; }
.btn-xl small { font-weight: 500; font-size: 0.78rem; opacity: 0.85; }

.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-small { background: var(--grad); color: #fff; padding: 9px 18px; font-size: 0.9rem; border-radius: 12px; }
.site-header .btn-small:hover { transform: translateY(-1px); }

.dl-alt { margin-top: 18px; }
.dl-alt .muted { font-size: 0.8rem; display: block; margin-bottom: 8px; }
.dl-alt-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-alt-btns .btn { flex: 1; min-width: 92px; }
.dl-alt-btns .btn.is-recommended { border-color: rgba(61, 220, 151, 0.5); color: var(--green); }

/* Odporucane tlacidlo pre platformu, na ktorej browsuje návštevník. */
.btn.is-recommended {
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 0 2px rgba(61, 220, 151, 0.14), 0 14px 34px rgba(61, 220, 151, 0.18);
}
.btn-xl.is-recommended { color: #fff; }
.btn-xl.is-recommended small::after { content: ' · odporúčané'; opacity: 0.9; }

.dl-foot { margin: 16px 0 0; font-size: 0.8rem; }

/* ---------------------------------------------------------- download band */

.dl-band {
  border-block: 1px solid var(--border);
  background: rgba(12, 15, 22, 0.7);
}
.dl-band-inner { max-width: 1180px; margin: 0 auto; padding: 52px 24px; text-align: center; }
.dl-band-inner .eyebrow { margin-bottom: 12px; }
.downloads { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 14px; }
.downloads .btn { min-width: 190px; }

/* -------------------------------------------------------------- sections */

.section { max-width: 1180px; margin: 0 auto; padding: 84px 24px; }
.section > h2 { max-width: 20ch; }

.two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; margin-top: 26px; }
.prose p { color: #c2c9db; }
.prose .note {
  border-left: 2px solid var(--accent-1);
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list strong { color: var(--text); font-weight: 600; }
.fact-list span { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(124, 92, 255, 0.45); background: var(--surface-2); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.card-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.3);
}
.card-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------- install cards */

.install-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

.mini-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: mini;
  display: grid;
  gap: 12px;
}
.mini-steps li {
  position: relative;
  padding-left: 34px;
  font-size: 0.92rem;
  color: var(--muted);
  counter-increment: mini;
}
.mini-steps li::before {
  content: counter(mini);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.32);
}
.mini-steps strong { color: var(--text); font-weight: 650; }

/* ------------------------------------------------------------ screenshots */

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 30px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.shots figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 10px; text-align: center; }

/* ----------------------------------------------------------------- steps */

.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.step-n {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--grad);
  color: #fff;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ------------------------------------------------------------------- faq */

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent-2); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 12px 0 0; font-size: 0.95rem; }

/* ------------------------------------------------------------------- cta */

.cta {
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 56px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.14), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--border-strong);
  border-radius: 26px;
}
.cta .lead { color: var(--muted); }

/* ---------------------------------------------------------------- footer */

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 60px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; margin-bottom: 14px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; }
  .section { padding: 58px 20px; }
}

@media (max-width: 560px) {
  .downloads .btn { width: 100%; }
  .fact-list li { grid-template-columns: 1fr; gap: 2px; }
}
