:root {
  --color-gray-light-900: #0f0f0f;
  --color-gray-light-700: #636366;
  --color-gray-light-100: #f6f6f6;

  --color-text: #0f0f0f;
  --color-primary: #4d50ff;
  --color-primary-300: #c7c8ff;

  --font-family-text: "Inter", sans-serif;
  --font-family-title: "Poppins", sans-serif;

  --lineheight: 24px;
}

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

body {
  font-size: 14px;
  font-family: var(--font-family-title);
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: var(--color-text);
  background: #fff;
}

/* Header */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
}

.logo,
.logo img {
  display: block;
  width: 147px;
  height: 32px;
}

.header-tagline {
  color: var(--color-gray-light-700);
  font-size: 14px;
  margin: 4px auto 0 40px;
}

header .button {
  margin-left: auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(94.41deg, #f6f6f6 0%, #d1d1d6 100%);
  padding: 38px 0;
  min-height: 440px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.hero .section-title {
  margin-bottom: 32px;
}

.hero-features {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-primary);
}

.hero-features-divider {
  color: var(--color-text);
}

.hero .text {
  margin: 8px 0 32px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  position: absolute;
  top: 0;
  right: -130px;
  max-width: none;
}

/* Products Section */
.products {
}

.products-grid {
  display: grid;
  gap: 80px;
}

.product-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-item:nth-child(even) {
  direction: rtl;
}

.product-item:nth-child(even) > * {
  direction: ltr;
}

.product-item:first-child .product-back {
  transform: translate(260px, -160px);
  z-index: 1;
}

.product-item.product-item--hr .product-back {
  transform: translate(20px, -180px);
  z-index: 1;
}

.product-back {
  position: absolute;
  transform: translateY(-160px);
  z-index: -1;
}

.product-content {
  position: relative;
  padding-left: 56px;
}

.product-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
}

.product-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 0.25px;
  margin: 0 0 17px;
}

.product .text {
  margin: 0 0 17px;
}

.product-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: normal;
  display: inline-flex;
  line-height: 24px;
  align-items: center;
  gap: 8px;
}

.product-link::after {
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  background-image: url("/img/icons/arrow-right.svg");
}

.product-link:hover {
  text-decoration: underline;
}

/* Why Taployo Section */
.why {
  background: var(--color-gray-light-100);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
}

.why-list li {
  position: relative;
  padding: 0 0 0 40px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0px;
}

.why-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 32px;
  height: 32px;
  background-image: url("/img/icons/circle-check.svg");
  background-size: contain;
}

/* Call to Action Section */
.cta {
  background-color: var(--color-primary-300);
  padding: 0;
}

.cta-content {
  background-image: url("/img/footer-logo.svg");
  background-repeat: no-repeat;
  background-position: right;
  padding: 80px 0 40px;
  min-height: 360px;
}

.cta-buttons {
  display: flex;
  gap: 24px;
}

/* Footer */
footer {
  font-size: 12px;
  margin: 80px 0 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-image img {
    right: -100px;
    transform: scale(0.85);
  }

  .product-item.product-item--hr .product-back {
    transform: translate(20px, -180px) scale(0.7);
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 3fr 2fr;
  }

  .hero-image img {
    right: -200px;
    transform: scale(0.64);
  }

  .product-item:first-child .product-back {
    transform: translate(200px, -150px) scale(0.7);
  }

  .product-back {
    transform: translateY(-120px) scale(0.7);
  }

  .products-grid {
    gap: 60px;
  }

  .product-item {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-tagline {
    display: none;
  }

  /* Hero adjustments */
  .hero {
    padding: 40px 0;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image img {
    position: static;
    width: 100%;
    transform: scale(1);
  }

  /* Products adjustments */
  .product-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-item:nth-child(even) {
    direction: ltr;
  }

  .product-back {
    display: none;
  }

  .product-image {
    order: -1;
  }

  /* Why section adjustments */
  .why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-list li {
    font-size: 20px;
    line-height: 28px;
  }

  /* CTA adjustments */
  .cta-content {
    background-image: none;
    padding: 60px 0 40px;
    min-height: auto;
  }

  footer {
    margin: 60px 0 0;
  }
}

@media (max-width: 576px) {
  header {
    padding: 12px 0;
  }

  .logo,
  .logo img {
    width: 100px !important;
    height: auto !important;
  }

  /* Hero mobile adjustments */
  .hero {
    padding: 30px 0;
  }

  .hero .section-title {
    margin-bottom: 24px;
  }

  .hero-features {
    font-size: 16px;
    line-height: 24px;
  }

  .hero .text {
    margin: 6px 0 24px;
  }

  /* Products mobile adjustments */
  .products-grid {
    gap: 40px;
  }

  .product-title {
    font-size: 24px;
    line-height: 32px;
  }

  .product-link {
    font-size: 14px;
  }

  /* Why section mobile adjustments */
  .why-list li {
    font-size: 18px;
    line-height: 26px;
    padding-left: 36px;
  }

  .why-list li::before {
    width: 28px;
    height: 28px;
  }

  /* CTA mobile adjustments */
  .cta-content {
    padding: 40px 0 30px;
  }
}
