/* 
  ZÁKLADNÍ NASTAVENÍ & THEME
  -------------------------------------- */

:root {
  --bg: #05070a;
  --bg-alt: #0b0f16;
  --bg-alt-soft: #10151f;
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f5f7fb;
  --muted: #a3afc4;
  --accent: #3dd5f3;
  --accent-soft: rgba(61, 213, 243, 0.18);
  --accent-strong: #20a7c5;
  --danger: #e06262;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --transition-fast: 0.18s ease-out;
  --transition: 0.25s ease-out;

  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-base);
  background: radial-gradient(circle at top left, #101625 0, #05070a 42%, #020309 100%);
  color: var(--text);
}

/* Pomáhá přehlednosti na větších monitorech */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

/* LAYOUT UTILITIES
  -------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.section--cta {
  text-align: center;
  padding: 4rem 0;
  background: radial-gradient(circle at center, rgba(61, 213, 243, 0.12), transparent 55%);
}

.section__header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--muted);
  line-height: 1.6;
}

.section__note {
  margin-top: 1.75rem;
  color: var(--muted);
  max-width: 560px;
}

/* HEADER & NAV
  -------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top, rgba(8, 22, 37, 0.96), rgba(5, 7, 10, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo__title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.logo__subtitle {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 213, 243, 0.7);
  background: radial-gradient(circle at top left, var(--accent-soft), rgba(8, 22, 37, 0.2));
  color: var(--text);
  box-shadow: 0 0 18px rgba(61, 213, 243, 0.4);
}

.nav__link--cta:hover {
  background: linear-gradient(135deg, var(--accent-strong), #1b6e83);
  box-shadow: 0 0 26px rgba(61, 213, 243, 0.7);
}

/* Hamburger (mobile) */

.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 4px 0;
}

/* Mobile menu overlay */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #101625, #05070a);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.mobile-menu--open {
  display: flex;
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu__link {
  display: block;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.mobile-menu__link--cta {
  margin-top: 0.75rem;
  color: var(--text);
  border-radius: 999px;
  border: 1px solid rgba(61, 213, 243, 0.7);
  display: inline-block;
  padding-inline: 2rem;
}

/* HERO
  -------------------------------------- */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero__bg-gradient {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(61, 213, 243, 0.14), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(114, 111, 223, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 70px - 3rem);
}

.hero__content {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hero__subtext {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.hero__microcopy {
  font-size: 0.86rem;
  color: var(--muted);
}

/* BUTTONS
  -------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 18px rgba(61, 213, 243, 0.6);
  color: #020308;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(61, 213, 243, 0.9);
}

.btn--secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
  background: transparent;
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--full {
  width: 100%;
}

/* KARTY & GRIDY
  -------------------------------------- */

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(135deg, rgba(15, 21, 33, 0.96), rgba(6, 10, 17, 0.98));
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.card--highlight {
  position: relative;
  overflow: hidden;
}

.card--highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(61, 213, 243, 0.16), transparent 50%);
  opacity: 0.9;
  pointer-events: none;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.card__intro {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
}

.list--check li {
  list-style: none;
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.list--bullet {
  list-style: disc;
  padding-left: 1.3rem;
}

.list--bullet li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

/* Steps (proces) */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.steps__item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  background: rgba(10, 14, 22, 0.9);
}

.steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.steps__item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.steps__item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Feature cards */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.3rem 1.4rem;
  background: rgba(9, 12, 20, 0.96);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 213, 243, 0.6);
  box-shadow: 0 16px 35px rgba(4, 8, 18, 0.9);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Pricing */

.pricing-card {
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, rgba(61, 213, 243, 0.16), rgba(9, 13, 22, 0.98));
  padding: 2.1rem 2.3rem;
  box-shadow: var(--shadow-soft);
}

.pricing-card__header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.pricing-card__price {
  font-size: 2.3rem;
  margin: 0.3rem 0;
}

.pricing-card__currency {
  font-size: 1.05rem;
}

.pricing-card__period {
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-card__subtitle {
  color: var(--muted);
}

.pricing-card__body {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

.pricing-card__microcopy {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Tooltip */

.tooltip {
  margin-top: 0.75rem;
  border-radius: 999px;
  padding: 0.34rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: var(--muted);
  cursor: default;
  position: relative;
}

.tooltip__content {
  position: absolute;
  left: 50%;
  bottom: 130%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 260px;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #05070a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.tooltip:hover .tooltip__content {
  opacity: 1;
  transform: translate(-50%, -4px);
}

/* Tags (pro koho) */

.grid--tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(12, 16, 26, 0.95);
  font-size: 0.85rem;
  color: var(--muted);
}

/* O mně */

.about {
  max-width: 720px;
}

.about h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.about p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.about__signature {
  margin-top: 1.4rem;
}

/* Reference */

.grid--testimonials {
  grid-template-columns: minmax(0, 1fr);
}

.testimonial {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: rgba(11, 16, 26, 0.96);
  padding: 1.7rem 1.8rem;
  font-style: italic;
  color: var(--muted);
}

/* FAQ */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 0.9rem 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-item__question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform var(--transition-fast);
}

.faq-item--open .faq-item__question::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.25s ease-out;
  opacity: 0;
}

