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

@font-face {
  font-family: "Cursor Regular";
  src:
    url("./assets/fonts/cursor-regular.woff2") format("woff2"),
    url("./assets/fonts/cursor-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --background: #14120b;
  --primary-color: #edecec;
  --secondary-color: #1b1913;
  --muted: #b3b1af;
  --muted-foreground: #7a7775;
  --color-outline: #404040;
  --accent: #f54e00;
  --accent-hover: #f54e00bf;
  --size-xxs: 0.625rem;
  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-md: 1rem;
  --size-lg: 1.25rem;
  --size-xl: 1.625rem;
  --size-2xl: 2rem;

  --section-spacing: 5rem;

  --font-cursor: "Cursor Regular", system-ui, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  width: 100%;
  height: 100vh;
  font-family: var(--font-cursor);
  background: var(--background);
  color: var(--primary-color);
  position: relative;
}

::selection {
  background-color: #262626;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-outline);
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background-color: var(--secondary-color);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.spacer-section {
  margin-top: var(--section-spacing);
}

header {
  display: flex;
  align-items: center;
  height: 60px;
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background-color: var(--background);
}

#logo svg {
  width: 100%;
  height: 24px;
  transition: fill 0.3s ease;
}

header nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  list-style: none;
  display: flex;
  gap: 30px;
  font-size: var(--size-sm);
}

header ul li a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.1s ease-in-out;
}

header ul li a:hover {
  color: var(--muted);
}
header .nav-btns {
  display: flex;
  gap: 0.625rem;
}

button {
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  font-size: var(--size-sm);
  color: inherit;
  font-family: var(--font-cursor);
  user-select: none;
}

.btn-outline {
  padding: 0.3rem 0.65rem;
  border: 0.075rem solid var(--color-outline);
  border-radius: 3rem;
}

.btn-outline:hover {
  background-color: rgba(64, 64, 64, 0.25);
}

.btn-primary {
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-color);
  border-radius: 2rem;
  color: var(--background);
}

.btn-primary:hover {
  background-color: rgba(237, 236, 236, 0.9);
}

.btn-lg {
  padding: 0.75rem 1.35rem;
  font-size: var(--size-md);
}

.hero-section {
  ---section-spacing: 10rem;
  padding-top: var(--section-spacing);
  max-width: 580px;
  max-height: 100%;
}

