:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #1e40af;
  --secondary-color: #10b981;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --link: #334155;
  --link-hover: #0f172a;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --accent-orange: #f59e0b;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

*,
:before,
:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: #e5e7eb;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.content-spacing {
  padding-top: 8rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background-color: #fff;
  z-index: 1000;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 0.5rem !important;
}

.navigation__logo {
  margin-bottom: 0;
  z-index: 1001;
}

.navigation__logo img {
  height: 2.5rem;
  width: 100%;
  max-width: 15rem;
}

.navigation__wrapper {
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  padding-top: 5rem;
  transition: 250ms ease-out;
  height: 0;
  box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  display: none;
  overflow: auto;
}

.navigation__wrapper.active {
  display: block;
  top: 0;
}

.navigation__list {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  max-width: 100%;
  flex-direction: column;
  list-style: none;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.navigation__list li {
  padding: 0.5rem;
}

.navigation__list li:before {
  content: none;
}

.navigation__link {
  display: block;
  border-radius: 0.375rem;
  padding: 0.5rem;
  font-weight: 500;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.2s;
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin-bottom: 0;
}

.navigation__link:hover {
  color: var(--link-hover);
}

/* Hamburger tlačítko */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.hamburger__line {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Animace hamburger ikony */
.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 7px);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/**********************************/

/* Container */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-spacing {
  padding: 60px 24px;
}

/* Images */
img {
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 1.7955rem + 0.9091vw, 2.5rem);
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(1.75rem, 1.6477rem + 0.4545vw, 2rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 1.1477rem + 0.4545vw, 1.5rem);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-gray);
}

p,
li,
a {
  font-size: clamp(1rem, 0.8977rem + 0.4545vw, 1.25rem);
}

