/* ============================================================
   Essential Capture | BizCardDex Product Page
   01 Page  02 Hero  03 Benefits  04 Introduction
   05 Product Features  06 Industries  07 Download CTA
   08 Responsive Layout
   ============================================================ */
/* 01. PAGE */
.bcd-page {
  background: #fff;
}

.bcd-page main {
  background: #fff;
}

/* ============================================================
   02. HERO
   ============================================================ */

/* Hero background */
.bcd-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  color: #fff;

  background-image: url('../assets/bizcarddex/bcd-hero.png');
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Hero content layout */
.bcd-hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 65px;
}

/* Left content */
.bcd-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 530px;
  padding-top: 25px;
}

/* Product title */
.bcd-hero-copy h1 {
  margin: 0 0 25px;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 650;
}

/* Main headline */
.bcd-hero-copy h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(27px, 2.7vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

/* Blue highlighted headline */
.bcd-hero-copy h2 span {
  color: #2584ff;
}

/* Description */
.bcd-hero-copy p {
  max-width: 470px;
  margin: 0 0 30px;
  color: #fff;
  font-size: 17px;
  line-height: 1.65;
}

/* App Store button */
.bcd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 30px;
  border-radius: 30px;
  background: #0879ff;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}

.bcd-button:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

/* Two iPhones */
.bcd-hero-phones {
  position: relative;
  z-index: 2;
  width: min(36%, 365px);
  max-height: 380px;
  object-fit: contain;
  transform: translateY(26px);
}

/* 03 Feature card */
.bcd-feature-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  max-width: 860px;
  /* Previously 880px */
  margin-top: -80px;
  /* Previously -125px */
  padding: 12px 12px;
  /* Previously 28px 20px */

  background: #fff;
  border: 1px solid #e5e8f0;
  border-radius: 18px;

  box-shadow:
    0 12px 35px rgba(7, 19, 78, 0.20),
    0 3px 8px rgba(7, 19, 78, 0.08);
}

/* Individual feature */
.bcd-feature-strip>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 12px;
  text-align: center;
}

/* Vertical dividers */
.bcd-feature-strip>div+div {
  border-left: 1px solid #d9deea;
}

/* Feature icons */
.bcd-feature-strip img {
  width: 265px;
  height: 140px;
  object-fit: contain;
}

/* Feature description */
.bcd-feature-strip p {
  margin: 4px 0 0;
  color: #303b55;
  font-size: 15px;
  line-height: 1.4;
}

/* Feature image hover effect */
.bcd-feature-strip img {
  width: 265px;
  height: 140px;
  object-fit: contain;

  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .bcd-feature-strip>div:hover img {
    transform: scale(1.10);
  }
}

/* 04. INTRODUCTION */
.bcd-intro {
  padding: 48px 0 30px;
  text-align: center;
}

.bcd-intro h2 {
  margin: 0 0 10px;
  color: #333;
  font-size: 27px;
}

.bcd-intro p {
  max-width: 810px;
  margin: auto;
  color: #333;
  font-size: 18px;
  line-height: 1.55;
}

/* 05. PRODUCT FEATURES */
.bcd-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  padding: 25px 0 55px;
}

.bcd-detail-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.bcd-detail-image img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Feature and Contact image hover effect */
@media (hover: hover) {
  .bcd-detail-image img:hover {
    transform: scale(1.05);
  }
}

.bcd-detail-copy h2 {
  margin: 0 0 5px;
  color: #0879ff;
  font-size: 26px;
  font-weight: 600;
}

.bcd-detail-copy h3 {
  margin: 0 0 22px;
  color: #555;
  font-size: 25px;
  font-weight: 500;
}

.bcd-detail-copy p {
  margin: 0 0 27px;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.bcd-detail-copy ul {
  margin: 0;
  padding: 0 0 0 100px;
  list-style: none;
}

.bcd-detail-copy li {
  position: relative;
  padding: 5px 0 5px 26px;
  color: #303030;
  font-size: 15px;
  line-height: 1.4;
}

.bcd-detail-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #c9eeff, #0083ff 65%, #0050b6);
}

/* 06. INDUSTRIES */
.bcd-industries {
  padding: 15px 0 38px;
  text-align: center;
}

.bcd-industries>h2 {
  margin: 0 0 22px;
  color: #0879ff;
  font-size: 25px;
  font-weight: 600;
}

.bcd-industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.bcd-industry-grid article {
  min-width: 0;
  padding: 13px 9px 18px;
  border: 1px solid #e2e3e8;
  border-radius: 10px;
}

