/* =========================================
   Transmutace s.r.o. — Redesign 2026
   Kybernetická bezpečnost & compliance
   ========================================= */

/* ---------- Reset & základy ---------- */
:root {
  --bg: #0b0f14;
  --surface: #131b24;
  --surface-2: #1b2633;
  --border: #2a3a4a;
  --text: #e8eef5;
  --muted: #93a7bd;
  --accent: #22d3ee;
  --accent-dim: #1a8fa0;
  --danger: #ef4444;
  --success: #34d399;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 3rem 0 1.5rem; }
h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem 1.25rem; }

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 4rem 0; }
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading h2 { margin-bottom: 0.5rem; }
.section-heading p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { color: var(--text); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #05161a; }
.btn-primary:hover { background: #42e7f5; text-decoration: none; }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--accent); text-decoration: none; }
.btn-full { width: 100%; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat .value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* ---------- Dvě cesty / cards ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.path-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.path-card .tag {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.75rem; font-weight: 700;
  background: var(--surface-2); color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.25rem 0.6rem; border-radius: 6px;
}
.path-card h3 { margin-bottom: 0.5rem; }
.path-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.path-card ul { font-size: 0.95rem; color: var(--text); margin-bottom: 1.25rem; }
.path-card ul li { margin-bottom: 0.4rem; }

/* ---------- Balíčky ---------- */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.package {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.package .name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.package .code { font-size: 0.85rem; color: var(--accent); font-weight: 700; margin-bottom: 0.75rem; }
.package .price { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.package .price small { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.package .delivery { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.package ul { font-size: 0.9rem; color: var(--text); margin-bottom: 1.25rem; }
.package ul li { margin-bottom: 0.35rem; }
.package .btn { margin-top: auto; width: 100%; text-align: center; padding: 0.75rem; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.package .btn:hover { background: var(--accent); color: #031014; text-decoration: none; }

/* ---------- Srovnávací tabulka ---------- */
.compare-table {
  overflow-x: auto;
  margin: 2rem 0;
}
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
tr:hover td { background: var(--surface-2); }

/* ---------- Reference ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}
.testimonial blockquote { font-size: 1.05rem; color: var(--text); margin-bottom: 1rem; }
.testimonial cite { display: block; font-style: normal; font-size: 0.9rem; color: var(--muted); }
.testimonial cite strong { color: var(--text); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  opacity: 0.55;
  filter: grayscale(0.6);
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.contact-card h3 { margin-bottom: 1rem; }
.contact-card p { color: var(--muted); margin-bottom: 0.5rem; }
.contact-card a { color: var(--accent); }
form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
form label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.4rem; font-weight: 500; }
form input, form select, form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); padding: 0.7rem; border-radius: 6px; font: inherit;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--accent);
}
form small { color: var(--muted); font-size: 0.8rem; display: block; margin-top: 0.25rem; }
.form-note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- Lead magnet ---------- */
.lead-magnet {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}
.lead-magnet h3 { margin-bottom: 0.75rem; }
.lead-magnet p { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--text); margin-bottom: 1rem; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); text-decoration: none; }
.copyright { border-top: 1px solid var(--border); padding-top: 1.5rem; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* ---------- Utils ---------- */
.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  background: var(--surface-2); color: var(--accent);
  border: 1px solid var(--accent); padding: 0.2rem 0.55rem; border-radius: 6px; margin-right: 0.5rem;
}
.highlight { color: var(--accent); font-weight: 700; }
.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-full { width: 100%; }
}

/* ---------- GoldMaster v2.0 Security, GDPR & UX Enhancements (Zero unsafe-inline) ---------- */
.nav-links a.active { color: var(--accent); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.section-alt { background: var(--surface-2); }
.mt-05 { margin-top: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-25 { margin-top: 2.5rem; }
.mt-3 { margin-top: 3rem; }
.mt-35 { margin-top: 3.5rem; }
.mb-3 { margin-bottom: 3rem; }
.pkg-desc { font-size: 0.9rem; color: var(--muted); }
.card-accent { border: 1px solid var(--accent); }
.retainer-price { font-size: 1.25rem; font-weight: 800; color: var(--accent); margin-top: 1rem; }
.retainer-price small { font-weight: 400; color: var(--muted); font-size: 0.9rem; }

.scenario-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.scen-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
  font: inherit;
}
.scen-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.scen-btn.active { border: 2px solid var(--accent); background: var(--surface-2); }
.scen-btn .scen-tag { display: block; font-size: 0.78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; margin-bottom: 0.35rem; }
.scen-btn .scen-title { font-weight: 700; font-size: 1rem; display: block; }
.scenario-output {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
}
.scenario-output h4 { color: var(--accent); font-size: 1.2rem; margin-bottom: 0.5rem; }
.legal-ref {
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  padding: 0.45rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.lead-form-inline {
  display: flex;
  gap: 0.75rem;
  max-width: 680px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
}
.lead-form-inline input {
  flex: 1 1 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}
.lead-form-inline button { flex: 0 0 auto; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.25rem; }

/* Honeypot anti-bot field (hidden from humans and screen readers, zero inline style) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Mailto Fallback Box (Webmail / Clipboard resilience) */
.mailto-fallback {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  text-align: left;
  font-size: 0.9rem;
}
.mailto-fallback h4 { color: var(--accent); margin-bottom: 0.5rem; font-size: 1rem; }
.mailto-fallback pre {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: 6px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  font-family: monospace;
  font-size: 0.82rem;
  margin: 0.75rem 0;
}
.gdpr-micro {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.privacy-badge {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 768px) {
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
}
