/* ============================================================
   DealIntelli — Landing Page
   Image: 1536 x 1024 px  (ratio 66.7%)

   TUNE THESE:
   .dropdown-wrap { bottom: XX% }  →  moves box up/down
   .dropdown-wrap { width: XXpx }  →  changes box width
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: #000;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.page-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Blurred side-margin background */
.bg-blur {
  position: absolute;
  inset: -4%;
  background: url("images/landing.png") center center / cover no-repeat;
  filter: blur(14px) brightness(0.60);
  transform: scale(1.06);
  z-index: 0;
  pointer-events: none;   /* never intercept clicks */
}

/* Aspect-ratio frame */
.image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(100vh / 0.667);
}

/* Spacer — MUST have pointer-events:none or it blocks the image map */
.image-frame::before {
  content: "";
  display: block;
  padding-top: 66.7%;     /* 1024 / 1536 * 100 */
  pointer-events: none;   /* ← critical: lets clicks reach the <img> map */
}

/* Landing image */
.bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* pointer-events stays ON so the image map works */
}

/* Dropdown — bottom:26% sits just above the module icons
   MOVE UP: increase   MOVE DOWN: decrease                  */
.dropdown-wrap {
  position: absolute;
  bottom: 26%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 420px;
  max-width: 80vw;
}

/* Glass shell */
.dropdown-shell {
  position: relative;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dropdown-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 14px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.15) 0%,
    rgba(255,255,255,0.03) 100%);
  pointer-events: none;
}

/* Trigger button */
.dropdown-trigger {
  position: relative;
  z-index: 2;
  cursor: pointer;
  user-select: none;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
}

.trigger-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.trigger-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
}

/* Dropdown list — opens upward */
.dropdown-list {
  display: none;
  list-style: none;
  margin: 0 0 6px 0;
  padding: 4px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow:
    0 -8px 28px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.dropdown-list li a {
  display: block;
  padding: 13px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: background 0.12s, color 0.12s;
}

.dropdown-list li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.dropdown-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* Mobile */
@media (max-width: 768px) {
  .dropdown-wrap {
    bottom: 26%;
    width: 300px;
    max-width: 84vw;
  }
  .dropdown-trigger { padding: 14px 16px; }
  .trigger-label    { font-size: 14px; }
  .trigger-arrow    { right: 14px; font-size: 12px; }
  .dropdown-list li a { font-size: 14px; padding: 11px 16px; }
}





/* =========================
   ABOUT PAGE OVERLAY
========================= */

.about-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  padding: 9.5% 5% 14.5% 5%;
}

.about-box {
  max-width: 680px;
  width: 88%;
  color: #fff;
  text-align: center;
  padding: 26px 30px;

  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.about-box h1 {
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 34px;
}

.about-box p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.95;
}

.back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.82;
}

.back-link:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-overlay {
    padding: 8% 6% 24% 6%;
  }

  .about-box {
    width: 92%;
    padding: 22px 20px;
  }

  .about-box h1 {
    font-size: 28px;
  }

  .about-box p {
    font-size: 14px;
    line-height: 1.55;
  }
}



/* =========================
   CONTACT PAGE OVERLAY
========================= */

.contact-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;

  /* TUNE THIS to move box up/down */
  padding: 8% 5% 14% 5%;
}

.contact-box {
  max-width: 600px;
  width: 88%;
  color: #fff;
  text-align: center;
  padding: 28px 30px;

  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.contact-box h1 {
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 18px;
  font-size: 34px;
}

.contact-box p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
  opacity: 0.95;
}

.contact-box a {
  color: #ffffff;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .contact-overlay {
    padding: 10% 6% 22% 6%;
  }

  .contact-box {
    width: 92%;
    padding: 22px 20px;
  }

  .contact-box h1 {
    font-size: 28px;
  }

  .contact-box p {
    font-size: 14px;
  }
}


/* =========================
   INTRANET PAGE OVERLAY
========================= */

.contact-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;

  /* TUNE THIS to move box up/down */
  padding: 8% 5% 14% 5%;
}

.contact-box {
  max-width: 600px;
  width: 88%;
  color: #fff;
  text-align: center;
  padding: 28px 30px;

  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.contact-box h1 {
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 18px;
  font-size: 34px;
}

.contact-box p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
  opacity: 0.95;
}

.contact-box a {
  color: #ffffff;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .contact-overlay {
    padding: 10% 6% 22% 6%;
  }

  .contact-box {
    width: 92%;
    padding: 22px 20px;
  }

  .contact-box h1 {
    font-size: 28px;
  }

  .contact-box p {
    font-size: 14px;
  }
}