/* ============================================
   Domain Benefits Section - Modern UI Design
   Colors: #f9bd06 (Yellow), #140c3a (Purple)
============================================ */

:root {
  --primary-purple: #140c3a;
  --accent-yellow: #f9bd06;
  --light-yellow: #ffd84d;
  --dark-purple: #0a0521;
  --gradient-yellow: linear-gradient(135deg, #f9bd06 0%, #ffd84d 100%);
  --gradient-purple: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
}

/* Section Styling */
.domain-benefits-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  position: relative;
  overflow: hidden;
}

.domain-benefits-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 189, 6, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.domain-benefits-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 12, 58, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

/* Heading Section */
.domain-benefits-section .heading-section {
  margin-bottom: 40px;
}

/* Informative Text Section */
.domain-info-text {
  margin: 40px 0 20px;
  position: relative;
  z-index: 1;
}

.info-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 45px 50px;
  box-shadow: 0 8px 30px rgba(20, 12, 58, 0.08);
  border: 2px solid rgba(249, 189, 6, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.info-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-yellow);
}

.info-content::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(249, 189, 6, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.info-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(249, 189, 6, 0.15);
  border-color: rgba(249, 189, 6, 0.3);
}

.info-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.info-content p:last-child {
  margin-bottom: 0;
}

/* Bottom Section Styles */
.domain-info-bottom-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.domain-info-bottom-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 189, 6, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.info-content-bottom {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(20, 12, 58, 0.1);
  border: 2px solid rgba(249, 189, 6, 0.15);
  position: relative;
  overflow: hidden;
}

.info-content-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-yellow);
}

.info-paragraph {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
  align-items: flex-start;
  animation: fadeInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.info-paragraph:nth-child(1) { animation-delay: 0.2s; }
.info-paragraph:nth-child(2) { animation-delay: 0.4s; }
.info-paragraph:nth-child(3) { animation-delay: 0.6s; }

.info-paragraph:last-child {
  margin-bottom: 0;
}

.paragraph-icon {
  min-width: 60px;
  width: 60px;
  height: 60px;
  background: var(--gradient-purple);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(20, 12, 58, 0.2);
  position: relative;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.paragraph-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--gradient-yellow);
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.info-paragraph:hover .paragraph-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(249, 189, 6, 0.4);
}

.info-paragraph:hover .paragraph-icon::before {
  opacity: 1;
}

.paragraph-icon i {
  font-size: 28px;
  color: var(--accent-yellow);
  transition: all 0.3s ease;
  animation: iconFloat 3s ease-in-out infinite;
}

.info-paragraph:hover .paragraph-icon i {
  color: var(--primary-purple);
  transform: scale(1.1);
}

.paragraph-text {
  flex: 1;
}

.paragraph-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0;
  text-align: justify;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.subtitle-badge {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gradient-yellow);
  color: var(--primary-purple);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(249, 189, 6, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

.domain-benefits-section .heading-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-purple);
  margin: 25px 0 20px;
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.domain-benefits-section .heading-description {
  font-size: 18px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}

/* Benefit Card */
.domain-benefit-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(20, 12, 58, 0.08);
}

.domain-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.domain-benefit-card:hover::before {
  transform: scaleX(1);
}

.domain-benefit-card:hover {
  transform: translateY(-15px);
  border-color: var(--accent-yellow);
  box-shadow: 0 20px 60px rgba(249, 189, 6, 0.25);
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(249, 189, 6, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.domain-benefit-card:hover .card-glow {
  width: 500px;
  height: 500px;
}

/* Benefit Icon */
.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-purple);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 10px 30px rgba(20, 12, 58, 0.25);
}

.benefit-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--gradient-yellow);
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.domain-benefit-card:hover .benefit-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 40px rgba(249, 189, 6, 0.4);
}

.domain-benefit-card:hover .benefit-icon::before {
  opacity: 1;
}

.benefit-icon i {
  font-size: 36px;
  color: var(--accent-yellow);
  transition: all 0.3s ease;
  animation: iconFloat 3s ease-in-out infinite;
}

