* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #7C40FF;
  --orange: #FB923C;
  --yellow: #FACC15;
  --blue-gray-900: #0F172A;
  --blue-gray-600: #475569;
  --white: #FFFFFF;
  --gray-100: #F1F5F9;
}

h1, h2 {
  position: relative;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--white);
  overflow-x: hidden;
  position: relative;
}

.center_b {
  max-width: 1440px;
  margin: 0 auto;
}

.parallax {
  transform: translate(0, 0);
}

/* Background shapes */
.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.shape-yellow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 384px;
  height: 12px;
  border: 10px solid var(--yellow);
  transform: scaleX(-1);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 80px;
 
  transition: all 0.3s ease;
}

header .center_b {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background-color: var(--white);
  box-shadow: 0 20px 25px 0px rgba(0, 0, 0, 0.1);
  padding: 16px 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.logo img {
  width: 150px;
  max-width: 100%;
}

.center_text {
  position: relative;
  display: inline-block;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-gray-900);
}

.line {
  position: absolute;
  bottom: -30px;
  left: 0;
}

.line svg {
  max-width: 100%;
}

.menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  gap: 8px;
  color: var(--blue-gray-900);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.menu-item:hover {
  color: var(--purple);
}

.buttons-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-link {
  color: var(--blue-gray-900);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: var(--purple);
}

.join-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  width: 190px;
  height: 48px;
  border: 2px solid var(--purple);
  border-radius: 14px;
  background-color: transparent;
  color: var(--blue-gray-900);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.join-btn:hover {
  background-color: #f3e8ff;
}

.join-btn.btn-color {
  background: var(--purple);
  color: #fff;
  width: auto;
}

.join-btn.btn-color span {
  background: url('../img/enter.png') no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
}

/* Hero Section */
.hero {
  padding: 80px;
  min-height: 677px;
}

.hero .center_b, .why-octop .center_b {

  display: flex;
  align-items: center;
  gap: 50px;

}

.hero-text {
  max-width: 660px;
}

.hero-title {
  font-weight: 800;
  font-size: 72px;
  line-height: 110%;
  color: var(--blue-gray-900);
  margin-bottom: 32px;
}

.hero-description {
  font-weight: 400;
  font-size: 24px;
  line-height: 160%;
  color: var(--blue-gray-900);
  margin-bottom: 32px;
  width: 660px;
}

.hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 24px;
  width: 293px;
  height: 64px;
  background: var(--purple);
  box-shadow: 0px 6px 12px rgba(124, 64, 255, 0.26);
  border-radius: 14px;
  color: var(--white);
  font-weight: 500;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.hero-btn:hover {
  background-color: #6a36d9;
}

.hero-image {
  position: relative;
  width: 100%;
  min-height: 677px;
}

