/* Welcome Pages - Components */

/* Hero section */
.hero-description {
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

.hero-stats {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.hero-stat-number {
  color: var(--primary);
  font-size: 2rem;
  font-weight: bold;
}

.hero-stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-buttons {
  margin-top: 2rem;
  text-align: center;
}

.cta-button-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 0 1rem;
}

.cta-button-secondary:hover {
  background: var(--primary);
  color: black;
  text-decoration: none;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA section */
.cta-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.cta-content h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Use case cards */
.use-case-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.use-case-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.use-case-icon--primary {
  color: var(--primary);
}

.use-case-icon--accent {
  color: var(--accent);
}

.use-case-icon--secondary {
  color: var(--secondary);
}

.use-case-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.use-case-description {
  color: var(--text-muted);
}

/* Step components */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.step-number {
  background: var(--primary);
  color: black;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.step-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.step-description {
  color: var(--text-muted);
}

.step-highlight {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Perfect for section */
.perfect-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Pricing components */
.pricing-explanation {
  margin: 4rem 0;
  text-align: center;
}

.pricing-explanation h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

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

.pricing-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
}

.pricing-info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pricing-info-icon--accent {
  color: var(--accent);
}

.pricing-info-icon--primary {
  color: var(--primary);
}

.pricing-info-icon--secondary {
  color: var(--secondary);
}

.pricing-info-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.pricing-info-description {
  color: var(--text-muted);
}

/* Request info box */
.request-info-box {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
}

.request-info-title {
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.request-info-content {
  color: var(--text-muted);
  text-align: left;
  line-height: 1.6;
}

/* Calculator components */
.calculator-container {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.calculator-title {
  color: var(--accent);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.calculator-input-group {
  margin-bottom: 1.5rem;
}

.calculator-label {
  display: block;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calculator-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
}

.calculator-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.calculator-summary {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 2px solid var(--accent);
  font-weight: bold;
  color: white;
}

.total-price {
  font-size: 1.5rem;
  color: var(--accent);
}

.info-box {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  color: var(--accent);
  text-align: center;
}

.info-box.warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: #ffc107;
  color: #ffc107;
}

/* Pricing specific styles */
.pricing-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-plans {
  margin: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: black;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 2rem;
}

.plan-name {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.plan-price {
  margin-bottom: 1rem;
}

.price-amount {
  color: var(--primary);
  font-size: 3rem;
  font-weight: bold;
}

.price-period {
  color: var(--text-muted);
  font-size: 1rem;
}

.plan-description {
  color: var(--text-muted);
  margin: 0;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.feature-item i {
  color: var(--primary);
  width: 16px;
}

.plan-button {
  width: 100%;
  margin: 0;
}

/* Calculator specific styles */
.calculator-section {
  margin: 4rem 0;
  text-align: center;
}

.calculator-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* FAQ Styles */
.faq-section {
  margin: 4rem 0;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  text-align: left;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
}

.faq-item h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: black;
  text-decoration: none;
  border-radius: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin: 0 0.5rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
  text-decoration: none;
  color: black;
}

/* Legal Pages Components */
.legal-header {
  text-align: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.legal-header h1 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--accent);
  margin-top: 2rem;
}

.toc {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.toc h3 {
  margin-top: 0;
  color: var(--primary);
}

.toc ol {
  margin-bottom: 0;
}

.toc a {
  color: var(--accent);
  text-decoration: none;
}

.toc a:hover {
  color: var(--primary);
}

.important-notice {
  background: rgba(0, 255, 136, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.gdpr-box {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.legal-table {
  margin: 1rem 0;
  width: 100%;
  border-collapse: collapse;
}

.legal-table th {
  color: var(--primary);
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.legal-table tr:hover {
  background: rgba(0, 255, 136, 0.03);
}

/* Refund page specific components */
.warning-box {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid var(--warning);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.success-box {
  background: rgba(16, 185, 129, 0.1);
  border-left: 4px solid var(--success);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-gradient-start);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-right: 0.5rem;
}

.badge--eligible {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.badge--partial {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.badge--ineligible {
  background: rgba(239, 68, 68, 0.2);
  color: var(--error);
}