/* ligh blue accents */
:root {
  --primary-light-blue: #0e96d8;
  --primary-blue: #3360f2;
  --primary-baby-blue: #0e96d8;
  --primary-dark: #0d3b7a;
  --accent-green: #89bc77;
  --accent-teal: #2a9d8f;
  --text-dark: #1a2332;
  --text-light: #ffffff;
  --text-muted: #5a6a7a;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --gradient-blue: linear-gradient(135deg, #1a5fb4 0%, #0d3b7a 100%);
  --gradient-premium: linear-gradient(135deg, #0d3b7a 0%, #3b65f9 50%, #93c47d 100%);
  --shadow-sm: 0 2px 8px rgba(13, 59, 122, 0.08);
  --shadow-md: 0 4px 20px rgba(13, 59, 122, 0.12);
  --shadow-lg: 0 8px 32px rgba(13, 59, 122, 0.16);
  --shadow-glow: 0 0 40px rgba(26, 95, 180, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-light);
  line-height: 1.6;
  /* background: linear-gradient(
    135deg,
    #0c0c1d 0%,
    #1a1a3a 25%,
    #2d1f4a 50%,
    #1a1a3a 75%,
    #0c0c1d 100%
  ); */
  background: linear-gradient(135deg, #010d41 0%, #041250 25%, #081a50 50%, #041250 75%, #010d41 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/clouds.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 24px; */
}

.navbar {
  background: transparent;
  height: 70px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.navbar:has(.nav-links.active),
.navbar.scrolled {
  background: rgba(12, 12, 29, 0.3); /* semi-transparent dark blue */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(13, 59, 122, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
  display: flex;
  margin: 8px auto 0 auto;
  max-width: 1200px;
  padding: 0 24px;
  justify-content: space-between;
}

.logo {
  font-size: 1px;
  /* line-height: 48px; */
}

.logo img {
  height: 48px;
  background: transparent;
  border-radius: 8px;
  padding: 4px 8px 4px 0;
}

.nav-links {
  /* align-items: center; */
  display: flex;
  gap: 32px;
  line-height: 1;
  list-style: none;
  margin-top: 18px;
  /* padding-bottom: 10px; */
}

.nav-links a {
  color: var(--text-light);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text-light);
}

.nav-links a:hover {
  color: var(--accent-green);
}

.nav-links a.active {
  color: var(--primary-blue);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--accent-green);
}

.navbar.scrolled .nav-links a.active {
  color: var(--primary-blue);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--text-light);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1.6rem;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover:enabled::after {
  left: 100%;
  content: "";
}

.btn-primary {
  background: var(--primary-light-blue);
  color: var(--text-light);
  /* box-shadow: 0 4px 15px rgba(61, 158, 66, 0.3); */
}

.btn-primary:hover:enabled {
  background: var(--primary-blue);
  transform: translateY(-2px);
  /* box-shadow: 0 6px 20px rgba(61, 158, 66, 0.4); */
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 20px 100px 20px;
  position: relative;
}

.section-header {
  position: relative;
  z-index: 10;
}

#error .section-header {
  padding-bottom: 60px;
}

/* .section-header-line-2, */
.section-header h1 {
  color: var(--text-light);
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: clamp(3.2rem, 4vw, 4.8rem);
  /* margin-bottom: 8px; */
  padding-top: clamp(calc(57px * 0.7), calc(12vw * 0.7), calc(180px * 0.7));
  text-align: center;
}

.section-header h2 {
  color: var(--text-light);
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: clamp(3.2rem, 4vw, 4.8rem);
  /* margin-bottom: 8px; */
  padding-top: clamp(calc(57px * 0.7), calc(12vw * 0.7), calc(180px * 0.7));
  text-align: center;
}

.section-background-text {
  color: transparent;
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 9.8vw, 12.6rem);
  font-weight: 700;
  left: 0;
  letter-spacing: 0.08em;
  line-height: clamp(4rem, 9.8vw, 12.6rem);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 85%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 85%);
  pointer-events: none;
  position: absolute;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 1);
  text-stroke: 1px rgba(255, 255, 255, 1);
  text-transform: uppercase;
  top: 0;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
