/* CSS for Sports Wager Tracker Landing Page */

/* Base Styles */
:root {
  --primary-color: #50C878;
  --secondary-color: #8cdfaa;
  --accent-color: #2a7a48;
  --light-bg: #f0fff5;
  --dark-bg: #252a41;
  --text-color: #333;
  --light-text: #fff;
  --success-color: #28c76f;
  --gray-color: #6c757d;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--light-text);
}

.btn-secondary {
  background-color: transparent;
  color: black;
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--gray-color);
}

.btn-outline:hover {
  background-color: var(--gray-color);
  color: var(--light-text);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Header/Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--light-text);
  padding: 120px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Features Section */
.features {
  background-color: var(--light-bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

/* How It Works Section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.step {
  position: relative;
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Blog Preview Section */
.blog-preview {
  background-color: var(--light-bg);
  padding: 80px 0;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--light-text);
}

.blog-posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.blog-post-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-post-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-post-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-post-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-post-title a:hover {
  color: var(--primary-color);
}

.blog-post-excerpt {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-post-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-color);
}

.blog-post-category {
  padding: 2px 8px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 4px;
  font-weight: 500;
}

.blog-post-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.blog-post-link:after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.blog-post-link:hover {
  color: var(--primary-dark);
}

.blog-post-link:hover:after {
  transform: translateX(3px);
}

.blog-cta {
  text-align: center;
}

@media (max-width: 768px) {
  .blog-post-card {
    max-width: 100%;
  }
}

/* Testimonials Section */
.testimonials {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 350px;
}

.quote {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.author {
  font-weight: 600;
  text-align: right;
}

/* Pricing Section */
.pricing-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-plan {
  background-color: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-plan:hover {
  transform: translateY(-10px);
}

.pricing-plan.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-plan.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.featured-tag {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
}

.price span {
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.7;
}

.pricing-plan ul {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-plan li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.pricing-plan li:before {
  content: "✓";
  color: var(--success-color);
  position: absolute;
  left: 0;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: var(--light-text);
  text-align: center;
  padding: 80px 0;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta-links {
  color: white;
}

.cta-links:hover {
  color: var(--text-color);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo p {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.link-group h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 10px;
}

.link-group a {
  color: var(--light-text);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.link-group a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  color: var(--light-text);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .pricing-plans {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-plan {
    max-width: 100%;
    width: 100%;
  }
  
  .pricing-plan.featured {
    transform: none;
    order: -1;
  }
  
  .pricing-plan.featured:hover {
    transform: translateY(-10px);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}