.hero-section h1 {
  font-size: var(--size-xl);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero-btn {
  margin-top: var(--size-lg);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-btn span {
  font-size: var(--size-md);
}

.hero-image-container {
  --section-spacing: 4rem;
  margin-top: var(--section-spacing);
  width: 100%;
  background-color: red;
  height: 680px;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trusted-section {
  width: 100%;
}

.trusted-section h2 {
  font-size: var(--size-sm);
  font-weight: 500;
  text-align: center;
}

.trusted-logos {
  margin-top: var(--size-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.trusted-logos div {
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 38px;
}

.trusted-logos div img {
  height: 40px;
  object-fit: contain;
}

.feature {
  height: 680px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-content {
  width: 50%;
  padding: 0 20px;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 22px;
  font-family: var(--font-cursor);
  line-height: 1.15;
}

.feature-content h3 {
  margin-bottom: 0.15rem;
  font-size: inherit;
  font-weight: 500;
}

.feature-content p {
  font-size: var(--size-md);
  line-height: 1.3;
  color: var(--muted);
  font-size: inherit;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 20px;
  border-radius: var(--size-2xl);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-link {
  color: var(--accent);
  font-weight: 500;
  font-size: var(--size-md);
}

.btn-link:hover {
  color: var(--accent-hover);
}

.feature-btn {
  margin-top: var(--size-lg);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.15s ease-in-out;
}

.feature-btn:hover span {
  translate: 3px 0;
}

.testimonial-section {
  --section-spacing: 7rem;
}

.testimonial-section h2 {
  font-size: var(--size-2xl);
  font-weight: 500;
  text-align: center;
}

.testimonial-container {
  --section-spacing: 3rem;
  margin-top: var(--section-spacing);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.testimonial-card {
  background-color: var(--secondary-color);
  padding: 1rem;
  border-radius: 0.25rem;
  width: 300px;
  height: 280px;
  max-width: 430px;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card blockquote p {
  font-size: var(--size-md);
  line-height: 1.5;
}

.testimonial-card-footer {
  display: flex;
  align-items: center;
}

.testimonial-card-footer img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-right: 0.75rem;
  border-radius: 5px;
}

.testimonial-card-footer-meta {
  font-size: var(--size-sm);
  font-weight: 500;
}

.testimonial-card-footer-meta p {
  font-size: var(--size-sm);
}

.testimonial-card-footer-meta p:nth-child(2) {
  color: var(--muted);
}

.stay-frontier-section {
  --section-spacing: 10.5rem;
  margin-top: var(--section-spacing);
}

.stay-frontier-section h2 {
  font-size: var(--size-xl);
  font-weight: 500;
  text-align: start;
  margin-bottom: 1rem;
}

.stay-frontier-section-header h3,
.stay-frontier-section-header p {
  font-size: var(--size-md);
  font-weight: 500;
}

.stay-frontier-section-header p {
  color: var(--muted);
}

.stay-frontier-section-header button {
  margin-block: var(--size-lg);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.15s ease-in-out;
}

.stay-frontier-section-header button:hover span {
  translate: 3px 0;
}

.stay-frontier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.stay-frontier-card {
  background-color: var(--secondary-color);
  padding: 1.25rem;
  border-radius: 0.25rem;
  width: 100%;
}

.stay-frontier-section-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 0.25rem;
  background-color: #423d35;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stay-frontier-section-image div {
  height: 210px;
  background-color: #2a2620;
  overflow: hidden;
  border: 0.01rem solid var(--color-outline);
  border-radius: 0.25rem;
}

.stay-frontier-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stay-frontier-section-image:nth-child(2) {
  background-color: #3c3935;
}

.changelog-section {
  --section-spacing: 10.5rem;
  margin-top: var(--section-spacing);
}

.changelog-section h2 {
  font-size: var(--size-xl);
  font-weight: 500;
  text-align: start;
  margin-bottom: 1rem;
}

.changelog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.changelog-card {
  background-color: var(--secondary-color);
  padding: 1.25rem;
  border-radius: 0.25rem;
  width: 100%;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
}

.changelog-card:hover {
  background-color: #201e18;
  cursor: pointer;
}

.changelog-card-header {
  margin-bottom: 0.75rem;
}

.changelog-card-header .label {
  display: inline-block;
  color: var(--muted);
  font-size: var(--size-sm);
  border: 0.05rem solid var(--muted-foreground);
  padding: 0.1rem 0.65rem;
  border-radius: 3rem;
  margin-right: 0.5rem;
}

.changelog-card-header .date {
  color: var(--muted);
}

.changelog-card-header p {
  text-wrap: text-balance;
}

.changelog-btn {
  margin-top: var(--size-lg);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.15s ease-in-out;
}

.changelog-btn:hover span {
  translate: 3px 0;
}

.cta-section {
  --section-spacing: 10rem;
  margin-top: var(--section-spacing);
  height: 500px;
  width: 100%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px;
  border-radius: 0.15rem;
  margin-bottom: var(--section-spacing);
}

.cta-content {
  width: 30%;
}

.cta-content p {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.cta-image {
  flex: 1;
  height: 100%;
  border-radius: 0.25rem;
  overflow: hidden;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-highlights-section {
  margin-top: var(--section-spacing);
  background-color: var(--secondary-color);
  padding: 5.6rem 0;
}

.recent-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  align-items: start;
}

.recent-highlights-section h2 {
  font-size: var(--size-md);
  font-weight: 500;
}

.recent-highlights-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--size-md);
}

.highlight-card {
  background-color: #201e18;
  width: 650px;
  cursor: pointer;
  padding: 13.4px 15px 15px;
  transition: background-color 0.2s ease-in-out;
}

.highlight-card:hover {
  background-color: #26241e;
}

.highlight-card h3 {
  font-size: var(--size-md);
  font-weight: 500;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.highlight-card p {
  font-size: var(--size-md);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.highlight-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--size-sm);
  color: var(--muted);
}

.highlight-category {
  color: var(--muted);
}

.highlight-separator {
  color: var(--muted);
}

.recent-highlights-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.15s ease-in-out;
  margin-top: var(--size-md);
}

.recent-highlights-link:hover span {
  translate: 3px 0;
}

.cta-section-2 {
  height: 420px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.cta-section-2 h2 {
  font-size: 4.5rem;
  font-weight: 500;
  margin-bottom: var(--size-lg);
}

.footer {
  background-color: var(--secondary-color);
  padding: 3rem 1.25rem;
  margin-top: var(--section-spacing);
}

.footer-container {
  width: 100%;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-column h3 {
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin: 0;
}

.footer-column ul li a {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: var(--size-sm);
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-column ul li a:hover {
  color: var(--muted);
}

.external-link {
  position: relative;
}

.external-icon {
  display: inline-block;
  margin-left: 0.25rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.external-link:hover .external-icon {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--color-outline);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
}

.footer-bottom-left small {
  font-size: var(--size-sm);
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-switcher {
  position: relative;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  padding: 0.25rem;
  gap: 0.25rem;
}

.theme-btn {
  position: relative;
  padding: 0.35rem 0.65rem;
  font-size: var(--size-sm);
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: color 0.15s ease;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.theme-btn:hover {
  color: var(--primary-color);
}

.theme-btn.active {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-outline);
  border-radius: 2rem;
  color: var(--primary-color);
}

.language-selector {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: var(--size-sm);
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-outline);
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.language-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.dropdown-arrow {
  font-size: var(--size-xs);
  transition: transform 0.2s ease;
}
