/* =====================
   METHOD SECTION
===================== */

.method-section {
  padding: 8rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  position: relative;
}

.method-section h2 {
  grid-column: 1 / -1;
  font-size: 2.8rem;
  color: #a38bff;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: -1px;
}

.method-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, #48dacb, transparent);
  border-radius: 999px;
}

.method-item {
  position: relative;
  padding: 2.6rem 2.2rem;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.method-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, #6659b0, #48dacb);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.method-item:hover::before {
  opacity: 1;
}

.method-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  transition: color 0.3s ease;
}

.method-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.method-item:hover h3 {
  color: #48dacb;
}

.method-item:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* =====================
   SERVICES SECTION
===================== */

.services {
  padding: 8rem 2rem;
}

.services h2 {
  font-size: 2.8rem;
  margin-bottom: 8rem;
  color: #a38bff;
  position: relative;
  letter-spacing: -1px;
}

.services h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 25%;
  height: 3px;
  background: linear-gradient(90deg, #48dacb, transparent);
  border-radius: 999px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  width: 100%;
}

.service-card {
  padding: 2.8rem 2.4rem;
  border-radius: 22px;
  position: relative;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(102, 89, 176, 0.12),
    rgba(72, 218, 203, 0.08)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}

.service-card:hover h3 {
  color: #48dacb;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* =====================
   DESKTOP SCALE MODE
===================== */

@media (min-width: 1200px) {

  .method-section {
    padding-top: 12rem;
    padding-bottom: 12rem;
    gap: 4rem;
  }

  .method-section h2,
  .services h2 {
    font-size: 3.6rem;
    letter-spacing: -1.6px;
  }

  .method-item h3 {
    font-size: 1.5rem;
  }

  .method-item p {
    font-size: 1.1rem;
  }

  .service-card h3 {
    font-size: 1.6rem;
  }

  .service-card p {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 1rem 2rem;
  }

  .method-section {
    padding: 3rem 2rem;
    gap: 1px;
  }

  .services {
    padding: 1rem 2rem;
  }
  .services h2 {
    margin-bottom: 2rem;
  }

  .service-grid {
    gap: 1rem;
  }
}
