/* === Homepage === */
.homepage {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 100px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}



.homepage h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 50px;
}

.homepage h2 {
  font-size: 32px;
  margin: 0 0 22px;
  font-weight: 700;
}

.homepage h3 { 
  font-size: 24px;
  margin: 0 0 6px;  
  font-weight: 700; 
}

.homepage h4 { 
  font-size: 16px;
  margin: 5px 0 5px;  
  font-weight: 550; 
}

.homepage h5 { 
  font-size: 24px;
  margin: 0 0 6px;  
  font-weight: 700; 
}

.homepage p { 
  margin: 0; 
  opacity: .9; 
}


/* === WELCOME === */
.welcome-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.welcome-left {
  flex: 1;
  min-width: 300px;
}

.wcm-banner {
    justify-items: center;
    margin-bottom: 40px;
}
.wcm-banner img {
  display: block;
  width: 380px;
  height: auto;
}



.homepage .signup-form input[type="email"]{
  color: var(--text-color);
}

.hidden {
  display: none;
}

.signup-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  width: 100%;
  justify-content: center;
}

.signup-form input {
  flex: 1;                  /* input esnek, boşluğu kaplar */
  min-width: 250px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  transition: border 0.3s ease;
  background: var(--bg-color);
}

  
.btn-signup-onpage {
  width: 120px;             /* buton sabit genişlik */
  padding: 0 16px;
  background-color: var(--color-bmx-dark);
  color: var(--text-color-negative);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-signup-onpage:hover {
  background-color: var(--color-bmx-darker);

}

/* welcome right */
.welcome-right {
  flex: 1;
  min-width: 300px;
  background: var(--block-bg); 
  padding: 20px;
  border-radius: 12px;
  color: var(--text-color); 
}

/* Market Tabs */
.market-tabs {
  display: flex;
  gap: 20px;
  padding: 6px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--color-bmx-shadow2);
}

.market-tabs span {
  cursor: pointer;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.market-tabs .active {
  border-color: var(--tab-active-color);
  color: var(--tab-active-color);
}


/* Coin List */
.market-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.market-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-bmx-shadow2);/*rgba(255,255,255,0.1);*/
  font-size: 14px;
}


.coin-symbol {
  font-weight: 600;
  margin-right: 5px;
}

.coin-name {
  color: var(--color-gray);  /* sabit renk yerine değişken */
  margin-right: auto;
}

.coin-price {
  font-weight: 600;
  margin-right: 10px;
}
.coin-change.green { color: var(--color-bmx-green); }
.coin-change.red   { color: var(--color-bmx-red);   }



/* === FAQ Section === */
.faq-section {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  background: var(--block-bg);
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--text-color);
  cursor: pointer;
}

/* answer hidden case */
.faq-answer{
  margin-top: 0;
  padding-top: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height .28s ease, opacity .28s ease, padding .28s ease, margin .28s ease;
  will-change: height, opacity;
}

/* answer open(expanded) case */
.faq-item.is-open .faq-answer{
  opacity: 1;
  margin-top: 8px;
}

/* caret (expand oku) için yumuşak dönüş */
.faq-toggle{
  transition: transform .25s ease, filter .18s ease;
}
.faq-item.is-open .faq-toggle{
 
   filter: var(--filter-bmx-darker);
   transform: rotate(180deg);

}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}


.hidden {
  display: none;
}


/* FAQ link inside*/
.faq-answer a{
  color: var(--color-bmx-darker);
  font-weight: 600;
  text-decoration: none;
}
.faq-answer a:hover{ text-decoration: underline; }


/* === Login Section === */
.login-section {
  text-align: center;
  background: var(--block-bg);
  padding: 40px 20px;
  border-radius: 8px;
  color: var(--text-color);
}

.btn-login-onpage {
  background-color: var(--color-bmx-dark);
  color: var(--text-color-negative);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-login-onpage:hover {
  background-color: var(--color-bmx-darker);

}

/* Responsive */
@media (max-width: 768px) {
  .welcome-section {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form input, .btn-signup-yellow {
    width: 100%;
  }
}

/* Onboarding form – yana hizalı, orta görünümde bozulmasın */
.homepage .signup-form{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  max-width: 720px;      /* form genişliği sınırlı */
  width: 100%;
}

.homepage .signup-form input[type="email"]{
  flex: 1 1 auto;        /* kalan alanı doldur */
  min-width: 0;          /* grid/flex taşma buglarını önler */
  height: 44px;
  padding: 0 14px;
  font-size: 16px;
  border-radius: 8px;
  box-sizing: border-box;
}

.homepage .btn-signup-onpage{
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  line-height: 1;
  white-space: nowrap;
}

/* mobil */
@media (max-width: 621x){
  .homepage .signup-form{ flex-direction: column; align-items: stretch; }
  .homepage .btn-signup-onpage{ width: 100%; }

 
  .wcm-banner img {
  display: block;
  width: 100%;
  height: auto;
}
  
  .login-section {
    display: none;
   }
  
   .faq-section {
    margin-bottom: 40px;
   }

}
