/* Pozycjonowanie Stron Page Styles */

.price-page {
  background: #f9fafb;
  padding: 3rem 0;
}

.price-page .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Tabs Section */
.tabs-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Primary Tabs */
.primary-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 2rem;
}

.primary-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.primary-tab:hover {
  color: #2563eb;
}

.primary-tab.active {
  color: #2563eb;
}

.primary-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
}

/* Secondary Tabs */
.secondary-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.secondary-tab {
  padding: 0.625rem 1.25rem;
  background: #f3f4f6;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s;
}

.secondary-tab:hover {
  background: #e5e7eb;
}

.secondary-tab.active {
  background: #dbeafe;
  border-color: #2563eb;
  color: #2563eb;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #111827;
}

.page-description {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
  position: relative;
}

.pricing-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: #2563eb;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 3rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
}

.pricing-period {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.pricing-highlight {
  background: #dbeafe;
  color: #1e40af;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
}

.pricing-description {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pricing-button {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.pricing-button:hover {
  background: #1d4ed8;
}

/* Custom Package Card */
.custom-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.custom-card .pricing-name,
.custom-card .pricing-price,
.custom-card .pricing-period,
.custom-card .pricing-description {
  color: white;
}

.custom-card .pricing-highlight {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.custom-card .pricing-button {
  background: white;
  color: #667eea;
}

.custom-card .pricing-button:hover {
  background: #f3f4f6;
}

.pricing-note {
  color: #6b7280;
  bottom: 0;
  right: 0;
  text-align: right;
}

/* Benefits Section */
.benefits-section {
  background: white;
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 4rem;
}

.benefits-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #111827;
  margin-top: 0;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-content {
  flex: 1;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.benefit-description {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .price-page {
    padding: 2rem 0;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .page-description {
    font-size: 1rem;
  }

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

  .primary-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .secondary-tabs {
    justify-content: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .tabs-section {
    padding: 1.5rem;
  }

  .benefits-section {
    padding: 2rem 1.5rem;
  }

  .benefits-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .pricing-price {
    font-size: 2.5rem;
  }

  .price-currency {
    font-size: 1.25rem;
  }

  .featured-badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.75rem;
  }
}
