/* 1. Import a nice font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

/* 2. Basic Reset and Body Styling */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;

  /* Full-screen gradient background */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Flexbox to center the main container perfectly */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

/* 3. The Main Content Container (Card) */
.landing-container {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  width: 100%;
  max-width: 600px;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 4. The Logo Container and Image */
.logo-container {
  margin-bottom: 40px;
}

.logo-container img {
  max-width: 80%; /* Makes the logo responsive */
  height: auto; /* Maintains aspect ratio */
}

/* 5. The Button Container */
.button-container {
  display: flex;
  justify-content: center;
  gap: 20px; /* Modern way to add space between flex items */
}

/* 6. General Button Styling */
.btn {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Primary Button (Filled) */
.btn-primary {
  background-color: #6a5af9;
  color: white;
}

.btn-primary:hover {
  background-color: #5548d8;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Secondary Button (Outline) */
.btn-secondary {
  background-color: transparent;
  color: #6a5af9;
  border-color: #6a5af9;
}

.btn-secondary:hover {
  background-color: #6a5af9;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* 7. The Magic of Responsiveness (Media Query) */
@media (max-width: 600px) {
  .landing-container {
    padding: 30px 20px;
  }

  .button-container {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .btn {
    width: 100%; /* Make buttons full-width */
    box-sizing: border-box; /* Ensures padding is included in the width */
  }

  .logo-container img {
    max-width: 90%; /* Allow logo to be a bit bigger on mobile */
  }
}
