@charset "UTF-8";

:root {
  /* Brighter tech blue palette */
  --bg-deep: #0f172a;
  --bg-surface: rgba(30, 41, 59, 0.4);
  --bg-card: rgba(51, 65, 85, 0.3);

  /* Very soft glowing accents: platinum and vibrant cyan */
  --accent-base: rgba(180, 190, 210, 0.08);
  /* Silver outline */
  --accent-hover: rgba(220, 230, 255, 0.2);
  --accent-primary: #38bdf8;
  /* Vibrant Sky Blue accent */
  --accent-glow: rgba(56, 189, 248, 0.3);

  --text-primary: #f8fafc;
  /* Crisp cool white */
  --text-muted: #94a3b8;
  /* Cool readable muted slate */

  --shadow-ambient: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-floating: 0 30px 60px rgba(0, 0, 0, 0.8);

  --perspective: 2000px;
  /* Obří perspektiva pro dokonalý kinematografický dojem */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Nadpisy a UI prvky v moderním geometrickém fontu Outfit */
h1,
h2,
h3,
.nav-links a,
.badge,
.btn-3d,
.btn-3d-primary,
th,
.text-3d {
  font-family: 'Outfit', system-ui, sans-serif;
}

/* ================= AMBIENT PARALLAX BACKGROUND ================= */
.parallax-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* IT Glow Nodes */
.orb-1 {
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(0, 120, 255, 0.25) 0%, transparent 70%);
  top: -10%;
  left: -10%;
}

.orb-2 {
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(0, 255, 170, 0.15) 0%, transparent 70%);
  bottom: 10%;
  right: -5%;
}

.orb-3 {
  width: 40vw;
  height: 40vh;
  background: radial-gradient(circle, rgba(120, 0, 255, 0.15) 0%, transparent 70%);
  top: 40%;
  left: 30%;
}

/* Elegant abstract tech mesh - brighter and softer */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  z-index: -2;
  pointer-events: none;
  opacity: 0.8;
  /* Radial fade for focus to center */
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.3) 100%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.3) 100%);
}

/* ================= 3D ANIMATIONS ================= */
@keyframes continuousLevitation {
  0% {
    transform: translateY(0) translateZ(0);
  }

  50% {
    transform: translateY(-8px) translateZ(10px);
  }

  100% {
    transform: translateY(0) translateZ(0);
  }
}

.anim-levitate {
  animation: continuousLevitation 6s infinite ease-in-out;
}

.float-layer-1 {
  transform: translateZ(30px);
}

.float-layer-2 {
  transform: translateZ(60px);
}

/* ================= NAV ================= */
nav {
  position: sticky;
  top: 20px;
  width: calc(100% - 40px);
  max-width: 1100px;
  margin: 0 auto;
  z-index: 100;
  height: 80px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: var(--bg-surface);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 40px;
  /* Kulaté rohy */

  /* 3D Glass Emboss pro navigaci */
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.7),
    inset 2px 2px 8px rgba(255, 255, 255, 0.15),
    inset -2px -2px 8px rgba(0, 0, 0, 0.5);

  transform-style: preserve-3d;
  transition: all 0.4s ease;
}

nav img {
  height: 40px;
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
  transform: translateZ(20px);
  transition: all 0.4s ease;
}

nav img.nav-logo {
    height: 60px;
    mix-blend-mode: screen;
    filter: brightness(1.7) contrast(1.5) drop-shadow(0 4px 15px rgba(56, 189, 248, 0.6));
    transform: scale(2) translateZ(20px);
    transform-origin: left center;
    margin-left: 15px;
    clip-path: inset(18% 5% 18% 5%);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  transform-style: preserve-3d;
}

nav a {
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.4s ease;
  position: relative;
  letter-spacing: 0.5px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--text-primary);
  transform: translateZ(15px);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--text-primary);
  font-weight: 600;
}

nav a.active::after {
  width: 100%;
  background: var(--accent-primary);
}

.btn-3d {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-base);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-3d:hover {
  border-color: var(--accent-hover);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), 0 0 0 0 rgba(255, 255, 255, 0.3), inset 2px 2px 5px #fff;
  }

  70% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), 0 0 0 15px rgba(255, 255, 255, 0), inset 2px 2px 5px #fff;
  }

  100% {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), 0 0 0 0 rgba(255, 255, 255, 0), inset 2px 2px 5px #fff;
  }
}

