/* =========================
   JOIN page styles
   ========================= */

:root { --header-h: 108px; }

/* prevent 100vw pseudo bgs from creating a horizontal scrollbar */
html, body { 
  overflow-x: hidden;
  padding-top: 0; /* No padding - navbar floats over content */
}

/* Anima wrapper sometimes clips; allow bleed + sticky to work */
.container-center-horizontal { 
  width: 100%; 
  overflow: visible; 
  margin-top: 0; /* No margin for join page - content starts right below navbar */
}

/* ---- Page shell ---- */
.join {
  align-items: flex-start;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ---- Header (hidden - using unified navbar) ---- */
.join .header {
  display: none !important;
}

/* ---- Force floating navbar to work on join page with Apple Glass ---- */
.unified-navbar {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 50px !important;
  z-index: 1000 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
}

.unified-navbar .navbar-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 32px !important;
  gap: 16px !important;
  width: auto !important;
}

.unified-navbar .logo-section {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-right: 16px !important;
}

.unified-navbar .trepo-logo {
  color: var(--green-house) !important;
  font-family: var(--font-family-violet_sans-regular) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: -0.4px !important;
  line-height: normal !important;
  text-decoration: none !important;
}

.unified-navbar .ai-logo {
  color: var(--green-house) !important;
  font-family: var(--font-family-violet_sans-regular) !important;
  font-size: 7px !important;
  font-weight: 500 !important;
  letter-spacing: -0.14px !important;
  line-height: normal !important;
  margin-top: 1.2px !important;
}

.unified-navbar .nav-center {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.unified-navbar .how-link {
  color: var(--green-house) !important;
  text-decoration: none !important;
  font-family: var(--font-family-darker_grotesque) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  padding: 8px 12px !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
}

.unified-navbar .how-link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px) !important;
}

