/* ===================================
   RESET
=================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fafafa;
  color: #111;
  line-height: 1.8;
  overflow-x: hidden;
}

::selection {
  background-color: black;
  color: white;
}

html {
  scroll-behavior: smooth;
  cursor: url("/assets/triangle.png"), auto;
}

#footer {
  cursor: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Subtle background */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.04), transparent 35%),
    radial-gradient(
      circle at bottom right,
      rgba(0, 0, 0, 0.03),
      transparent 35%
    );

  z-index: -1;
}

/* ===========================
   NAVBAR
=========================== */

.navbar {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);

  width: 92%;
  max-width: 1400px;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  padding: 18px 40px;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);

  z-index: 1000;

  transition: all 0.35s ease;
}

/* ===========================
   LOGO
=========================== */

.logo {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.logo a {
  text-decoration: none;
  color: #111;

  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 12px;

  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.7;
}

/* ===========================
   NAV LINKS
=========================== */

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  position: relative;

  text-decoration: none;
  color: #111;

  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2.5px;

  padding: 10px 16px;

  border-radius: 999px;

  transition: all 0.3s ease;
}

/* Hover */

.nav-links a:hover {
  background: #111;

  color: white;

  transform: translateY(-2px);
}

/* ===========================
   MOBILE MENU BUTTON
=========================== */

.menu-toggle {
  display: none;

  background: none;
  border: none;

  font-size: 24px;

  cursor: pointer;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);

    width: calc(100% - 20px);
    max-width: 85dvw;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 20px;

    border-radius: 18px;
  }

  .logo {
    position: static;
    left: auto;
    top: auto;
    transform: none;

    margin: 0;
  }

  .logo a {
    margin: 0;
    font-size: 22px;
    letter-spacing: 8px;
  }

  .menu-toggle {
    display: block;

    background: none;
    border: none;

    font-size: 22px;

    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    margin-top: -5px;

    top: calc(100% + 12px);
    left: 0;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 24px;

    padding: 28px 0;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 18px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);

    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0.35s ease;
  }

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

  .nav-links a {
    font-size: 13px;
  }
}

/* ===================================
   HERO
=================================== */

.policy-hero {
  width: 90%;
  max-width: 950px;

  margin: 190px auto 110px;

  text-align: center;
}

/* Small Badge */

.small-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 22px;

  border: 1px solid rgba(0, 0, 0, 0.12);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(10px);

  font-size: 12px;

  font-weight: 500;

  letter-spacing: 3px;

  text-transform: uppercase;

  margin-bottom: 35px;
}

/* Heading */

.policy-hero h1 {
  font-size: 28px;

  font-weight: 500;

  line-height: 1.05;

  letter-spacing: -2px;

  margin-bottom: 30px;
}

/* Description */

.intro {
  width: 80%;

  margin: auto;

  font-size: 16px;

  font-weight: 300;

  color: #666;

  line-height: 1.9;
}

/* Date */

.effective-date {
  display: inline-block;

  margin-top: 40px;

  padding: 12px 24px;

  border-radius: 999px;

  background: white;

  border: 1px solid rgba(0, 0, 0, 0.08);

  color: #666;

  font-size: 14px;
}

@media (max-width: 768px) {
  .policy-hero {
    margin-top: 130px;

    margin-bottom: 70px;
  }

  .policy-hero h1 {
    font-size: 42px;

    line-height: 1.15;
  }

  .intro {
    width: 100%;

    font-size: 15px;
  }

  .effective-date {
    font-size: 12px;
  }
}

/* ===================================
   HERO - MOBILE
=================================== */

@media (max-width: 768px) {
  .policy-hero {
    width: 90%;
    max-width: 100%;

    margin: 140px auto 80px;

    text-align: center;
  }

  /* Small Badge */

  .small-title {
    padding: 8px 18px;

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 24px;
  }

  /* Heading */

  .policy-hero h1 {
    font-size: 42px;

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 20px;
  }

  /* Description */

  .intro {
    width: 100%;

    font-size: 12px;

    line-height: 1.8;
  }

  /* Date */

  .effective-date {
    margin-top: 30px;

    padding: 10px 18px;

    font-size: 12px;

    line-height: 1.5;
  }
}

/* ===================================
   POLICY CONTENT
=================================== */

.policy-content {
  width: 90%;
  max-width: 90%;

  margin: auto;

  display: flex;
  flex-direction: column;

  gap: 30px;

  padding-bottom: 120px;
}

/* Card */

.policy-card {
  position: relative;

  background: rgba(255, 255, 255, 0.9);

  backdrop-filter: blur(14px);

  border: 1px solid rgba(0, 0, 0, 0.06);

  border-radius: 24px;

  padding: 50px;

  overflow: hidden;

  transition: all 0.35s ease;
}

/* Top Accent */

.policy-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg, #111, #666);

  transform: scaleX(0);

  transform-origin: left;

  transition: 0.4s;
}

.policy-card:hover::before {
  transform: scaleX(1);
}

.policy-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);

  border-color: transparent;
}

/* Headings */

.policy-card h2 {
  font-size: 28px;

  font-weight: 500;

  margin-bottom: 22px;

  line-height: 1.2;
}

/* Paragraphs */

.policy-card p {
  color: #555;

  font-size: 16px;

  font-weight: 300;

  line-height: 1.9;

  margin-bottom: 20px;
}

/* Lists */

.policy-card ul {
  margin-top: 15px;

  padding-left: 22px;
}

.policy-card li {
  margin-bottom: 14px;

  color: #555;

  font-weight: 300;
  font-size: 16px;
}

/* Better bullets */

.policy-card li::marker {
  color: black;
}

/* ===================================
   POLICY CONTENT - MOBILE
=================================== */

@media (max-width: 768px) {
  .policy-content {
    width: 90%;
    max-width: 100%;

    gap: 20px;

    padding-bottom: 80px;
  }

  /* Card */

  .policy-card {
    padding: 30px 24px;

    border-radius: 18px;
  }

  .policy-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  }

  .policy-card::before {
    height: 3px;
  }

  /* Headings */

  .policy-card h2 {
    font-size: 22px;

    line-height: 1.3;

    margin-bottom: 18px;
  }

  /* Paragraphs */

  .policy-card p {
    font-size: 12px;

    line-height: 1.8;

    margin-bottom: 16px;
  }

  /* Lists */

  .policy-card ul {
    margin-top: 10px;

    padding-left: 20px;
  }

  .policy-card li {
    font-size: 12px;

    line-height: 1.8;

    margin-bottom: 12px;
  }
}

/* ===========================
   FOOTER
=========================== */

#footer {
  width: auto;
  background: #000;
  color: #fff;
  padding: 80px 0 30px;
}

.footer-container {
  width: 90%;
  margin: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #d6d6d6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column a {
  color: #d6d6d6;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  margin-bottom: 15px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #fff;
  padding-left: 8px;
}

.footer-bottom {
  margin-top: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: "Poppins", sans-serif;
  color: #bdbdbd;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: #bdbdbd;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: 0.3s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  #footer {
    padding: 60px 0 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-brand p {
    font-size: 14px;
  }

  .footer-column a {
    font-size: 14px;
  }

  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px !important;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 12px;
  }

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

  .footer-bottom-links a {
    font-size: 12px;
  }
}