.btn-3d-primary {
  background: var(--text-primary);
  color: var(--bg-deep);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #aeb2b5;
  border-bottom: 2px solid #aeb2b5;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), inset 2px 2px 5px #fff;
  animation: pulseGlow 3s infinite;
}

.btn-3d-primary:hover {
  background: #fff;
  transform: translateY(-2px) translateZ(15px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4), inset 2px 2px 5px #fff;
  animation: none;
  /* Při najetí myší chceme zastavit pulsování a ukázat klasický hover glow */
}

/* ================= 3D LAYOUT & TYPOGRAPHY ================= */
header {
  text-align: center;
  padding: 140px 20px 100px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.header-inner {
  transform-style: preserve-3d;
}

.text-3d {
  font-size: 3.8rem;
  margin: 20px 0;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.float-element {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 30px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.6), 
    inset 2px 2px 5px rgba(255, 255, 255, 0.1), 
    inset -2px -2px 5px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
}

.badge:hover {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.8), 
    inset 2px 2px 8px rgba(255, 255, 255, 0.25), 
    inset -2px -2px 8px rgba(0, 0, 0, 0.6);
  text-shadow: 0 0 10px var(--accent-primary);
  transform: translateY(-2px) translateZ(40px);
}

main {
  max-width: 1100px;
  margin: 0 auto 100px;
  padding: 0 20px;
  display: grid;
  gap: 80px;
  width: 100%;
  perspective: var(--perspective);
}

/* Cinematic Panel - Protruding Glass Emboss */
.cinematic-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 20px;
  padding: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.9),
    inset 2px 2px 10px rgba(255, 255, 255, 0.1),
    inset -2px -2px 10px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

/* Soft highlight line at top of panels */
.cinematic-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.section-title {
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 40px;
  transform: translateZ(40px);
  color: var(--text-primary);
  font-weight: 300;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent-primary);
}

/* ================= REFINED SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  transform-style: preserve-3d;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: 400;
  cursor: pointer;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.8),
    inset 2px 2px 8px rgba(255, 255, 255, 0.15),
    inset -2px -2px 8px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  transition: all 0.4s ease;
  overflow: hidden;
}

.card-inner-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(143, 163, 176, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover .card-inner-glow {
  opacity: 1;
}

.icon-3d {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  flex-shrink: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6), inset 3px 3px 6px rgba(255, 255, 255, 0.2);
  transform: translateZ(50px);
  z-index: 1;
}

.icon-3d svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.5;
  opacity: 0.8;
}

.service-card .text-content {
  transform: translateZ(30px);
  font-size: 1.25rem;
  color: var(--text-primary);
  z-index: 1;
}

/* ================= TECHNOLOGIE ================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  transform-style: preserve-3d;
}

.tech {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.7),
    inset 2px 2px 8px rgba(255, 255, 255, 0.1),
    inset -2px -2px 8px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transition: all 0.4s ease;
}

.tech:hover {
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-floating);
}

.tech .icon-3d {
  margin: 0 auto 16px;
  border-radius: 50%;
}

.tech .icon-3d svg {
  width: 26px;
  height: 26px;
}

.tech span {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: 10px;
  font-weight: 500;
  transform: translateZ(20px);
}

.tech span span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  transform: none;
}

/* ================= CENÍK ================= */
.pricing-wrapper {
  overflow-x: auto;
  margin-top: 20px;
  width: 100%;
  transform: translateZ(20px);
  padding-bottom: 20px;
  /* Prostor pro stíny */
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 16px;
  min-width: 600px;
  text-align: left;
}

th {
  padding: 0 24px 8px;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

td {
  padding: 20px 24px;
  font-size: 1rem;
  background: rgba(51, 65, 85, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

td:first-child {
  font-weight: 500;
  color: var(--text-primary);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px 0 0 12px;
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

td:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 0 12px 12px 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), inset -2px -2px 4px rgba(0, 0, 0, 0.4);
}

tbody tr {
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

tbody tr:hover {
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
  transform: translateY(-4px) translateZ(10px);
}

/* ================= VZDÁLENÁ POMOC ================= */
.remote-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  transform-style: preserve-3d;
  margin-top: 30px;
}

.remote-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.remote-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateZ(10px);
}

.remote-features svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-primary);
  flex-shrink: 0;
}

