/* ── ZUIZ Design System ── */
:root {
  --bg:       #080b10;
  --bg-alt:   #0c1018;
  --card:     #0f1520;
  --card-b:   #141d2b;
  --text:     #e8edf5;
  --muted:    #8a99b0;
  --subtle:   #4a5568;
  --brand:    #00d4ff;
  --brand-2:  #0066ff;
  --brand-3:  #7b2fff;
  --border:   rgba(0, 212, 255, 0.1);
  --border-s: rgba(255,255,255,0.06);
  --glow:     rgba(0, 212, 255, 0.15);
  --shadow:   0 20px 60px rgba(0,0,0,0.5);
  --r:        14px;
}

*  { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── Background elements ── */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.glow-orb {
  position: fixed; pointer-events: none; z-index: 0; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,102,255,0.3), transparent 70%);
  top: -200px; right: -100px;
  animation: driftA 18s ease-in-out infinite alternate;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.2), transparent 70%);
  bottom: 10%; left: -150px;
  animation: driftB 22s ease-in-out infinite alternate;
}
@keyframes driftA { 0% { transform: translate(0,0); } 100% { transform: translate(-60px, 80px); } }
@keyframes driftB { 0% { transform: translate(0,0); } 100% { transform: translate(80px, -60px); } }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(36px, 5.5vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -0.02em; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; }
p  { color: var(--muted); line-height: 1.7; }
strong { color: var(--text); font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}

/* ── Layout ── */
.container { width: min(1180px, 92%); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 100px 0; position: relative; }
.dark-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 64px; }
.section-head.centered { text-align: center; }
.section-head h2 { margin-top: 8px; margin-bottom: 12px; }
.section-sub { max-width: 56ch; color: var(--muted); margin: 0 auto; }
.section-head:not(.centered) .section-sub { margin: 0; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,11,16,0.8);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-s);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 24px;
}
.brand {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem;
  color: #fff; text-decoration: none; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.brand-accent { color: var(--brand); }
.footer-brand { font-size: 1.1rem; }

.nav { display: flex; gap: 4px; }
.nav a {
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav a.active { color: var(--brand); }

.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-s);
  border-radius: 8px; padding: 8px; cursor: pointer; gap: 0;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 22px; border-radius: var(--r);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1px solid var(--border-s);
  color: #fff; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.btn.primary:hover {
  box-shadow: 0 0 35px rgba(0,212,255,0.4);
  transform: translateY(-1px);
}
.btn.ghost { background: rgba(255,255,255,0.04); }
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn.large { padding: 14px 28px; font-size: 1rem; border-radius: 16px; }
.w100 { width: 100%; margin-bottom: 10px; }

/* ── Hero ── */
.hero { padding: 120px 0 80px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }

.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 500; color: var(--brand);
  border: 1px solid rgba(0,212,255,0.25); border-radius: 100px;
  padding: 6px 14px; margin-bottom: 24px; letter-spacing: 0.03em;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.hero-content h1 { margin-bottom: 20px; }
.lead { font-size: 1.1rem; max-width: 50ch; margin-bottom: 32px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; align-items: center; gap: 28px;
  padding: 20px 24px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border-s);
  width: fit-content;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.stat-label { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.stat-div { width: 1px; height: 36px; background: var(--border-s); }

/* Hero visual — orbit rings */
.hero-visual {
  position: relative; width: 400px; height: 400px;
  margin: 0 auto;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.15);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.ring-1 { width: 200px; height: 200px; border-color: rgba(0,212,255,0.25); animation: spin 20s linear infinite; }
.ring-2 { width: 300px; height: 300px; border-color: rgba(0,102,255,0.2);   animation: spin 30s linear infinite reverse; }
.ring-3 { width: 380px; height: 380px; border-color: rgba(0,212,255,0.1);   animation: spin 45s linear infinite; }
@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.ring-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 0 40px rgba(0,212,255,0.5), 0 0 80px rgba(0,102,255,0.3);
  display: flex; align-items: center; justify-content: center;
}
.ring-core-inner {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem;
  color: #fff; letter-spacing: 0.1em;
}

