/* JutWork s.r.o. — stylesheet (Terminal/CLI, CZ/EN) */

:root {
  --jw-yellow: #FFD60A;
  --jw-yellow-2: #FFE96B;
  --jw-yellow-dim: #C9A800;
  --jw-yellow-glow: rgba(255, 214, 10, 0.4);
  --jw-bg: #111111;
  --jw-bg-2: #161616;
  --jw-bg-3: #1c1c1c;
  --jw-border: #2a2a2a;
  --jw-border-strong: #3a3a3a;
  --jw-text: #FFD60A;
  --jw-text-dim: rgba(255, 214, 10, 0.62);
  --jw-text-mute: rgba(255, 214, 10, 0.38);
  --jw-green: #13A10E;
}

@keyframes jw-blink { 50% { opacity: 0; } }
@keyframes jw-fade-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes jw-glitch {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 1px); }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.jw-root {
  background: var(--jw-bg);
  color: var(--jw-text);
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ─── Background layers ─── */
.jw-bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,214,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,214,10,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}
.jw-bg-scan {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    to bottom, transparent 0, transparent 2px,
    rgba(255,214,10,0.022) 2px, rgba(255,214,10,0.022) 3px);
}
.jw-bg-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.5) 100%);
}
.jw-root > * { position: relative; z-index: 2; }

/* ─── NAV ─── */
.jw-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(17,17,17,0.78);
  border-bottom: 1px solid var(--jw-border);
}
.jw-nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 32px;
}
.jw-logo {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; font-size: 16px;
  color: var(--jw-yellow); text-decoration: none;
}
.jw-logo-bracket { color: var(--jw-text-mute); font-weight: 400; }
.jw-logo-cursor { animation: jw-blink 1s steps(1) infinite; margin-left: 1px; }

.jw-nav-links {
  display: flex; gap: 26px; margin-left: auto;
  align-items: center;
  font-size: 13px;
}
.jw-nav-links a {
  color: var(--jw-text-dim); text-decoration: none;
  transition: color .2s, text-shadow .2s;
}
.jw-nav-links a:hover {
  color: var(--jw-yellow);
  text-shadow: 0 0 8px var(--jw-yellow-glow);
}
.jw-nav-cta {
  color: var(--jw-yellow) !important;
  border: 1px solid var(--jw-border-strong);
  padding: 6px 12px; border-radius: 4px;
}
.jw-nav-cta:hover {
  background: var(--jw-yellow); color: var(--jw-bg) !important;
  text-shadow: none !important;
}
.jw-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--jw-green); box-shadow: 0 0 8px var(--jw-green);
  animation: jw-blink 2s steps(1) infinite;
  display: inline-block;
}

/* ─── HERO ─── */
.jw-hero {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 32px 80px;
}
.jw-hero-meta {
  display: flex; gap: 24px;
  font-size: 11px; color: var(--jw-text-mute);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.jw-h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  color: var(--jw-yellow);
}
.jw-h1-line {
  display: block;
  animation: jw-fade-up .8s cubic-bezier(.2,.7,.3,1) both;
}
.jw-h1-line:nth-child(2) { animation-delay: .12s; }
.jw-h1-line:nth-child(3) { animation-delay: .24s; }

.jw-blink { animation: jw-blink 1s steps(1) infinite; }

.jw-hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  max-width: 640px;
  color: var(--jw-text-dim);
  margin: 0 0 40px;
  animation: jw-fade-up .8s .36s cubic-bezier(.2,.7,.3,1) both;
}
.jw-hero-sub strong { color: var(--jw-yellow); font-weight: 500; }

.jw-hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: jw-fade-up .8s .48s cubic-bezier(.2,.7,.3,1) both;
}

.jw-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all .18s ease;
  cursor: pointer;
  border: none;
}
.jw-btn-sm { padding: 10px 16px; font-size: 13px; }
.jw-btn-primary {
  background: var(--jw-yellow);
  color: var(--jw-bg);
  box-shadow: 0 0 0 1px var(--jw-yellow), 0 0 24px var(--jw-yellow-glow);
}
.jw-btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--jw-yellow-dim), 0 0 32px var(--jw-yellow-glow);
}
.jw-btn-ghost {
  background: transparent;
  color: var(--jw-yellow);
  border: 1px solid var(--jw-border-strong);
}
.jw-btn-ghost:hover {
  border-color: var(--jw-yellow);
  background: rgba(255,214,10,0.06);
}
.jw-btn-arrow { transition: transform .2s; }
.jw-btn:hover .jw-btn-arrow { transform: translateX(4px); }

/* ─── Terminal ─── */
.jw-hero-term {
  margin-top: 64px;
  animation: jw-fade-up .8s .6s cubic-bezier(.2,.7,.3,1) both;
}
.jw-term {
  background: #0a0a0a;
  border: 1px solid var(--jw-yellow);
  border-radius: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,214,10,0.15) inset,
    0 0 0 4px #0a0a0a,
    0 0 0 5px var(--jw-border),
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(255,214,10,0.08);
  position: relative;
}
.jw-term::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, transparent 0 2px,
    rgba(255,214,10,0.04) 2px 3px);
  z-index: 2;
}

.jw-term-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
  background: linear-gradient(to bottom, #1f1f1f, #161616);
  color: var(--jw-text-dim);
  border-bottom: 1px solid #000;
  box-shadow: 0 1px 0 var(--jw-border) inset;
  height: 30px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  position: relative;
  z-index: 3;
}
.jw-term-controls {
  display: flex; gap: 4px;
  align-items: center;
}
.jw-term-ctl {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--jw-text-mute);
  border-radius: 3px;
  cursor: default;
  user-select: none;
  transition: background .15s, color .15s;
  line-height: 1;
}
.jw-term-ctl:hover { background: rgba(255,214,10,0.1); color: var(--jw-yellow); }
.jw-term-ctl-cls:hover { background: #c0392b; color: #fff; }

.jw-term-title {
  display: inline-flex; align-items: baseline; gap: 0;
  justify-self: center;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.jw-term-title-user { color: var(--jw-green); }
.jw-term-title-sep { color: var(--jw-text-mute); margin: 0 1px; }
.jw-term-title-path { color: var(--jw-yellow); }
.jw-term-title-bin {
  color: var(--jw-text-mute);
  margin-left: 8px;
  font-style: normal;
}
.jw-term-spacer { width: 60px; }

.jw-term-body {
  padding: 24px 28px;
  font-size: 14px; line-height: 1.7;
  min-height: 280px;
  position: relative;
  z-index: 3;
}
.jw-tline { display: flex; gap: 8px; flex-wrap: wrap; }
.jw-tprompt { color: var(--jw-green); }
.jw-tcolon { color: var(--jw-yellow); opacity: 0.7; }
.jw-tcmd { color: var(--jw-yellow); }
.jw-tcursor { color: var(--jw-yellow); }
.jw-tout {
  color: var(--jw-text-dim);
  white-space: pre-wrap;
  font-variant-ligatures: none;
}

.jw-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 214, 10, 0.12), transparent);
  margin: 0;
}

/* ─── SECTIONS ─── */
.jw-section {
  max-width: 1280px; margin: 0 auto;
  padding: 120px 32px;
}
.jw-section-alt {
  background: linear-gradient(to bottom, transparent, rgba(255,214,10,0.025), transparent);
}
.jw-section-head { margin-bottom: 64px; max-width: 760px; }
.jw-section-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--jw-yellow);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  opacity: 0.75;
}
.jw-h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 20px;
  color: var(--jw-yellow);
}
.jw-h2-xl { font-size: clamp(56px, 8vw, 120px); line-height: 0.95; }
.jw-section-sub {
  font-size: 18px;
  color: var(--jw-text-dim);
  line-height: 1.6;
  margin: 0;
}

.jw-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.3,1);
}
.jw-revealed { opacity: 1; transform: translateY(0); }

/* ─── SERVICES ─── */
.jw-svc-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--jw-border);
}
.jw-svc {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--jw-border);
  transition: background .25s;
}
.jw-svc:hover {
  background: linear-gradient(90deg, rgba(255,214,10,0.045), transparent 70%);
}
.jw-svc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--jw-text-mute);
  padding-top: 6px;
}
.jw-svc-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.jw-svc-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--jw-yellow);
  background: rgba(255,214,10,0.08);
  padding: 4px 8px; border-radius: 3px;
}
.jw-svc-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--jw-border), transparent);
}
.jw-svc-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--jw-green);
  letter-spacing: 0.08em;
}
.jw-svc-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--jw-yellow);
}
.jw-svc-desc {
  font-size: 17px;
  color: var(--jw-text-dim);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 20px;
}
.jw-svc-bullets {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
  max-width: 720px;
}
.jw-svc-bullets li {
  font-size: 14px;
  color: var(--jw-text-dim);
  display: flex; gap: 10px;
  padding: 4px 0;
}
.jw-bullet { color: var(--jw-yellow); font-weight: 700; flex-shrink: 0; }
.jw-bullet-sq { font-size: 9px; line-height: 1.7; color: var(--jw-yellow); }

/* ─── Language switch ─── */
.jw-lang {
  display: inline-flex; align-items: center; gap: 0;
  margin: 0 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.jw-lang-btn {
  background: transparent; border: none;
  color: var(--jw-text-mute);
  font-family: inherit; font-size: inherit; letter-spacing: inherit;
  padding: 4px 6px;
  cursor: pointer;
  transition: color .15s, text-shadow .15s;
}
.jw-lang-btn:hover { color: var(--jw-yellow); }
.jw-lang-active {
  color: var(--jw-yellow);
  text-shadow: 0 0 8px var(--jw-yellow-glow);
  font-weight: 700;
}
.jw-lang-sep {
  color: var(--jw-text-mute);
  opacity: 0.5;
  user-select: none;
}

.jw-svc-stack {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.jw-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  padding: 5px 10px;
  border: 1px solid var(--jw-border-strong);
  border-radius: 3px;
  color: var(--jw-text-dim);
  transition: all .18s;
}
.jw-svc:hover .jw-chip {
  border-color: var(--jw-yellow);
  color: var(--jw-yellow);
}

/* ─── PROCESS ─── */
.jw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.jw-step {
  background: rgba(255,214,10,0.025);
  border: 1px solid var(--jw-border);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  transition: all .22s;
}
.jw-step:hover {
  border-color: var(--jw-yellow);
  background: rgba(255,214,10,0.05);
  transform: translateY(-4px);
}
.jw-step-top {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 20px;
}
.jw-step-k {
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--jw-yellow);
}
.jw-step-t {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--jw-text-mute);
}
.jw-step-n {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--jw-yellow);
  letter-spacing: -0.01em;
}
.jw-step-d {
  font-size: 14px;
  color: var(--jw-text-dim);
  line-height: 1.55;
  margin: 0;
}
.jw-step-arrow {
  position: absolute;
  top: 50%; right: -18px;
  transform: translateY(-50%);
  color: var(--jw-yellow);
  font-size: 18px;
  z-index: 2;
}

/* ─── ABOUT ─── */
.jw-about {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.jw-about-p {
  font-size: 21px;
  line-height: 1.55;
  color: var(--jw-yellow);
  margin: 0 0 32px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.jw-about-list {
  list-style: none; padding: 0; margin: 0;
}
.jw-about-list li {
  font-size: 16px;
  color: var(--jw-text-dim);
  padding: 12px 0;
  border-bottom: 1px dashed var(--jw-border);
  display: flex; gap: 12px;
}
.jw-about-list li:last-child { border-bottom: none; }

/* ─── FAQ ─── */
.jw-faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--jw-border);
}
.jw-faq {
  border-bottom: 1px solid var(--jw-border);
  transition: background .2s;
}
.jw-faq:hover { background: rgba(255,214,10,0.025); }
.jw-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex; gap: 14px; align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--jw-yellow);
  letter-spacing: -0.01em;
}
.jw-faq-mark {
  font-family: "JetBrains Mono", monospace;
  color: var(--jw-yellow);
  font-size: 14px;
  flex-shrink: 0;
  padding-top: 4px;
}
.jw-faq-qt { flex: 1; }
.jw-faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.7,.3,1);
}
.jw-faq-open .jw-faq-a-wrap { grid-template-rows: 1fr; }
.jw-faq-a {
  overflow: hidden;
  font-size: 16px;
  color: var(--jw-text-dim);
  line-height: 1.65;
  margin: 0;
  padding: 0 0 0 32px;
  max-width: 820px;
}
.jw-faq-open .jw-faq-a { padding-bottom: 28px; }

/* ─── CONTACT ─── */
.jw-contact {
  border-top: 1px solid var(--jw-border);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,214,10,0.1), transparent 60%),
    linear-gradient(to bottom, #0c0c0c, #111);
  padding: 140px 32px;
}
.jw-contact-inner {
  max-width: 1080px; margin: 0 auto;
}
.jw-contact-sub {
  font-size: 19px;
  color: var(--jw-text-dim);
  line-height: 1.6;
  max-width: 600px;
  margin: 24px 0 56px;
}

.jw-mail {
  display: flex; align-items: baseline;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 600;
  color: var(--jw-yellow);
  text-decoration: none;
  padding: 24px 16px;
  border-top: 1px solid var(--jw-yellow);
  border-bottom: 1px solid var(--jw-yellow);
  width: 100%;
  max-width: 800px;
  transition: padding-left .25s, background .25s;
  position: relative;
}
.jw-mail:hover {
  padding-left: 32px;
  background: rgba(255,214,10,0.06);
}
.jw-mail-prompt { color: var(--jw-green); flex-shrink: 0; }
.jw-mail-addr { flex: 1; }
.jw-mail-arrow {
  margin-left: auto;
  font-size: 32px;
  transition: transform .25s;
}
.jw-mail:hover .jw-mail-arrow { transform: translate(8px, -4px); }

.jw-contact-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px;
}

.jw-contact-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--jw-border);
  padding-top: 32px;
}
.jw-contact-meta > div {
  display: flex; flex-direction: column; gap: 6px;
}
.jw-meta-k {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--jw-text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.jw-meta-v {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--jw-yellow);
}

/* ─── FOOTER ─── */
.jw-foot {
  border-top: 1px solid var(--jw-border);
  background: #0c0c0c;
}
.jw-foot-top {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
}
.jw-foot-brand .jw-logo-foot {
  font-size: 18px;
  margin-bottom: 16px;
  display: inline-flex;
}
.jw-foot-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--jw-text-mute);
  margin: 0;
  line-height: 1.5;
  max-width: 360px;
}
.jw-foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.jw-foot-cols > div { display: flex; flex-direction: column; gap: 10px; }
.jw-foot-h {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--jw-text-mute);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.jw-foot-cols a {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--jw-text-dim);
  text-decoration: none;
  transition: color .18s;
}
.jw-foot-cols a:hover { color: var(--jw-yellow); }

.jw-foot-legal {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 32px;
  border-top: 1px dashed var(--jw-border);
  display: flex; flex-direction: column; gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--jw-text-dim);
}
.jw-foot-legal strong {
  color: var(--jw-yellow);
  font-weight: 700;
}

.jw-foot-bot {
  max-width: 1280px; margin: 0 auto;
  padding: 18px 32px 28px;
  border-top: 1px solid var(--jw-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--jw-text-mute);
  flex-wrap: wrap;
  letter-spacing: 0.05em;
}
.jw-foot-bot-c { display: flex; align-items: center; gap: 8px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .jw-svc-bullets { grid-template-columns: 1fr; }
  .jw-foot-top { grid-template-columns: 1fr; gap: 40px; }
  .jw-steps { grid-template-columns: 1fr 1fr; }
  .jw-step-arrow { display: none; }
  .jw-about { grid-template-columns: 1fr; gap: 32px; }
  .jw-contact-meta { grid-template-columns: 1fr; }
  .jw-term-title-bin { display: none; }
}
@media (max-width: 700px) {
  .jw-nav-links a:not(.jw-nav-cta) { display: none; }
  .jw-svc { grid-template-columns: 1fr; gap: 12px; }
  .jw-steps { grid-template-columns: 1fr; }
  .jw-foot-cols { grid-template-columns: 1fr 1fr; }
  .jw-foot-bot { justify-content: flex-start; }
  .jw-hero, .jw-section, .jw-contact { padding-left: 20px; padding-right: 20px; }
  .jw-foot-top, .jw-foot-bot, .jw-foot-legal { padding-left: 20px; padding-right: 20px; }
  .jw-term-body { padding: 16px; font-size: 12px; }
}
