/* General reset and default font settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
}

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

/* Header and navigation */
header {
  background-color: #000000;
  padding: 20px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.8em;
  font-weight: 700;
  color: #ffffff;
}

nav .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav .nav-links li {
  display: inline-block;
}

nav .nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding: 5px 10px;
}

nav .download-btn {
  background-color: #ffffff;
  color: #000000;
  border-radius: 6804px;
  padding: 15px 15px;
  font-weight: 600;
  font-size: 1.1em;
  text-align: center;
  transition: background-color 0.3s ease;
}

nav .download-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Landing Section */
.landing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  text-align: left;
  position: relative; /* So the profile grid can be positioned behind */
}

.landing-left {
  width: 50%;
}

.landing-left h1 {
  font-size: 3.5em;
  font-weight: 700;
  color: #ffffff;
}

.landing-left p {
  font-size: 1.3em;
  font-weight: 400;
  color: #808080;
  margin-top: 20px;
}

.cta-buttons {
  margin-top: 20px;
}

.primary-button,
.secondary-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
  font-size: 1.2em;
  margin-top: 20px;
  margin-right: 15px;
}

.primary-button {
  background-color: #ffffff;
  color: #000000;
}

.primary-button:hover {
  background-color: #808080;
  color: #ffffff;
}

.secondary-button {
  background-color: #252525;
  color: #ffffff;
}

.secondary-button:hover {
  background-color: #808080;
}

/* Profile Grid Section - Positioned behind the landing page */
.landing-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  z-index: -1; /* Ensures it stays behind the landing content */
  opacity: 0.5;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust grid to fill available space */
  grid-gap: 5px;
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  overflow: hidden;
  opacity: 0.1;
  grid-auto-rows: 1fr; /* Ensures equal height and width */
}

/* Making the profile items take equal width and height */
.profile {
  width: 100%;
  height: 100%;
  position: relative;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Adding black fade effect around the edges of the grid */
.profile-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

/* FAQ Section */
.faq {
  background-color: #000000;
  padding: 50px 0;
  text-align: center;
}

.faq h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: 700;
  color: #ffffff;
}

.faq-item {
  background-color: #252525;
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  display: inline-block;
  text-align: left;
}

.faq-item h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff;
}

.faq-item p {
  font-size: 1em;
  color: #808080;
  font-weight: 400;
}


/* Features Section */
.features {
  background-color: #000000;
  padding: 50px 0;
  text-align: center;
}

.features h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: 700;
  color: #ffffff;
}

.feature-box {
  background-color: #252525;
  margin: 20px;
  padding: 30px;
  border-radius: 10px;
  max-width: 300px;
  display: inline-block;
  text-align: center;
}

.feature-box h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffffff;
}

.feature-box p {
  font-size: 1em;
  color: #808080;
  font-weight: 400;
}

/* Download Section */
.download {
  padding: 50px 0;
  text-align: center;
  background-color: #000000;
}

.download h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.download p {
  font-size: 1.3em;
  color: #808080;
  font-weight: 400;
}

.download-buttons {
  margin-top: 30px;
}

.download-buttons a {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  padding: 15px 30px;
  text-decoration: none;
  margin: 10px;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.download-buttons a i {
  margin-right: 15px;
}

.download-buttons a:hover {
  background-color: #808080;
  color: #ffffff;
}

/* Footer */
footer {
  background-color: #000000;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
}

footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1em;
}

footer .footer-links a:hover {
  color: #808080;
}

footer p {
  font-size: 1em;
  color: #808080;
  font-weight: 400;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .landing {
    flex-direction: column;
    text-align: center;
  }

  .landing-left {
    width: 100%;
    margin-bottom: 20px;
  }

  .landing-right {
    width: 100%;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .profile-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 profile per row on small screens */
  }
}
