.layout {
  position: relative;
  max-width: 1000px;
  height: 700px;
  margin: 20px auto;
  padding: 20px;
}

.box {
  position: absolute;
  border: 2px solid #333;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  box-sizing: border-box;
}

.headline {
  top: 20px;
  left: 20px;
  width: 42%;
  height: 80px;
  background: transparent;
  border: none;
  font-size: 42px;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1.05;
  text-align: left;
  padding: 0;
}

.subtext {
  top: 130px;
  left: 20px;
  width: 42%;
  height: 100px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 400;
  color: #5a6a7a;
  line-height: 1.5;
  text-align: left;
  padding: 0;
}

.product {
  background: transparent;
  border: none;
  border-radius: 12px;
  top: 210px;
  left: 20px;
  width: 42%;
  height: 250px;
  padding: 0;
  overflow: hidden;
}

.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.howitworks {
  top: 520px;
  left: 20px;
  width: 42%;
  height: 100px;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
}

.howitworks h2 {
  font-size: 28px;
  font-weight: 900;
  color: #1e3a5f;
  letter-spacing: 2px;
  margin: 0 0 20px;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step span {
  font-size: 11px;
  color: #5a6a7a;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #cdd5e0;
  margin: 0 12px 20px;
}

.dashboard {
  background: transparent;
  border: none;
  border-radius: 12px;
  top: 20px;
  right: 20px;
  width: 45%;
  height: 320px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dashboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.cta {
  background: transparent;
  border: none;
  top: 370px;
  right: 20px;
  width: 45%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  background: #f97316;
  color: white;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.cta-button:hover {
  background: #ea580c;
}

.trackanything {
  background: transparent;
  border: none;
  top: 480px;
  right: 20px;
  width: 45%;
  height: 180px;
  padding: 0;
  text-align: left;
}

.trackanything h2 {
  font-size: 28px;
  font-weight: 900;
  color: #1e3a5f;
  letter-spacing: 2px;
  margin: 0 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.track-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.track-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.track-icon {
  font-size: 28px;
}

.track-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e3a5f;
}

.track-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
}

/* Tablet - handle text wrapping */
@media (max-width: 1000px) {
  .headline {
    font-size: 32px;
    height: auto;
  }

  .subtext {
    top: 160px;
    height: auto;
  }

  .product {
    top: 260px;
  }

  .howitworks {
    top: 560px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .layout {
    height: auto;
    padding: 16px;
  }

  .box {
    position: static;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 24px;
  }

  .headline {
    font-size: 28px;
    text-align: center;
  }

  .subtext {
    text-align: center;
  }

  .product {
    height: 220px !important;
  }

  .product img {
    height: 220px;
  }

  .dashboard {
    height: 200px !important;
  }

  .cta {
    margin-bottom: 32px;
  }

  .cta-button {
    width: 100%;
    padding: 16px 24px;
  }

  .howitworks {
    text-align: center;
  }

  .howitworks h2 {
    font-size: 20px;
    text-align: center;
  }

  .steps {
    justify-content: center;
  }

  .step-line {
    width: 30px;
    flex: none;
  }

  .trackanything {
    text-align: center;
  }

  .trackanything h2 {
    font-size: 20px;
    text-align: center;
  }

  .track-cards {
    grid-template-columns: 1fr;
  }

  .track-card {
    justify-content: flex-start;
  }
}