.hero-image img {
  width: 605px;
  height: 456px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-img_1 {
  background: url(../img/img_1.svg) no-repeat center;
  background-size: contain;
  width: 340px;
  height: 382px;
  position: absolute;
  top: 184px;
  right: 310px;
}

.hero-img_2 {
  background: url(../img/img_2.svg) no-repeat center;
  background-size: contain;
  width: 267px;
  height: 237px;
  position: absolute;
  top: 110px;
  right: 45px;
}

/* Sections with fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* For Whom Section */
.for-whom {
  padding: 80px;
  background-color: #FBFAFD;
}

.for-whom .card {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.section-title {
  font-weight: 800;
  font-size: 56px;
  line-height: 110%;
  color: var(--blue-gray-900);
  text-align: center;
  margin-bottom: 32px;
}

.section-title .line {
  width: 235px;
}

.section-subtitle {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--blue-gray-900);
  text-align: center;
  margin: 0 auto 80px;
}

.divider-yellow {
  width: 282px;
  height: 10px;
  background: var(--yellow);
  margin: 0 auto 80px;
  border-radius: 5px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.card {
  background-color: var(--white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-img {
  display: flex;
  justify-self: center;
  position: relative;
  margin-bottom: 24px;
}

.card-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 110%;
  color: var(--blue-gray-900);
  margin-bottom: 8px;
  text-align: center;
}

.card-subtitle {
  font-weight: 400;
  font-size: 20px;
  line-height: 110%;
  color: var(--blue-gray-600);
  margin-bottom: 24px;
  text-align: center;
}

.card-description {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--blue-gray-900);
  text-align: center;
}

/* Solutions Section */
.solutions {
  padding: 80px;
}

.solutions .line {
  width: 235px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.bg_img {
  background-repeat: no-repeat;
  position: absolute;

}

.bg_img.img_1 {
  background-image: url(../img/img_6.svg);
  width: 466px;
  height: 507px;
  left: 50%;
  top: 225px;
  margin-left: -752px;
}

.bg_img.img_2 {
  background-image: url(../img/img_11.svg);
  width: 523px;
  height: 544px;
  right: 50%;
  top: 165px;
  margin-right: -872px;
  z-index: -1;
}

.bg_img.img_3 {
  background-image: url(../img/img_7.svg);
  width: 267px;
  height: 376px;
  right: 50%;
  top: 454px;
  margin-right: -721px;
  z-index: -1;
}

.bg_img.img_5 {
  background-image: url(../img/img_8.svg);
  width: 974px;
  height: 1075px;
  right: 50%;
  top: 25px;
  margin-right: -779px;
  z-index: -1;
}

.bg_img.img_8 {
  background-image: url(../img/img_12.svg);
  width: 371px;
  height: 550px;
  left: 50%;
  top: 25px;
  margin-left: -746px;
  z-index: -1;
}

.bg_img.img_9 {
  background-image: url(../img/img_13.svg);
  width: 301px;
  height: 501px;
  right: 50%;
  top: 25px;
  margin-right: -676px;
  z-index: -1;
}

.solution-card {
  background-color: var(--white);
  padding: 24px 16px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 25px 0px rgba(0, 0, 0, 0.1);
}

.solution-icon {
  font-size: 24px;
  margin-bottom: 16px;
}

.solution-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--blue-gray-900);
  margin-bottom: 8px;
}

.solution-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--blue-gray-600);
}

/* Why Octop Section */
.why-octop {
  padding: 80px;
  position: relative;
  min-height: 770px;
}

.why-octop .line {
  width: 165px;
}

.why-octop-text {
  width: 500px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 225px);
  gap: 24px;
  align-items: end;
}

.why-cards.bottom {
  align-items: start;
  margin-top: 24px;
}

.why-card {
  background-color: var(--white);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tag {
  display: inline-block;
  background-color: #dbf4ff;
  color: #0369a1;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.why-card-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 110%;
  color: var(--blue-gray-900);
  margin-bottom: 8px;
}

.why-card-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--blue-gray-600);
}

/* CTA Section */
.cta {
  padding: 80px;
  background-color: var(--purple);
  color: var(--white);
}

.cta-title {
  font-weight: 700;
  font-size: 56px;
  line-height: 110%;
  text-align: center;
}

.cta-description {
  font-weight: 400;
  font-size: 20px;
  line-height: 180%;
  text-align: center;
  max-width: 708px;
  margin: 0 auto 32px;
}

.cta-subtext {
  font-weight: 400;
  font-size: 36px;
  line-height: 180%;
  text-align: center;
  margin: 12px 0 32px;
}

.form-container {
  max-width: 660px;
  margin: 0 auto;
}

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

.form-label {
  font-weight: 500;
  font-size: 20px;
  line-height: 180%;
  margin-bottom: 12px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--white);
  border-radius: 14px;
  background-color: transparent;
  color: var(--white);
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  padding: 0 12px;
  height: 64px;
  background-color: var(--white);
  color: var(--purple);
  border: 2px solid var(--white);
  border-radius: 14px;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn:hover {
  background-color: #f3e8ff;
}

.form-status {
  margin-top: 12px;
  min-height: 22px;
  font-size: 16px;
  line-height: 140%;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
}

.form-status--success {
  color: #bbf7d0;
}

.form-status--error {
  color: #fecaca;
}

/* Footer */
footer {
  background-color: var(--blue-gray-900);
  padding: 20px 80px;

}

