﻿/* Pricing Standalone Styles */
/* Layout */
.pricing-page {
  padding: 6rem 1rem 4rem;
}

.pricing-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero Section */
.pricing-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

/* Section Styles */
.pricing-section {
  margin-bottom: 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-icon {
  color: hsl(var(--primary));
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

.section-description {
  max-width: 48rem;
  margin: 0 auto;
  color: hsl(var(--muted-foreground));
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 96rem;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pricing-card.recommended {
  border-color: hsl(var(--primary));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.recommended-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-icon {
  width: 12px;
  height: 12px;
}

.card-header {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.card-price {
  margin-top: 1rem;
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 700;
}

.price-period {
  color: hsl(var(--muted-foreground));
}

.card-content {
  padding: 0 1.5rem 1.5rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-item.included .feature-icon {
  color: hsl(var(--success));
}

.feature-item.excluded {
  color: hsl(var(--muted-foreground));
}

.feature-item.excluded .feature-icon {
  color: hsl(var(--muted-foreground));
}

.feature-item.tooltip-trigger {
  cursor: help;
}

.info-icon {
  color: hsl(var(--muted-foreground));
  margin-left: auto;
  flex-shrink: 0;
}

/* Buttons */
.pricing-button {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.pricing-button.primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.pricing-button.primary:hover {
  opacity: 0.9;
}

.pricing-button.success {
  background: hsl(var(--success));
  color: hsl(var(--success-foreground));
}

.pricing-button.success:hover {
  opacity: 0.9;
}

.pricing-button.outline {
  background: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}

.pricing-button.outline:hover {
  background: hsl(var(--accent));
}

.pricing-button.large {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Pricing Calculator */
.pricing-calculator {
  max-width: 42rem;
  margin: 0 auto;
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.calculator-header {
  margin-bottom: 1.5rem;
}

.calculator-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.calculator-icon {
  width: 20px;
  height: 20px;
}

.calculator-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.calculator-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calculator-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calculator-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calculator-label label {
  font-weight: 500;
}

.calculator-value {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Slider */
.slider {
  width: 100%;
  height: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  outline: none;
  -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  cursor: pointer;
  border: 2px solid hsl(var(--background));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  cursor: pointer;
  border: 2px solid hsl(var(--background));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.calculator-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.calculator-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.total-label {
  font-size: 1.125rem;
  font-weight: 600;
}

.total-amount {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

/* Section Divider */
.section-divider {
  border-top: 1px solid hsl(var(--border));
  margin: 4rem 0;
}

/* Licensing Info */
.licensing-info {
  margin-top: 2rem;
  text-align: center;
}

.licensing-info p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* CTA Section */
.cta-section {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

/* Tooltip */
.tooltip {
  position: fixed;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  max-width: 320px;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .pricing-grid.two-col,
  .pricing-grid.three-col {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}
