@font-face {
  font-family: 'Vk Regular';
  src: url('/fonts/vk_sans_display_regular.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Vk Medium';
  src: url('/fonts/vk_sans_display_medium.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Vk Semibold';
  src: url('/fonts/vk_sans_display_semibold.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Vk Bold';
  src: url('/fonts/vk_sans_display_bold.ttf') format('truetype');
  font-style: normal;
}

:root {
  --blue-color: #0000ff;
  --active-blue-color: #3131ff;
  --light-blue: #7facf5;
  --black-color: black;
  --gray-color: #5c5e62;
  --light-gray-color: rgb(113, 118, 123);
  --gray-border-color: rgb(213, 213, 213);
  --input-field-color: #f4f4f4;
  --red-color: #d92d20;
  --border-radius: 4px;
  --input-label-font-size: 15px;
  --small-body-font-size: 14px;
  --regular-body-font-size: 16px;
  --medium-body-font-size: 17px;
  --heading1-body-font-size: 25px;
  --heading2-body-font-size: 28px;
  --heading3-body-font-size: 30px;
  --largest-heading-font-size: 50px;
  --error-message-font-size: 12.5px;

  /* Font weights */
  --font_weight_regular: 400;
  --font_weight_medium: 500;
  --font_weight_semibold: 600;
  --font_weight_bold: 700;

  /* Colors */
  --color_black: #000000;
  --color_white: #ffffff;
  --color_gray: #5c5e62;
  --color_light_gray: #f4f4f4;
  --color_dark_gray: #333333;
  --color_red: #d92d20;
  --color_blue: #0052ff;
  --color_active_blue: #3131ff;
  --color_light_blue: #7facf5;
  --color_gold: #885f00;
  --color_navy_blue: #1c263f;

  /* Font families */
  --vk_regular: 'Vk Regular', sans-serif;
  --vk_medium: 'Vk Medium', sans-serif;
  --vk_semibold: 'Vk Semibold', sans-serif;
  --vk_bold: 'Vk Bold', sans-serif;
}

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

body {
  background: var(--color_white);
  color: var(--color_black);
  min-height: 100vh;
  overflow-x: hidden;
}

.fade-in-animation {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: fadeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.content-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  z-index: 1;
}

nav {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: none;
  opacity: 1;
  transform: none;
}

.logo img {
  width: 40px;
  height: 40px;
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-family: var(--vk_medium);
  font-weight: var(--font_weight_medium);
}

.nav-links a {
  color: var(--color_black);
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

main {
  max-width: none;
  margin: 3rem 0;
  padding: 0 1.5rem;
  position: relative;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-family: var(--vk_regular);
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  font-family: var(--vk_regular);
}

p {
  font-size: 1rem;
  line-height: 1.45;
  font-family: var(--vk_regular);
  opacity: 0.9;
}

.content .title {
  font-size: 2.6rem;
  line-height: 1.2;
  font-family: var(--vk_semibold);
  font-weight: var(--font_weight_semibold);
  text-align: center;
}

.content .not-found-title {
  font-size: 4rem;
  line-height: 1.2;
  font-family: var(--vk_semibold);
  font-weight: var(--font_weight_semibold);
  text-align: center;
}

.content .description {
  font-size: 1.12rem;
  line-height: 1.45;
  font-family: var(--vk_regular);
  font-weight: var(--font_weight_regular);
  opacity: 0.9;
  text-align: center;
}

.button.active {
  opacity: 0.6;
  background-color: var(--color_black);
  transition: opacity 0.3s ease-out;
}

.signup-button,
.go-to-homepage-button {
  background-color: var(--color_black);
  color: var(--color_white);
  padding: 0.5rem 2.5rem;
  border-radius: 50px;
  border: none;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-family: var(--vk_semibold);
  font-weight: var(--font_weight_semibold);
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: opacity 0.3s ease-out;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.signup-button:hover,
.go-to-homepage-button:hover {
  opacity: 0.6;
  background-color: var(--color_navy_blue);
  transform: scale(0.95);
}

/* Terms of Use & Privacy Policies Styles */
#terms-content,
#privacy-content {
  max-width: 100%;
  margin: 2rem auto;
  padding: 0 0.5rem;
}

.terms-header,
.privacy-header {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--vk_semibold);
  font-weight: var(--font_weight_semibold);
}

.terms-section,
.privacy-section {
  margin-bottom: 2rem;
}

.terms-section .section-title,
.privacy-section .section-title {
  font-family: var(--vk_semibold);
  font-weight: var(--font_weight_semibold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.terms-section .section-content,
.privacy-section .section-content {
  font-family: var(--vk_regular);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color_gray);
  font-weight: 400;
}

#licenses-content {
  max-width: 100%;
  margin: 1rem 0;
  padding: 0;
}

#licenses-content h1 {
  font-size: 2rem;
  line-height: 1.3;
  font-family: var(--vk_semibold);
  font-weight: var(--font_weight_semibold);
  color: var(--color_black);
  margin-top: 0;
  /* text-align: left; */
}

#licenses-content p {
  font-size: 1rem;
  line-height: 1.45;
  font-family: var(--vk_regular);
  margin-top: 0.5rem;
  /* text-align: left; */
}

#licenses-content .disclaimer {
  font-size: 14px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
}

.licenses-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--vk_regular);
  min-width: 600px;
}

.licenses-table th,
.licenses-table td {
  padding: 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--color_light_gray);
  line-height: 1.5;
}

.licenses-table th {
  background-color: var(--color_light_gray);
  font-weight: var(--font_weight_medium);
  color: var(--color_black);
  font-family: var(--vk_semibold);
  font-weight: var(--font_weight_medium);
}

.licenses-table td {
  color: var(--color_gray);
  font-size: 14px;
}

.licenses-table tr:nth-child(even) {
  background-color: var(--color_light_gray);
}

.error {
  color: var(--color_red);
  text-align: center;
  padding: 2rem;
}

/* Footer styles */
footer {
  padding: 1.5rem;
  /* margin-top: auto; */
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-family: var(--vk_regular);
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  color: var(--color_gray);
}

.footer-links a:hover {
  color: var(--color_black);
}

.footer-text p {
  font-size: 0.75rem;
  color: var(--color_gray);
  font-family: var(--vk_regular);
  font-weight: var(--font_weight_regular);
}

.footer-text a {
  color: var(--color_gray);
}

.footer-text a:hover {
  color: var(--color_black);
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  p {
    font-size: 0.875rem;
  }

  .learn-more {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-content {
    font-size: 0.9rem;
  }

  .footer-links {
    font-size: 0.75rem;
    gap: 1rem;
  }

  .footer-text p {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 370px) {
  h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-content {
    font-size: 0.9rem;
  }

  .footer-links {
    font-size: 0.75rem;
    gap: 1rem;
  }

  .footer-text p {
    font-size: 0.75rem;
  }
}

/* Disable hover effects on mobile devices to prevent sticky hover states */
@media (hover: hover) {
  .button:hover {
    opacity: 0.6;
  }
}