footer .center_b {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.footer-copyright {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #e2e8f0;
}

.col-rigth {
  display: flex;
  justify-content: right;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--blue-gray-900);
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .menu {
  flex-direction: column;
  gap: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero {
      padding: 60px 40px;
  }
  
  .hero-text,
  .hero-description {
      width: 100%;
  }
  
  header {
      padding: 20px 40px;
  }
  
  header.scrolled {
      padding: 12px 40px;
  }
  
  footer {
      padding: 20px 40px;
  }

  .hero-img_1 {
    width: 250px;
    right: 230px;
  }

  .hero-img_2 {
    width: 200px;
    right: 25px;
  }

  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero {
      flex-direction: column;
      text-align: center;
      gap: 40px;
  }

  header {
    padding: 20px;
  }

  .logo {
    width: 120px;
  }

  .menu {
    gap: 12px;
  }

  .for-whom, .why-octop, .cta, .solutions {
    overflow: hidden;
  }
  
  .hero-title {
      font-size: 48px;
  }
  
  .hero-description {
      font-size: 20px;
  }
  
  .cards-grid,
  .why-cards {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .solutions-grid {
      grid-template-columns: repeat(3, 1fr);
  }

  .hero-img_1 {
    right: 170px;
  }

  .hero-img_2 {
    right: 0;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
  }

  .enter-btn {
    display: flex;
    background: var(--purple);
    margin-right: 8px;
    font-size: 14px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    align-items: center;
  }

  .enter-btn span {
    display: block;
    background: url('../img/enter.png') no-repeat;
    background-size: contain;
    background-color: var(--purple);
    width: 12px;
    height: 12px;
    margin-right: 8px;
  }  
  
  .menu {
      display: none;
  }
  
  .cards-grid,
  .why-cards {
      grid-template-columns: 1fr;
  }
  
  .solutions-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
      font-size: 36px;
  }
  
  .section-title {
      font-size: 40px;
  }
  
  .cta-title {
      font-size: 40px;
  }
  
  .bg_img {
    right: 0;
    left: 0;
    margin: 0;
  }

  .hero .center_b, .why-octop .center_b {
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .solutions, .why-octop, .cta, .for-whom, .hero {
    overflow-x: hidden;
    padding: 24px;
  }
  
  .mobile-menu.active .menu {
    display: flex;
  }

  .join-btn {
    display: none;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-image {
    min-height: auto;
  }

  .hero-img_1 {
    right: 0;
    top: 0;
    position: relative;
    margin: 0 auto;
  }

  .hero-img_2 {
    display: none;
  }

  .solutions .bg_img {
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
  }

  .bg_img.img_3 {
    bottom: 0;
  }

  .bg_img.img_1 {
    bottom: 0;
    right: -150px;
  }

  .bg_img.img_5 {
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
  }

  .bg_img.img_8, .bg_img.img_9 {
    display: none;
  }

  footer {
    padding: 24px;
  }

  .hero-btn, .submit-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .solutions-grid {
      grid-template-columns: 1fr;
  }
  
  .hero-title {
      font-size: 28px;
  }
  
  .section-title,
  .cta-title {
      font-size: 32px;
  }

  .cta-subtext {
    font-size: 24px;
  }

  .bg_img {
    right: 0;
    left: 0;
    margin: 0;
  }

  .hero .center_b, .why-octop .center_b {
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .solutions, .why-octop, .cta, .for-whom, .hero {
    overflow-x: hidden;
    padding: 24px;
  }
  
  .mobile-menu.active .menu {
    display: flex;
  }

  .join-btn {
    display: none;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-image {
    min-height: auto;
  }

  .hero-img_1 {
    right: 0;
    top: 0;
    position: relative;
    margin: 0 auto;
  }

  .hero-img_2 {
    display: none;
  }

  .solutions .bg_img {
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
  }

  .bg_img.img_3 {
    bottom: 0;
  }

  .bg_img.img_1 {
    bottom: 420px;
  }

  .bg_img.img_5 {
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
  }

  .bg_img.img_8, .bg_img.img_9 {
    display: none;
  }

  footer {
    padding: 24px;
  }

  .hero-btn, .submit-btn {
    width: 100%;
  }

  footer .center_b {
    flex-direction: column;
  }

  .line {
    left: 90px;
    width: 200px;
  }

  .section-title .line, .solutions .line {
    left: 0;
    width: 135px;
  }

  .why-octop .line {
    width: 95px;
  }

}