.domain-benefit-card:hover .benefit-icon i {
  color: var(--primary-purple);
  transform: scale(1.1);
}

/* Benefit Title */
.benefit-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.domain-benefit-card:hover .benefit-title {
  color: var(--primary-purple);
  transform: translateX(5px);
}

/* Benefit Description */
.benefit-description {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Benefit Badge */
.benefit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(249, 189, 6, 0.1) 0%, rgba(249, 189, 6, 0.05) 100%);
  border: 2px solid rgba(249, 189, 6, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-purple);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-yellow);
  transition: left 0.5s ease;
  z-index: -1;
}

.domain-benefit-card:hover .benefit-badge {
  border-color: var(--accent-yellow);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(249, 189, 6, 0.3);
}

.domain-benefit-card:hover .benefit-badge::before {
  left: 0;
}

.domain-benefit-card:hover .benefit-badge {
  color: var(--primary-purple);
}

.benefit-badge i {
  font-size: 16px;
  color: var(--accent-yellow);
  transition: all 0.3s ease;
}

.domain-benefit-card:hover .benefit-badge i {
  transform: scale(1.2) rotate(360deg);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-30px) translateX(20px);
  }
  66% {
    transform: translateY(-10px) translateX(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(249, 189, 6, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(249, 189, 6, 0.5);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Staggered Animation on Load */
.domain-benefit-card {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.domain-benefit-card:nth-child(1) { animation-delay: 0.1s; }
.domain-benefit-card:nth-child(2) { animation-delay: 0.2s; }
.domain-benefit-card:nth-child(3) { animation-delay: 0.3s; }
.domain-benefit-card:nth-child(4) { animation-delay: 0.4s; }
.domain-benefit-card:nth-child(5) { animation-delay: 0.5s; }
.domain-benefit-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .domain-benefits-section {
    padding: 80px 0;
  }

  .domain-benefits-section .heading-title,
  .domain-info-bottom-section .heading-title {
    font-size: 38px;
  }

  .domain-info-bottom-section {
    padding: 60px 0;
  }

  .info-content {
    padding: 35px 40px;
  }

  .info-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .info-content-bottom {
    padding: 40px 35px;
  }

  .paragraph-icon {
    min-width: 55px;
    width: 55px;
    height: 55px;
  }

  .paragraph-icon i {
    font-size: 26px;
  }

  .paragraph-text p {
    font-size: 15px;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
  }

  .benefit-icon i {
    font-size: 32px;
  }

  .benefit-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .domain-benefits-section {
    padding: 60px 0;
  }

  .domain-benefits-section .heading-title,
  .domain-info-bottom-section .heading-title {
    font-size: 32px;
  }

  .domain-benefits-section .heading-description,
  .domain-info-bottom-section .heading-description {
    font-size: 16px;
  }

  .domain-info-bottom-section {
    padding: 50px 0;
  }

  .info-content {
    padding: 30px 25px;
  }

  .info-content p {
    font-size: 14px;
    line-height: 1.7;
  }

  .info-content-bottom {
    padding: 30px 25px;
  }

  .info-paragraph {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .paragraph-icon {
    min-width: 50px;
    width: 50px;
    height: 50px;
  }

  .paragraph-icon i {
    font-size: 24px;
  }

  .paragraph-text p {
    font-size: 14px;
    line-height: 1.7;
  }

  .domain-benefit-card {
    padding: 35px 25px;
  }

  .benefit-icon {
    width: 65px;
    height: 65px;
  }

  .benefit-icon i {
    font-size: 28px;
  }

  .benefit-title {
    font-size: 20px;
  }

  .benefit-description {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .domain-benefits-section .heading-title,
  .domain-info-bottom-section .heading-title {
    font-size: 28px;
  }

  .domain-info-bottom-section {
    padding: 40px 0;
  }

  .info-content-bottom {
    padding: 25px 20px;
  }

  .subtitle-badge {
    font-size: 12px;
    padding: 8px 20px;
  }
}
