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

:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --border: 214.3 31.8% 91.4%;
  --radius: 0.5rem;
}

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

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

/* Header */
.header {
  border-bottom: 1px solid hsl(var(--border));
  position: sticky;
  top: 0;
  background-color: hsl(var(--background));
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
  background-color: hsl(var(--secondary) / 0.8);
}

.btn-ghost {
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background-color: hsl(var(--muted));
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.icon {
  width: 1rem;
  height: 1rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0 8rem;
}

.hero-content {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-description {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Section styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

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

/* How It Works Section */
.how-it-works {
  padding: 4rem 0;
  background-color: hsl(var(--muted) / 0.5);
}

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

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.step-icon svg {
  width: 2rem;
  height: 2rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
}

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

/* Video Section */
.video-section {
  padding: 4rem 0;
}

.video-container {
  max-width: 4xl;
  margin: 0 auto;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: hsl(var(--muted));
  border-radius: 0.75rem;
  border: 2px dashed hsl(var(--muted-foreground) / 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.play-button {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.play-button svg {
  width: 2rem;
  height: 2rem;
}

.video-text h3 {
  font-size: 1.125rem;
  font-weight: 500;
}

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

/* Features Section */
.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

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

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Statistics Section */
.statistics {
  padding: 4rem 0;
  background-color: hsl(var(--muted) / 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 4xl;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

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

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

/* CTA Section */
.cta {
  padding: 4rem 0;
}

.cta-content {
  background-color: hsl(var(--primary));
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  color: hsl(var(--primary-foreground));
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 1.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

/* Responsive Design */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