#privacy-policy .section-background-text,
#error .section-background-text {
  left: 50%;
  transform: translateX(-50%);
}

.section-header-line-2 {
  display: block;
  font-family: Georgia, serif;
  /* font-size: clamp(2.1rem, 6.8vw, 8.4rem); */
  font-size: clamp(2.1rem, 3.125vw, 4rem);

  font-style: italic;
  font-weight: 500;
  color: var(--primary-baby-blue);
  letter-spacing: -0.01em;
  /* line-height: clamp(5.7rem, 13.8vw, 17.68rem); */
  line-height: clamp(2.1rem, 3.125vw, 4rem);
  margin-bottom: 24px;
  /* padding-bottom: clamp(calc(5.7rem * 0.45), calc(12vw * 0.45), calc(1.8rem * 0.45)); */
  /* padding-top: clamp(calc(5.7rem * 0.45), calc(12vw * 0.45), calc(1.8rem * 0.45)); */
  padding-left: 33px;
  padding-top: clamp(calc(4rem * 0.6), calc(9.8vw * 0.6), calc(12.6rem * 0.6));
  text-align: left;
  position: relative;
  z-index: 1;
}
#error .section-header-line-2 {
  padding-top: clamp(calc(4rem * 0.7), calc(9.8vw * 0.7), calc(12.6rem * 0.7));
  text-align: center;
}
#privacy-policy .section-header-line-2 {
  text-align: center;
}

.section-header-line-3 {
  color: var(--primary-light-blue);
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 28px;
  /* margin-top: 18px; */
  text-align: center;
}

/*
.section-header-line-3 {
  color: var(--primary-light-blue);
  display: block;
  font-size: clamp(1.6rem, 2vw, 2.24rem);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
}
*/

.section .container {
  position: relative;
  width: 100%;
  z-index: 1;
}

#error .container {
  text-align: center;
}

.text-center {
  text-align: center;
}

.section-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.8rem;
  max-width: 900px;
  margin: 0 auto 16px;
}

.next-section-button-container {
  margin-top: 50px;
  text-align: center;
}

.policy-home-button,
.error-home-button,
.next-section-button {
  align-items: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: #ffffff;
  display: inline-flex;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 16px 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.next-section-button:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.next-section-button-caret {
  height: 1.6rem;
  margin-left: 7px;
  margin-top: 1px;
  width: 1.6rem;
}

.next-section-button:hover .next-section-button-caret path {
  /* filter: brightness(0) saturate(100%) invert(80%) sepia(10%) saturate(1474%)
    hue-rotate(59deg) brightness(87%) contrast(82%); */
  fill: var(--accent-green);
  transition: all 0.3s ease;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(42, 157, 143, 0.1);
  }
  50% {
    box-shadow: 0 0 50px rgba(42, 157, 143, 0.2);
  }
}

.section-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 70px;
  min-height: 55vh;
}

.footer {
  background: transparent;
  color: var(--text-light);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before,
.footer::after {
  display: none;
}

.footer-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-info {
  margin-bottom: 24px;
}

.footer-company {
  color: rgba(255, 255, 255, 0.7);
  /* font-weight: 600; */
  font-size: 1.5rem;
}

.footer-address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

.footer-contact a {
  color: var(--primary-light-blue);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.6rem;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
    transition: var(--transition);
  }
  .navbar:has(.nav-links.active) {
    height: 460px;
    transition: var(--transition);
  }

  .nav-container {
    align-items: start;
  }

  .nav-links {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    transform: translateY(-10px);
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
    visibility: visible;
  }

  .nav-links a {
    color: var(--text-light);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  }

  .mobile-menu-btn {
    display: flex;
    margin-top: 12px;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .section {
    padding: 63px 20px;
  }

  .section-background-text {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-header-line-2 {
    padding-left: 0;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}
