/* GLOBAL */
html {
  font-size: 18px; /* Desktop: 1rem = 18px */
}

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  color: #fff;
  background: #000;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  background: #000;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease, padding 0.3s ease;
}
.navbar.hidden {
  transform: translateY(-100%);
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar h1 {
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0;
  transition: font-size 0.3s ease;
}
.navbar.scrolled h1 {
  font-size: 1.2rem;
}
.navbar h1 a {
  color: #fff;
  text-decoration: none !important;
  font-weight: 700;
  font-size: inherit;
  text-transform: uppercase;
}
.navbar h1 a:hover {
  color: #000 !important;
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none !important;
}
.navbar h1 a:visited,
.navbar h1 a:link {
  color: #fff;
  text-decoration: none !important;
}

/* Nav link styling */
.nav-link {
  display: inline-block;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s, color .2s, font-size 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled .nav-link {
  font-size: 1.2rem;
  padding: 6px 12px;
}
.nav-link:hover {
  background: #fff;
  color: #000;
}

/* Updated login button to match the H1 typography */
.login-btn {
  display: inline-block;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s, color .2s, font-size 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled .login-btn {
  font-size: 1.2rem;
  padding: 6px 12px;
}
.login-btn:hover {
  background: #fff;
  color: #000;
}

/* MAIN CONTENT */
main {
  padding-top: 80px; /* Account for fixed navbar height */
}

.main-content {
  padding-top: 80px; /* push content below fixed navbar */
}

/* HERO & FADE-IN PSEUDO-ELEMENT */
.hero {
  position: relative;
  height: 100vh;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("background.jpg") center/cover no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease;
  z-index: 0;
}
.hero.bg-loaded::before {
  opacity: 1;
}
.hero .overlay {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,.35);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 20px;
}
.hero .headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5rem);
  text-transform: uppercase;
  margin: 0;
}

/* Breakpoint adjustments for headline */
@media (max-width: 1024px) {
  .hero .headline {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero .headline {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .hero .headline {
    font-size: 2rem;
  }
}
.hero .headline div {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .6s ease forwards;
}
.hero .headline div:nth-child(1) { animation-delay: .2s; }
.hero .headline div:nth-child(2) { animation-delay: .6s; }
.hero .headline div:nth-child(3) { animation-delay: 1s; }
.subline {
  font-weight: 600;
  font-size: 1rem;
  margin: 30px auto 0;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 2s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* PITCH SECTION */
.pitch {
  background-color: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30vh;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}
.pitch h2 {
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 0;
  color: #000;
}
.pitch p {
  font-weight: 400;
  font-size: 1rem;
  margin: 0;
  color: #000;
}
.pitch > *:not(:last-child) {
  margin-bottom: 20px;
}

/* CTA REQUEST MORE INFO - always centred */
:root { --section-gap: 80px; }
@media (max-width: 768px) { :root { --section-gap: 40px; } }

.cta-request {
  padding: var(--section-gap) 0;
}

.cta-request .container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center; /* vertical centring if section is tall */
  flex-direction: column;
  width: 100%;
  text-align: center; /* centre inline children */
}

.cta-form {
  background: #0b0b0b;
  border: 2px solid #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 0 auto; /* ensure form is centred */
  text-align: center;
  max-width: 600px;
  width: 100%;
}


.cta-title {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
  color: #fff;
  text-align: center;
}

.cta-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #4ECDC4 0%, transparent 100%);
}

@media (min-width: 481px) {
  .cta-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
  }
}

@media (min-width: 769px) {
  .cta-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 80px;
  }
}

.cta-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 768px) {
  .cta-inputs { grid-template-columns: 1fr; }
}

.cta-inputs input[type="text"],
.cta-inputs input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #555;
  background: #000;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.cta-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 0;
}

@media (max-width: 768px) {
  .cta-bottom-row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .wholesale-investor-label {
    justify-content: space-between;
    align-items: flex-start;
  }

  .wholesale-text::after {
    content: " investor";
    display: block;
    text-align: right;
    margin-top: 0;
  }
}

.wholesale-investor-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  user-select: none;
  color: #fff;
}

.wholesale-investor-label input[type="checkbox"] {
  width: 18px; 
  height: 18px;
  accent-color: #4ECDC4;
}

.cta-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, transform .06s;
}
.cta-btn:hover { background: #fff; color: #000; }
.cta-btn:active { transform: scale(0.98); }

.cta-smallprint {
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 10px;
}

.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* FOOTER */
.footer {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 30px;
  margin-top: 120px;
  text-align: center;
}
.footer-columns {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-columns address,
.footer-columns > div {
  text-align: center;
}
.footer-columns > div h4,
.footer-columns address h4 {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-columns > div p,
.footer-columns address p {
  margin: 0;
  font-weight: 400;
  font-style: normal;
  font-size: 0.9rem;
}
.footer-columns address {
  font-style: normal;
}
.disclaimer {
  font-size: .8rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

/* MOBILE */
@media (max-width: 768px) {
  html {
    font-size: 16px; /* Mobile: 1rem = 16px */
  }

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

  .navbar {
    padding: 8px 0;
  }

  .navbar.scrolled {
    padding: 6px 0;
  }

  .navbar h1 {
    font-size: 0.8rem;
    text-align: center;
  }

  .navbar.scrolled h1 {
    font-size: 0.7rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .navbar.scrolled .nav-link {
    font-size: 0.7rem;
    padding: 3px 6px;
  }

  .login-btn {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .navbar.scrolled .login-btn {
    font-size: 0.7rem;
    padding: 3px 6px;
  }

  .hero {
    height: 100vh;
  }

  .hero .overlay {
    padding: 20px;
    justify-content: center;
    align-items: center;
  }

  .main-content {
    padding-top: 40px;
  }

  .subline {
    font-size: 0.9rem;
  }

  .pitch h2 {
    font-size: 1.2rem;
  }

  .pitch p {
    font-size: 0.9rem;
  }

  .footer {
    text-align: center;
    padding: 30px 20px 30px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

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

  .footer-columns > div,
  .footer-columns address {
    text-align: center;
  }

  .footer-columns address h4,
  .footer-columns > div h4 {
    text-align: center;
    font-style: normal;
  }

  .footer-columns address p,
  .footer-columns > div p {
    text-align: center;
    font-style: normal;
    font-size: 0.8rem;
  }

  .disclaimer {
    font-size: 0.7rem;
  }

  /* Remove auto-link styling on mobile */
  .footer a,
  .footer a:link,
  .footer a:visited,
  .footer a:hover,
  .footer a:active {
    color: #fff !important;
    text-decoration: none !important;
  }
}