/* Estilos específicos para o cupom */
.coupon-section {
    background: linear-gradient(135deg, #f0f9fa 0%, #e6f7f8 100%);
}

.coupon-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(11, 164, 174, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    z-index: -1;
    border-radius: 12px;
}

.coupon-code {
    position: relative;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0ba4ae 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.coupon-code:hover {
    transform: scale(1.05);
    letter-spacing: 4px;
}

#copy-coupon {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#copy-coupon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

#copy-coupon:hover::before {
    left: 100%;
}

.coupon-info {
    font-style: italic;
    color: #555;
}

.step {
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(11, 164, 174, 0.3);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #0ba4ae, #1e3a8a);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Estilo para o botão de copiar quando clicado */
.copied {
    background-color: #059669 !important;
}

.copied::after {
    content: '✓ Copiado!';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #059669;
    color: white;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Estilo para destacar o cupom SUPERMED */
.highlight-coupon {
    color: #0ba4ae;
    font-weight: bold;
    background-color: rgba(11, 164, 174, 0.1);
    padding: 2px 5px;
    border-radius: 4px;
}

/* Efeito de destaque para o cupom na seção hero */
.hero .btn-primary {
    position: relative;
    overflow: hidden;
}

.hero .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
        top: -50%;
    }
    100% {
        left: 150%;
        top: 150%;
    }
}

/* Estilo para a seção final CTA */
.final-cta {
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.final-cta .btn-primary {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.final-cta .btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
}
