/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Design System */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 0%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 0%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(0, 0%, 0%);
    --primary: hsl(180, 100%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(180, 5%, 96%);
    --secondary-foreground: hsl(0, 0%, 0%);
    --muted: hsl(0, 0%, 97%);
    --muted-foreground: hsl(0, 0%, 40%);
    --accent: hsl(180, 100%, 25%);
    --accent-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(0, 0%, 90%);
    --input: hsl(0, 0%, 95%);
    --ring: hsl(180, 100%, 25%);
    
    /* Custom design tokens for Scoreazy */
    --teal-primary: hsl(180, 100%, 25%);
    --teal-light: hsl(180, 100%, 85%);
    --teal-hover: hsl(180, 100%, 20%);
    --section-padding: 4rem 0;
    --gradient-hero: linear-gradient(135deg, hsl(180, 100%, 25%, 0.05), hsl(180, 100%, 85%, 0.1));
    --shadow-card: 0 4px 20px hsl(180, 100%, 25%, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

.page-container {
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 6rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-subtitle-highlight {
    font-weight: 600;
    color: var(--primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-cta:hover {
    background-color: var(--teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--foreground);
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0 5rem;
    background-color: hsl(180, 5%, 96%, 0.3);
}

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

.benefit-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px hsl(180, 100%, 25%, 0.15);
}

.benefit-content {
    padding-top: 1.5rem;
}

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

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.benefit-description {
    color: var(--muted-foreground);
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0 5rem;
}

.steps-container {
    max-width: 64rem;
    margin: 0 auto;
}

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

.step {
    text-align: center;
}

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

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

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

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0 5rem;
    background-color: hsl(180, 5%, 96%, 0.3);
}

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

.testimonial-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.testimonial-content {
    padding-top: 1.5rem;
}

.stars {
    display: flex;
    margin-bottom: 1rem;
}

.star {
    color: var(--primary);
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--muted-foreground);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background-color: hsl(180, 100%, 25%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--foreground);
}

.author-class {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* FAQs Section */
.faqs-section {
    padding: 4rem 0 5rem;
}

.faqs-container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.faq-content {
    padding-top: 1.5rem;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.faq-answer {
    color: var(--muted-foreground);
}

/* Final CTA Section */
.final-cta-section {
    padding: 4rem 0 5rem;
    background-color: hsl(180, 100%, 25%, 0.05);
}

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

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background-color: var(--foreground);
    color: var(--background);
    padding: 3rem 0;
}

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

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle,
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 2rem 0 4rem;
    }
    
    .benefits-section,
    .how-it-works-section,
    .testimonials-section,
    .faqs-section,
    .final-cta-section {
        padding: 3rem 0 4rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .testimonial-card,
    .benefit-card,
    .faq-card {
        padding: 1rem;
    }
    
    .hero-cta,
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
  .benefits-section {
    padding: 2rem 1rem;
  }

  .benefits-grid {
    gap: 1.25rem;
  }

  .benefit-card {
    padding: 1.25rem;
    text-align: left;
  }

  .benefit-title {
    font-size: 1.1rem;
  }

  .benefit-description {
    font-size: 0.95rem;
  }

  .benefit-icon {
    font-size: 2.2rem;
  }
}