.orbit-dot {
  position: absolute; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  transition: left 0.016s linear, top 0.016s linear;
}
.d1 { width: 10px; height: 10px; }
.d2 { width: 8px; height: 8px; background: var(--brand-2); box-shadow: 0 0 10px var(--brand-2); }
.d3 { width: 6px; height: 6px; opacity: 0.7; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-text p { margin-bottom: 18px; font-size: 1.05rem; }
.about-text p:last-child { margin-bottom: 0; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feat {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border-s);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feat:hover { border-color: var(--border); box-shadow: 0 0 20px var(--glow); }
.feat-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.feat strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.feat p { font-size: 0.82rem; margin: 0; }

/* ── Employee Cards ── */
.emp-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-bottom: 32px;
}
.emp-card {
  background: var(--card); border: 1px solid var(--border-s); border-radius: 18px;
  padding: 26px; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.emp-card:hover {
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 8px 40px rgba(0,212,255,0.1);
  transform: translateY(-3px);
}
.emp-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px; padding: 3px 10px; margin-bottom: 14px;
}
.emp-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.emp-card > p { font-size: 0.88rem; margin-bottom: 14px; }
.emp-card ul { list-style: none; }
.emp-card ul li {
  font-size: 0.85rem; color: var(--muted); padding: 5px 0;
  border-bottom: 1px solid var(--border-s);
  padding-left: 16px; position: relative;
}
.emp-card ul li:last-child { border-bottom: none; }
.emp-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Special box */
.special-box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(0,212,255,0.08));
  border: 1px solid rgba(0,212,255,0.25); border-radius: 20px;
  padding: 36px 40px; margin-bottom: 20px;
}
.special-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
  background: rgba(0,212,255,0.1); border-radius: 100px; padding: 4px 12px;
  margin-bottom: 12px;
}
.special-box h3 { font-size: 1.3rem; margin-bottom: 10px; }
.special-box p  { font-size: 0.9rem; margin-bottom: 18px; max-width: 56ch; }
.special-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.special-tags span {
  font-size: 0.8rem; color: var(--text);
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-s);
  border-radius: 8px; padding: 5px 12px;
}

.custom-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--card); border: 1px solid var(--border-s); border-radius: 16px;
  padding: 28px 36px;
}
.custom-bar h3 { margin-bottom: 6px; }
.custom-bar p { font-size: 0.9rem; max-width: 56ch; }

/* ── Process Steps ── */
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 160px; max-width: 200px;
  padding: 28px 20px; text-align: center;
  background: var(--card); border: 1px solid var(--border-s); border-radius: 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step:hover { border-color: var(--border); box-shadow: 0 0 24px var(--glow); }
.step-num {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 10px; display: block;
}
.step h3 { font-size: 0.95rem; margin-bottom: 8px; }
.step p { font-size: 0.82rem; }
.step-arrow {
  display: flex; align-items: center; color: var(--subtle); font-size: 1.4rem;
  padding: 0 8px; margin-top: 28px; flex-shrink: 0;
}