.faq-item__answer p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item--open .faq-item__answer {
  opacity: 1;
  max-height: 260px; /* pro krátké odpovědi stačí */
}

/* CTA sekce */

.section--cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.section--cta p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1.3rem;
}

.section-cta__actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

/* Kontakt & formulář */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}

.contact__info h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.contact__info p {
  color: var(--muted);
  line-height: 1.7;
}

.contact__details p {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.contact__details a {
  text-decoration: underline;
  text-decoration-color: rgba(61, 213, 243, 0.6);
  text-underline-offset: 2px;
}

.contact__form-wrapper {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: rgba(10, 15, 26, 0.98);
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.contact__form-wrapper h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.contact__form-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.3rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form__field label {
  font-size: 0.9rem;
}

.form__field input,
.form__field textarea {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 9, 17, 0.9);
  padding: 0.7rem 0.8rem;
  color: var(--text);
  font-size: 0.93rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(163, 175, 196, 0.7);
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 213, 243, 0.35);
  background: #05070a;
}

.form__microcopy {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.form__message {
  display: none;
  font-size: 0.85rem;
  margin-top: 0.7rem;
}

.form__message--error {
  color: var(--danger);
}

.form__message--success {
  color: var(--accent);
}

/* FOOTER */

.site-footer {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: radial-gradient(circle at bottom, rgba(17, 28, 46, 0.9), rgba(3, 4, 7, 0.95));
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-copy {
  text-align: center;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px; /* rozestup mezi jménem, | a odkazem */
  color: var(--muted);
}

.footer-separator {
  opacity: 0.6;
}

.footer-meta a {
  color: var(--accent);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}


/* Mobile fixed CTA */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.8rem 1.5rem;
  text-align: center;
  border-radius: 0;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020308;
  font-weight: 600;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.75);
  display: none;
  z-index: 45;
}

/* E-mail sekce pod kontaktem */

.section--email {
  background: var(--bg-alt-soft);
  border-top: 1px solid var(--border-soft);
}

.email-section {
  max-width: 640px;
  margin-inline: auto;
}

.email-section__inner {
  text-align: center;
}

.email-section__text {
  color: var(--muted);
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}

.email-section__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.email-section__address {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.email-section__hint {
  font-size: 0.85rem;
  color: var(--muted);
}

/* lepší zalomení na mobilech */
@media (max-width: 520px) {
  .email-section__row {
    flex-direction: column;
  }
}


/* Scroll reveal */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVITA
  -------------------------------------- */

@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .grid--features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card__grid {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    height: 64px;
  }

  .nav__list {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero {
    padding-top: 3.4rem;
    padding-bottom: 3rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid--features {
    grid-template-columns: 1fr;
  }

  .grid--tags {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.3rem 0;
  }

  .contact__form-wrapper {
    padding: 1.4rem 1.4rem 1.5rem;
  }

  .section-cta__actions {
    flex-direction: column;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 3.3rem; /* aby obsah nebyl schovaný za mobile CTA */
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .pricing-card {
    padding: 1.6rem 1.5rem;
  }

  .container {
    padding-inline: 1.2rem;
  }
}
/* LEGAL / OBCHODNÍ PODMÍNKY
   -------------------------------------- */

/* Zarovnání hlavičky sekce na střed */
.section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Malý "štítek" nad nadpisem (Právní informace) */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(61, 213, 243, 0.12);
  border: 1px solid var(--accent-soft);
}

/* Podtitul pod H1 */
.section__subtitle {
  color: var(--muted);
  max-width: 640px;
  margin: 0.4rem auto 0;
  line-height: 1.7;
}

/* Karta pro celý text OP */
.card--legal {
  margin-top: 1.5rem;
  line-height: 1.7;
}

/* Jednotlivé bloky článků */
.op-block {
  margin-bottom: 2.5rem;
}

.op-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.op-block h3 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.op-block p {
  margin-bottom: 0.65rem;
}

.op-block ul {
  margin: 0.25rem 0 0.9rem;
  padding-left: 1.2rem;
}

.op-block li {
  margin-bottom: 0.25rem;
}

/* Modrý box pro "Lidský komentář" */
.op-note {
  margin-top: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left,
    rgba(61, 213, 243, 0.18),
    rgba(15, 23, 42, 0.95)
  );
  border: 1px solid rgba(61, 213, 243, 0.35);
}

.op-note strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.op-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Menší úpravy na mobilech */
@media (max-width: 640px) {
  .card--legal {
    padding: 1.5rem;
  }

  .op-block h2 {
    font-size: 1.2rem;
  }
}
