/**
 * BIDI Landing Page Styles
 *
 * This file is a placeholder for your custom CSS/SCSS.
 * The HTML structure is ready with semantic classes for styling.
 *
 * Design reference: /functions/agents/landing-page/bidi-landing-page-visual.png
 *
 * Key Design Elements:
 * - Header with tagline: "Connecting buyers and sellers for greater control."
 * - "Coming Soon" section with registration form
 * - Two input fields (Name and Email) with placeholder styling
 * - Large "BIDI" branding
 * - Strawberry background imagery (right side)
 *
 * Available Fonts:
 * - font-family: 'Bricolage Grotesque', sans-serif; (800 weight loaded)
 * - font-family: 'Grift', sans-serif; (500 weight)
 */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  font-family: "Grift", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #4d725a;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   LAYOUT
   ============================================ */

.landing-page {
  position: relative;
}

.privacy-page {
  background-color: #ffffff;
}

.landing-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.privacy-page .landing-container {
  flex-direction: column;
  position: relative;
}

.back-to-home-link {
  left: 67px;
  position: fixed;
  top: 72px;
  width: 82px;
}

.main-column {
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  width: 65.625%;
}

.privacy-page .main-column {
  width: 55.72916667%;
  max-width: 1070px;
  margin: 0 auto;
  padding: 156px 0px 148px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px; /* Small margin from edge */
  background: #1a192f; /* Match your brand color from SVG */
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 0 0 4px 4px; /* Rounded bottom corners */
  z-index: 100;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ============================================
   HEADER
   ============================================ */

.landing-header {
  background-image: url("../images/heading-bg.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  height: auto;
  margin-top: 102px;
  margin-top: 50px;
  max-width: 95.52083333vw;
  max-width: 82.5vw;
  position: absolute;
  width: 1834px;
  z-index: 1;
}

.tagline {
  color: #ffffff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 63px;
  font-size: 3.28125vw;
  font-weight: 800;
  line-height: 1.20634921;
  max-width: 932px;
  max-width: 48.54166667vw;
  padding: 77px 0 80px 76px;
  padding: 4.01041667vw 0 4.16666667vw 3.95833333vw;
  padding: 4.01041667vw 0 4.16666667vw 77px;
  padding: 2.85vw 0 2.85vw 77px;
}

/* ============================================
   COMING SOON SECTION
   ============================================ */

.coming-soon-section {
  /* Coming soon container */
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 19.5vw 76px 0 77px;
}

.coming-soon-title {
  font-family: "Bricolage Grotesque", sans-serif;
  color: #ffffff;
  font-size: 38px;
  line-height: 45px;
}

.privacy-page h1 {
  color: #1a192f;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 38px;
  line-height: 45px;
  margin-bottom: 60px;
  margin-top: 77px;
}

.privacy-page .copyright-section h2,
.privacy-page .contact-section h2 {
  color: #1a192f;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 38px;
  line-height: 45px;
  margin-bottom: 27px;
  margin-top: 77px;
}

.privacy-page h3 {
  color: #1a192f;
  font-size: 21px;
  font-weight: 600;
  line-height: 25px;
  margin-bottom: 20px;
  margin-top: 45px;
}

.privacy-page p {
  color: #1a192f;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 11px;
}

.privacy-page p a {
  color: #ff571c;
  text-decoration: none;
}

.privacy-page p a:hover {
  text-decoration: underline;
}

.privacy-page .privacy-section ul,
.privacy-page .copyright-section ul,
.privacy-page .contact-section ul {
  margin-left: 20px;
  margin-bottom: 30px;
}

.privacy-page .privacy-section ul li,
.privacy-page .copyright-section ul li,
.privacy-page .contact-section ul li {
  color: #1a192f;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 11px;
}

.register-text {
  color: #ffffff;
  font-size: 21px;
  line-height: 26px;
}

/* ============================================
   FORM STYLES
   ============================================ */

.registration-form {
  align-items: flex-end;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.form-label {
  color: #ffffff;
  font-size: 19px;
  line-height: 1.21052632;
  margin-bottom: 13px;
}

.form-input {
  /* Name and Email inputs */
  background-color: rgba(216, 239, 162, 0.5);
  border: 2px solid #73e173;
  border-radius: 28px;
  color: #ffffff;
  font-size: 21px;
  line-height: 25px;
  padding: 8px 23px;
}

.form-input::placeholder {
  /* Placeholder text styles */
}

.form-input.error {
  /* Error state for inputs */
}

.field-error {
  /* Validation error messages */
  display: none;
}

.field-error:not(:empty) {
  color: #ff571c;
  display: block;
  position: absolute;
  bottom: -34px;
}

.submit-button {
  background-color: #73e173;
  border: none;
  border-radius: 28px;
  color: #1a192f;
  cursor: pointer;
  font-size: 21px;
  line-height: 21px;
  padding: 12px 0;
  position: relative;
  width: 107px;
}

.submit-button.loading {
  /* Loading state */
  cursor: not-allowed;
}

.button-text {
  /* Button text */
  transition: opacity 0.2s;
}

.button-loader {
  /* Loading spinner */
  display: none;
}

.form-error {
  /* General form error */
  color: #ff571c;
  display: none;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.success-message {
  margin: 0px 76px 0 87px;
}

.success-message h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  color: #ffffff;
  font-size: 38px;
  line-height: 45px;
}

.success-message p {
  color: #ffffff;
  font-size: 21px;
  line-height: 26px;
}

.success-title {
  /* "Thank you!" heading */
}

.success-text {
  /* Success message text */
}

/* ============================================
   BRANDING
   ============================================ */

.branding {
  align-items: flex-end;
  display: flex;
  margin: 90px 76px 31px 77px;
}

.brand-name {
  /* Large "BIDI" text */
}

/* ============================================
   FOOTER MENU
   ============================================ */

.footer-menu {
  margin: 0 76px 33px 77px;
}

.footer-menu nav {
}

.footer-menu ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.footer-menu ul li {
}

.footer-menu ul li a {
  color: #1a192f;
  font-size: 16px;
  line-height: 1.1875;
  position: relative;
  text-decoration: none;
}

.footer-menu ul li a::after {
  content: "|";
  position: absolute;
  right: -22px;
}

.footer-menu ul li:last-child a::after {
  display: none;
}

/* ============================================
   BACKGROUND IMAGERY
   ============================================ */

.background-imagery {
  width: 34.38%;
}

.background-imagery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .back-to-home-link {
    left: inherit;
    margin: 42px 0 0 34px;
    position: relative;
    top: inherit;
  }

  .privacy-page .main-column {
    width: auto;
    margin: 0 auto;
    padding: 0 34px 60px;
  }
}

@media (min-width: 769px) and (max-width: 1063px) {
  .back-to-home-link {
    left: inherit;
    margin: 82px 0 0 77px;
    position: relative;
    top: inherit;
  }

  .privacy-page .main-column {
    width: auto;
    margin: 0 auto;
    padding: 0 77px 148px;
  }
}

@media (max-width: 1306px) {
  .tagline {
    max-width: 52.541667vw;
  }

  .form-container {
    margin-top: calc(13.2625vw + 100px);
  }

  .registration-form {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-field {
    width: 100%;
    max-width: 481px;
  }

  .field-error:not(:empty) {
    bottom: initial;
    margin-top: 13px;
    position: relative;
  }
}

@media (max-width: 1220px) {
  .landing-header {
    background-size: auto 100%;
    height: 166px;
    margin-top: 90px;
  }

  .landing-header .tagline {
    font-size: 38px;
    line-height: 45px;
    padding-bottom: 38px;
    padding-top: 38px;
  }

  .form-container {
    margin-top: calc(90px + 166px + 63px);
  }
}

@media (max-width: 1196px) {
  .landing-header {
    background-position: right;
  }
}

@media (max-width: 1063px) {
  .main-column {
    width: 76.58%;
  }

  .branding,
  .form-container,
  .footer-menu {
    margin-left: 72px;
  }

  .tagline {
    max-width: 570px;
    padding-left: 72px;
  }

  .branding {
    margin-top: 120px;
  }

  .branding svg {
    width: 72.0752587vw;
  }
}

@media (max-width: 768px) {
  .main-column {
    width: 86.774942%;
  }

  .background-imagery {
    width: 13.225058%;
  }

  .landing-header {
    background-image: url("../images/heading-bg--mobile.svg");
    background-size: auto 100%;
    height: 149px;
    margin-top: 60px;
    max-width: 97.5vw;
  }

  .landing-header .tagline {
    font-size: 31px;
    line-height: 34px;
    max-width: 329px;
    padding-bottom: 21px;
    padding-left: 34px;
    padding-top: 24px;
  }

  .form-container {
    margin-bottom: 100px;
    margin-right: 0;
    margin-top: calc(60px + 149px + 63px);
    margin-top: calc(274px + ((100vw * 0.8202320186) / 3.64242705) + 68px);
    max-width: 275px;
    width: 69vw;
  }

  .branding,
  .form-container,
  .footer-menu {
    margin-left: 34px;
  }

  .branding {
    left: 39px;
    margin: 0;
    position: absolute;
    top: 274px;
  }

  .branding svg {
    width: 82.02320186vw;
  }

  .coming-soon-title {
    font-size: 31px;
    line-height: 37px;
  }

  .register-text,
  .form-label {
    font-size: 17px;
    line-height: 20px;
  }

  .form-label {
    margin-bottom: 10px;
  }

  .submit-button {
    font-size: 19px;
    line-height: 19px;
  }

  .form-input {
    font-size: 19px;
    line-height: 23px;
    padding: 8px 17px;
  }

  .field-error:not(:empty) {
    margin-top: 10px;
  }

  .footer-menu {
    margin-bottom: 24px;
    margin-right: 46px;
  }

  .footer-menu ul {
    row-gap: 12px;
    flex-wrap: wrap;
  }

  .success-message {
    margin: -100px 46px 100px 34px;
  }
}
