.item {
  position: relative;
}

.notify-badge {
  position: absolute;
  right: -40px;
  top: -20px;
  background: rgb(221, 65, 65);
  text-align: center;
  border-radius: 30px 30px 30px 30px;
  color: white;
  padding: 5px 10px;
  font-size: 20px;
}

.feature-element {
  width: 352px; 
  margin-right: 24px;
}

.features-container {
  padding: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.feature-title {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* Media Queries */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blurred-dots {
  width: 557px;
}

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

  .feature-item {
    margin-top: 10px;
  }

  .illustrate {
    width: 400px !important;
  }
  
  .blurred-dots {
    width: 400px !important;
  }
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}


.icon-with-circle {
  position: relative;
}

.icon-with-circle img {
  width: 56px;
  /* Match the width in your HTML */
  height: 56px;
  /* Match the height in your HTML */
  background-color: #6b5de9;
  /* Adjust to match the purple color you want */
  border-radius: 50%;
  padding: 12px;
  /* Adjust to control the size of the icon within the circle */
  box-sizing: border-box;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.discount-section {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.97) 100%);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    padding-right: 2.5rem; /* Extra space for close button */
    max-width: 400px;
    width: calc(100% - 48px);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 16px 32px -5px rgba(0, 0, 0, 0.2),
        0 8px 16px -8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    backdrop-filter: blur(12px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(to right, #38bdf8, #4ade80);
    border-radius: 0 0 16px 16px;
    animation: progress 10s linear;
}

.discount-section:hover .progress-bar {
    animation-play-state: paused;
}

.discount-section.active .progress-bar {
    animation: none;
    width: 100%;
}

.discount-title {
    font-size: 0.9375rem;
    line-height: 1.4;
    font-weight: 600;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    max-width: calc(100% - 20px);
}

.discount-title .emoji {
    font-size: 1.125rem;
    animation: pulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

.discount-description {
    color: #94a3b8;
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.discount-code {
    background: linear-gradient(90deg, 
        rgba(56, 189, 248, 0.06) 0%,
        rgba(56, 189, 248, 0.09) 50%,
        rgba(56, 189, 248, 0.06) 100%
    );
    background-size: 200% 100%;
    border: 1.5px dashed rgba(56, 189, 248, 0.3);
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-family: 'SF Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: all;
    position: relative;
    overflow: hidden;
}

.discount-code:hover {
    background-color: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.discount-code::after {
    content: '📋';
    font-size: 0.875rem;
    opacity: 0.8;
}

.discount-code:hover::after {
    transform: scale(1.1);
}

.discount-code:active {
    transform: translateY(1px);
}

.copy-message {
    color: #4ade80;
    font-size: 0.75rem;
    margin: 0;
    opacity: 0;
    transition: all 0.2s ease;
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.copy-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.copy-message.above {
    bottom: auto;
    top: -40px;
}

.copy-message::before {
    content: '✨';
    font-size: 0.875rem;
}

.discount-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.2s ease;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.discount-close:active {
    transform: scale(0.95);
}

.discount-section.hidden {
    transform: translate(-50%, 150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}