/* stockpicker.css */

/*
 * This file contains the styles specific to the Stock Picker feature.
 * It ensures the Stock Picker content is well-formatted and visually consistent.
 */

#stock-picker-container {
    background-color: #f0f2f5;
    margin-top: 0;
    padding-top: 0;
}

.premium-header {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 0;
  padding-top: 0;
}

.premium-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.premium-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.premium-subtitle {
  font-size: 1.2rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.feature-card h3 {
  font-size: 1.3rem;
  color: #1a202c;
  margin-bottom: 1rem;
  font-weight: 400;
}

.feature-card p {
  color: #718096;
  line-height: 1.6;
}

.demo-section {
  margin-bottom: 3rem;
}

.demo-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1a202c;
  margin-bottom: 2rem;
}

.demo-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.demo-card:last-child {
  margin-bottom: 0;
}

.demo-card.locked {
  position: relative;
  overflow: hidden;
}

.paywall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.paywall-content {
  text-align: center;
  padding: 2rem;
  padding-bottom: 3.5rem;
}

.demo-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.demo-badge {
  background: #4c51bf;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 0.8rem;
  margin-right: 1rem;
}

.demo-header h4 {
  margin: 0;
  color: #1a202c;
  font-size: 1.2rem;
  font-weight: 400;
}

.demo-stock {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.demo-stock img {
  border-radius: 8px;
  margin-right: 1rem;
}

.demo-stock-info h5 {
  margin: 0 0 0.5rem 0;
  color: #1a202c;
  font-size: 1.1rem;
  font-weight: 400;
}

.demo-recommendation {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recommendation-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 0.8rem;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric {
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 0.5rem;
}

.metric-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  color: #1a202c;
}

.metric-value.positive {
  color: #28a745;
}

.pricing-section {
  margin-bottom: 3rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

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

.pricing-header h3 {
  font-size: 1.5rem;
  color: #1a202c;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.pricing-toggle {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pricing-option {
  padding: 0.6rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  color: #4a5568;
  border-radius: 9999px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.pricing-option:hover {
  border-color: #4c51bf;
  color: #4c51bf;
}

.pricing-option.active {
  background: #4c51bf;
  color: white;
  border-color: #4c51bf;
}

.price {
  font-size: 3rem;
  font-weight: 400;
  color: #4c51bf;
}

.price-period {
  font-size: 1rem;
  color: #718096;
  font-weight: normal;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: #4a5568;
}

.subscribe-button {
  background: #4c51bf;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.subscribe-button:hover {
  background: #3e449a;
}

.pricing-note {
  color: #718096;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.testimonials-section {
  margin-bottom: 3rem;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1a202c;
  margin-bottom: 2rem;
}

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

.testimonial {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}

.testimonial p {
  color: #4a5568;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-author {
  color: #718096;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  #stock-picker-container {
    padding: 0 0.5rem 3rem 0.5rem;
  }

  .premium-header h1 {
    font-size: 1.8rem;
  }

  .premium-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .premium-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .demo-section {
    padding: 0 0.5rem;
  }

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

  .demo-card {
    padding: 1.5rem;
  }

  .demo-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .demo-badge {
    margin-right: 0;
  }

  .demo-header h4 {
    font-size: 1rem;
    text-align: center;
  }

  .demo-stock {
    flex-direction: column;
    align-items: center;
  }

  .demo-stock img {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }

  .demo-stock-info {
    text-align: center;
  }

  .demo-stock-info h5 {
    font-size: 1rem;
  }

  .demo-recommendation {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
  }

  .demo-recommendation span {
    font-size: 0.85rem;
  }

  .demo-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: left;
  }

  .metric {
    text-align: left;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 0.5rem;
  }

  .metric-label {
    font-size: 0.85rem;
  }

  .metric-value {
    font-size: 1.1rem;
  }

  .pricing-section {
    padding: 0 0.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .price {
    font-size: 2.5rem;
  }

  .testimonials-section {
    padding: 0 0.5rem;
  }

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

  .testimonials {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .paywall-content {
    padding: 1rem;
  }

  .paywall-content h3 {
    font-size: 1.1rem;
  }

  .paywall-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .premium-header h1 {
    font-size: 1.5rem;
  }

  .premium-subtitle {
    font-size: 0.9rem;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .demo-section h2,
  .testimonials-section h2 {
    font-size: 1.3rem;
  }

  .price {
    font-size: 2rem;
  }

  .pricing-features {
    font-size: 0.9rem;
  }
}
