@charset "UTF-8";
/*
  Pro produkci: nahraj fonty Moderat na server (např. /fonts/)
  a aktivuj následující @font-face. Bez aktivace se použije
  fallback chain (Sofia Sans → Inter → system).

  @font-face {
    font-family: 'Moderat';
    src: url('/fonts/Moderat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Moderat';
    src: url('/fonts/Moderat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Moderat';
    src: url('/fonts/Moderat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
*/
:root {
  --bg: #0A1F3D;
  --bg-2: #061528;
  --ink: #FFFFFF;
  --ink-soft: rgba(255, 255, 255, 0.7);
  --ink-mute: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --yellow: #FFD60A;
  --yellow-deep: #F0C200;
  --display: 'Moderat', 'Sofia Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --heading: 'Moderat', 'Sofia Sans', 'Inter', system-ui, -apple-system, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

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

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--display);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

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

/* ============= LAYOUT ============= */
.splash {
  display: grid;
  grid-template-columns: 30fr 70fr;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* Big Z mark sitting on the boundary between visual and content */
.z-boundary {
  position: absolute;
  top: 56px;
  left: 30%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: -0.06em;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(255, 214, 10, 0.35);
}

@media (max-width: 600px) {
  .z-boundary {
    width: 26px;
    height: 26px;
    font-size: 22px;
  }
}
/* ============= LEFT — animated background ============= */
.visual {
  position: relative;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

/* Layer 1: Conic gradient that rotates */
.bg-conic {
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 0deg, #FFD60A 0deg, #0A1F3D 60deg, #1456A0 120deg, #FFD60A 180deg, #0A1F3D 240deg, #4A8AC7 300deg, #FFD60A 360deg);
  filter: blur(80px);
  animation: rotate-conic 30s linear infinite;
  opacity: 0.85;
}

@keyframes rotate-conic {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Layer 2: Two large blurred orbs that orbit */
.bg-orb {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.bg-orb-1 {
  background: radial-gradient(circle, rgba(255, 214, 10, 0.55) 0%, transparent 70%);
  animation: orbit-1 24s ease-in-out infinite;
}

.bg-orb-2 {
  background: radial-gradient(circle, rgba(20, 86, 160, 0.55) 0%, transparent 70%);
  animation: orbit-2 32s ease-in-out infinite;
}

.bg-orb-3 {
  background: radial-gradient(circle, rgba(74, 138, 199, 0.45) 0%, transparent 70%);
  animation: orbit-3 28s ease-in-out infinite;
}

@keyframes orbit-1 {
  0% {
    top: -10%;
    left: -10%;
  }
  33% {
    top: 60%;
    left: 50%;
  }
  66% {
    top: 20%;
    left: 70%;
  }
  100% {
    top: -10%;
    left: -10%;
  }
}
@keyframes orbit-2 {
  0% {
    top: 60%;
    left: 60%;
  }
  33% {
    top: -10%;
    left: 30%;
  }
  66% {
    top: 50%;
    left: -10%;
  }
  100% {
    top: 60%;
    left: 60%;
  }
}
@keyframes orbit-3 {
  0% {
    top: 30%;
    left: -20%;
  }
  33% {
    top: 70%;
    left: 20%;
  }
  66% {
    top: -20%;
    left: 60%;
  }
  100% {
    top: 30%;
    left: -20%;
  }
}
/* Layer 3: Subtle noise overlay */
.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ============= RIGHT — content ============= */
.content {
  padding: 540px 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}

/* Top — logo + status */
.content-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-text {
  color: var(--ink);
}

.logo-text .accent {
  color: var(--yellow);
}

/* Middle — headline */
.content-middle {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

h1 {
  font-family: var(--heading);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
}

h1 .hand {
  font-family: "Caveat", cursive;
  color: var(--yellow);
  font-weight: 700;
  font-size: clamp(72px, 13vw, 170px);
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  transform: rotate(-3deg);
  line-height: 0.9;
  top: clamp(-40px, -3vw, -16px);
  position: relative;
}

/* Benefits — stacked, left-aligned, bigger text */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit strong {
  font-family: var(--heading);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.benefit span {
  font-family: var(--display);
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-soft);
  line-height: 1.45;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: stretch;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  border-radius: 5px;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

/* Shine sweep — diagonal highlight crosses the button */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
  pointer-events: none;
}

.btn:hover::before {
  left: 160%;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 0;
}

.btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
}

.btn:hover svg {
  transform: translateX(6px) rotate(-8deg);
}

.btn--primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
}

.btn--primary:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--bg);
}

/* Call form (collapsible) */
.call-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
  opacity: 0;
}

.call-form.open {
  max-height: 800px;
  opacity: 1;
  margin-top: 8px;
}

.call-form-inner {
  position: relative;
  padding: 32px;
  background: #FFFFFF;
  color: #0A1F3D;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 5px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.call-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.call-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(10, 31, 61, 0.55);
}

.call-form input,
.call-form textarea {
  font-family: var(--display);
  font-size: 18px;
  padding: 15px 20px;
  background: #fafafa;
  border: 0;
  color: #0A1F3D;
  transition: box-shadow 0.25s ease, background 0.25s ease;
  letter-spacing: -0.01em;
  border-radius: 5px;
}

.call-form input::placeholder,
.call-form textarea::placeholder {
  color: rgba(10, 31, 61, 0.4);
}

.call-form input:focus,
.call-form textarea:focus {
  outline: none;
  background: #fafafa;
  box-shadow: 0 0 0 2px var(--yellow);
}

.call-form textarea {
  min-height: 80px;
  resize: vertical;
  font-family: var(--display);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Cloudflare Turnstile */
.turnstile-wrap {
  min-height: 70px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}

.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
  background: var(--bg);
  border-color: var(--bg);
  color: #fff;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg);
}

.form-msg {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 0 0;
  min-height: 18px;
  text-align: center;
  color: rgba(10, 31, 61, 0.6);
}

.form-msg.error {
  color: #DC2626;
}

.form-msg.success {
  color: #16A34A;
}

@media (max-width: 600px) {
  .actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .call-form-row {
    grid-template-columns: 1fr;
  }
}
/* Bottom — contacts */
.content-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 108px;
  border-top: 1px solid var(--line);
  position: relative;
}

.contact-photo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 6px var(--bg);
  overflow: hidden;
  z-index: 2;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.contacts-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: center;
}

.contact-name {
  font-family: var(--heading);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--ink);
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid var(--line);
}

button.contact {
  appearance: none;
  width: 100%;
  margin: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.contact:last-child {
  border-bottom: 0;
}

.contact:hover {
  color: var(--yellow);
  padding-left: 12px;
}

.contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--yellow);
}

.contact-arrow {
  margin-left: auto;
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.contact:hover .contact-arrow {
  transform: translateX(6px);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1100px) {
  .content {
    padding: 48px 48px;
  }
}
@media (max-width: 900px) {
  body {
    overflow: auto;
  }
  .splash {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .content {
    display: contents;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
  }
  /* Mobil: text nahoře, žluté Z u začátku animace, pak kontakty */
  .content-middle {
    order: 1;
    padding: 48px 32px 20px;
  }
  .z-boundary {
    order: 2;
    position: relative;
    top: -10px;
    left: auto;
    transform: none;
    margin: 0 auto -22px;
    align-self: center;
    z-index: 6;
  }
  .visual {
    order: 3;
    height: 42vh;
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .content-bottom {
    order: 4;
    padding: 108px 32px 48px;
  }
}
@media (max-width: 600px) {
  .content-middle {
    padding: 32px 20px 16px;
  }
  .content-bottom {
    padding: 108px 20px 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