.unified-navbar .promo-button {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(29, 69, 9, 0.3) !important;
  color: var(--green-house) !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  font-family: var(--font-family-darker_grotesque) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.unified-navbar .promo-button:hover {
  background: var(--green-house) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(29, 69, 9, 0.3) !important;
  border-color: var(--green-house) !important;
}

.unified-navbar .join-button {
  background: var(--reef) !important;
  color: var(--green-house) !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  font-family: var(--font-family-darker_grotesque) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(212, 251, 163, 0.4) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.unified-navbar .join-button:hover {
  background: #c2f08a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(212, 251, 163, 0.4) !important;
}

.unified-navbar .join-button::after {
  content: "→" !important;
  font-size: 12px !important;
  transition: transform 0.3s ease !important;
}

.unified-navbar .join-button:hover::after {
  transform: translateX(2px) !important;
}

.join .frame-17 {
  display: none !important;
}

.join .frame-112 { display: none !important; }
.join .group-2-2 { display: none !important; }
.join .frame-13 { display: none !important; }
.join .features  { letter-spacing: 0; line-height: normal; margin-top: -1px; position: relative; text-align: center; width: fit-content; }
.join .button    { display: none !important; }
.join .get-in-touch { display: none !important; }
.join .arrow-1   { display: none !important; }
.join .button-2  { display: none !important; }

/* ---- Join button styling (hidden - using unified navbar) ---- */
.button-join {
  display: none !important;
}

/* ---- Main Join Section ---- */
.join-main-section {
  background: #f3eee7;
  min-height: 100vh;
  padding: 100px 30px 60px;
  width: 100%;
  position: relative;
}

.join-container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.steps-side {
  flex: 1;
  max-width: 500px;
  margin-top: 40px;
}

.join-side {
  flex: 1;
  max-width: 450px;
  display: flex;
  justify-content: center;
}

/* ---- Logo ---- */
.group-2 { 
  align-items: flex-start; 
  display: flex; 
  height: 29px; 
  min-width: 108px; 
  position: absolute;
  top: 30px;
  left: 30px;
}

.trepo   { 
  color: var(--green-house); 
  font-family: var(--font-family-violet_sans-regular); 
  font-size: 28.8px; 
  font-weight: 400; 
  letter-spacing: -0.58px; 
  line-height: normal; 
  min-height: 29px; 
  min-width: 95px; 
  text-align: center; 
  white-space: nowrap; 
}

.ai      { 
  color: var(--green-house); 
  font-family: var(--font-family-violet_sans-regular); 
  font-size: 9px; 
  font-weight: 400; 
  letter-spacing: -0.18px; 
  line-height: normal; 
  margin-top: 1.8px; 
  min-height: 9px; 
  min-width: 9px; 
  text-align: center; 
  white-space: nowrap; 
}

/* ---- Typography ---- */
.join-title {
  color: var(--green-house);
  font-family: var(--font-family-darker_grotesque);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.join-subtitle {
  color: var(--green-house);
  font-family: var(--font-family-darker_grotesque);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 40px 0;
  opacity: 0.8;
}

/* ---- Form ---- */
.join-form {
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 30px;
  text-align: left;
}

.form-label {
  display: block;
  color: var(--green-house);
  font-family: var(--font-family-darker_grotesque);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(29, 68, 9, 0.2);
  border-radius: 12px;
  font-family: var(--font-family-darker_grotesque);
  font-size: 16px;
  color: var(--green-house);
  background: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--green-house);
  box-shadow: 0 0 0 3px rgba(29, 68, 9, 0.1);
}

.form-input::placeholder {
  color: rgba(29, 68, 9, 0.5);
}

/* ---- Join Button ---- */
.join-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #fff5db;
  color: var(--green-house);
  padding: 20px 40px;
  border-radius: 35px;
  border: none;
  text-decoration: none;
  font-family: var(--font-family-darker_grotesque);
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.join-button:hover {
  background: #f0e6c7;
  transform: translateY(-2px);
}

.join-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.join-button-text {
  position: relative;
  z-index: 1;
}

.join-button-arrow {
  position: relative;
  z-index: 1;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.join-button:hover .join-button-arrow {
  transform: translateX(4px);
}

/* ---- Features ---- */
.join-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 300px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-house);
  font-family: var(--font-family-darker_grotesque);
  font-size: 16px;
  opacity: 0.8;
}

.feature-icon {
  width: 20px;
  height: 20px;
  background: var(--green-house);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* ---- Steps Container ---- */
.steps-container {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(29, 68, 9, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.step-1 {
  background: #d3fba2;
}

.step-2 {
  background: #fff5db;
}

.step-3 {
  background: #1d4509;
  color: var(--white-linen);
}

.step-3 .step-title,
.step-3 .step-description {
  color: var(--white-linen);
}

.step-number {
  color: var(--green-house);
  font-family: var(--font-family-darker_grotesque);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(29, 68, 9, 0.2);
}

.step-3 .step-number {
  color: var(--white-linen);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.step-content {
  flex: 1;
}

.step-title {
  color: var(--green-house);
  font-family: var(--font-family-darker_grotesque);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.step-description {
  color: var(--green-house);
  font-family: var(--font-family-darker_grotesque);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  opacity: 0.8;
}

/* ---- Join Form Container ---- */
.join-form-container {
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(29, 68, 9, 0.1);
  box-shadow: 0 8px 32px rgba(29, 68, 9, 0.1);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .join-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  
  .steps-side,
  .join-side {
    max-width: 100%;
  }
  
  .steps-container {
    align-items: center;
  }
  
  .group-2 {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .join .header {
    display: none !important;
  }
  
  .container-center-horizontal {
    margin-top: 0 !important; /* No margin on mobile for join page */
  }
  
  .join-main-section {
    padding: 80px 20px 40px;
  }
  
  .join-container {
    gap: 30px;
  }
  
  .join-form-container {
    padding: 30px;
  }
  
  .join-title {
    font-size: 36px;
  }
  
  .join-subtitle {
    font-size: 16px;
  }
  
  .join-button {
    font-size: 18px;
    padding: 18px 32px;
  }
  
  .step-item {
    padding: 16px;
    margin-bottom: 24px;
  }
  
  .step-title {
    font-size: 20px;
  }
  
  .step-description {
    font-size: 14px;
  }
  
  .step-number {
    font-size: 36px;
    width: 50px;
    height: 50px;
  }
  
  .join-container {
    flex-direction: column;
    text-align: center;
  }
  
  .steps-side {
    order: 2;
  }
  
  .join-side {
    order: 1;
  }
}

@media (max-width: 480px) {
  .join .header {
    display: none !important;
  }
  
  .join .frame-17 {
    gap: 10px;
    padding: 6px 12px;
  }
  
  .join .nav-menu {
    gap: 10px;
  }
  
  .join .nav-item {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .join-main-section {
    padding: 70px 15px 30px;
  }
  
  .join-container {
    gap: 20px;
  }
  
  .join-form-container {
    padding: 20px;
  }
  
  .join-title {
    font-size: 28px;
  }
  
  .join-subtitle {
    font-size: 14px;
  }
  
  .join-button {
    font-size: 16px;
    padding: 16px 28px;
  }
  
  .step-item {
    padding: 12px;
    margin-bottom: 16px;
  }
  
  .step-title {
    font-size: 18px;
  }
  
  .step-description {
    font-size: 13px;
  }
  
  .step-number {
    font-size: 28px;
    width: 40px;
    height: 40px;
  }
  
  .form-input {
    font-size: 16px;
    padding: 12px 16px;
  }
  
  .form-label {
    font-size: 14px;
  }
}
