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

:root {
  --primary: #044c6d;
  --secondary: #93cdf6;
  --primary-foreground: #dfe3e7;
  --secondary-foreground: #101417;
  --background: #101417;
  --foreground: #dfe3e7;
  --muted: #10b9811a;
  --success: #10b981;
  --warning: #f59e0b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

a {
  text-decoration: none;
  color: var(--foreground);

  &:hover {
    text-decoration: underline;
  }
}

ul {
  list-style: none;
}

svg {
  color: var(--secondary);
  fill: var(--secondary);
  aspect-ratio: 1;
  width: 10rem;
}

main {
  padding: 8rem 2rem 0rem 2rem;
  display: flex;
  flex-direction: column;
  max-width: 70rem;
  width: 100%;
  justify-content: center;
  align-items: center;
}

section {
  padding: 5rem 0rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;

  .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);

    @media screen and (max-width: 720px) {
      text-align: center;
      justify-content: center;
      width: 100%;
    }
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    font-weight: 500;

    @media screen and (max-width: 720px) {
      display: none;
    }
  }
}

/* Sections */
#hero {
  .hero-content {
    min-height: calc(100dvh - 10rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    padding-bottom: 10rem;
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;

    .top-title {
      color: var(--foreground);
    }

    .bottom-title {
      color: var(--secondary);
    }
  }

  .hero-subtitle {
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 2rem;
    line-height: 1.8;
  }

  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
}

#providers {
  .badge-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

#download {
  .download-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .download-note {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
  }

  .download-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 2rem;

    .btn {
      width: 100%;
      text-align: center;
    }
  }

  .download-note p {
    margin: 0;
    font-size: 0.875rem;
  }
}

/* Components */
.grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 3rem;
  column-gap: 3rem;

  .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-0.5rem);
      border-color: var(--secondary);
    }

    p {
      color: var(--foreground);
      opacity: 0.8;
    }
  }
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;

  &:hover {
    transform: translateY(-0.1rem);
  }

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

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

.version-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  color: var(--secondary-foreground);
  font-size: 0.875rem;
}

.status {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;

  &.status-complete {
    background: var(--muted);
    color: var(--success);
  }

  &.status-pending {
    background: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
  }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;

  &.badge-success {
    background: #10b9811a;
    color: var(--success);
  }

  &.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
  }
}

.footer {
  width: 100%;
  padding-bottom: 2rem;

  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .footer-section {
    h4 {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    p {
      line-height: 1.7;
    }
  }

  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    p {
      font-size: 0.875rem;
    }
  }
}