.remote-action-card {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), inset 2px 2px 8px rgba(255, 255, 255, 0.1), inset -2px -2px 8px rgba(0, 0, 0, 0.5);
  transform: translateZ(20px);
}

.remote-action-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.btn-pdf {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.btn-pdf:hover {
  color: var(--accent-primary);
}

.btn-pdf svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ================= FAQ ================= */
.faq {
  display: grid;
  gap: 20px;
  transform-style: preserve-3d;
}

.faq details {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 20px 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 2px 2px 6px rgba(255, 255, 255, 0.1), inset -2px -2px 6px rgba(0, 0, 0, 0.4);

  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq details:hover:not([open]) {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 2px 2px 6px rgba(255, 255, 255, 0.15), inset -2px -2px 6px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px) translateZ(10px);
}

.faq details[open] {
  background: rgba(10, 15, 25, 0.5);
  border-top: 2px solid rgba(0, 0, 0, 0.8);
  border-left: 2px solid rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 4px 4px 15px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(255, 255, 255, 0.05);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  color: var(--text-primary);
  transform: translateZ(10px);
  outline: none;
}

.faq summary::after {
  content: "↓";
  color: var(--accent-primary);
  font-size: 1.2rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq details[open] summary {
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

.faq p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  padding-right: 40px;
  transform: translateZ(5px);
  animation: faqReveal 0.4s ease forwards;
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-10px) translateZ(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateZ(5px);
  }
}

/* ================= KONTAKT ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  transform-style: preserve-3d;
}

.contact-info {
  transform-style: preserve-3d;
}

.contact-card-inner {
  transform: translateZ(30px);
}

.contact-info p {
  margin: 16px 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
}

.contact-info a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 12px;
  margin-top: 30px;
  filter: grayscale(100%) invert(90%) contrast(110%);
  opacity: 0.7;
}

.cinematic-form {
  transform-style: preserve-3d;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 0.95rem;
  transform: translateZ(20px);
  color: var(--text-muted);
}

.input-3d {
  padding: 16px;
  border-radius: 8px;
  background: rgba(10, 15, 25, 0.5);
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  color: var(--text-primary);
  transition: all 0.3s ease;
  /* Silný 3D vyřezaný/vystouplý efekt pro vstupy formuláře */
  border-top: 2px solid rgba(0, 0, 0, 0.8);
  border-left: 2px solid rgba(0, 0, 0, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.6), 0 2px 5px rgba(255, 255, 255, 0.05);
}

.input-3d:focus {
  outline: none;
  background: rgba(15, 20, 35, 0.7);
  /* Zářící 3D focus */
  border-top: 2px solid rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--accent-primary);
  box-shadow: inset 5px 5px 12px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Checkbox */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 30px 0;
  cursor: pointer;
  user-select: none;
  color: var(--text-primary);
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  position: relative;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--accent-base);
  transition: all 0.2s;
}

.checkbox-container input[type="checkbox"]:checked+.checkbox-custom {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.checkbox-container input[type="checkbox"]:checked+.checkbox-custom::after {
  content: '';
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--bg-deep);
  border-bottom: 2px solid var(--bg-deep);
  transform: rotate(-45deg);
  position: absolute;
  top: 6px;
  left: 5px;
}

.checkbox-label {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}

.checkbox-label small {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.toggle button {
  flex: 1;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  padding: 12px;
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset -1px -1px 3px rgba(0, 0, 0, 0.4);
}

.toggle button.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.5);
}

footer {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
  font-size: 0.95rem;
  border-top: 1px solid var(--accent-base);
  margin-top: 60px;
}

/* ================= MEDIA QUERIES ================= */
@media(max-width:900px) {
  nav {
    padding: 0 20px;
  }

  .hamburger {
    display: flex;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .hamburger span {
    background: var(--text-primary);
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 12, 0.98);
    flex-direction: column;
    padding: 100px 30px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    gap: 20px;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 15px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .remote-help-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {
  .text-3d {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .cinematic-panel {
    padding: 40px 20px;
  }

  h2 {
    font-size: 1.8rem;
  }
}