/* Define CSS variables for consistent theming */
:root {
  --primary-color: #ff0000;
  --secondary-color: #cc0000;
  --text-color: #333;
  --text-light: #666;
  --background-light: #f9fafb;
  --white: #F6F6F6;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Font face for custom typography */
@font-face {
  font-family: 'MyFont';
  src: url('../fonts/Liter-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optimize font loading */
}

/* Global styles */
body {
  font-family: 'MyFont', sans-serif;
  padding: 0;
  margin: 0;
  color: var(--text-color);
  background: var(--background-light);
}

/* Header styles */
.header {
  background: linear-gradient(105.8deg, var(--white) 1.48%, var(--white) 95.01%);
  border: 5px solid var(--secondary-color);
  border-radius: var(--border-radius);
  display: flex;
  max-width: 1344px;
  margin: 48px auto 115px;
  position: relative;
}

.logo {
  width: 300px;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header .left-wrapper {
  flex: 1;
  margin: 64px 57px 132px 115px;
}

.header .text-title {
  font-size: 48px;
  line-height: 64px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--background-color);
  margin-top: 32px;
}

.header .right-wrapper {
  max-width: 480px;
  margin: 49px 147px 64px 0;
}

.cta-gp-white-box {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-gp-white {
  margin: -8px 0 -16px -8px;
  max-width: 218px;
  transition: var(--transition);
}

.cta-gp-white:hover {
  transform: scale(1.05);
}

/* Send link form styles */
.send-link-box {
  max-width: 330px;
  margin-top: 48px;
}

.sl-pera {
  font-weight: 500;
  letter-spacing: -0.1px;
  margin: 0 0 8px;
  color: var(--white);
}

.send-link-box .sl-inner {
  position: relative;
}

.send-link-box .sl-input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  width: 100%;
  background: #f0effb;
  padding: 16px 145px 16px 14px;
  color: rgba(0, 19, 37, 0.64);
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  transition: var(--transition);
}

.send-link-box .sl-input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.send-link-box .sl-button {
  padding: 9px 16px;
  font-weight: 600;
  background: #847bde;
  border: none;
  color: var(--white);
  position: absolute;
  right: 6px;
  top: 7px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.send-link-box .sl-button:hover {
  background: #6b63c6;
}

/* Error messages */
.error-box {
  font-size: 12px;
  line-height: 14px;
  color: var(--secondary-color);
}

/* Content section */
.content {
  height: auto;
  padding: 0;
  background: var(--white);
}

.inner {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 20px;
}

.inner .title {
  font-weight: 600;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.3px;
  margin-bottom: 32px;
  color: var(--text-color);
}

/* Onboard section */
.onboard {
  border: 1px solid rgba(0, 19, 37, 0.16);
  border-radius: var(--border-radius);
  margin-bottom: 96px;
  overflow: hidden;
}

.onboard .features-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 32px 40px 0;
}

.onboard .feature {
  width: calc(50% - 23px);
  display: flex;
  padding-bottom: 32px;
  align-items: center;
}

.onboard .feature .f-icon {
  width: 140px;
  height: 140px;
  margin-right: 16px;
}

.onboard .stamp-box {
  background: rgba(209, 206, 243, 1);
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.onboard .stamp-box .stamp {
  width: 160px;
  margin-right: 24px;
}

.onboard .stamp-box .stamp-text {
  width: 342px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Steps section */
.steps {
  margin-bottom: 96px;
  position: relative;
}

.steps-box {
  display: flex;
}

.steps .slick-list {
  width: 774px;
  order: 2;
}

.slick-track::before,
.slick-track::after {
  display: table;
  content: '';
}

.slick-track::after {
  clear: both;
}

.steps .gp-black-box {
  position: absolute;
  bottom: 60px;
  left: 0;
}

.inner .title-secondary {
  margin-bottom: 8px;
  color: var(--text-color);
}

/* Products section */
.products {
  margin-bottom: 200px;
}

.inner .sub-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  padding-top: 32px;
  color: var(--text-color);
}

.products .list {
  display: flex;
  justify-content: space-evenly;
  overflow-x: auto;
  white-space: nowrap;
}

.products .list li {
  width: 200px;
  display: inline-block;
  vertical-align: top;
}

.products .list li img {
  border-radius: 15px;
  transition: var(--transition);
}

.products .list li img:hover {
  transform: scale(1.05);
}

.products .second {
  margin-top: 50px;
  display: flex;
  justify-content: space-evenly;
}

/* Logo box */
.logo-box {
  margin-bottom: 96px;
}

.logo-box .logo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.logo-box .logo-list li {
  width: 172px;
  list-style: none;
}

/* Promo credit section */
.promo-credit {
  min-height: 420px;
  position: relative;
  background: var(--primary-color);
  border-radius: var(--border-radius);
  margin: 130px 0 106px;
  overflow: hidden;
}

.promo-credit .circle-tl {
  top: 0;
  left: 0;
}

.promo-credit .circle-br {
  bottom: -6px;
  right: 0;
}

.promo-credit .app-img {
  position: absolute;
  top: -55px;
  right: 116px;
  z-index: 1;
  width: 296px;
}

.promo-credit .credit-inner {
  padding: 40px 0 40px 124px;
  max-width: 354px;
}

.promo-credit .credit-logo {
  max-width: 260px;
  margin-bottom: 24px;
}

.promo-credit .credit-amount {
  margin-bottom: 24px;
  color: var(--white);
}

.promo-credit .amount-upto {
  display: block;
  font-size: 14px;
  line-height: 20px;
}

.promo-credit .amount-value {
  display: block;
  font-size: 64px;
  line-height: 68px;
  letter-spacing: -0.3px;
  font-weight: 600;
}

.promo-credit .amount-terms {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: rgba(240, 239, 251, 0.72);
}

.promo-credit .credit-terms {
  display: flex;
  justify-content: space-between;
}

.promo-credit .terms-box {
  width: 84px;
  text-align: center;
}

.promo-credit .terms-box img {
  width: 48px;
  margin: 0 auto;
}

.promo-credit .terms-text {
  margin-top: 22px;
  color: var(--white);
  display: block;
}

/* Promo section */
.promo {
  padding: 50px 0 110px;
  position: relative;
}

.promo .app {
  width: 264px;
  position: absolute;
  top: 0;
  right: 838px;
  z-index: 1;
}

.promo .box {
  background: var(--primary-color);
  border-radius: var(--border-radius);
  position: relative;
}

.promo .box .text {
  padding: 64px 0 108px 344px;
}

.promo-inner {
  display: flex;
}

.promo .right {
  margin-right: 132px;
}

.promo .box .text .title {
  font-size: 32px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--white);
  margin-bottom: 8px;
}

.promo .top {
  margin-top: 24px;
}

/* Footer styles */
.foot-box {
  background: var(--background-light);
  padding: 46px 0;
  font-size: 1.1rem;
}

.foot {
  line-height: 22px;
}

.foot .logo {
  width: 140px;
}

.foot .wrap {
  display: flex;
  padding-top: 24px;
  border-bottom: 1px solid #c4c4c4;
}

.foot .wrap .info {
  width: 324px;
  margin-right: 72px;
  padding-bottom: 40px;
}

.foot .wrap .phone,
.foot .wrap .email {
  margin-right: 72px;
  padding-bottom: 40px;
}

.foot .wrap .phone strong,
.foot .wrap .email strong {
  color: var(--primary-color);
}

.foot a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

.foot a:hover {
  color: var(--primary-color);
}

.foot .wrap .address {
  flex: 1;
  padding-bottom: 40px;
}

.foot .foot-text {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
}

.foot .foot-text .privacy-terms {
  display: flex;
}

.foot .foot-text .privacy-terms .items {
  margin-right: 32px;
}

.foot .foot-text .copy {
  width: 318px;
  text-align: right;
}

.foot strong {
  display: block;
}

/* Image styles */
.img-1 {
  text-align: center;
  max-width: 300px;
}

.img-1 img {
  width: 250px;
}

/* Registration steps */
.registration-steps {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 100px;
  flex-wrap: wrap;
}

/* Buy stocks section */
.buy-stocks {
  display: flex;
  background-color: #fdf3f3;
  padding: 50px 150px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.buy-stocks .left h1 {
  font-weight: 900;
  font-size: 3rem;
  margin-top: 0;
  color: var(--text-color);
}

.buy-stocks .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.buy-stocks .right {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

.buy-stocks .points {
  max-width: 250px;
}

/* About us section */
.about-us {
  margin-bottom: 100px;
}

.about-us .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-us .title {
  margin-bottom: 60px;
  text-align: center;
}

.about-us .title span {
  color: var(--text-light);
  font-weight: normal;
}

.about-us .cards-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px;
}

.about-us .card {
  flex: 1;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-us .card:hover {
  transform: translateY(-5px);
}

.about-us .card.mission,
.about-us .card.vision,
.about-us .card.values {
  border-bottom: 5px solid var(--primary-color);
}

.about-us .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
}

.about-us .card h2 {
  margin-top: 45px;
  margin-bottom: 20px;
  font-size: 1.5em;
  color: var(--primary-color);
}

.about-us .card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95em;
  margin: 0;
}

.about-us .icon {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

/* Contact section */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  color: var(--text-color);
  font-size: 2.5em;
  margin-bottom: 15px;
}

.contact-header p {
  color: var(--text-light);
  font-size: 1.1em;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: var(--transition);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}

textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Courier New', Courier, monospace;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--secondary-color);
}

.contact-info {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: center;
}

.info-item {
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.info-item p {
  color: var(--text-light);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive styles */
@media screen and (max-width: 767px) {
  .header {
    display: block;
    margin: 38px 20px 102px;
  }

  .header .left-wrapper {
    margin: 0;
  }

  .header .logo {
    width: 200px;
    margin: 40px auto 16px;
  }

  .header .text-title {
    text-align: center;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-top: 16px;
  }

  .cta-gp-center {
    justify-content: center;
    align-items: center;
  }

  .cta-gp-center .cta-gp-white {
    margin-left: 0;
  }

  .desk {
    display: none;
  }

  .header .right-wrapper {
    margin: 24px 60px 42px;
  }

  .header .cta-circle {
    width: 48px;
    height: 48px;
    left: calc(50% - 24px);
    bottom: -24px;
  }

  .inner .title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 16px;
    text-align: center;
  }

  .onboard {
    margin-bottom: 80px;
  }

  .onboard .features-box {
    padding: 20px;
  }

  .onboard .feature {
    width: 100%;
    padding-bottom: 40px;
    justify-content: center;
  }

  .onboard .feature .f-icon {
    width: 90px;
    height: 90px;
  }

  .steps {
    margin-bottom: 80px;
    display: block;
  }

  .steps-box {
    flex-direction: column;
  }

  .inner .title-secondary {
    margin-bottom: 0;
    text-align: center;
  }

  .products {
    margin-bottom: 80px;
    margin-inline: 10px;
  }

  .inner .sub-title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
    padding: 24px 20px 0;
    text-align: center;
  }

  .products .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow: hidden;
    margin: 0;
  }

  .products .list li {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .products .list img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .logo-box {
    padding-top: 8px;
    margin-bottom: 56px;
  }

  .logo-box .logo-list {
    justify-content: space-between;
  }

  .logo-box .logo-list li {
    width: calc(50% - 6px);
    margin-bottom: 8px;
  }

  .promo-credit {
    min-height: 680px;
    margin: 80px -20px;
    border-radius: 0;
  }

  .promo-credit .app-img {
    top: 52%;
    right: 12%;
  }

  .promo-credit .credit-inner {
    padding: 24px 44px 0;
    max-width: 100%;
    text-align: center;
  }

  .promo-credit .credit-logo {
    max-width: 164px;
    margin: 0 auto 40px;
  }

  .promo-credit .credit-amount {
    margin-bottom: 12px;
  }

  .promo {
    margin-bottom: 0;
    overflow: hidden;
  }

  .promo .app {
    width: 210px;
    right: -35px;
  }

  .promo .box {
    border-radius: 0;
  }

  .promo .box .text {
    padding: 40px 78px 30px 24px;
    margin-left: 0;
  }

  .promo .box .text .title {
    max-width: 194px;
    font-size: 20px;
    line-height: 24px;
  }

  .sl-pera {
    font-size: 10px;
    line-height: 12px;
  }

  .cta-gp-white {
    max-width: 164px;
    margin: -4px 0 0 -4px;
  }

  .foot-box {
    padding: 30px 20px;
  }

  .foot .logo {
    width: 300px;
  }

  .foot .wrap {
    padding-top: 16px;
    display: block;
  }

  .foot .wrap .info,
  .foot .wrap .phone,
  .foot .wrap .email,
  .foot .wrap .address {
    width: 100%;
  }

  .foot .foot-text {
    margin: 0;
    display: block;
  }

  .foot .foot-text .copy {
    width: 100%;
    text-align: left;
    margin-top: 24px;
  }

  .about-us .cards-container {
    flex-direction: column;
  }

  .about-us .card {
    margin-top: 40px;
  }

  .buy-stocks {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .buy-stocks .left h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .buy-stocks .left video {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
  }

  .buy-stocks .right {
    width: 100%;
    margin-top: 20px;
  }

  .buy-stocks .points {
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
  }

  .buy-stocks .points h3 {
    font-size: 1.2rem;
  }

  .buy-stocks .points p {
    font-size: 1rem;
    color: var(--text-light);
  }

  .img-1 {
    max-width: 200px;
  }

  .img-1 img {
    width: 150px;
  }
}