.bcd-industry-grid img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.bcd-industry-grid h3 {
  margin: 6px 0;
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.bcd-industry-grid p {
  margin: 0;
  color: #444;
  font-size: 12px;
  line-height: 1.4;
}

/* Professional card hover effect */
.bcd-industry-grid article {
  min-width: 0;
  padding: 13px 9px 18px;
  border: 1.2px solid #e2e3e8;
  border-radius: 10px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: hover) {
  .bcd-industry-grid article:hover {
    transform: translateY(-4px);
    border-color: #f0a34a;
    box-shadow:
      0 0 0 1px #f0a34a,
      0 8px 24px rgba(7, 19, 78, 0.08);
  }
}

/* 07. DOWNLOAD CTA */
.bcd-cta {
  display: grid;
  grid-template-columns: 36% 1fr;
  height: 200px;
  margin-bottom: 38px;
  overflow: hidden;
  border-radius: 16px;

  background: linear-gradient(90deg,
      #10131c 0%,
      #102b62 40%,
      #0c4bb9 100%);

  color: #fff;
}


.bcd-cta-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.bcd-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 30px;
  text-align: center;

  background: linear-gradient(90deg,
      #050810 0%,
      #101827 25%,
      #12336b 60%,
      #1453b5 100%);
}


/* Download CTA headline */
.bcd-cta-content p {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.bcd-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.bcd-cta-actions img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
}

.bcd-button-dark {
  background: #000;
  white-space: nowrap;
  border: 0px solid #fff;
}


/* 08. RESPONSIVE LAYOUT */
@media (max-width: 800px) {
  .bcd-hero {
    height: auto;
    min-height: 670px;
  }

  .bcd-hero-inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-top: 110px;
    padding-bottom: 115px;
    text-align: center;
  }

  .bcd-hero-copy {
    padding-top: 0;
  }

  .bcd-hero-copy h1 {
    margin-bottom: 10px;
  }

  .bcd-hero-copy h2 {
    margin-bottom: 12px;
  }

  .bcd-hero-copy p {
    margin-bottom: 20px;
  }

  .bcd-hero-phones {
    width: min(58%, 290px);
    max-height: 270px;
  }

  .bcd-feature-strip {
    margin-top: -65px;
  }

  .bcd-feature-strip>div {
    padding-inline: 10px;
  }

  .bcd-feature-strip img {
    width: 120px;
    height: 85px;
  }

  .bcd-feature-strip p {
    font-size: 13px;
  }

  .bcd-detail {
    gap: 24px;
  }

  .bcd-detail-copy h2 {
    font-size: 22px;
  }

  .bcd-detail-copy h3 {
    font-size: 20px;
  }

  .bcd-industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bcd-cta-actions {
    gap: 14px;
    flex-wrap: wrap;
  }

  .bcd-button-dark {
    font-size: 16px;
  }
}

@media (max-width: 560px) {

  .bcd-hero {
    height: auto;
    min-height: 680px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .bcd-hero-inner {
    padding-top: 105px;
    padding-bottom: 115px;
  }

  .bcd-hero-copy h2 {
    font-size: 27px;
  }

  .bcd-hero-copy p {
    font-size: 15px;
  }

  .bcd-hero-phones {
    width: min(75%, 260px);
  }

  .bcd-feature-strip {
    grid-template-columns: 1fr;
    width: 85%;
    max-width: 260px;
    margin: -80px auto 0;
    padding: 10px 15px;
    box-sizing: border-box;
  }

  .bcd-feature-strip>div {
    padding: 10px;
  }

  .bcd-feature-strip>div+div {
    border-left: 0;
    border-top: 1px solid #d4d4db;
  }

  .bcd-feature-strip img {
    height: 76px;
  }

  .bcd-intro {
    padding-top: 36px;
  }

  .bcd-intro h2 {
    font-size: 23px;
  }

  .bcd-intro p {
    font-size: 16px;
  }

  .bcd-detail,
  .bcd-detail-reverse {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 35px;
  }

  .bcd-detail-reverse .bcd-detail-copy {
    order: 2;
  }

  .bcd-detail-reverse .bcd-detail-image {
    order: 1;
  }

  .bcd-detail-image img {
    max-height: 440px;
  }

  .bcd-industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bcd-cta {
    grid-template-columns: 1fr;
    height: auto;
  }

  .bcd-cta-photo {
    height: 170px;
    min-height: 170px;
  }

  .bcd-cta-content {
    padding: 25px 20px;
  }

  .bcd-detail-copy ul {
    padding-left: 25px;
  }

  .bcd-cta-content p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
  }

  .bcd-cta-actions img {
    width: 58px;
    height: 58px;
  }

  .bcd-button-dark {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* 09. DOWNLOAD POPUP */
.bcd-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bcd-modal.is-open {
  display: flex;
}

.bcd-modal-box {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 30px 25px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.bcd-modal-box h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 500;
  color: #555;
}

.bcd-modal-qr {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: contain;
  image-rendering: crisp-edges;
  margin: 0 auto 20px;
}

.bcd-modal-store {
  display: block;
  width: 170px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.bcd-modal-box {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 30px 25px;
  border-radius: 18px;

  /* Background */
  background: #FFF9F0;

  /* Subtle border */
  border: 1px solid #dce5f2;

  /* Soft shadow */
  box-shadow:
    0 15px 40px rgba(7, 19, 78, 0.25),
    0 5px 12px rgba(7, 19, 78, 0.10);

  text-align: center;
}


.bcd-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 26px;
  color: #777;
  cursor: pointer;
}

.bcd-modal-close:hover {
  color: #111;
}

/* Navigation category labels */
.primary-nav .nav-category {
  font-size: 16px;
  font-weight: 500;
}

/* Current product page */
.nav-submenu .nav-current {
  display: block;
  padding: 10px 17px;
  color: #fff;
  background: #ffffff20;
  cursor: default;
}

@media (max-width: 800px) {
  .nav-submenu .nav-current {
    padding: 10px 8px;
  }
}