/* ============================================
   TECH WEEK LANDING PAGE STYLES
   Simploy - Free HR Fit Check Landing Page
   Uses Simploy design system: hardcoded hex, brandon-grotesque, Bootstrap 5
   ============================================ */

/* ---- HERO ---- */
.tw-hero {
  background: linear-gradient(135deg, #E3E3E1 0%, #ffffff 50%);
  padding: 96px 0 96px;
}
/* Override app.css "p { margin-bottom: 0 !important }" for hero spacing */
.tw-hero h1 { margin-bottom: 24px !important; }
.tw-hero .smp-font-20-bold { margin-bottom: 16px !important; }
.tw-hero .smp-font-16-normal { margin-bottom: 12px !important; }
.tw-hero .smp-font-16-normal:last-of-type { margin-bottom: 0 !important; }

/* ---- TAGLINE BAR ---- */
.tw-tagline {
  background: #02A64D;
  padding: 24px 20px;
}

/* ---- WHAT SECTION ---- */
.tw-what {
  padding: 40px 0;
  background: #ffffff;
}
.tw-what__photo-wrapper {
  max-width: 480px;
  margin: 0 auto;
}
/* Override app.css "p { margin-bottom: 0 !important }" for what section spacing */
.tw-what .smp-font-20-normal { margin-bottom: 24px !important; }
.tw-what .smp-font-20-normal:last-of-type { margin-bottom: 0 !important; }
.tw-what .smp-font-32-bold { margin-bottom: 28px !important; }

.tw-what__photo-wrapper img {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* ---- GREEN SUPPORT BAR ---- */
.tw-support-bar {
  background: #0A6433;
  padding: 28px 20px;
}

/* ---- TWO-COLUMN ---- */
.tw-two-col {
  padding: 64px 0 96px;
  background: #ffffff;
}
.tw-two-col__wrapper {
  display: flex;
  align-items: stretch;
  position: relative;
  gap: 24px;
}
.tw-two-col__left,
.tw-two-col__right {
  flex: 1;
  min-width: 0;
}
.tw-two-col__arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.tw-card {
  background: transparent;
  border-radius: 0;
  padding: 40px 36px;
  height: 100%;
  text-align: center;
}
.tw-bullet-wrap {
  background: #E4E4E2;
  border-radius: 12px;
  padding: 2px 16px;
  margin-top: 4px;
  display: inline-block;
  text-align: left;
}

/* Bullet list styles */
.tw-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tw-bullet-list li {
  font-family: brandon-grotesque, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #414142;
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.5;
}
.tw-bullet-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #414142;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 16px;
}
.tw-bullet-list--green li::before {
  background: #02A64D;
}

/* ---- FORM SECTION ---- */
.tw-form-section {
  background: #0A6433;
  padding: 64px 20px;
}
.tw-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.tw-form {
  text-align: center;
}
.tw-form input {
  width: 100%;
  padding: 18px 20px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-family: brandon-grotesque, sans-serif;
  background: #E3E3E1;
  color: #414142;
  min-width: 0;
  box-sizing: border-box;
}
.tw-form input::placeholder {
  color: #888;
}

/* Custom dropdown */
.tw-dropdown {
  position: relative;
  min-width: 0;
}
.tw-dropdown__trigger {
  width: 100%;
  padding: 18px 40px 18px 20px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-family: brandon-grotesque, sans-serif;
  background: #E3E3E1;
  color: #888;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  min-width: 0;
}
.tw-dropdown__trigger:hover {
  background: #d9d9d7;
}
.tw-dropdown__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.tw-dropdown__label--selected {
  color: #414142;
}
.tw-dropdown__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.tw-dropdown__trigger[aria-expanded="true"] .tw-dropdown__chevron {
  transform: rotate(180deg);
}
.tw-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #F2F2F0;
  border-radius: 12px;
  padding: 6px 0;
  margin: 0;
  list-style: none;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  max-height: 260px;
  overflow-y: auto;
}
.tw-dropdown__menu li {
  padding: 14px 20px;
  font-family: brandon-grotesque, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #414142;
  cursor: pointer;
  transition: background 0.15s ease;
}
.tw-dropdown__menu li:hover {
  background: #E3E3E1;
}

.tw-form-submit {
  margin-top: 20px;
  border: none;
  font-family: brandon-grotesque, sans-serif;
}
.tw-form__consent {
  color: #ffffff;
  font-family: brandon-grotesque, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  margin-top: 32px !important;
  opacity: 0.85;
}
.tw-form__success {
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}
.tw-form__success h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #ffffff;
}
.tw-form__success p {
  color: #ffffff;
}
.tw-error-message {
  color: #E8E629;
  font-size: 12px;
  text-align: left;
  margin-bottom: 4px;
}

/* ---- FAQ ---- */
.tw-faq {
  padding: 64px 0;
  background: #ffffff !important;
}
.tw-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.tw-faq__card {
  background: #E8E8E6 !important;
  border-radius: 12px !important;
  border: none !important;
  overflow: hidden;
  box-shadow: none !important;
}
.tw-faq__question {
  width: 100%;
  background: none !important;
  border: none !important;
  padding: 20px 20px 20px 20px !important;
  font-family: brandon-grotesque, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #414142 !important;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tw-faq__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: #02A64D !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.2s ease;
}
/* Rotate chevron when collapsed */
.tw-faq__question[aria-expanded="false"] .tw-faq__icon {
  transform: rotate(180deg);
}
.tw-faq__answer {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #414142 !important;
}
.tw-faq__answer p {
  margin: 0;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 8px;
  color: #414142 !important;
  font-family: brandon-grotesque, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* ---- HERO TEXT LINK ---- */
.tw-hero a[href*="free-hr-toolkit"]:hover {
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .tw-hero {
    padding: 40px 20px;
    text-align: center;
  }
  .tw-hero .cta-main {
    width: 100%;
    text-align: center;
  }
  .tw-what {
    padding: 40px 20px;
  }
  .tw-what__photo-wrapper {
    max-width: 90%;
    margin-bottom: 24px;
  }
  .tw-two-col {
    padding: 40px 20px;
  }
  .tw-two-col__wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .tw-two-col__arrow {
    position: static;
    transform: none;
    padding: 8px 0;
  }
  .tw-two-col__arrow img {
    transform: rotate(90deg);
  }
  .tw-form__row {
    grid-template-columns: 1fr;
  }
  .tw-faq {
    padding: 40px 20px;
  }
  .tw-faq__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tw-form-submit {
    width: 100%;
  }
}
