* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}

#hero h1 {
  font-size: 60px;
  line-height: 1;
  margin-top: 32px;
  text-align: center;
}

.heading {
  font-size: 2.25rem; /* text-4xl (36px) */
  font-weight: bold; /* font-bold */
  letter-spacing: -0.05em; /* tracking-tighter */
  opacity: 0; /* opacity-0 (initially hidden for animation) */
  animation: fade-up 0.5s ease-in-out 0.2s forwards; /* animate-fade-up with 200ms delay */
}

.animation-delay-400 {
  opacity: 0; /* opacity-0 (initially hidden for animation) */
  animation: fade-up 0.5s ease-in-out 0.4s forwards;
}

.animation-delay-600 {
  opacity: 0; /* opacity-0 (initially hidden for animation) */
  animation: fade-up 0.5s ease-in-out 0.6s forwards;
}

/* Responsive Adjustment */
@media (min-width: 768px) {
  /* md:text-6xl */
  .heading {
    font-size: 4rem; /* 6xl (64px) */
  }
}

/* Fade-up Animation */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero p {
  margin-top: 32px;
  text-align: center;
}

button {
  display: inline-flex; /* inline-flex */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */
  white-space: nowrap; /* whitespace-nowrap */
  font-size: 14px; /* text-sm */
  font-weight: 500; /* font-medium */
  color: white; /* text-primary-foreground */
  background-color: #394696; /* bg-linsa-600 (replace with actual color) */
  height: 40px; /* h-11 (44px) */
  padding: 0 32px; /* px-8 */
  border-radius: 6px; /* rounded-md */
  transition: background-color 0.2s ease-in-out; /* transition-colors */
  outline: none; /* focus-visible:outline-none */
  border: 0;
  cursor: pointer;
}

#hero button {
  margin-top: 32px;
  height: 44px; /* h-11 (44px) */
}

button:hover {
  background-color: #2a3471;
}

h2 {
  font-size: 1.875rem; /* text-3xl (30px) */
  font-weight: bold; /* font-bold */
  margin-bottom: 1rem; /* mb-4 (16px) */
  text-align: center;
}

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background-image: radial-gradient(
    circle at 50% 120%,
    rgba(120, 133, 192, 0.1),
    rgba(255, 255, 255, 0)
  );
}

.badge {
  display: inline-flex; /* inline-flex */
  align-items: center; /* items-center */
  border-radius: 9999px; /* rounded-full */
  border: 1px solid #a1a9ff; /* border-linsa-200 (replace with actual color) */
  padding: 6px 16px; /* px-4 py-1.5 */
  font-size: 14px; /* text-sm */
  font-weight: 500; /* font-medium */
  background-color: rgba(255, 255, 255, 0.5); /* bg-white/50 */
  backdrop-filter: blur(5px); /* backdrop-blur-sm */
  color: #4a5cb1; /* text-linsa-600 (replace with actual color) */
  opacity: 0;
  animation: fade-in 0.5s ease-in-out forwards; /* animate-fade-in */
}

.badge svg {
  margin-right: 0.5rem; /* mr-2 (8px) */
  height: 16px; /* h-4 (16px) */
  width: 16px; /* w-4 (16px) */
}

/* Fade-in animation */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 96px;
  padding-top: 96px;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: white;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.3s ease-in-out;
  animation-delay: 100ms;
}

/* Hover effect */
.feature-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon {
  width: 48px; /* w-12 (12 * 4px) */
  height: 48px; /* h-12 */
  border-radius: 50%; /* rounded-full */
  background-color: #f7f8fd; /* bg-linsa-50 (Replace with actual color) */
  display: flex; /* flex */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */
  margin-bottom: 16px; /* mb-4 (4 * 4px) */
  transition: background-color 0.3s ease-in-out; /* transition-colors */
}

.feature-card:hover .icon {
  background-color: #e5e7f4; /* group-hover:bg-linsa-100 (Replace with actual color) */
}

#newsletter {
  background-color: rgb(247, 248, 253);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

input[type="email"] {
  line-height: 20px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  padding: 8px 12px 8px 12px;
  font-size: 16px;
  width: 100%;
  outline: none;
  transition: box-shadow 0.2s ease-in-out;
  color: rgb(2, 8, 23);
}

@media (min-width: 640px) {
  /* Tailwind's 'sm' breakpoint */
  input[type="email"] {
    width: 100%;
    max-width: 300px;
  }
}

input[type="email"]:focus {
  box-shadow: 0 0 0 2px black;
}

form {
  display: flex;
  flex-direction: row;
}

.max-width-600 {
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.margin-bottom-8 {
  margin-bottom: 8px;
}

.margin-bottom-16 {
  margin-bottom: 16px;
}

.margin-bottom-2r {
  margin-bottom: 2rem;
}

.margin-bottom-4r {
  margin-bottom: 4rem;
}

.grid-container {
  display: grid; /* grid */
  grid-template-columns: 1fr; /* grid-cols-1 (default) */
  gap: 32px; /* gap-8 (8 * 4px) */
}

/* Medium screens (md:grid-cols-2) */
@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large screens (lg:grid-cols-3) */
@media (min-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.container {
  width: 100%; /* Ensures it spans the full width */
  max-width: 1200px; /* Adjust as needed for content width */
  margin: 0 auto; /* Centers the container */
  padding-left: 16px; /* px-4 (4 * 4px) */
  padding-right: 16px; /* px-4 */
}

/* Medium screens (md:px-6) */
@media (min-width: 768px) {
  .container {
    padding-left: 24px; /* px-6 (6 * 4px) */
    padding-right: 24px; /* px-6 */
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Equivalent to Tailwind's gap-4 */
  justify-content: center;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  /* Tailwind's 'sm' breakpoint */
  form {
    flex-direction: row;
  }
}

#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.toast {
  background-color: white;
  color: black;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards, fadeOut 0.5s forwards 3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}
