/* ==========================================
   CTA SECTION - COMPLETE RESPONSIVE CSS
========================================== */

/* CSS Variables */
:root {
  --cat-bottom-theme: linear-gradient(135deg, #621c9f, #2a0248, #621c9f);
  --about-btn: rgba(131, 56, 236, 0.2);
}

/* Main CTA Section */
.cta-section-upgraded {
  margin: 40px 2px;
  padding: 80px 20px;
  background: var(--cat-bottom-theme);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Floating Background Circles */
.cta-section-upgraded::before,
.cta-section-upgraded::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(40px);
  animation: float 8s infinite ease-in-out;
}

.cta-section-upgraded::before {
  top: -80px;
  right: -60px;
}

.cta-section-upgraded::after {
  bottom: -80px;
  left: -50px;
  animation-delay: 2s;
}

/* Float Animation */
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* CTA Container */
.cta-container {
  text-align: center;
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

/* CTA Title */
.cta-title-new {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: clamp(15px, 2vw, 20px);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* CTA Subtitle */
.cta-subtitle-new {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #dce6f7;
  max-width: min(700px, 90vw);
  margin: 0 auto clamp(30px, 4vw, 45px);
  line-height: 1.7;
  padding: 0 15px;
}

/* Benefits Grid */
.benefits-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(140px, 20vw, 180px), 1fr));
  gap: clamp(12px, 2vw, 18px);
  margin-bottom: clamp(35px, 5vw, 50px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefit Item */
.benefit-item-new {
  background: rgba(255, 255, 255, 0.12);
  padding: clamp(12px, 2vw, 14px) clamp(14px, 2vw, 16px);
  border-radius: clamp(12px, 2vw, 16px);
  color: white;
  font-weight: 500;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: default;
}

.benefit-item-new:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Benefit Icon */
.benefit-item-new svg {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin: clamp(20px, 3vw, 30px) 8px;
}

/* Modern CTA Button */
.cta-btn-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 12px);
  padding: clamp(14px, 2vw, 18px) clamp(28px, 4vw, 36px);
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #1a1a1a;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Button Content */
.cta-btn-modern .cta-btn-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 10px);
  z-index: 2;
}

.cta-btn-modern .cta-btn-content svg {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  transition: transform 0.3s ease;
}

/* Button Background Effect */
.cta-btn-modern .cta-btn-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, var(--about-btn), transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

/* Button Hover Effects */
.cta-btn-modern:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(131, 56, 236, 0.3);
}

.cta-btn-modern:hover .cta-btn-content svg {
  transform: translateX(3px) rotate(-10deg);
}

.cta-btn-modern:hover .cta-btn-bg {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.cta-btn-modern:active {
  transform: scale(0.98);
}

/* Footer Note */
.cta-note-new {
  margin-top: clamp(20px, 3vw, 28px);
  color: #cdd8ef;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cta-note-new svg {
  margin-right: 6px;
}

/* Cursor Glow Effect */
.cursor-glow {
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0)
  );
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(45px);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 10;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
========================================== */

/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
  .benefits-grid-new {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    margin: 20px auto;
  }
}

