:root {
  --bg: #0a0f1c;
  --bg-soft: #0f1628;
  --card: rgba(255, 255, 255, 0.06);
  --accent: #6aa9ff;
  --accent-2: #9bc2ff;
  --text: #f3f6ff;
  --muted: #b2bdd3;
  --stroke: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@font-face {
  font-family: "Good Timing";
  src: url("good timing bd.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #1a2240 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, #11172b 0%, transparent 50%),
    linear-gradient(180deg, #0a0f1c 0%, #0f1628 45%, #0a0f1c 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body.intro-lock {
  overflow: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, #1a2450 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, #15213d 0%, transparent 55%),
    linear-gradient(180deg, #0a0f1c 0%, #0f1628 60%, #0a0f1c 100%);
  display: grid;
  place-items: center;
  z-index: 50;
  opacity: 1;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-inner {
  width: min(720px, 88vw);
  display: grid;
  gap: 24px;
  text-align: center;
}

.intro-terminal {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  background: rgba(8, 12, 14, 0.85);
  border: 1px solid rgba(155, 194, 255, 0.2);
  border-radius: 16px;
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow);
}

.intro-terminal-body {
  padding: 12px 14px 14px;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: var(--muted);
}

.intro-terminal-body p {
  margin: 0 0 8px;
}

.intro-terminal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(155, 194, 255, 0.2);
  position: relative;
  border-radius: 16px 16px 0 0;
}

.intro-terminal-dots {
  position: absolute;
  left: 16px;
  display: flex;
  gap: 7px;
}

.intro-terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.intro-terminal-dot.red {
  background: #ef4444;
}

.intro-terminal-dot.yellow {
  background: #facc15;
}

.intro-terminal-dot.green {
  background: #22c55e;
}

.intro-terminal-title {
  font-weight: 600;
}

.intro-line {
  min-height: 1.4em;
  color: #9bc2ff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.intro-line + .intro-line {
  margin-top: 10px;
}

.intro-line::before {
  content: "$ ";
  color: rgba(155, 194, 255, 0.6);
}

.intro-logo {
  font-family: "Good Timing", "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: none;
}

.intro-logo-text {
  display: inline-block;
  min-height: 1.2em;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 12px;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -100px;
  background: #2a4a8c;
}

.orb-2 {
  width: 520px;
  height: 520px;
  bottom: -160px;
  right: -120px;
  background: #375ca8;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 28, 0.7);
  border-bottom: 1px solid var(--stroke);
  z-index: 10;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font-weight: 700;
  font-size: 2.1rem;
}

.logo-text {
  font-family: "Good Timing", "Fraunces", serif;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--stroke);
  background: rgba(10, 15, 28, 0.96);
  backdrop-filter: blur(10px);
}

.nav-mobile a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 1rem;
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-mobile a.is-active {
  color: #0a0f1c;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 10px 20px rgba(106, 169, 255, 0.3);
}

.nav-links a {
  position: relative;
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 70%;
  left: 15%;
}

.nav-links a.is-active {
  color: #0a0f1c;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 10px 20px rgba(106, 169, 255, 0.3);
}

.nav-links a.is-active::after {
  width: 0;
}

.lang-toggle {
  position: relative;
  --lang-width: 74px;
  --lang-height: 32px;
  --lang-pad: 4px;
  --lang-pill-height: calc(var(--lang-height) - (var(--lang-pad) * 2));
  --lang-pill-width: calc(var(--lang-pill-height) + 8px);
  --lang-shift: calc(var(--lang-width) - (var(--lang-pad) * 2) - var(--lang-pill-width));
  width: var(--lang-width);
  height: var(--lang-height);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.lang-track {
  position: absolute;
  inset: var(--lang-pad);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-label {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(155, 194, 255, 0.85);
  transition: color 0.3s ease;
  pointer-events: none;
}

.lang-label-left {
  left: 10px;
}

.lang-label-right {
  right: 10px;
}

.lang-pill {
  position: absolute;
  top: 50%;
  left: var(--lang-pad);
  width: var(--lang-pill-width);
  height: var(--lang-pill-height);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0a0f1c;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(var(--lang-translate-x, 0px), -50%);
  transition: transform 0.35s ease, background 0.35s ease;
}

html[data-lang="cs"] .lang-toggle {
  border-color: rgba(255, 255, 255, 0.65);
}

html[data-lang="en"] .lang-toggle {
  border-color: rgba(106, 169, 255, 0.6);
}

html[data-lang="cs"] .lang-label-left,
html[data-lang="en"] .lang-label-right {
  color: #0a0f1c;
}

html[data-lang="cs"] .lang-label-right,
html[data-lang="en"] .lang-label-left {
  color: rgba(155, 194, 255, 0.85);
}

html[data-lang="en"] .lang-pill {
  --lang-translate-x: var(--lang-shift);
  background: linear-gradient(135deg, #4aa3ff 0%, #8cc8ff 100%);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent-2);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0a0f1c;
  box-shadow: 0 16px 30px rgba(106, 169, 255, 0.35);
}

.btn.ghost {
  border: 1px solid var(--stroke);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.trust-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.metric {
  font-size: 1.6rem;
  font-weight: 600;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.hero-terminal {
  padding: 0;
  background: rgba(8, 12, 18, 0.8);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 340px;
}

.hero-terminal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.hero-terminal-dots {
  position: absolute;
  left: 16px;
  display: flex;
  gap: 8px;
}

.hero-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.hero-terminal-dot.red {
  background: #ef4444;
}

.hero-terminal-dot.yellow {
  background: #facc15;
}

.hero-terminal-dot.green {
  background: #22c55e;
}

.hero-terminal-title {
  font-weight: 600;
}

.hero-terminal-body {
  padding: 18px 20px 20px;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: var(--muted);
  line-height: 1.6;
}

.hero-terminal-line {
  margin: 0 0 12px;
  opacity: 0;
}

.hero-terminal.is-typing .hero-terminal-line,
.hero-terminal.is-ready .hero-terminal-line {
  opacity: 1;
}

.hero-terminal-cursor {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: var(--accent-2);
  opacity: 0;
}

.hero-terminal.is-typing .hero-terminal-cursor {
  opacity: 1;
}

.hero-terminal:hover .hero-terminal-cursor {
  animation: terminalBlink 0.9s steps(1, end) infinite;
}

.hero-card-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-title {
  font-weight: 600;
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.flow-label {
  font-weight: 600;
}

.flow-meta {
  color: var(--muted);
}

.flow-arrow {
  text-align: center;
  color: var(--accent-2);
  font-size: 1.2rem;
}

.panel-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
  max-width: 640px;
  margin: 12px auto 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 180px;
}

.service-intro {
  margin: 0 0 14px;
  color: var(--muted);
}

.service-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.service-list li::marker {
  color: var(--accent-2);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 24px;
}

.pill-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.checklist {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.checklist li {
  color: var(--muted);
}

.checklist li::marker {
  color: var(--accent-2);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px;
  text-align: left;
}

.terminal-step {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.step-num {
  font-size: 1.2rem;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 10px;
  text-align: center;
}

.terminal-step .step-num {
  margin: 0 0 12px;
}

.process-terminal {
  background: rgba(8, 12, 18, 0.8);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
}

.process-terminal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.process-terminal-dots {
  position: absolute;
  left: 12px;
  display: flex;
  gap: 7px;
}

.process-terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.process-terminal-dot.red {
  background: #ef4444;
}

.process-terminal-dot.yellow {
  background: #facc15;
}

.process-terminal-dot.green {
  background: #22c55e;
}

.process-terminal-title {
  font-weight: 600;
}

.process-terminal-body {
  padding: 12px 14px 14px;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: var(--muted);
}

.process-terminal-body p {
  margin: 0 0 8px;
}

.process-terminal-cursor {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  color: var(--accent-2);
  opacity: 0;
}

.terminal-step:hover .process-terminal-cursor {
  animation: terminalBlink 0.9s steps(1, end) infinite;
}

@keyframes terminalBlink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

.stack {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-terminal {
  background: rgba(8, 12, 18, 0.8);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 140px;
}

.tech-terminal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.tech-terminal-dots {
  position: absolute;
  left: 12px;
  display: flex;
  gap: 7px;
}

.tech-terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.tech-terminal-dot.red {
  background: #ef4444;
}

.tech-terminal-dot.yellow {
  background: #facc15;
}

.tech-terminal-dot.green {
  background: #22c55e;
}

.tech-terminal-title {
  font-weight: 600;
}

.tech-terminal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px 14px;
}

.tech-logo {
  width: auto;
  height: auto;
  max-width: 75%;
  max-height: 64px;
  object-fit: contain;
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
  --contact-card-height: 360px;
}

.label {
  color: var(--muted);
  font-size: 0.85rem;
  display: block;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 16px;
  height: var(--contact-card-height);
}

.contact-card-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.contact-card-body {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.contact-card-meta {
  display: grid;
  gap: 16px;
}

.contact-visual {
  background: rgba(8, 12, 18, 0.8);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 0;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
  height: var(--contact-card-height);
  overflow: hidden;
  grid-template-rows: auto 1fr;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  height: 46px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px 20px 0 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  flex: 0 0 auto;
}

.terminal-dots {
  position: absolute;
  left: 14px;
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dot.red {
  background: #ef4444;
}

.terminal-dot.yellow {
  background: #facc15;
}

.terminal-dot.green {
  background: #22c55e;
}

.terminal-title {
  font-weight: 600;
}

.terminal-body {
  margin: 0;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.92rem;
  color: #c7d2fe;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow: auto;
  padding: 18px 20px 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(8, 12, 14, 0.8);
  color: var(--text);
  font-family: inherit;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 30px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 0.85rem;
}


@media (max-width: 980px) {
  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-name {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    letter-spacing: 0.02em;
  }

  .nav-toggle,
  .lang-toggle {
    flex-shrink: 0;
  }

  .site-header.nav-open .nav-mobile {
    display: grid;
    gap: 6px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-visual {
    height: auto;
  }

  .contact-card {
    height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
  }

  .nav {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand-name {
    font-size: clamp(1.2rem, 7vw, 1.6rem);
  }

  .lang-toggle {
    --lang-width: 66px;
    --lang-height: 30px;
  }

  .lang-label {
    font-size: 0.65rem;
  }

  .lang-label-left {
    left: 8px;
  }

  .lang-label-right {
    right: 8px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps,
  .stack {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
  }

}

