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

  body.privacy-page {
    background: linear-gradient(to bottom, #e3d0ff, #ffe1e8);
  }
  
  body.terms-page {
    background: linear-gradient(to bottom, #ffe1e8, #a6c1ee);
  }
  

  html {
    scroll-padding-top: 80px; /* Matches navbar height */
    scroll-behavior: smooth;
  }
  
  
  /* BASE TYPOGRAPHY */
  body {
    font-family: 'Inria Sans', sans-serif;
    font-weight: 400;
    background: linear-gradient(to bottom, #84b3f1, #fff8dd);
    color: #2e2a2e;
    line-height: 1.8;
    padding-bottom: 100px;
  }
  
  h1, h2, h3, h4, h5, h6, .heading-heart, .signature {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #211f22;
    letter-spacing: 0.5px;
  }
  
  .heading-heart {
    font-size: 48px;
    text-align: center;
    margin-top: 100px;
    color: #2c2a3e;
  }
  
  h1 {
    font-size: 1.8rem;
    color: #1a1b3d;
    margin-top: 30px;
  }
  
  p {
    font-size: 18px;
    margin-top: 10px;
    color: #2f2f3d;
  }
  
  .signature {
    font-size: 28px;
    text-align: right;
    margin-top: 40px;
  }
  
  .signature::before {
    content: "ꕥ";
    margin-right: 10px;
    color: #211f22;
  }

  .container {
    padding: 30px 24px; /* 24px left and right padding */
    max-width: 800px;
    margin: 0 auto;
    
  }
  
  
 /* NAVBAR */
.navbar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 5%;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}

.nav-links a {
  color: #3b2e4d;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(142, 91, 176, 0.1);
  color: #8e5bb0;
}

/* Dropdowns that match the new navbar */
.navbar--alt .dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.navbar--alt .drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* little chevron */
.navbar--alt .drop-trigger::after {
  content: "▾";
  font-size: 12px;
  opacity: 0.75;
  transform: translateY(-1px);
}

/* menu panel */
.navbar--alt .dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.2s ease;
  z-index: 2000;
}

.navbar--alt .dropdown-content a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

/* show on hover */
.navbar--alt .dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile: keep it usable */
@media (max-width: 720px) {
  .nav-links--alt {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .navbar--alt .dropdown-content {
    left: auto;
    right: 0; /* keeps dropdown from falling off screen */
  }
}

  /* SECTION */
  section {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(132, 179, 241, 0.3);
    transition: box-shadow 0.3s ease;
  }
  
  section:hover {
    box-shadow: 0 16px 48px rgba(132, 179, 241, 0.5);
  }
  
  /* FOOTER */
  .footer {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    padding: 12px 24px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #4c4c4c;
  }

  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .footer .copyright {
    flex: 1;
  }
  
  .footer .copyright a {
  color: inherit;
  text-decoration: none;
  margin: 0 4px;
  font-weight: 500;
  transition: color 0.2s ease;
  }
  
  .footer .copyright a:hover {
  color: #2b4379;
  text-decoration: underline;
  }
  
  
  .footer .social-links {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .footer .social-links img {
    height: 24px;
    transition: transform 0.3s;
  }
  
  .footer .social-links img:hover {
    transform: scale(1.2);
  }
  
  .footer .terms-link a {
    color: #4c4c4c;
    text-decoration: none;
  }
  
  .footer .terms-link a:hover {
    text-decoration: underline;
  }
  
  /* MEDIA QUERIES */
  @media screen and (max-width: 600px) {
    .heading-heart {
      font-size: 32px;
      margin-top: 80px;
    }
  
    p {
      font-size: 16px;
    }
  
    .footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 8px;
      padding: 16px 20px;
    }
  
    .footer .copyright,
    .footer .terms-link {
      justify-content: center;
    }
  
    .footer .social-links {
      justify-content: center;
    }
  }

  /* ===== HEARTQUILL: 404 + HOW IT WORKS ===== */

body.notfound-page {
  background: linear-gradient(to bottom, #ffe1e8, #fff8dd);
  min-height: 100vh;
}

body.howitworks-page {
  background: linear-gradient(to bottom, #84b3f1, #ffe1e8);
  min-height: 100vh;
}

/* Main layout helper so content centers nicely under fixed navbar + above footer */
.hq-main {
  min-height: 100vh;
  padding-top: 90px;      /* navbar offset */
  padding-bottom: 140px;  /* footer breathing room */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hq-card {
  width: 100%;
  max-width: 720px;
  margin: 0 20px;
}

/* 404 accent */
.hq-stamp {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  text-align: center;
  margin-bottom: 6px;
  opacity: 0.9;
}

.hq-subtle {
  text-align: center;
  opacity: 0.85;
}

/* Buttons */
.hq-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hq-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #1a1b3d;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hq-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(132, 179, 241, 0.25);
  background: rgba(255, 255, 255, 0.28);
}

.hq-btn.primary {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* How it works blocks */
.hq-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hq-mini {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(132, 179, 241, 0.18);
}

.hq-mini h3 {
  font-size: 20px;
  margin-top: 0;
}

.hq-mini p {
  font-size: 16px;
}

.hq-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  margin: 18px 0;
}

@media screen and (max-width: 800px) {
  .hq-steps {
    grid-template-columns: 1fr;
  }
}
