* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 10px;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--main-color);
  color: black;
}

ul,
ol {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
}

p {
  font-weight: var(--font-weight-regular);
}

:root {
  --main-color: #f8fafc;
  --second-color: #464c56;
  --text-color: #19242e;

  --font-size-main: 16px;
  --font-size-h1: 30px;
  --font-size-h2: 25px;
  --font-size-h3: 20px;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --border-radius: 5px;
  --box-shadow: 0 3px 3px rgba(146, 168, 22, 0.8);
}

.container {
  width: 375px;
  padding: 10px;
  margin: 0 auto;
}

/* Header */


/* Footer */
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  color: var(--second-color);
  background-color: var(--main-color);
}

.footer-logo-image {
  width: 90px;
}

.footer-nav > li > a {
  color: var(--second-color);
  transition: color 0.5s ease-in-out;
}

.footer-nav > li > a:hover,
.contact-address-info > p > a:hover {
  color: var(--text-color);
}

.policy-container {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-color);
}

.page-contact-adr {
  display: none;
}

.terms-policy-contact-link {
  color: var(--second-color);
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.5s ease;
}

.terms-policy-contact-link:hover {
  border-bottom: 1px solid var(--second-color);
}

/* Animation */
.reveal-section {
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

.scale-up {
  transform: scale(1);
  opacity: 1;
}



@media screen and (min-width: 768px) {
  body {
    font-size: 18px;
  }

  :root {
    --font-size-h1: 34px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
  }

  .container {
    width: 768px;
    padding: 15px;
  }
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 20px;
  }

  :root {
    --font-size-h1: 36px;
    --font-size-h2: 30px;
    --font-size-h3: 26px;
  }

  .container {
    width: 1024px;
    padding: 20px;
  }

  
}

@media screen and (min-width: 1440px) {
  body {
    font-size: 22px;
  }

  :root {
    --font-size-h1: 40px;
    --font-size-h2: 34px;
    --font-size-h3: 30px;
  }

  .container {
    width: 1440px;
    padding: 25px;
  }

}

.policy-container {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-container h1,
.policy-container h2 {
  font-size: x-large;
  font-weight: bold;
}

.animate-gradient-background {
  background: linear-gradient(-45deg, #001b39, #415b75, #1a81bc, #2e9fcc);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Header Base */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.logo-link:hover .header-logo {
    filter: grayscale(0);
}

/* Desktop Nav */
.desktop-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6366f1;
}

.cta-button-header {
    background: #ffffff;
    color: #000000;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Burger Button */
.burger-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0b;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.mobile-footer {
    margin-top: 4rem;
    font-size: 0.75rem;
    color: #4b5563;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Responsive */
@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    .burger-btn {
        display: none;
    }
}