@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 20 14.3% 4.1%;
    --card: 0 0% 100%;
    --card-foreground: 20 14.3% 4.1%;
    --popover: 0 0% 100%;
    --popover-foreground: 20 14.3% 4.1%;
    --primary: 24.6 95% 53.1%;
    --primary-foreground: 60 9.1% 97.8%;
    --secondary: 60 4.8% 95.9%;
    --secondary-foreground: 24 9.8% 10%;
    --muted: 60 4.8% 95.9%;
    --muted-foreground: 25 5.3% 44.7%;
    --accent: 60 4.8% 95.9%;
    --accent-foreground: 24 9.8% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 60 9.1% 97.8%;
    --border: 20 5.9% 90%;
    --input: 20 5.9% 90%;
    --ring: 24.6 95% 53.1%;
    --radius: 0.5rem;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  .dark {
    --background: 20 14.3% 4.1%;
    --foreground: 60 9.1% 97.8%;
    --card: 20 14.3% 4.1%;
    --card-foreground: 60 9.1% 97.8%;
    --popover: 20 14.3% 4.1%;
    --popover-foreground: 60 9.1% 97.8%;
    --primary: 20.5 90.2% 48.2%;
    --primary-foreground: 60 9.1% 97.8%;
    --secondary: 12 6.5% 15.1%;
    --secondary-foreground: 60 9.1% 97.8%;
    --muted: 12 6.5% 15.1%;
    --muted-foreground: 24 5.4% 63.9%;
    --accent: 12 6.5% 15.1%;
    --accent-foreground: 60 9.1% 97.8%;
    --destructive: 0 72.2% 50.6%;
    --destructive-foreground: 60 9.1% 97.8%;
    --border: 12 6.5% 15.1%;
    --input: 12 6.5% 15.1%;
    --ring: 20.5 90.2% 48.2%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(
    135deg,
    hsl(var(--secondary)),
    hsl(var(--background))
  );
  color: hsl(var(--foreground));
  line-height: 1.7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background-color: hsl(var(--background));
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: hsl(var(--primary));
  cursor: pointer;
  transition: color 0.3s ease;
}

header h1:hover {
  color: hsl(var(--primary) / 0.8);
}

header nav {
  display: flex;
  gap: 25px;
}

header nav a {
  text-decoration: none;
  color: hsl(var(--foreground));
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}

header nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: hsl(var(--primary));
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

header nav a:hover::after {
  width: 100%;
}

header nav a:hover {
  color: hsl(var(--primary));
}

/* Hero Section */
#hero {
  padding: 150px 20px;
  text-align: center;
  color: hsl(var(--foreground));
}

#hero h2 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: hsl(var(--primary));
  line-height: 1.2;
}

#hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 20px auto;
  color: hsl(var(--muted-foreground));
}

#hero button {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  padding: 15px 50px;
  font-size: 1.1rem;
  border-radius: 50px;
  margin-top: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px hsl(var(--primary) / 0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#hero button:hover {
  background-color: hsl(var(--primary) / 0.8);
  transform: translateY(-3px);
}

/* Section Titles */
section {
  text-align: center; /* Center headings for all sections */
  padding: 60px 20px; /* Consistent padding for all sections */
}

section h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: hsl(var(--primary));
  font-weight: 700;
}

section p {
  font-size: 1.2rem;
  color: hsl(var(--muted-foreground));
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

section ol {
  text-align: left;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: hsl(var(--foreground));
  list-style-type: decimal;
  font-size: 1.2rem;
}

section ol li {
  margin-bottom: 20px;
}

footer {
  background-color: hsl(var(--muted));
  padding: 5px;
  text-align: center;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border));
}

/* Buttons and Links */
button,
a.button-link {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover,
a.button-link:hover {
  background-color: hsl(var(--primary) / 0.8);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero h2,
#hero p,
#hero button {
  animation: fadeInUp 1s ease forwards;
}

/* Media Queries */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  #hero h2 {
    font-size: 2.5rem;
  }

  #hero button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  section {
    padding: 40px 20px;
  }

  section h2 {
    font-size: 2rem;
  }

  /* #how-it-works ol {
    font-size: 1.1rem;
  } */

  footer {
    font-size: 0.8rem;
  }
}
