/* SEO Optimalized Pricing Page Styles - Flexible Version */

/* Active nav link */
.nav-link.active,
.mobile-nav-link.active {
  color: #000;
  font-weight: 600;
}

.nav-link.active::after,
.mobile-nav-link.active::after {
  width: 100%;
}

/* Pricing Hero */
.pricing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #1a1a1a 0%, #666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-guarantee {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: #1a1a1a;
}

.guarantee-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guarantee-icon {
  color: #1a1a1a;
  font-weight: 600;
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 3rem;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.scroll-arrow {
  display: inline-block;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 4rem;
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
  transform: rotate(90deg);
  background: linear-gradient(90deg, #555, #777, #999, #777, #555, #777, #999, #777, #555);
  background-size: 800% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: chevronBounce 3s ease-in-out infinite, infiniteGradient 20s linear infinite;
  outline: none;
  border: none;
  background-color: transparent;
}

.scroll-arrow:hover {
  transform: rotate(90deg) scale(1.15);
}

@keyframes chevronBounce {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(-1rem); }
}

@keyframes infiniteGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 800% 50%; }
}

/* Pricing Section */
.pricing-section {
  background: #111111;
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #a0a0a0;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(30px);
  height: fit-content;
  outline: none;
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Card variants */
.pricing-card.starter:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.pricing-card.popular {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
  transform: scale(1.05);
}

.pricing-card.popular.visible {
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 25px 70px rgba(16, 185, 129, 0.2);
  transform: translateY(-10px) scale(1.07);
}

.pricing-card.professional:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
}

.pricing-card.enterprise:hover {
  border-color: rgba(251, 146, 60, 0.5);
  box-shadow: 0 20px 60px rgba(251, 146, 60, 0.15);
}

/* Card Badge */
.card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 1rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
  to { box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5); }
}

/* Card Header */
.card-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.card-description {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Card Price */
.card-price {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: #a0a0a0;
  margin-left: 0.5rem;
}

.price-note {
  color: #a0a0a0;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Card Features */
.card-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.5rem;
  padding-left: 1rem;
}

.feature-icon {
  color: #10b981;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-text {
  color: #a0a0a0;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Card Delivery */
.card-delivery {
  margin-bottom: 2rem;
  text-align: center;
}

.delivery-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.delivery-icon {
  color: #10b981;
  font-size: 1rem;
}

.delivery-text {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Card Button */
.card-button {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  outline: none;
}

.card-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.card-button:hover::before {
  left: 100%;
}

.card-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.popular .card-button {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.popular .card-button:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

/* Extensions Section */
.extensions-section {
  background: #0a0a0a;
  color: #ffffff;
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.extensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.extension-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.extension-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.extension-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.extension-item.custom {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.extension-item.custom:hover {
  border-color: rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
}

.extension-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.extension-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.extension-item p {
  color: #a0a0a0;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Pricing Note */
.pricing-note {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.pricing-note h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.pricing-note p {
  color: #a0a0a0;
  line-height: 1.7;
  font-size: 1rem;
}

.pricing-note strong {
  color: #10b981;
  font-weight: 600;
}

/* Value Section */
.value-section {
  background: #0a0a0a;
  color: #ffffff;
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.value-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: grayscale(100%) brightness(200%);
}

.value-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.value-item p {
  color: #a0a0a0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
  background: #111111;
  color: #ffffff;
  padding: 6rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.faq-item p {
  color: #a0a0a0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Pricing CTA */
.pricing-cta {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  padding: 6rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  color: #a0a0a0;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .pricing-card,
  .extension-item,
  .value-item,
  .faq-item {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-title-line,
  .hero-subtitle,
  .hero-guarantee,
  .scroll-indicator,
  .pricing-card,
  .extension-item,
  .value-item,
  .faq-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .scroll-arrow {
    animation: none;
  }
  
  .card-badge {
    animation: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-hero {
    padding-top: 6rem; /* Zvětšeno z 3rem na 6rem */
  }

  .hero-guarantee {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .guarantee-item {
    min-width: 250px;
    justify-content: center;
  }

  .pricing-section,
  .extensions-section,
  .value-section,
  .faq-section {
    padding: 4rem 0;
  }

  .pricing-grid,
  .extensions-grid,
  .value-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular.visible {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.02);
  }

  .pricing-cta {
    padding: 4rem 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .scroll-arrow {
    font-size: 3rem;
  }

  .pricing-note {
    padding: 2rem;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .pricing-hero {
    padding-top: 7rem; /* Zvětšeno z původního na 7rem */
  }

  .hero-content {
    padding: 0 1rem; /* Přidán padding pro lepší spacing na stranách */
  }

  .hero-guarantee {
    margin-bottom: 2rem;
  }

  .guarantee-item {
    min-width: 220px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .scroll-indicator {
    margin-top: 2rem;
  }

  .scroll-arrow {
    font-size: 2.5rem;
  }

  .hero-title {
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    margin-bottom: 2rem;
    padding: 0;
  }

  .pricing-card,
  .extension-item,
  .value-item,
  .faq-item {
    padding: 1.5rem;
  }

  .card-price {
    padding: 1.25rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .extension-icon {
    font-size: 2rem;
  }

  .pricing-note {
    padding: 1.5rem;
  }

  .pricing-note h3 {
    font-size: 1.25rem;
  }

  .pricing-note p {
    font-size: 0.9rem;
  }
}

/* Animation delays for staggered effects */
.pricing-card:nth-child(1) {
  animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
  animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
  animation-delay: 0.3s;
}

.pricing-card:nth-child(4) {
  animation-delay: 0.4s;
}

.extension-item:nth-child(1) { animation-delay: 0.1s; }
.extension-item:nth-child(2) { animation-delay: 0.15s; }
.extension-item:nth-child(3) { animation-delay: 0.2s; }
.extension-item:nth-child(4) { animation-delay: 0.25s; }
.extension-item:nth-child(5) { animation-delay: 0.3s; }
.extension-item:nth-child(6) { animation-delay: 0.35s; }
.extension-item:nth-child(7) { animation-delay: 0.4s; }
.extension-item:nth-child(8) { animation-delay: 0.45s; }
.extension-item:nth-child(9) { animation-delay: 0.5s; }
.extension-item:nth-child(10) { animation-delay: 0.55s; }
.extension-item:nth-child(11) { animation-delay: 0.6s; }
.extension-item:nth-child(12) { animation-delay: 0.65s; }

.value-item:nth-child(1) {
  animation-delay: 0.1s;
}

.value-item:nth-child(2) {
  animation-delay: 0.2s;
}

.value-item:nth-child(3) {
  animation-delay: 0.3s;
}

.value-item:nth-child(4) {
  animation-delay: 0.4s;
}

.faq-item:nth-child(1) {
  animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
  animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
  animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
  animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
  animation-delay: 0.6s;
}