/* ===== DESIGN TOKENS ===== */
:root {
  --color-text: #1e1515;
  --color-muted: #4a5565;
  --color-heading: #1a1a2e;
  --color-bg-gray: #f7f7f7;
  --color-border: #e3e9f0;

  --radius: 16px;
  --transition: all 0.25s ease;
}

/* ===== UNIVERSAL BOX SIZING ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===== BASE ===== */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* ===== CONTAINER (FALLBACK) ===== */
.container {
  width: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ===== SECTION CONSTRAINTS ===== */
section,
.section,
.hero-section {
  max-width: 100%;
  overflow-x: hidden;
}

/* start: Navbar */
.cta-wrapper {
  justify-content: start;
  align-items: start;
}
.navbar-right > .btn-outline-primary {
  background-color: #f7f7f7e5;
}
.navbar-right > .btn-outline-primary:hover {
  background-color: var(--black);
}
/* end: Navbar */

/* start: Hero */
.hero-section {
  overflow: hidden;
  background-color: #f7f7f7e5;
  position: relative;
  margin-top: -110px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-wrapper {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  row-gap: 80px;
  min-height: 50vh;
}
.trader-section,
.trading-pinch {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-left {
  padding: 74px 0 132px;
}
.hero-top {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-weight: 400;
  font-size: 18px;
  color: #4a5565;
  margin: 25px 0 30px 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.5;
}
.hero-reg {
  font-weight: 600;
  color: var(--logo);
  text-underline-offset: 4px;
}
.hero-cta-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
}
.hero-cta {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  padding: 15px 29px;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}
.hero-contact-btn {
  border: 0.83px solid #e3e9f0;
  background: #ffffff;
  min-height: 53px;
  border-radius: 8px;
}
.hero-sourcing-btn {
  background: #75ebbd;
  border: 0.83px solid #75ebbd;
  min-height: 53px;
  font-weight: 500;
  font-size: 16px;
  color: #1e1515;

  border-radius: 8px;
}
.hero-cta:hover {
  transform: translateY(-2px);
}
.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.3;
  max-width: 635px;
}
.hero-title-underline {
  background-image: url(/img/underline-warning.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
}
.hero-title-color {
  color: var(--logo);
}

.hero-registration-form-invalid-feedback {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  font-size: var(--text-sm);
  display: flex;
  border-radius: var(--rounded-md);
  opacity: 0;
  z-index: 10;
  visibility: hidden;
  transition-property: opacity, visibility, top;
  transition-duration: var(--duration-300);
  max-width: 300px;
  width: 100%;
}

.hero-right-image {
  display: none;
}
.hero-image {
  position: absolute;
  left: calc(50% + 96px);
  width: calc(50% - 96px);
  max-width: 940px;
  top: 50%;
  transform: translateY(-50%);
}

/* end: Hero */
/*===== Start sections ===== */

.section {
  padding: 160px 0;
  background: #fff;
}

.section--gray {
  background: var(--color-bg-gray);
  padding: 120px 0;
}

.section--cta {
  padding: 110px 0;
  text-align: center;
  background: #d8ffe9;
}

.center {
  text-align: center;
}
.flex-center {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
/* ===== TYPOGRAPHY ===== */
.section__title {
  font-weight: 500;
  font-size: 48px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section__subtitle {
  font-weight: 400;
  font-size: 24px;
  color: var(--color-muted);
  margin-bottom: 84px;
  max-width: 900px;
}

/* ===== HOW IT WORKS ===== */
.section--how .section__subtitle {
  margin-bottom: 119px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.how__item {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.how__title {
  font-weight: 600;
  font-size: 24px;
  color: var(--color-heading);
  margin: 24px 0 20px;
}

.how__text {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 262px;
}

/* ===== CARDS ===== */
.cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card__title {
  font-weight: 600;
  font-size: 24px;
  color: var(--color-heading);
  margin: 24px 0 12px;
}

.card__text {
  font-size: 16px;
  color: var(--color-muted);
}

/* ===== WHY SECTION ===== */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.why__item {
  display: flex;
  gap: 16px;
}

.why__title {
  font-weight: 500;
  font-size: 23px;
  color: #101828;
  margin-bottom: 8px;
}

.why__text {
  font-size: 16px;
  color: var(--color-muted);
}

/* ===== CTA ===== */
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 53px;
  padding: 14px 29px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: #1e1515;
  color: #fff;
  border: none;
}

.btn--primary:hover {
  background: #000;
  transform: translateY(-2px);
  color: #fff;
}

.btn--secondary {
  background: #fff;
  border: 1px solid var(--color-border);
  color: #1e1515;
}

.btn--secondary:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
}

/* ===== PLACEHOLDERS ===== */
.icon-placeholder {
  width: 48px;
  height: 48px;
  background: #eaeaea;
  border-radius: 8px;
  margin: 0 auto;
}

.icon-placeholder.small {
  width: 32px;
  height: 32px;
  margin: 0;
}
.why__image {
  height: 660.6px;
}
.icon-placeholder.inline {
  width: 16px;
  height: 16px;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: #ddd;
  border-radius: 16px;
}
.dealers-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
/* ===== End other sections ===== */

@media screen and (max-width: 946px) {
  .trader-cta-box {
    max-width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .trader-cta-box {
    padding-top: 150px;
  }
  .how__grid,
  .cards__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why {
    grid-template-columns: 1fr;
  }
  .trader-cta-top-content,
  .trader-cta-bottom-content {
    max-width: 350px;
  }

  .trader-cta-title,
  .trader-cta-title-secondary {
    font-size: 32px;
  }

  .trader-cta-button-wrapper {
    margin-bottom: 260px;
  }

  .trader-cta-downloads .cta-btn img {
    max-width: 140px;
    height: 41px;
  }
}

@media screen and (max-width: 767.9px) {
  .trader-cta-box {
    padding: 80px 20px 40px;
  }
  .section__subtitle {
    max-width: unset;
  }
  .how__text {
    font-size: 16px;
    color: var(--color-muted);
    max-width: unset;
  }
  .trader-cta-top-content,
  .trader-cta-bottom-content {
    max-width: 260px;
  }

  .trader-cta-title,
  .trader-cta-title-secondary {
    font-size: 28px;
  }

  .trader-cta-description {
    font-size: 14px;
  }

  .trader-cta-button-wrapper {
    margin-bottom: 130px;
  }

  .trader-cta-downloads {
    flex-direction: column;
    gap: 12px;
  }

  .trader-cta-downloads .cta-btn img {
    max-width: 120px;
    height: 35px;
  }
}
@media (max-width: 600px) {
  .how__grid,
  .cards__grid {
    grid-template-columns: 1fr;
  }
  .navbar-right {
    background: white;
  }

  .section__title {
    font-size: 32px;
  }

  .section__subtitle {
    font-size: 18px;
  }
  .cta__actions,
  .why__item {
    flex-direction: column;
    gap: 12px;
  }
  .hero-title {
    margin-top: 50px;
  }
}
@media screen and (max-width: 480px) {
  .trader-cta-box {
    padding: 80px 15px 30px;
  }

  .trader-cta-title,
  .trader-cta-title-secondary {
    font-size: 24px;
  }

  .trader-cta-button-wrapper {
    margin-bottom: 150px;
  }

  .trader-cta-button {
    padding: 10px 30px;
    font-size: 16px;
  }

  .trader-cta-downloads .cta-btn img {
    max-width: 110px;
    height: 32px;
  }
}
/* end: Trader CTA Section */

/* start: What Are You Waiting For Section */
.waiting-section {
  background-color: #d8ffe9;
  padding: 70px 0;
  border-radius: 16px 16px 0 0;
  margin-top: -16px;
  position: relative;
  overflow: hidden;
}

.waiting-image-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: -15px;
  position: relative;
}

.waiting-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 150%;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
}

.waiting-image {
  width: 150%;
  height: auto;
  object-fit: cover;
  margin-right: -50%;
  position: relative;
  z-index: 2;
}

.waiting-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 418px;
  padding: 40px 0;
}

.waiting-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--black);
}