/* ── Benefits ── */
.bene-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  margin-bottom: 56px;
}
.bene-card {
  background: var(--card); border: 1px solid var(--border-s); border-radius: 18px;
  padding: 28px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.bene-card:hover {
  border-color: rgba(0,212,255,0.25); box-shadow: 0 8px 40px rgba(0,212,255,0.08);
  transform: translateY(-2px);
}
.bene-card.big { grid-column: span 1; }
.bene-ico { font-size: 2rem; margin-bottom: 14px; }
.bene-card h3 { font-size: 1rem; margin-bottom: 8px; }
.bene-card p  { font-size: 0.87rem; }

/* For whom */
.for-whom { text-align: center; }
.for-whom h3 { font-size: 1.3rem; margin-bottom: 20px; }
.whom-tags {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px;
}
.whom-tags span {
  font-size: 0.85rem; color: var(--text);
  background: var(--card); border: 1px solid var(--border-s);
  border-radius: 100px; padding: 6px 18px;
  transition: border-color 0.2s, color 0.2s;
}
.whom-tags span:hover { border-color: var(--brand); color: var(--brand); }
.whom-note { font-size: 0.9rem; color: var(--muted); font-style: italic; }

/* ── Contact ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-left h3, .contact-right h3 { font-size: 1.2rem; margin-bottom: 24px; }

.persons { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.person {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border-s);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; color: #fff;
}
.person-info { display: flex; flex-direction: column; gap: 2px; }
.person-info strong { font-size: 0.95rem; }
.person-info span  { font-size: 0.8rem; color: var(--muted); }
.person-info a { font-size: 0.85rem; color: var(--brand); text-decoration: none; }
.person-info a:hover { text-decoration: underline; }

.clinks { display: flex; flex-direction: column; gap: 10px; }
.clink {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border-s);
  color: var(--text); text-decoration: none; font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.clink:hover { border-color: var(--brand); color: var(--brand); }
.clink span  { font-size: 1rem; }

.contact-right {
  padding: 36px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,212,255,0.06));
  border: 1px solid rgba(0,212,255,0.2);
}
.contact-right > h3 { margin-bottom: 6px; }
.contact-right > p  { font-size: 0.95rem; margin-bottom: 16px; }
.check-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  font-size: 0.9rem; color: var(--text); padding-left: 24px; position: relative;
}
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border-s);
  padding: 28px 0; background: var(--bg);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.socials { display: flex; gap: 16px; }
.socials a {
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--muted); text-decoration: none; padding: 6px 12px;
  border: 1px solid var(--border-s); border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--brand); border-color: rgba(0,212,255,0.3); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in { opacity: 1; transform: none; }
.emp-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.emp-card.reveal:nth-child(2) { transition-delay: 0.10s; }
.emp-card.reveal:nth-child(3) { transition-delay: 0.15s; }
.emp-card.reveal:nth-child(4) { transition-delay: 0.20s; }
.emp-card.reveal:nth-child(5) { transition-delay: 0.25s; }
.emp-card.reveal:nth-child(6) { transition-delay: 0.30s; }
.emp-card.reveal:nth-child(7) { transition-delay: 0.35s; }
.emp-card.reveal:nth-child(8) { transition-delay: 0.40s; }

/* ── Responsive ── */
@media (max-width: 1040px) {
  .bene-grid { grid-template-columns: repeat(2, 1fr); }
  .bene-card.big { grid-column: span 1; }
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .special-box { flex-direction: column; align-items: flex-start; }
  .custom-bar { flex-direction: column; align-items: flex-start; }
  .steps { gap: 8px; }
  .step-arrow { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-cta { display: none !important; }
  .nav {
    position: absolute; top: 68px; right: 16px; flex-direction: column; gap: 4px;
    background: rgba(12,16,24,0.98); backdrop-filter: blur(16px);
    border: 1px solid var(--border-s); border-radius: 16px; padding: 12px;
    display: none; min-width: 180px; z-index: 200;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 14px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .about-features { grid-template-columns: 1fr; }
  .bene-grid { grid-template-columns: 1fr; }
  .emp-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}

/* ── Kontaktní formulář ── */
.contact-right h3 { margin-bottom: 6px; }

#contact-form,
.cform {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin-top: 4px;
}

.field-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100%;
}

.field label {
  display: block !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  letter-spacing: 0.02em;
  margin: 0 !important;
  padding: 0 !important;
}

.field input,
.field textarea {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  color: #e8edf5 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  margin: 0 !important;
}

.field textarea {
  resize: vertical !important;
  min-height: 100px;
}

.field input::placeholder,
.field textarea::placeholder { color: #4a5568; }

.field input:hover,
.field textarea:hover {
  border-color: rgba(0,212,255,0.25) !important;
  background: rgba(255,255,255,0.07) !important;
}

.field input:focus,
.field textarea:focus {
  border-color: #00d4ff !important;
  box-shadow: 0 0 0 3px rgba(0,212,255,0.15) !important;
  background: rgba(255,255,255,0.07) !important;
}

/* Spinner animation */
.btn-spinner svg { animation: spin-btn 0.8s linear infinite; }
@keyframes spin-btn { to { transform: rotate(360deg); } }

/* Form messages */
.form-msg {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 11px 15px;
  border-radius: 10px;
  line-height: 1.5;
}
.form-msg[hidden] { display: none !important; }
.form-msg:not([hidden]) { display: block !important; }
.msg-ok {
  color: #6ee7b7;
  background: rgba(110,231,183,0.1);
  border: 1px solid rgba(110,231,183,0.25);
}
.msg-err {
  color: #fca5a5;
  background: rgba(252,165,165,0.1);
  border: 1px solid rgba(252,165,165,0.25);
}

.form-note {
  font-size: 0.76rem !important;
  color: #4a5568 !important;
  text-align: center !important;
  margin: 0 !important;
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr !important; }
}
