:root {
  --color-primary: #dedc00;
  --color-secondary: rgba(90, 158, 51, 0.7);
  --color-secondary-light: rgba(90, 158, 51, 0.4);
  --color-dark-bg: rgba(0, 0, 0, 0.35);
  --color-text: white;
  --color-accent: #cce310;

  --fs-64: 64px;
  --fs-52: 52px;
  --fs-36: 36px;
  --fs-34: 34px;
  --fs-28: 28px;
  --fs-24: 24px;
  --fs-22: 22px;
  --fs-19: 19px;
  --fs-16: 16px;
  --fs-12: 12px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 36px;
  --space-xxl: 40px;
  --space-xxxl: 48px;
  --space-xxxxl: 54px;
  --space-xxxxxl: 80px;

  --content-width: 1024px;
  --logo-width: 240px;
  --logo-height: 80px;
  --list-width: 85%;
  --product-box-width: 25%;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  margin: 0;
  color: var(--color-text);
}

.wrapper {
  color: var(--color-text);
}

.section-inner-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1440px;
  width: 100%;
}

.text-center { text-align: center; }
.bold { font-weight: bold; }
.m-0 { margin: 0; }

.fs-64 { font-size: var(--fs-64); }
.fs-52 { font-size: var(--fs-52); }
.fs-36 { font-size: var(--fs-36); }
.fs-34 { font-size: var(--fs-34); }
.fs-28 { font-size: var(--fs-28); }
.fs-24 { font-size: var(--fs-24); }
.fs-22 { font-size: var(--fs-22); }
.fs-19 { font-size: var(--fs-19); }
.fs-16 { font-size: var(--fs-16); }
.fs-12 { font-size: var(--fs-12); }

.mb-1 { margin-bottom: 1px; }
.mb-8 { margin-bottom: var(--space-xs); }
.mb-16 { margin-bottom: var(--space-sm); }
.mb-24 { margin-bottom: var(--space-md); }
.mb-32 { margin-bottom: var(--space-lg); }
.mb-36 { margin-bottom: var(--space-xl); }
.mb-40 { margin-bottom: var(--space-xxl); }
.mb-54 { margin-bottom: var(--space-xxxxl); }
.mb-80 { margin-bottom: var(--space-xxxxxl); }

.p-16 { padding: var(--space-sm); }
.p-24 { padding: var(--space-md); }
.p-32 { padding: var(--space-lg); }
.p-48 { padding: var(--space-xxxl); }

.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.content-center { justify-content: center; }
.content-end { justify-content: flex-end; }
.wrap { flex-wrap: wrap; }

/* Gap Helpers */
.gap-1 { gap: 1px; }
.gap-8 { gap: var(--space-xs); }
.gap-16 { gap: var(--space-sm); }
.gap-24 { gap: var(--space-md); }
.gap-32 { gap: var(--space-lg); }

.header-logo {
  width: var(--logo-width);
  height: var(--logo-height);
  margin-bottom: var(--space-xxl);
}

.featured-text {
  position: relative;
  color: var(--color-accent);
  font-weight: 800;
}

.underline {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.text-yellow {
  color: var(--color-primary);
}

.box,
.dynamic-box {
  background: var(--color-dark-bg);
  padding: var(--space-sm) var(--space-md);
}

.dynamic-box {
  display: inline-block;
}

.product-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: var(--product-box-width);
}

.list-wrapper {
  width: var(--list-width);
}

.paragraph {
  width: var(--content-width);
  line-height: 1.4;
}

.green-box {
  background: var(--color-secondary);
  padding: var(--space-sm) var(--space-xxxl) var(--space-sm) var(--space-lg);
  gap: var(--space-xs);
}

.comfino-logo-footer {
  margin-top: var(--space-xl);
}

.first-section {
  padding: var(--space-xxxl) var(--space-xxxxxl) var(--space-xxxxxl);
  background: url("./assets/bg-1.png") lightgray 50% / cover no-repeat;
}

.rocket-image {
  margin: var(--space-sm) 0 var(--space-md);
}

