.how-page {
  background:
    radial-gradient(circle at 82% 16%, rgba(122, 212, 159, 0.12), transparent 28%),
    linear-gradient(180deg, #06070b 0%, #0f1220 100%);
}

.how-hero {
  min-height: calc(82vh - 110px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 32px 64px;
}

.how-hero-copy {
  max-width: 760px;
}

.how-hero h1 {
  font-size: clamp(3.1rem, 5vw, 5.4rem);
}

.how-lead {
  max-width: 680px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.85;
}

.how-hero-visual {
  display: grid;
  place-items: center;
  min-height: 430px;
}

.soil-demo {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 0.9;
  overflow: hidden;
  border: 1px solid rgba(122, 212, 159, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 24%, rgba(122, 212, 159, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

.soil-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, #33402d, #17120e);
}

.soil-bag {
  position: absolute;
  left: 50%;
  bottom: 30%;
  width: 160px;
  height: 112px;
  transform: translateX(-50%) rotate(-9deg);
  border: 1px solid rgba(122, 212, 159, 0.34);
  border-radius: 18px 18px 30px 30px;
  background: linear-gradient(135deg, rgba(216, 242, 225, 0.38), rgba(122, 212, 159, 0.14));
}

.soil-bag::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 42px;
  width: 74px;
  height: 44px;
  border: 10px solid rgba(122, 212, 159, 0.44);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
}

.soil-bag::after {
  content: "";
  position: absolute;
  inset: 34px 24px auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 28px 18px 0 rgba(255, 255, 255, 0.18), -18px 38px 0 rgba(255, 255, 255, 0.14);
}

.sprout {
  position: absolute;
  left: 50%;
  bottom: 37%;
  width: 8px;
  height: 92px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #7ad49f;
  box-shadow: 0 0 30px rgba(122, 212, 159, 0.3);
}

.sprout::before,
.sprout::after,
.sprout span {
  content: "";
  position: absolute;
  width: 64px;
  height: 38px;
  border-radius: 70% 30% 70% 30%;
  background: linear-gradient(135deg, #dff7ea, #7ad49f);
}

.sprout::before {
  top: 18px;
  right: 2px;
  transform: rotate(-28deg);
}

.sprout::after {
  top: 38px;
  left: 2px;
  transform: rotate(208deg);
}

.sprout span {
  top: -18px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.how-steps {
  padding: 90px 32px;
  background: #050712;
}

.how-section-header {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.how-section-header h2 {
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  line-height: 1.05;
}

.step-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.how-step {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.step-number {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(122, 212, 159, 0.12);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.how-step h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.how-step p,
.detail-panel p,
.detail-list p,
.care-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.how-details {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  max-width: 1160px;
  margin: 70px auto;
  padding: 0 32px;
}

.detail-panel,
.detail-list div {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.detail-panel {
  padding: 40px;
}

.detail-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  line-height: 1.08;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-list div {
  padding: 26px;
}

.detail-list h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.how-care {
  max-width: 1040px;
  margin: 64px auto;
  padding: 58px 32px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.how-care h2 {
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
  text-align: left;
}

.care-grid p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.plant-device {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1040px;
  margin: 64px auto;
  padding: 42px 32px;
  border: 1px solid rgba(230, 201, 123, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(230, 201, 123, 0.08), rgba(122, 212, 159, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.plant-device h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.plant-device p:not(.subtitle) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

.device-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7c65c, #e88b2d);
  color: #17120e;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(232, 139, 45, 0.16);
  transition: transform 0.25s, box-shadow 0.25s;
}

.device-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(232, 139, 45, 0.22);
  text-decoration: none;
}

@media (max-width: 1100px) {
  .step-timeline,
  .care-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .how-hero,
  .how-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .how-hero,
  .how-steps,
  .how-details,
  .how-care,
  .plant-device {
    padding-left: 20px;
    padding-right: 20px;
  }

  .how-hero {
    min-height: auto;
    gap: 32px;
  }

  .how-hero h1 {
    font-size: 2.8rem;
  }

  .how-hero-visual {
    min-height: 320px;
  }

  .step-timeline,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .plant-device {
    grid-template-columns: 1fr;
  }

  .detail-panel,
  .detail-list div,
  .how-step {
    padding: 24px;
  }

  .device-link {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
