/* ====================================================================
   EMSCULPT NEO PAGE STYLES
   Aligned with Skuccii global design system
   ==================================================================== */

/* Stats Banner Section */
.emsculpt-stats-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #3d2b56 30%, var(--purple) 60%, #c9a0c9 85%, #e8c8d8 100%);
  padding: 60px 0 0 0;
  position: relative;
  overflow: hidden;
}

.emsculpt-stats-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.emsculpt-stats-left {
  flex: 1;
  min-width: 300px;
  padding-bottom: 60px;
  text-align: center;
}

.emsculpt-stats-left h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.emsculpt-stats-left .stats-subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.emsculpt-stats-badges {
  max-width: 500px;
  margin: 0 auto;
}

.emsculpt-stats-badges img {
  width: 100%;
  height: auto;
}

.emsculpt-stats-right {
  flex: 0 0 auto;
  align-self: flex-end;
  line-height: 0;
}

.emsculpt-stats-right img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Edge Applicators Section */
.emsculpt-edge-section {
  background: var(--purple-pale);
  padding: 60px 0;
}

.emsculpt-edge-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.emsculpt-edge-text {
  flex: 1;
  min-width: 280px;
}

.emsculpt-edge-text h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: #1F1F1F;
  line-height: 1.5;
  margin-bottom: 0;
}

.emsculpt-edge-text h2 span.edge-big {
  display: block;
  font-size: 32px;
  font-weight: 800;
  margin-top: 8px;
  text-transform: uppercase;
  color: var(--purple);
}

.emsculpt-edge-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.emsculpt-edge-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(144, 93, 167, 0.12);
}

/* What is Emsculpt Section */
.emsculpt-what-section {
  padding: 50px 0;
  background: var(--white);
}
@media (max-width: 767px) {
  .emsculpt-what-section {
  padding: 30px 0;
  background: var(--white);
}
}
.emsculpt-what-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.emsculpt-what-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.emsculpt-what-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.emsculpt-what-text {
  flex: 1.2;
  min-width: 300px;
}

.emsculpt-what-text .treat-intro-title {
  text-align: left;
}

/* How it Works Section */
.emsculpt-how-section {
  padding: 50px 0;
  background: var(--purple-pale);
}
@media (max-width: 767px) {
  .emsculpt-how-section  {
  padding: 30px 0;
}
}
.emsculpt-how-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 900px;
  margin: 40px auto 0;
}

.emsculpt-how-item {
  background: var(--white);
  padding: 35px 40px;
  border-radius: 20px;
  border: 1px solid rgba(144, 93, 167, 0.08);
  box-shadow: 0 8px 25px rgba(144, 93, 167, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.emsculpt-how-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--purple), #b88fcc);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}

.emsculpt-how-item:hover::before {
  transform: scaleY(1);
}

.emsculpt-how-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(144, 93, 167, 0.08);
}

.emsculpt-how-item h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.emsculpt-how-item p {
  font-size: 0.95rem;
  color: #1F1F1F;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Responsive adjustment for How It Works list items */
@media (max-width: 767px) {
  .emsculpt-how-item {
    padding: 30px 25px;
  }
  .emsculpt-how-item:hover {
    transform: translateY(-5px);
  }
}

/* Key Benefits Section */
.emsculpt-benefits-section {
  background: var(--white);
  padding: 50px 0;
}
@media (max-width: 767px) {
    .emsculpt-benefits-section {
        padding: 30px 0;
    }
}
.emsculpt-benefits-section .section-subtitle {
  color: var(--text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Seeing is Believing - Tab Section */
.emsculpt-seeing-section {
  padding: 50px 0;
  background: var(--white);
}
@media (max-width: 767px) {
.emsculpt-seeing-section  {
  padding: 30px 0;
}
}
.emsculpt-seeing-section .treat-section-title {
  margin-bottom: 5px;
}

.emsculpt-seeing-section .section-subtitle {
  text-align: center;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.emsculpt-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.emsculpt-tab-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ddd;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  background: var(--white);
}

.emsculpt-tab-btn.active {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(144, 93, 167, 0.3);
}

.emsculpt-tab-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emsculpt-tab-content {
  display: none;
}

.emsculpt-tab-content.active {
  display: block;
}

.emsculpt-tab-content .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* How Different Section */
.emsculpt-different-section {
  padding: 50px 0;
  background: var(--purple-pale);
}
@media (max-width: 767px) {
.emsculpt-different-section {
        padding: 30px 0;
    }
}
.emsculpt-different-section .treat-section-title {
  margin-bottom: 20px;
}

.emsculpt-different-text {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.emsculpt-different-text p {
  font-size: 0.95rem;
  color: #1F1F1F;
  line-height: 1.8;
}

/* Video Embed */
.emsculpt-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.emsculpt-video-wrap:hover .emsculpt-video-play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.emsculpt-video-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--purple);
  margin-left: 4px;
}

.emsculpt-video-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.emsculpt-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.emsculpt-different-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.emsculpt-different-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(144, 93, 167, 0.08);
  padding: 35px 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.emsculpt-different-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), #b88fcc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.emsculpt-different-card:hover::before {
  transform: scaleX(1);
}

.emsculpt-different-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(144, 93, 167, 0.08);
}

.emsculpt-different-card .card-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(144, 93, 167, 0.12);
  margin-bottom: 15px;
  transition: var(--transition);
}

.emsculpt-different-card:hover .card-number {
  color: var(--purple);
}

.emsculpt-different-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.emsculpt-different-card p {
  font-size: calc(1rem + 2px);
  color: #1F1F1F;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .emsculpt-stats-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .emsculpt-stats-right {
    max-width: 280px;
  }

  .emsculpt-edge-inner,
  .emsculpt-what-inner {
    flex-direction: column;
    text-align: center;
  }


  .emsculpt-different-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .emsculpt-stats-left h2 {
    font-size: 32px;
  }

  .emsculpt-what-text .treat-intro-title {
    text-align: center;
  }
}

@media (max-width: 575px) {

  .emsculpt-different-grid {
    grid-template-columns: 1fr;
  }

  .emsculpt-tab-btn {
    width: 55px;
    height: 55px;
  }
}

/* Balance Key Benefits text and video column layouts */
.emsculpt-benefits-section .benefits-video-row {
  max-width: 1200px;
}

.emsculpt-benefits-section .benefits-video-row .bv-benefits {
  flex: 1 1 calc(50% - 25px);
}

.emsculpt-benefits-section .benefits-video-row .bv-video {
  flex: 1 1 calc(50% - 25px);
}