.second-section,
.third-section,
.fifth-section {
  padding: var(--space-xxxxxl) var(--space-xxxxxl) var(--space-xxl);
  background: url("./assets/bg-2.png") lightgray 50% / cover no-repeat;
}

.third-section {
  background-image: url("./assets/bg-3.png");
}

.fourth-section {
  display: flex;
  flex-direction: column;
  position: relative;
  height: auto;
}

.fourth-section .background-image {
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.fourth-section .background-image.mobile {
  display: none;
}

.header-logo-wrapper {
  position: absolute;
  top: 35px;
  right: 48px;
}

.green-box-wrapper {
  position: absolute;
  bottom: var(--space-xxxxl);
  right: 0;
}

.fifth-section {
  background-image: url("./assets/bg-3.png");
}

.fifth-section .dynamic-box {
  box-sizing: border-box;
  flex: 0 0 calc((100% - 2px) / 3);
  padding: var(--space-md);
  margin-bottom: 0;
}

.fifth-section .green-box {
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--color-primary);
}

.box .list-wrapper .product-box img {
  min-height: 96px;
}

@media (max-width: 1040px) {
  .first-section {
    background: url("./assets/bg-mobile.png") lightgray 50% / cover no-repeat;
  }
}

@media (max-width: 992px) {
  .fourth-section .green-box-wrapper {
    position: static;
    background: var(--color-secondary);
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .first-section {
    padding: var(--space-xxxl) 0;
  }
  .first-section .main-header-text,
  .first-section .main-header,
  .first-section .subheader,
  .first-section .copy {
    text-align: center;
  }

  .main-header,
  .main-header-text {
    font-size: var(--fs-34);
  }
  .first-section .subheader {
    font-size: var(--fs-24);
  }
  .first-section .copy {
    font-size: var(--fs-16);
  }

  .second-section,
  .third-section,
  .fifth-section {
    padding: var(--space-xxxl) 0;
  }
  .second-section .subheader {
    font-size: var(--fs-24);
    display: block;
  }
  .second-section .first-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .second-section .second-list {
    flex-wrap: wrap;
    gap: 1px;
  }
  .second-section .second-list .product-box {
    width: 100%;
    padding: 16px 0;
  }
  .second-section .product-box {
    width: 45%;
    font-size: var(--fs-12);
  }

  .third-section .subheader {
    font-size: var(--fs-24);
    display: block;
  }
  .third-section .banks-list img {
    width: 120px;
  }
  .third-section p.subheader {
    font-size: var(--fs-16);
  }
  .third-section .list-wrapper {
    flex-wrap: wrap;
    gap: 1px;
  }
  .third-section .list-wrapper .product-box {
    width: 100%;
    padding: 16px 0;
  }
  .third-section .comfino-logo-footer {
    padding: var(--space-sm);
    background: var(--color-dark-bg);
  }

  .fourth-section .background-image {
    display: none;
  }
  .fourth-section .background-image.mobile {
    display: block;
  }
  .fourth-section .header-logo-wrapper {
    padding-right: 5px;
    top: 15px;
    right: 0;
  }
  .fourth-section .header-logo-wrapper .header-logo {
    width: 140px;
  }
  .fourth-section .header-logo {
    width: 180px;
  }
  .fourth-section .green-box-wrapper .green-box {
    padding: 16px 20px;
  }
  .fourth-section .green-box-wrapper .green-box p:nth-child(1) {
    font-size: var(--fs-36);
  }
  .fourth-section .green-box-wrapper .green-box p:nth-child(2) {
    font-size: var(--fs-19);
  }

  .fifth-section .box {
    margin-bottom: var(--space-sm);
  }
  .fifth-section .dynamic-box {
    flex: unset;
  }
  .fifth-section .footer {
    display: flex;
    flex-direction: column-reverse;
  }
  .fifth-section .footer .comfino-logo-footer {
    background: var(--color-dark-bg);
    padding: var(--space-sm) 80px;
    margin: 0;
  }
}