strong {
  color: var(--text-dark);
  font-weight: 600;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/*Utils*/
.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.75rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Sections */
section {
  scroll-margin-top: 2rem;
  padding: 7rem 0;
  text-align: center;
}

section:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

section:last-child {
  padding-bottom: 0;
}

.reference-desc {
  background: #f0f9ff;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #4169e1;
}

/* Hero Section */
.hero {
  padding: 7rem 2rem 4rem;
  margin-bottom: 3rem;
}

.hero-wrapper {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-desc {
  font-size: 1.375rem;
  margin-bottom: 2rem;
}

/* Welcome Section */
.welcome-section {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.welcome-section h2 {
  color: var(--text-dark);
  margin-top: 0;
}

/* Video Container */
.video-container {
  margin: 3rem 0;
  text-align: center;
}

.video-container h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.video-container iframe {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.video-text-muted {
  font-size: 1rem;
}

/* Buttons */
.buttons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.download-button,
.download-all-button {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-button span {
  font-size: 0.5rem;
}

.download-button:hover,
.download-all-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Lists */
ul {
  max-width: 42rem;
  margin: 0 auto;
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
  text-align: left;
}

ul li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: var(--text-gray);
}

ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.numbered-list {
  list-style: none;
  padding-left: 0;
}

.numbered-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.numbered-list li::before {
  content: none !important;
  display: none !important;
}

.number-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: #1e40af;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid #1e40af;
}

/* Logos */
.logos {
  padding-bottom: 2rem;
  border-radius: 8px;
  margin: 2rem 0 3rem;
  text-align: center;
}

.logos-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Screenshots */
.screenshots {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  text-align: center;
}

/* Vyhody Boxes */
.vyhody-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 8px;
}

.vyhody-box h3 {
  margin-top: 0;
  color: var(--text-dark);
}

/* Pricing Table */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.price-option {
  background-color: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.price-option:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.price-option h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.discount {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.highlight {
  border-color: var(--primary-color);
  background-color: rgba(37, 99, 235, 0.05);
}

.best-deal {
  border-color: var(--secondary-color);
  background-color: rgba(16, 185, 129, 0.05);
  position: relative;
}

.best-deal::before {
  content: "💰 NEJLEPŠÍ NABÍDKA";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Banner Table */
.table-container {
  max-width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
}

.banner-table {
  width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.banner-table thead {
  background-color: var(--primary-color);
  color: white;
}

.banner-table th,
.banner-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.banner-table td a {
  font-size: 1rem;
}

.banner-table th {
  font-weight: 600;
}

.banner-table tbody tr:hover {
  background-color: var(--bg-light);
}

.banner-table tbody tr:last-child td {
  border-bottom: none;
}

.banner-table thead tr th:last-child {
  text-align: right;
}

.banner-table tbody tr td:last-child a {
  margin-left: auto;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-button {
  width: 100%;
  padding: 14px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/*Scroll top arrow button*/
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: rotate(-45deg);
  margin-top: 5px;
}

/*Lightbox*/
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-wrapper {
  display: flex;
  justify-content: center;
  max-height: calc(100% - 3rem);
  max-width: calc(100% - 10rem);
  overflow-y: auto;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  object-fit: contain;
}

.lightbox-close-wrapper {
  position: absolute;
  top: 18px;
  right: 24px;
}

.lightbox-close {
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.lightbox-close:hover {
  color: #ccc;
}

/* Badges */
.recommended-badge-container {
  display: none;
  padding-left: 2rem;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
}

.recommended-badge-mobile,
.recommended-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4169e1 0%, #1e40af 100%);
  font-size: 0.85rem;
  color: white;
  padding: 6px 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(65, 105, 225, 0.3);
  position: relative;
}

.recommended-badge-mobile {
  border-radius: 6px;
}

.recommended-badge {
  float: left;
  margin-right: 30px;
  margin-left: -240px;
  border-radius: 6px 0 0 6px;
}

.recommended-badge-mobile::after,
.recommended-badge::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #1e40af;
}

.recommended-badge-mobile::after {
  left: 1.5rem;
  bottom: -10px;
  border-width: 6px 0 6px 10px;
  rotate: 90deg;
}

.recommended-badge::after {
  top: 0;
  right: -20px;
  border-width: 18px 0 18px 20px;
}

/*Form*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-container {
  margin-bottom: 5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.073);
  width: 100%;
  padding: 50px 40px;
  animation: fadeIn 0.6s ease-out;
}

.form-container form {
  max-width: 48rem;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
  text-align: left;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #00d4aa;
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

.submit-btn {
  width: fit-content;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #00d4aa 0%, #00a896 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 170, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.success-message {
  display: none;
  background: #10b981;
  color: white;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-message {
  display: none;
  background: #ef4444;
  color: white;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
}

/* Contact Info */
.contact-info {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.contact-info p {
  margin-bottom: 1rem;
}

/*Footer*/
.footer-pattern {
  margin-bottom: -1rem;
}

.footer-container {
  padding: 8rem 1.5rem 1rem;
  background-color: var(--bg-light);
}

.footer p {
  text-align: center;
  margin-bottom: 0;
  font-size: 1rem;
}

/*Partner logos*/
.logos .scroll-content {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 67rem;
  overflow: hidden;
}

.scroll-content__inner {
  will-change: transform;
  white-space: nowrap;
  display: inline-flex;
}

.logos .scroll-content__inner a {
  margin-left: 2rem;
  margin-right: 2rem;
}

.scroll-content-logo img {
  max-width: initial;
  height: auto;
  width: 120px;
}

/*Screens*/
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item:before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.675);
  z-index: 100;
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.gallery-item:hover:before {
  opacity: 1;
}

.gallery-links-wrapper {
  display: none;
  position: absolute;
  z-index: 110;
  color: #fff;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.gallery-item:hover .gallery-links-wrapper {
  display: flex;
}

.gallery-item a:hover {
  text-decoration: none;
  color: #fff;
}

.gallery-link-mobile:hover {
  text-decoration: none;
}

.gallery-item img {
  max-width: 100%;
}

.gallery-link,
.gallery-button {
  color: #fff;
  margin-top: auto;
  margin-bottom: 0;
}

.gallery-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.125rem;
  background-color: #000;
  border-color: 1px solid #000;
  transition: 250ms ease-out;
  font-weight: 500;
}

.gallery-item .gallery-button:hover {
  transform: translateY(-1px);
}

.gallery-link-mobile,
.gallery-link {
  font-size: 0.875rem;
}

.gallery-link-mobile:hover .gallery-link-text,
.gallery-link:hover .gallery-link-text {
  text-decoration: underline;
}

.gallery-link-mobile {
  display: none;
}

.no-scroll {
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
  .recommended-badge-container {
    display: block;
  }

  .recommended-badge-mobile {
    display: inline-block;
  }
  .recommended-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .content-spacing {
    padding-top: 7rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__desc {
    font-size: 1rem;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .welcome-section,
  .contact-form {
    padding: 1.5rem;
  }

  .video-container iframe {
    height: 250px;
  }

  .banner-table {
    font-size: 0.9rem;
  }

  .banner-table th,
  .banner-table td {
    padding: 0.75rem 0.5rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .gallery-button {
    margin-top: initial;
  }

  .gallery-item {
    width: fit-content;
  }

  .hero {
    padding: 2rem 0 4rem;
  }

  .gallery-link-mobile {
    display: block;
    margin-bottom: 3rem;
    margin-top: 0.5rem;
  }

  .gallery-link {
    display: none;
  }

  .hero-desc {
    font-size: 1.175rem;
  }

  .lightbox-wrapper {
    max-width: calc(100% - 6rem);
  }
}

@media (max-width: 480px) {
  .cta-button {
    display: block;
    margin: 10px 0;
    text-align: center;
  }

  ul li {
    padding-left: 1.5rem;
    font-size: 0.95rem;
  }
}
