/**
 * Protect section: gradient background, blurred orbs, alternating icon+text rows.
 */
.protect {
  position: relative;
  padding: var(--space-3xl) var(--container-padding);
  background: linear-gradient(180deg, #eff6fe 0%, #ffffff 100%);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.protect__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.protect__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: protect-orb-float 12s ease-in-out infinite;
}

.protect__orb--1 {
  width: 18rem;
  height: 18rem;
  left: 5%;
  top: 10%;
  background: var(--color-primary-light);
  animation-delay: 0s;
}

.protect__orb--2 {
  width: 14rem;
  height: 14rem;
  right: 10%;
  top: 15%;
  background: var(--color-secondary-light);
  animation-delay: -2s;
}

.protect__orb--3 {
  width: 16rem;
  height: 16rem;
  left: 20%;
  bottom: 20%;
  background: var(--color-primary);
  animation-delay: -4s;
}

.protect__orb--4 {
  width: 12rem;
  height: 12rem;
  right: 5%;
  bottom: 25%;
  background: var(--color-secondary);
  animation-delay: -6s;
}

.protect__orb--5 {
  width: 10rem;
  height: 10rem;
  left: 50%;
  top: 30%;
  background: var(--color-primary-light);
  animation-delay: -1s;
}

.protect__orb--6 {
  width: 14rem;
  height: 14rem;
  right: 25%;
  bottom: 10%;
  background: var(--color-secondary-light);
  animation-delay: -8s;
}

.protect__orb--7 {
  width: 8rem;
  height: 8rem;
  left: 70%;
  top: 5%;
  background: var(--color-primary);
  animation-delay: -3s;
}

@keyframes protect-orb-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(2%, -3%) scale(1.05);
  }
  50% {
    transform: translate(-2%, 2%) scale(0.98);
  }
  75% {
    transform: translate(3%, 1%) scale(1.02);
  }
}

.protect__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
}

.protect__title {
  margin: 0 0 var(--space-md);
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-title);
  text-align: center;
}

.protect__subtitle {
  margin: 0 0 var(--space-2xl);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.protect__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.protect__row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.protect__row--left {
  flex-direction: row;
}

.protect__row--right {
  flex-direction: row-reverse;
}

.protect__row--right .protect__box {
  text-align: right;
}

.protect__row--right .protect__box-desc::after {
  margin-left: auto;
  margin-right: 0;
}

.protect__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: #fff;
  font-size: var(--font-size-2xl);
}

.protect__icon {
  font-size: 2rem;
}

.protect__box {
  flex: 1 1 auto;
  max-width: 60%;
  min-width: 0;
  padding: var(--space-lg);
  background: var(--color-bg-header);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.protect__box-title {
  margin: 0 0 var(--space-sm);
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

.protect__box-desc {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.protect__box-desc::after {
  content: "";
  display: block;
  width: 25px;
  height: 3px;
  margin-top: var(--space-md);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

@media (max-width: 48rem) {
  .protect {
    padding: var(--space-2xl) var(--container-padding);
  }

  .protect__title {
    font-size: var(--font-size-2xl);
  }

  .protect__subtitle {
    font-size: var(--font-size-base);
  }

  .protect__rows {
    gap: var(--space-xl);
  }

  .protect__row--left,
  .protect__row--right {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: var(--space-md);
  }

  .protect__row--right .protect__box {
    text-align: center;
  }

  .protect__row--right .protect__box-desc::after {
    margin-left: auto;
    margin-right: auto;
  }

  .protect__icon-wrap {
    width: 4.55rem;
    height: 4.55rem;
    font-size: var(--font-size-xl);
    margin: 0 auto;
  }

  .protect__icon {
    font-size: 1.5rem;
  }

  .protect__box {
    max-width: none;
    width: 100%;
    padding: var(--space-lg);
  }

  .protect__box-desc::after {
    margin-left: auto;
    margin-right: auto;
  }
}
