/* =========================================================
   WebProNet — stylesheet
   Barvy, typografie a rozvržení jsou definované jako proměnné
   na začátku souboru — uprav je tady a změna se promítne všude.
   ========================================================= */

:root{
  /* barvy — tmavé "blueprint" schéma: světlé čáry na temně modrém papíře,
     přesně jako u skutečných technických výkresů */
  --paper: #0E2240;
  --bg-soft: #16335C;
  --white: #FFFFFF;
  --ink: #F4F7FB;
  --graphite: #9FB4CE;
  --blueprint: #6EA8FF;
  --blueprint-deep: #1B3FA0;
  --blueprint-light: rgba(110, 168, 255, 0.16);
  --line: rgba(255, 255, 255, 0.14);

  /* typografie */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* rozvržení */
  --max-width: 1160px;
  --radius: 10px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg{ max-width: 100%; display: block; }

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

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

p{ margin: 0; color: var(--graphite); }

ul, ol{ margin: 0; padding: 0; list-style: none; }

:focus-visible{
  outline: 2px solid var(--blueprint);
  outline-offset: 3px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin: 0 0 14px;
}
.eyebrow--center{ text-align: center; }

.section-title{ font-size: clamp(28px, 4vw, 38px); margin-bottom: 16px; }
.section-title--center{ text-align: center; }

.section-note{
  text-align: center;
  max-width: 480px;
  margin: 0 auto 48px;
}

main > section{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 32px;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }

.btn--primary{ background: var(--blueprint); color: var(--white); }
.btn--primary:hover{ background: #1f3fa3; }

.btn--ghost{ color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover{ border-color: var(--blueprint); color: var(--blueprint); }

.btn--outline{ border-color: var(--blueprint); color: var(--blueprint); background: transparent; width: 100%; }
.btn--outline:hover{ background: var(--blueprint-light); }

/* ---------- nav ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 34, 64, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
}
.nav__mark{
  width: 14px;
  height: 14px;
  border: 2px solid var(--blueprint);
  border-radius: 3px;
  flex-shrink: 0;
}
.nav__links{
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a:not(.nav__cta):hover{ color: var(--blueprint); }
.nav__cta{
  background: var(--blueprint);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav__cta:hover{ background: #1f3fa3; }

.nav__toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav__toggle span{
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero ---------- */
.hero{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px !important;
}
.hero__title{ font-size: clamp(36px, 5vw, 54px); margin-bottom: 22px; }
.hero__lead{ font-size: 17px; max-width: 460px; margin-bottom: 34px; }
.hero__actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual{ position: relative; }

.blueprint{ width: 100%; height: auto; }
.bp-line{
  fill: none;
  stroke: var(--blueprint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw 1.1s ease forwards;
}
.bp-fill{
  fill: var(--blueprint-light);
  stroke: var(--blueprint);
  stroke-width: 1.5;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  fill-opacity: 0;
  animation: draw 1.1s ease forwards, fillIn 0.6s ease forwards;
}
.bp-d1{ animation-delay: 0s; }
.bp-d2{ animation-delay: 0.15s; }
.bp-d3{ animation-delay: 0.35s; }
.bp-d4{ animation-delay: 0.55s; }
.bp-d5{ animation-delay: 0.7s; }
.bp-d6{ animation-delay: 0.85s; }
.bp-fill.bp-d3{ animation-delay: 0.35s, 0.9s; }
.bp-fill.bp-d5{ animation-delay: 0.7s, 1.15s; }
.bp-fill.bp-d6{ animation-delay: 0.85s, 1.3s; }

@keyframes draw{ to{ stroke-dashoffset: 0; } }
@keyframes fillIn{ to{ fill-opacity: 1; } }

.chip{
  position: absolute;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--graphite);
  opacity: 0;
  animation: fadeChip 0.5s ease forwards;
}
.chip--top{ top: 2%; right: 4%; animation-delay: 1.3s; }
.chip--mid{ top: 46%; left: -6%; animation-delay: 1.5s; }
.chip--bottom{ bottom: 4%; right: 10%; animation-delay: 1.7s; }

@keyframes fadeChip{ to{ opacity: 1; } }

/* ---------- proces ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.step{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step__num{
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--blueprint);
  margin-bottom: 14px;
}
.icon{
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon svg{
  width: 22px;
  height: 22px;
  stroke: var(--blueprint);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step h3{ font-size: 21px; margin-bottom: 10px; }
.step p{ font-size: 15px; }

/* ---------- specs ---------- */
.specs__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.spec{
  background: var(--bg-soft);
  padding: 32px 28px;
}
.spec__tag{
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--blueprint);
  margin-bottom: 10px;
}
.spec h3{ font-size: 18px; margin-bottom: 8px; }
.spec p{ font-size: 14.5px; }

/* ---------- pricing ---------- */
.pricing__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan{
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
.plan--featured{
  border-color: var(--blueprint);
  box-shadow: 0 0 36px -10px rgba(110, 168, 255, 0.45);
}
.plan__badge{
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--blueprint);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3{ font-size: 22px; margin-bottom: 8px; }
.plan__desc{ font-size: 14.5px; margin-bottom: 18px; min-height: 42px; }
.plan__price{
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 22px;
}
.plan ul{ margin-bottom: 28px; flex-grow: 1; }
.plan li{
  font-size: 14.5px;
  color: var(--graphite);
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.plan li:first-child{ border-top: none; }

.addon{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.addon__tag{
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 8px;
}
.addon__info h3{ font-size: 19px; margin-bottom: 6px; }
.addon__info p{ font-size: 14.5px; max-width: 440px; }
.addon__price{
  flex-shrink: 0;
  text-align: right;
  font-family: var(--font-mono);
}
.addon__amount{ font-size: 24px; color: var(--ink); font-weight: 600; }
.addon__period{ font-size: 13px; color: var(--graphite); }

/* ---------- cta band ---------- */
.cta-band{
  background: var(--blueprint-deep);
  border-radius: var(--radius);
  text-align: center;
  padding: 72px 32px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-band h2{ color: var(--white); font-size: clamp(26px, 4vw, 34px); }
.cta-band p{ color: #C7D6F2; margin-bottom: 10px; }

/* ---------- contact ---------- */
.contact{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact__text,
.contact__form{ min-width: 0; }
.contact h2{ margin-bottom: 14px; }
.contact__text > p{ font-size: 16px; max-width: 420px; }

.contact__info{
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__info dt{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--graphite);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact__info dd{ margin: 0; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.contact__info a:hover{ color: var(--blueprint); }

.contact__form{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__form label{
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}
.contact__form input:not([type="file"]),
.contact__form textarea{
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus{ border-color: var(--blueprint); outline: none; }

.file-field{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
  margin-top: 6px;
}
.file-field__input{
  /* skryté, ale stále dostupné klávesnicí i čtečkám obrazovky —
     vzhled řeší .file-field__button, tohle jen reaguje na klik/výběr */
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.file-field__button{
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.file-field__input:focus-visible + .file-field__button{
  outline: 2px solid var(--blueprint);
  outline-offset: 2px;
}
.file-field__name{
  min-width: 0;
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--graphite);
  word-break: break-all;
}
.contact__hint{
  font-size: 12.5px;
  color: var(--graphite);
  margin-top: 4px;
}
.contact__form button{ margin-top: 20px; }
.contact__status{
  margin-top: 10px;
  font-size: 14px;
  min-height: 18px;
  color: var(--blueprint);
}

/* ---------- footer ---------- */
.footer{ border-top: 1px solid var(--line); }
.footer__inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__links{ display: flex; gap: 26px; font-size: 14.5px; }
.footer__links a:hover{ color: var(--blueprint); }
.footer__copy{ font-size: 13px; color: var(--graphite); width: 100%; text-align: center; margin-top: 8px; }

/* ---------- scroll reveal ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 880px){
  .nav__links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 32px 24px;
    gap: 16px;
    display: none;
  }
  .nav__links.is-open{ display: flex; }
  .nav__cta{ text-align: center; }
  .nav__toggle{ display: flex; }

  .hero{ grid-template-columns: 1fr; padding-top: 48px !important; }
  .hero__visual{ order: -1; }
  .chip{ display: none; }

  .steps{ grid-template-columns: 1fr; }
  .specs__grid{ grid-template-columns: 1fr; }
  .pricing__grid{ grid-template-columns: 1fr; }
  .addon{ flex-direction: column; align-items: flex-start; gap: 16px; }
  .addon__price{ text-align: left; }
  .contact{ grid-template-columns: 1fr; }

  main > section{ padding: 64px 24px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .bp-line, .bp-fill, .chip{ animation: none !important; stroke-dashoffset: 0 !important; fill-opacity: 1 !important; opacity: 1 !important; }
  .reveal{ opacity: 1; transform: none; transition: none; }
}