.waiting-form {
  position: relative;
}

.waiting-form-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.waiting-input {
  width: 100%;
  height: 53px;
  padding: 0 20px;
  border: 2px solid #999999;
  background-color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
  text-align: center;
}

.waiting-form-group.invalid .waiting-input {
  border-color: red;
}

.waiting-form-invalid-feedback {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: var(--rounded-md);
  opacity: 0;
  z-index: 10;
  visibility: hidden;
  transition-property: opacity, visibility, top;
  transition-duration: var(--duration-300);
  margin-top: -61px;
}

.waiting-form-group.invalid .waiting-form-invalid-feedback {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 0px);
}

.waiting-form-invalid-feedback > :first-child {
  margin-right: 8px;
  color: red;
}

.waiting-form-invalid-feedback::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid;
  border-color: transparent transparent var(--white) transparent;
}

.waiting-submit {
  width: 100%;
  height: 53px;
  background-color: #000;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.waiting-submit:hover {
  background-color: #333;
}

@media screen and (max-width: 991px) {
  .waiting-content {
    max-width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .waiting-image-wrapper {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
  }

  .waiting-image-wrapper::after {
    width: 100%;
    bottom: 20px;
  }

  .waiting-image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .waiting-title {
    font-size: 32px;
  }

  .waiting-input {
    height: 48px;
    padding: 0 20px;
  }

  .waiting-submit {
    height: 48px;
  }
}

@media screen and (max-width: 480px) {
  .waiting-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .waiting-input {
    height: 45px;
    padding: 0 15px;
    font-size: 14px;
  }

  .waiting-submit {
    height: 45px;
    font-size: 14px;
  }
}
/* end: What Are You Waiting For Section */

/* start: Breakpoints */
.seller-section {
  background: #e4fbf2;
  background-image: url("/img/homepage-selling-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 70px;
  border-radius: 16px 16px 0 0;
}
.trader-wrapperr {
  position: relative;
  border: 4px solid #42cbb2;
}
.trader-decorationn-top {
  top: -2px;
}
.trader-decorationn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.trader-decorationn-bottom {
  bottom: -2px;
}
.trader-decorationn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.trader-decorationn::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 4px solid var(--logo);
  background-color: var(--white);
  position: absolute;
  left: -12px;
}

.seller-text {
  font-family: Poppins;
  font-size: 40px;
  font-weight: 600;
  line-height: 56.2px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #1e1515;
}
.selling-img {
  background-image: url(/img/underline-warning.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position-y: 31px;
  background-size: 259px;
}
.text {
  font-family: Poppins;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #7a7a7a;
  height: fit-content;
}
.cta-btn {
  /* border: 1px solid #a6a6a6; */
  padding: 0;
}
.cta-btn img {
  max-width: 100%;
  max-height: 100%;
}
.webiste-name {
  font-family: Poppins;
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 600;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #1e1515;
}
.trader-text {
  font-family: Poppins;
  font-size: 40px;
  font-weight: 600;
  line-height: 56.2px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #1e1515;
}
.img-under-txt {
  background-image: url(/img/Group-1000009468.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position-y: 30px;
}
.right-left {
  padding: 66px 57px;
  height: 100%;
}
.error-tooltip {
  color: red;
  font-size: 13px;
  margin-top: 5px;
  display: none;
}
/* .seller-section img {
  height: 331px;
  width: 100%;
  object-fit: contain;
} */
.text-wrapper {
  width: 95%;
  margin-bottom: 40px;
}
.links a:hover {
  color: #42cbb2;
}

/* start: Breakpoints */
@media screen and (min-width: 2000px) {
  .hero-section,
  .how-section {
    max-height: 1042px;
    min-height: unset;
    height: 100vh;
  }
  .hero-image {
    left: 50%;
    width: 664px;
  }
  .cta-section {
    background-size: 1360px auto;
  }
  .waiting-right {
    overflow: hidden;
  }
}
@media screen and (max-width: 1200px) {
  .trader-left {
    padding: 48px;
  }
  .feature-three__wrapper {
    width: 60%;
  }
}
@media screen and (max-width: 991px) {
  .hero-section {
    display: grid;
  }
  .hero-feature {
    margin-bottom: 20px;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }
  .hero-left {
    padding-top: 142px;
    padding-bottom: 0;
  }
  .hero-right-image {
    display: block;
    max-width: 100%;
    width: 100%;
  }
  .hero-image {
    display: none;
  }

  .trader-wrapper {
    grid-template-columns: 1fr;
  }
  .trader-left {
    padding: 0;
  }
  .trader-right {
    padding: 24px;
  }
  /* .trader-image {
    max-width: unset;
    margin-left: 0;
  } */

  .how-wrapper {
    display: block;
  }
  .how-item {
    max-width: 540px;
    margin: 0 auto;
    margin-bottom: 48px;
  }
  .how-item:last-child {
    margin-bottom: 0;
  }
  .how-divider {
    display: none;
  }

  .feature-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .feature-item-image {
    grid-row: auto;
    grid-column: span 2;
    height: 300px;
  }

  .faq-section {
    padding: 40px 0 64px;
  }
  .faq-box {
    margin-top: 32px;
  }
  .trader-pinch__wrapper {
    align-items: center;
  }
  .cta-wrapper {
    justify-content: center;
    align-items: center;
  }
  .selling-easier__wrapper {
    align-items: center;
  }
  .trader-div__wrapper {
    align-items: center;
  }
  .main-trader-warpper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .seller-section {
    padding-top: 70px;
  }
}
@media screen and (max-width: 767px) {
  .hero-feature {
    grid-template-columns: 0.7fr 0.7fr;
    margin-bottom: 20px;
  }

  .hero-title,
  .seller-text,
  .trader-text {
    font-size: var(--text-4xl);
  }
  .trader-section {
    padding: 60px 0px;
  }
  .trading-pinch {
    background: #fff9ca;
    padding: 60px 0px;
  }
  .trader-image-wapper {
    max-width: 352px;
  }
  .testimonial-section {
    padding: 40px 0px;
  }
  .cta-section {
    padding: 40px 0px 80px 0px;
  }
  .cta-title {
    font-size: 28px;
  }
  .cta-box {
    padding: 20px;
  }
}
@media screen and (max-width: 575px) {
  .hero-top {
    display: block;
  }
  .hero-cta-wrapper {
    flex-direction: column;
    flex-direction: column;
    justify-content: start;
    align-items: center;
  }
  .hero-cta {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .hero-subtitle {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .hero-registration-form {
    display: block;
  }
  .hero-registration-form-control {
    width: 100%;
    border-right: 2px solid var(--primary);
    border-radius: var(--rounded-md) var(--rounded-md) 0 0;
  }
  .hero-registration-form-submit {
    width: 100%;
    border-radius: 0 0 var(--rounded-md) var(--rounded-md);
  }
  .faq-wrapper {
    padding: 0;
  }
  .how-wrapper {
    padding: 0 16px;
  }
  .feature-three__wrapper {
    width: 69%;
  }
  .hero-feature {
    grid-template-columns: 1fr;
  }
  .hero-feature-item::before {
    display: none;
  }
  .trader-section {
    padding: 40px 0px;
  }
  .trading-pinch {
    background: #fff9ca;
    padding: 40px 0px;
  }

  .feature-wrapper {
    grid-template-columns: 1fr;
  }
  .feature-item-image {
    grid-column: auto;
  }

  .faq-item-toggle {
    font-size: 16px;
  }
  .hero-registration-form-invalid-feedback {
    left: 78%;
  }
}
@media screen and (max-width: 385px) {
  .feature-three__wrapper {
    width: 89%;
    bottom: 6px;
    left: 6px;
  }
}

@media (max-width: 529px) {
  .cta-btn-1 {
    /* margin-bottom: 15px; */
  }
}
.cta-btn {
  border: none;
}
@media screen and (max-width: 767px) {
  .seller-text,
  .trader-text {
    font-size: 24px;
  }
}
@media screen and (max-width: 413px) {
  .seller-cta {
    display: flex;
  }
  .cta-btn-1 {
    margin-right: 5px;
  }
}
.phone-wrapper {
  height: 474px;
}
@media screen and (max-width: 767px) {
  .seller-text,
  .trader-text {
    font-size: 24px;
  }
}
@media screen and (max-width: 413px) {
  .seller-cta {
    display: flex;
  }
  .cta-btn-1 {
    margin-right: 5px;
  }
}
.phone-wrapper {
  height: 474px;
}
@media screen and (max-width: 767px) {
  .seller-text,
  .trader-text {
    font-size: 24px;
  }
}
@media screen and (max-width: 413px) {
  .seller-cta {
    display: flex;
  }
  .cta-btn-1 {
    margin-right: 5px;
  }
}
.phone-wrapper {
  height: 474px;
}
