/* Stránka „Připravujeme“ pro construo3d.cz / construo3d.com (CON-318) – bez externích zdrojů. */
:root {
  --bg: #0d1018;
  --panel: #131722;
  --accent: #2962ff;
  --accent-2: #5c8bff;
  --text: #e8ecf5;
  --muted: #9aa3b8;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font:
    400 17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  overflow-x: hidden;
}
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 139, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 139, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  animation: drift 40s linear infinite;
}
.glow {
  position: fixed;
  left: 50%;
  top: 38%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(41, 98, 255, 0.22), transparent 62%);
  filter: blur(10px);
}
main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 32px;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
.cube {
  width: 112px;
  height: 112px;
  overflow: visible;
  margin-bottom: 8px;
  animation: float 6s ease-in-out infinite;
}
.edge {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.1;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  filter: drop-shadow(0 0 3px rgba(41, 98, 255, 0.8));
  animation: draw 2.4s ease-out forwards;
}
.edge.inner {
  stroke: var(--accent-2);
  animation-delay: 0.9s;
}
.brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.brand span {
  color: var(--accent-2);
}
h1 {
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #b9c7ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  max-width: 600px;
  font-size: 18px;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.tags li {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: #c9d3ec;
  background: rgba(19, 23, 34, 0.75);
  border: 1px solid rgba(92, 139, 255, 0.25);
}
.btn {
  margin-top: 14px;
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(41, 98, 255, 0.35);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.btn:hover {
  background: #3d72ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 36px rgba(41, 98, 255, 0.5);
}
.btn:focus-visible,
footer a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
footer {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 22px;
  color: #6d768c;
  font-size: 14px;
}
footer a {
  color: #8f9ab4;
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes drift {
  to {
    background-position:
      48px 48px,
      48px 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .grid,
  .cube {
    animation: none;
  }
  .edge {
    animation: none;
    stroke-dashoffset: 0;
  }
}
