/* Index Page Specific Styles */

/* Intro Section */
.intro-highlight {
  transition: all 0.5s ease;
}

.intro-highlight:hover .highlight-icon {
  background: var(--color-accent);
}

/* Trust Section */
.trust-card {
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(139, 94, 60, 0.1);
  filter: blur(120px);
  border-radius: 50%;
  transform: translate(25%, -25%);
}

/* Join Section Cards */
.join-card {
  position: relative;
  overflow: hidden;
}

.join-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #1a1a1a,
    rgba(26, 26, 26, 0.3),
    transparent
  );
  z-index: 1;
}

.join-card img {
  transition: all 1s ease;
  filter: grayscale(1);
  opacity: 0.4;
}

.join-card:hover img {
  transform: scale(1.1);
  filter: grayscale(0);
  opacity: 0.6;
}

/* FAQ Section */
.faq-item {
  border-radius: 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.7s ease;
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.faq-item.active {
  background: white;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-input {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  font-weight: bold;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-input:focus {
  border-bottom-color: var(--color-accent);
}

/* Footer Hero */
.footer-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 6rem;
}

.footer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Planning Board Hero Aesthetic */
.planning-board-bg {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.board-item {
  position: absolute;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  filter: grayscale(0.2) brightness(0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 4px solid #1a1a1a;
  pointer-events: auto;
}

.board-item:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 30;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.board-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Role Registration Strip */
.hero-register-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  transform: none;
  z-index: 25;
  width: 100%;
}

.hero-register-grid {
  display: grid;
  grid-template-columns: minmax(0, 372px) minmax(0, 1fr) minmax(0, 372px);
  align-items: end;
  gap: 0.75rem;
}

.hero-role-card {
  position: relative;
  min-height: 190px;
  max-width: 372px;
  width: 100%;
  border-radius: 24px;
  padding: 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.hero-role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45);
}

.hero-role-card--designer {
  background: #1a1a1a;
  color: #fdfbf7;
  justify-self: start;
}

.hero-role-card--installer {
  background: #1a1a1a;
  color: #fdfbf7;
  justify-self: end;
}

.hero-middle-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.35rem;
  transform: translateY(-9rem);
}

.hero-role-icon {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  opacity: 0.2;
}

.hero-role-eyebrow {
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 800;
  margin-bottom: 0.6rem;
  opacity: 0.8;
}

.hero-role-title {
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.hero-role-title span {
  opacity: 0.45;
}

.hero-role-copy {
  font-size: 0.72rem;
  line-height: 1.35;
  max-width: 29ch;
  margin-bottom: 0.9rem;
  opacity: 0.78;
}

.hero-role-cta {
  margin-top: auto;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.54rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-role-card--designer .hero-role-cta {
  background: #fdfbf7;
  color: #1a1a1a;
}

.hero-role-card--installer .hero-role-cta {
  background: #fdfbf7;
  color: #1a1a1a;
}
/* ========================= */
/* RESPONSIVE FIX (≤1024px) */
/* ========================= */

@media (max-width: 1024px) {

  /* Remove absolute bottom positioning */
  .hero-register-strip {
    position: relative;
    bottom: auto;
    margin-top: 3rem;
    padding: 0 1.5rem;
  }

  /* Stack layout properly */
  .hero-register-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  /* Fix card width */
  .hero-role-card {
    width: 100%;
    max-width: 480px;
  }

  /* Remove cinematic vertical lift */
  .hero-middle-cta {
    transform: none;
    padding-bottom: 0;
  }

  /* Reduce Step Inside size */
  .hero-middle-cta-link {
    /* padding: 1.2rem 2.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.25em; */
    display: none;

  }

  /* Order control */
  .hero-role-card--designer { order: 1; }
  .hero-middle-cta { order: 2; }
  .hero-role-card--installer { order: 3; }
}

/* ========================= */
/* EXTRA SMALL PHONES (≤480px) */
/* ========================= */

@media (max-width: 480px) {

  .hero-register-strip {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .hero-role-card {
    padding: 0.9rem;
    border-radius: 18px;
  }

  .hero-role-title {
    font-size: 1rem;
  }

  .hero-role-copy {
    font-size: 0.6rem;
    max-width: 100%;
  }

  .hero-role-eyebrow {
    font-size: 0.4rem;
    letter-spacing: 0.18em;
  }

  /* Fix Step Inside button */
  .hero-middle-cta-link {
    padding: 0.8rem 1.5rem;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
  }

}


/* Tape effect */
.board-item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 60px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-register-strip {
    width: min(94vw, 420px);
    bottom: 0.5rem;
  }

  .hero-register-grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero-middle-cta-link {
    padding: 0.95rem 2.25rem;
    font-size: 0.58rem;
    letter-spacing: 0.3em;
  }

  .hero-role-card {
    min-height: 140px;
    border-radius: 20px;
    padding: 0.8rem;
  }

  .hero-role-eyebrow {
    font-size: 0.42rem;
    margin-bottom: 0.4rem;
  }

  .hero-role-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }

  .hero-role-copy {
    font-size: 0.62rem;
    line-height: 1.3;
    margin-bottom: 0.55rem;
  }

  .hero-role-cta {
    font-size: 0.44rem;
    padding: 0.46rem 0.8rem;
    letter-spacing: 0.16em;
  }

  .board-item {
    display: none; 
  }
}
