/* ============================================
   OFFERING — End-to-End Delivery
   Premium showcase frame, visually elevated
   ============================================ */

.offering {
  position: relative;
  isolation: isolate;
  padding-top: var(--space-32) !important;
  padding-bottom: var(--space-32) !important;
  overflow: hidden;
}

/* === Big spotlight glow (much stronger) === */
.offering::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 65% 50% at 50% 50%,
      rgba(14, 165, 233, 0.18) 0%,
      rgba(14, 165, 233, 0.08) 30%,
      rgba(14, 165, 233, 0.03) 55%,
      transparent 80%
    );
  pointer-events: none;
  z-index: -2;
}

/* === Showcase frame — wraps the container === */
.offering .container {
  position: relative;
  padding: var(--space-16) var(--space-10);
  background:
    linear-gradient(
      180deg,
      rgba(8, 30, 70, 0.45) 0%,
      rgba(6, 20, 50, 0.35) 50%,
      rgba(4, 14, 36, 0.5) 100%
    );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* === Animated top accent bar inside the frame === */
.offering .container::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(14, 165, 233, 0.0) 0%,
    rgba(56, 189, 248, 0.9) 50%,
    rgba(14, 165, 233, 0.0) 100%
  );
  filter: blur(0.5px);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  pointer-events: none;
}

/* === Decorative corner accents === */
.offering__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-accent-400);
  pointer-events: none;
  z-index: 2;
}

.offering__corner--tl {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: var(--radius-2xl);
}

.offering__corner--tr {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: var(--radius-2xl);
}

.offering__corner--bl {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: var(--radius-2xl);
}

.offering__corner--br {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: var(--radius-2xl);
}

/* === Section header — pill label with stronger glow === */
.offering .section__label {
  color: var(--color-accent-300);
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow:
    0 0 24px rgba(14, 165, 233, 0.3),
    0 0 60px rgba(14, 165, 233, 0.12);
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
}

/* === Cards grid === */
.offering__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
  position: relative;
  z-index: 1;
}

.offering__card {
  position: relative;
  padding: var(--space-10) var(--space-8);
  background:
    linear-gradient(
      180deg,
      rgba(14, 165, 233, 0.06) 0%,
      rgba(8, 22, 45, 0.55) 100%
    );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: var(--radius-xl);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.offering__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 189, 248, 0.0) 0%,
    rgba(56, 189, 248, 0.8) 50%,
    rgba(56, 189, 248, 0.0) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.offering__card:hover {
  border-color: rgba(14, 165, 233, 0.45);
  transform: translateY(-6px);
  background:
    linear-gradient(
      180deg,
      rgba(14, 165, 233, 0.1) 0%,
      rgba(12, 30, 60, 0.6) 100%
    );
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(14, 165, 233, 0.12);
}

.offering__card:hover::before {
  transform: scaleX(1);
}

.offering__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-300);
  margin-bottom: var(--space-5);
  transition: all 0.4s ease;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.1);
}

.offering__card:hover .offering__card-icon {
  background: rgba(14, 165, 233, 0.22);
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.3);
  transform: scale(1.08);
}

.offering__card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.offering__card-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}

/* === Responsive === */
@media (max-width: 1100px) {
  .offering__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offering .container {
    padding: var(--space-12) var(--space-6);
  }
}

@media (max-width: 600px) {
  .offering__grid {
    grid-template-columns: 1fr;
  }

  .offering .container {
    padding: var(--space-10) var(--space-5);
  }

  .offering__corner {
    width: 20px;
    height: 20px;
  }
}