/* Tablet & Medium Desktop (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .cta-section-upgraded {
    padding: 70px 20px;
    margin: 30px 8px;
  }

  .cta-title-new {
    font-size: 2.2rem;
  }

  .cta-subtitle-new {
    font-size: 1.1rem;
    margin-bottom: 35px;
  }

  .benefits-grid-new {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

/* Small Tablet (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
  .cta-section-upgraded {
    padding: 60px 18px;
    margin: 30px 8px;
    border-radius: 30px;
  }

  .cta-title-new {
    font-size: 2rem;
  }

  .cta-subtitle-new {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .benefits-grid-new {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    gap: 15px;
  }

  .benefit-item-new {
    padding: 12px 14px;
  }
}

/* Large Mobile (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
  .cta-section-upgraded {
    padding: 50px 15px;
    margin: 25px 8px;
    border-radius: 28px;
  }

  .cta-title-new {
    font-size: 1.85rem;
    margin-bottom: 12px;
  }

  .cta-subtitle-new {
    font-size: 1rem;
    margin-bottom: 28px;
    padding: 0 10px;
  }

  .benefits-grid-new {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    gap: 14px;
    margin-bottom: 35px;
  }

  .benefit-item-new {
    padding: 11px 13px;
    font-size: 0.88rem;
  }

  .benefit-item-new svg {
    margin: 18px 8px;
  }

  .cta-btn-modern {
    padding: 13px 30px;
    font-size: 1rem;
  }

  .cta-note-new {
    font-size: 0.88rem;
    margin-top: 22px;
  }
}

/* Standard Mobile (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
  .cta-section-upgraded {
    padding: 45px 12px;
    margin: 20px 8px;
    border-radius: 24px;
  }

  .cta-title-new {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }

  .cta-subtitle-new {
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding: 0 8px;
  }

  .benefits-grid-new {
    grid-template-columns: repeat(2, 1fr);
    max-width: 350px;
    gap: 12px;
    margin-bottom: 30px;
  }

  .benefit-item-new {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .benefit-item-new svg {
    margin: 16px 6px;
    font-size: 1.15rem;
  }

  .cta-btn-modern {
    padding: 12px 26px;
    font-size: 0.98rem;
  }

  .cta-note-new {
    font-size: 0.85rem;
    margin-top: 20px;
    flex-wrap: wrap;
  }
}

/* Small Mobile (320px - 374px) */
@media (min-width: 320px) and (max-width: 374px) {
  .cta-section-upgraded {
    padding: 40px 10px;
    margin: 20px 5px;
    border-radius: 20px;
  }

  .cta-title-new {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .cta-subtitle-new {
    font-size: 0.9rem;
    margin-bottom: 22px;
    padding: 0 6px;
    line-height: 1.6;
  }

  .benefits-grid-new {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 10px;
    margin-bottom: 28px;
  }

  .benefit-item-new {
    padding: 9px 11px;
    font-size: 0.84rem;
    text-align: center;
  }

  .benefit-item-new svg {
    margin: 14px 6px;
    font-size: 1.1rem;
  }

  .cta-btn-modern {
    width: calc(100% - 20px);
    max-width: 280px;
    padding: 11px 24px;
    font-size: 0.96rem;
  }

  .cta-note-new {
    font-size: 0.82rem;
    margin-top: 18px;
    line-height: 1.5;
  }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
  .cta-section-upgraded {
    padding: 35px 8px;
    margin: 15px 5px;
    border-radius: 18px;
  }

  .cta-section-upgraded::before,
  .cta-section-upgraded::after {
    width: 200px;
    height: 200px;
  }

  .cta-title-new {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .cta-subtitle-new {
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding: 0 5px;
    line-height: 1.5;
  }

  .benefits-grid-new {
    grid-template-columns: 1fr;
    max-width: 240px;
    gap: 9px;
    margin-bottom: 25px;
  }

  .benefit-item-new {
    padding: 8px 10px;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  .benefit-item-new svg {
    margin: 12px 5px;
    font-size: 1rem;
  }

  .cta-btn-modern {
    width: calc(100% - 16px);
    max-width: 240px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .cta-note-new {
    font-size: 0.78rem;
    margin-top: 16px;
    line-height: 1.4;
  }
}

/* ==========================================
   DARK MODE SUPPORT
========================================== */
@media (prefers-color-scheme: dark) {
  .cta-btn-modern {
    color: #1a1a1a;
    background: #ffffff;
  }

  .benefit-item-new {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .benefit-item-new:hover {
    background: rgba(255, 255, 255, 0.25);
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */
@media (prefers-reduced-motion: reduce) {
  .cta-section-upgraded::before,
  .cta-section-upgraded::after {
    animation: none;
  }

  .benefit-item-new,
  .cta-btn-modern,
  .cta-btn-modern .cta-btn-content svg {
    transition: none;
  }

  .cta-btn-modern:hover {
    transform: none;
  }
}

/* ==========================================
   PRINT STYLES
========================================== */
@media print {
  .cta-section-upgraded {
    background: none;
    box-shadow: none;
    border: 2px solid #ddd;
    page-break-inside: avoid;
  }

  .cta-section-upgraded::before,
  .cta-section-upgraded::after {
    display: none;
  }

  .cta-title-new,
  .cta-subtitle-new,
  .benefit-item-new {
    color: #000;
  }

  .cta-btn-modern {
    display: none;
  }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }